How to tell how long until TIMER executes?

say I have a timer set to execute every minute,
is there a way to tell how many miliseconds until the timer
executes again.
for instance If I checked halfway between the TIMER's
execution it should say "30000" (30 seconds intil timer exec again)
I have a timer set to execute every so often and I want to
also have a countdown to let the user know how long until the next
execution.
Thanks

Hi John,
There's nothing built in. (You can file an enhancement
request at
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
- maybe send it to both AIR and Flash Player).
But you could probably write your own by updating a counter
when the Timer event does fire. Your look up method could look at
the counter and the current time and figure out the difference
based on the interval set. You could use either the getTimer()
function or the Date.getTime() method for this.
I hope this helps!
-Erica

Similar Messages

  • How to tell how much toner in hPlaserjet CP1525nw

    how to tell how much toner in hP laserjet CP1525nw

    Hello lwwpbw, and welcome to the HP Forums, I hope you enjoy your experience!
    I saw from your post that you are looking to find the levels of toner within your printer. I'd love to help with that today!
    I have a document I would suggest using, containing the steps to check your toner levels: HP LaserJet Printers - Checking Toner Levels.
    This document may also be helpful to you: HP LaserJet Pro CP1525n and CP1525nw Color Printers - Managing Print Cartridges.
    Good luck and please let me know the results of your troubleshooting steps. Thank you for posting on the HP Forums!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • How to fix RMAN-20207: UNTIL TIME is before RESETLOGS time

    Early this morning, in my haste to get a point in time restore and recovery started, I forgot to restore the controlfile as the 1st step.
    I used the current database control file, and now I have "RMAN-06004: ORACLE error from recovery catalog database: RMAN-20207: UNTIL TIME is before RESETLOGS time". I have a recovery catalog database. This is Oracle 8.1.7.4.
    Here was my script syntax:
    export ORACLE_SID=myname
    export ORACLE_HOME=/x01/oracle/product/8.1.7
    export LOG=/x01/admin/recover/point_in_time_${ORACLE_SID}_${TimeStamp}.log
    echo "Starting Time: `date`" > $LOG
    /x01/oracle/product/8.1.7/bin/rman <<! | tee -a ${LOG}
    set echo on;
    connect target
    connect catalog myuser/mypass@mycatalog
    startup nomount pfile='/x01/admin/myname/pfile/initmyname.ora';
    alter database mount;
    run {
    set until time "to_date('2006-12-02:03:00:00','yyyy-mm-dd:hh24:mi:ss')";
    allocate channel t1 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin/tdpo.opt)';
    allocate channel t2 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin/tdpo.opt)';
    restore database;
    recover database;
    release channel t1;
    release channel t2;
    Alter Database Open Resetlogs;
    sql "alter tablespace temp01 add tempfile ''/x01/myname/temp1/temp01_01.tmp'' SIZE 5308416 REUSE AUTOEXTEND ON NEXT 5242880 MAXSIZE 2097217536";
    sql "alter tablespace temp01 add tempfile ''/x01/myname/temp1/temp01_02.tmp'' SIZE 5308416 REUSE AUTOEXTEND ON NEXT 5242880 MAXSIZE 2097217536";
    exit
    echo "Finished Time: `date`" >> ${LOG}
    Can I do the following to try to restore the controlfile? First, I would shutdown my database.
    export ORACLE_SID=myname
    export ORACLE_HOME=/x01/oracle/product/8.1.7
    export LOG=/x01/admin/rman/recover/db_point_in_time_8i_${ORACLE_SID}_${TimeStamp}.log
    echo "Starting Time: `date`" > $LOG
    /x01/oracle/product/8.1.7/bin/rman <<! | tee -a ${LOG}
    set echo on;
    connect target
    connect catalog myuser/mypass@mycatalog
    startup nomount pfile='/x01/admin/myname/pfile/initmyname.ora';
    alter database mount;
    run {
    set until time "to_date('2006-12-02:03:00:00','yyyy-mm-dd:hh24:mi:ss')";
    allocate channel t1 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin/tdpo.opt)';
    allocate channel t2 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin/tdpo.opt)';
    restore controlfile to '/x01/disk/control01.ctl';
    replicate controlfile from '/x01/disk/control01.ctl';
    recover database;
    release channel t1;
    release channel t2;
    Alter Database Open Resetlogs;
    sql "alter tablespace temp01 add tempfile ''/x01/myname/temp1/temp01_01.tmp'' SIZE 5308416 REUSE AUTOEXTEND ON NEXT 5242880 MAXSIZE 2097217536";
    sql "alter tablespace temp01 add tempfile ''/x01/myname/temp1/temp01_02.tmp'' SIZE 5308416 REUSE AUTOEXTEND ON NEXT 5242880 MAXSIZE 2097217536";
    exit
    echo "Finished Time: `date`" >> ${LOG}
    I have a new incarnation of the database too -
    List of Database Incarnations
    DB Key Inc Key DB Name DB ID CUR Reset SCN Reset Time
    1 2 MYNAME 1849293826 NO 1 06-AUG-03
    1 25874 MYNAME 1849293826 NO 750748990 26-SEP-03
    1 143681 MYNAME 1849293826 NO 6610874669464 12-AUG-05
    1 265345 MYNAME 1849293826 YES 6611455777113 14-DEC-06
    What is the fastest way to fix this situation without having to restore the entire database?
    Thanks,
    Message was edited by:
    user521040

    Here is the "revised" script - I have not run this again on the Production system, but I might get a chance - finding corruption on the disk. I will test out later on a development database:
    #!/usr/bin/ksh
    TimeStamp=`date +%Y%m%d_%H%M%S`
    export ORACLE_SID=myname
    export ORACLE_HOME=/x01/oracle/product/8.1.7
    export LOG=/x01/admin/rman/recover/8i_${ORACLE_SID}_${TimeStamp}.log
    echo "Starting Time: `date`" > $LOG
    /x01/oracle/product/8.1.7/bin/rman <<! | tee -a ${LOG}
    set echo on;
    connect target
    connect catalog myuser/mypass@mycat1
    startup nomount pfile='/x01/admin/myname/pfile/initmyname.ora';
    run {
    set until time "to_date('2006-11-25:18:08:00','yyyy-mm-dd:hh24:mi:ss')";
    allocate channel t1 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin/tdpo.opt)';
    allocate channel t2 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin/tdpo.opt)';
    allocate channel t3 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin/tdpo.opt)';
    allocate channel t4 type 'SBT_TAPE' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin/tdpo.opt)';
    restore controlfile to '/x01/disk/control01.ctl';
    replicate controlfile from '/x01/disk/control01.ctl';
    alter database mount;
    restore database;
    recover database;
    Alter Database Open Resetlogs;
    sql "alter tablespace temp01 add tempfile ''/x01/myname/temp1/temp01_01.tmp'' SIZE 5308416 REUSE AUTOEXTEND ON NEXT 5242880 MAXSIZE 20
    97217536";
    sql "alter tablespace temp01 add tempfile ''/x01/myname/temp1/temp01_02.tmp'' SIZE 5308416 REUSE AUTOEXTEND ON NEXT 5242880 MAXSIZE 20
    97217536";
    release channel t1;
    release channel t2;
    release channel t3;
    release channel t4;
    exit
    echo "Finished Time: `date`" >> ${LOG}
    Message was edited by:
    user521040

  • How to tell how many gigs selected?

    I have a 4 gig mini. But about 20 gig of music in Itunes. How can I tell how many gigs I have selected in Itunes to transfer.
    Thanks,
    Mark

    The update option "Sync Music - Selected playlists" is useful if you are using an iPod with a smaller capacity than what you have stored in iTunes. You can tell from the playlist just how much space the songs will take up by clicking on it, the information appears at the bottom of your screen.
    Open iTunes and create a playlist to update your iPod from, call it -iPod to make it the first playlist in Sources. You can make this a normal playlist and drag whatever you want to it or you can make it a random Smart playlist. If you are making a smart playlist limit it to just less than the size of your iPod (for example 3700MB for a 4G iPod Mini). Now connect your iPod and when it appears in the Source list click on the iPod icon to bring up the preference tabs in the main pane. Go to the Music tab and choose Sync Music and the Selected playlists radio button. Choose the playlist you just made from the selection and click Apply:
    iTunes: Creating playlists of your favorite songs
    How to create a Smart Playlist with iTunes

  • How to tell how a network printer is connected?

    Sorry for the terrible subject line, but I'm really at a loss with this one.
    I have a printer connected to my work network via Ethernet. The printer has a static ip address. When I upgraded to a new laptop and OS 10.5.5, I set up this printer, but I really don't recall how I set it up, but it worked over my Ethernet connection.
    I often connect to the network over wireless or wired, and therein lies my problem. Today, I started to get printer errors telling me that AppleTalk was held by the Ethernet port so I had to turn it off of Ethernet and turn it on for the Airport connection when I attempted to print wirelessly. Once I did this, it worked. I never recall needing to to do this with the printer set up for IP printing with previous versions of OSX, which makes me think the printer is not configured as an IP printer. How can I tell how the printer is set up in OSX??
    Lastly, I attempted to set the printer up as an IP printer anew (I did not remove the other version of the same printer in the preference pane) and this seems to be failing.
    Thanks for any input.

    Hard to give much help since you've not provided any information on the network environment, routers, cable modem, switches, etc. No information on makes or models including the printer(s).
    The only definitive thing I found is the mention of using AppleTalk. Unless you have a very old printer that requires AppleTalk there is no reason to turn on AppleTalk. Now beyond that I can't tell if turning off AppleTalk has now resolved your problem.
    Most Ethernet based printers are configured as LPR printers, not IP printers, and you need the IP address you configured the printer to use. The printer's TCP/IP configuration should include the network's gateway IP address and the network mask. You set up the printer's TCP/IP usually from the printer's front panel unless it has a web-server built-in that you can access. The printer driver is selected and configured using the Print & Fax preferences. As for how you configured the printer in the past we have no way to know. You should have written it down somewhere. You will have to access the printer's front panel to figure that out. But then we can't help much since you've never told us what the printer model is.
    You'll have to provide more information and be a bit more precise about the query so we can understand exactly what you are asking.

  • How to tell how many times a method has executed?

    Hi, all
    I've got a main class (Model.java) that repeatedly calls a step() method in a sub class (Ocean.java). I want Ocean.java to execute its step() method following one set of rules for the first time it is called by Model.java, and a different set of rules for all executions 2++. I was just going to use an if/else in Ocean.java's step() method to make it switch based on a boolean haveIExecutedThisStepOnce, or something like that. Is there some way to tell Ocean.java how many times it has executed the step() method? I'm using the RePast code libraries; Model.java uses a method called getTickCount(). It returns a double value of number of times Model.java's step() method has been executed, in which Model.java tells Ocean.java to execute its step() method. Should I pry that getTickCount() value out of Model.java and get it over to Ocean.java's step() method--and if so, how? Or, is there a better way to do this that I'm not aware of?

    Why do you think that this field has to be public?
    Arguably if there's some functionality that is tightly associated with this counted method, then it should be part of the same class.
    Alternatively, think about the counting variable. It should be with the thing that uses it.
    So if class A wants to invoke class B method c once, do something else, and then invoke c some more, then that counting is really more an aspect of A than of B, and in that case the state should be in A. In that case the field really counts the number of times that A has invoked B.c, not the number of times that B.c has been invoked overall. Maybe that's what you want.
    On the other hand if you really want to count the number of times that B.c has been invoked overall, then it's an aspect of B (or more likely an instance of B). In that case, rather than expose the counting state and the counted method, it would probably be better to create a new method d(). d() would invoke c(), doing something extra depending on the counting state. Make c() private. Like this:
    class B {
      private boolean c_has_been_called = false;
      public void d() {
        c();
        if (!c_has_been_called) {
          doWhateverYouNeedInThisCase();
          c_has_been_called = true;
      private void c() {
        // and c() does whatever it normally does
    }

  • AdvancedDataGrid: how to tell how many rows are currently visible?

    Does anyone know how to query an ADG (or its rows) to figure out how many rows are currently visible (i.e. not collapsed) when displaying different levels of a hierarchical collection?
    In other words I'd like a function that tells me that 7 lines are visible in this view
    and 1 line is currently visible in this one
    I  assume this is simple but can't seem to find the right keyword anywhere.
    thank you!
    f

    Never mind. Wrong post.

  • How to tell how many gb's the phone is?

    I need to know how many GB's are on my iPhone - it does not say on the back.   The Capacity says 6.8 GB & the available says 6.2 GB - not sure what that tells me.

    that would be an 8gb model after the os taken it's space

  • How to tell how much hard drive space i have left?

    former pc user new to mac is wondering where do i go to see how much space ive used and have left?

    Here is another good spot to look:

  • HT201209 how to tell how much you have left on your apple gift card

    how much money do i have left on my apple gift card?

    The total amout of the gift card is applied to your iTunes account when you redeem it.  It does not hold a balance like a regular gift card.

  • How to tell how much space your checked songs take up?

    Trying to determine how much space my checked music will take up on my iphone.... any ways of quickly checking that on 10.7?

    Assuming a mix of song lengths and 256kbps media an average of around 10Mb per song is reasonable.  700 songs at that size would be around 7Gb* .. though obviously this would vary based on the types of song you have ... lots of 2 minute classic singles would make it less, 700 live versions of the Grateful Dead's "Dark Star" would make it a lot more!
    * I was curious whether my estimate was correct so selected a group of folders within my iTunes library and used Windows Explorer to show number of files and data size - 704 files, 7.00Gb exactly

  • How to tell how big ( MB or GB etc ) each webpage is

    Hi - how can I find out how many MB's or GB's each page which I'm creating, is ? I'd like to keep an eye on the size with a view to quick loading but don't know how to.
    Thanks,
    SeaDream

    Try dragging the index.html file that's in the folder you published to into the Safari window. That will open the top site in iWeb, i.e. the one that's on top of the left hand pane. If you want to view the second or lower site, open that site's folder within the folder you published to and drag the index.html file into it.
    If you're going to have two or more individual commercial sites I suggest you put them in their own individual domain.sites2 file. I use iWebSites to manage multiple sites.. It lets me create multiple sites and multiple domain files.
    If you have multiple sites in one domain file here's the workflow I used to split them into individual site files with iWebSites. Be sure to make a backup copy of your original Domain.sites files before starting the splitting process.
    This lets me edit several sites and only republish the one I want.

  • How to tell how much RAM my system can handle?

    Hey everyone, 
    My labtop is a Compaq Presario F700 and the p/n number is KC490UA#ABA. I've been trying to see how much it can really handle. It is running Windows 7 32 bit with 2GB RAM and a 250GB HDD Drive. Also, I'm sorry if I posted this in the wrong section, I'm new to the HP forums.
    Thanks!

    Izanarchy wrote:
    Hey everyone, 
    My labtop is a Compaq Presario F700 and the p/n number is KC490UA#ABA. I've been trying to see how much it can really handle. It is running Windows 7 32 bit with 2GB RAM and a 250GB HDD Drive. Also, I'm sorry if I posted this in the wrong section, I'm new to the HP forums.
    Thanks!
    Hi,
    The max possible memory is up to 2GB of RAM according to a service guide. I believe that you can't upgrade the memory, sorry. However, there are some cases when the latest BIOS increases the maximum memory capacity with other fixes and enhancements.
    Dv6-7000 /Full HD/Core i5-3360M/GF 650M/Corsair 8GB/Intel 7260AC/Samsung Pro 256GB
    Testing - HP 15-p000
    HP Touchpad provided by HP
    Currently on Debian Wheeze
    *Please, help other users with the same issue by marking your solved topics as "Accept as Solution"*

  • HT201209 How to tell how much is left on my gift card

    Where do I find my balance on gift card

    If the card has been redeemed then its remaining amount should be on your account, the card itself is now effectively zero. My account's balance shows at the top left of the store's page on my computer's iTunes, and by logging in to view my account via the Store > View Account menu option. On my iOS devices it shows at the bottom of, for example, the Featured tab in the App Store app under my account id (or you can view your account via Settings > iTunes & App Stores and it should show on the screen that you are taken to)

  • Can anyone enlighten me on how to tell how much I owe itunes?

    thanks for help..

    You can check your purchase history. This article was provided to me by one of the support guys.
    http://support.apple.com/kb/HT2727 (iTunes Store and Mac App Store: Seeing your purchase history)

Maybe you are looking for

  • How to get the schema in a windows machine?

    In Active Directory, we can see the schema using AD schema snap-in.The following link gives the step to be done to view AD schema : http://technet.microsoft.com/en-us/library/cc732110.aspx Similar to this how can we see the schema of local users and

  • Hiding a column when displaying an alv

    Hi Gurus, Shortly I have these things : 1) A node with some attributes like customer_no, customer_name, status etc. 2) A view which contains an element(viewcontainerelement) and this displays the node. This node is in CONTEXT of my view and in compon

  • Totals for CKF are not matching

    Hi All, We recently upgraded to BI7 and we created Aggregates in the system. We have few calculated key figures (CFK) in the system. When we execute the queries they are not hitting the aggregates in the system because of the property, calculation be

  • HT1766 My iPad was disconnected for a second or two during backup and it stopped and I can't get it back

    My iPad was disconnected for a second or two and won't continue backup

  • Problem with Strategic Purchase Role in Rfx

    Hi All, I have assiged the role /sapsrm/st_purchaser in SU01. The same user is integrated in the Org structure and the portal role for strategic purchasing is also assigned. However when I try to create the Rfx I get an error message that the attribu