How could I go to a frame based on today's date?

I am trying to write an action that would go to a frame based on the current date (so if it was August 11, 2013 it would go to frame 5, for example.)
How could I do that ?

var d:Date=new Date();
gotoAndStop(d.date);

Similar Messages

  • Is there a way of not displaying entries in the Blog based on today's date

    Hi,
    I'm using the Blog layout in iWeb for a calendar.
    Somewhere in this discussion forum, I found how to sort the entries by increasing date (many thanks for that).
    The question I have: Is there a way of not displaying entries in the Blog overview of which the date is in the past ?
    Thanks

    Hi Cyclosaurus,
    the link you refer to (http://test.cyclosaurus.com/Site/Blog/Blog.html) seems to be broken. I can't see the script.
    Can you sent me a script to automatically hide events from the past (based on today's system date) ?
    please note that I use following script to reverse the summary (which i found in the discussion forum):
    <script type='text/javascript'>
    function reverseSummary() {
    blogSummaryWidget = parent.document.getElementsByClassName('com-apple-iweb-widget-blogSummary flowDefining')[0].widget;
    blogEntries = blogSummaryWidget.blogFeed.itemCount();
    blogSummaryWidgetID = blogSummaryWidget.instanceID;
    blogSummaryContentDiv = parent.document.getElementById(blogSummaryWidgetID + '-summary-content');
    if (blogSummaryContentDiv.childNodes.length > 0) {
    for (be=1; be<blogEntries; ++be) {
    bi = (blogEntries - 1) - be;
    blogSeparator = parent.document.getElementById(blogSummaryWidgetID + ('-separator-template$' + bi));
    blogSummaryContentDiv.appendChild(blogSeparator);
    blogEntry = parent.document.getElementById(blogSummaryWidgetID + ('-item$' + bi));
    blogSummaryContentDiv.appendChild(blogEntry);
    clearInterval(chkSummary);
    chkSummary = setInterval('reverseSummary()', 1000);
    </script>

  • HT1212 how could i restore my ipad without erasing any of the data?

    i have forgotten my passcode, unfortunately, and the ipad has been disabled permanently. i have many pics in it, which are great memories. pls lemme know of ways to save my pics, music and all important content.I NEED ALL THE CONTENT PRESENT IN IT. back up does not save the data i wish to see again. pls help me out with this.

    You can't.
    If You Are Locked Out Or Have Forgotten Your Passcode
    iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    iOS- Understanding passcodes
    A Complete Guide to Recover Your iDevice if You Forget Your Passcode
    If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone, iPad and iPod touch software.
    Try restoring the iOS device if backing up and erasing all content and settings doesn't resolve the issue. Using iTunes to restore iOS devices is part of standard isolation troubleshooting. Restoring your device will delete all data and content, including songs, videos, contacts, photos, and calendar information, and will restore all settings to their factory condition.
    Before restoring your iOS device, Apple recommends that you either sync with iTunes to transfer any purchases you have made, or back up new data (data acquired after your last sync). If you have movie rentals on the device, see iTunes Store movie rental usage rights in the United States before restoring.
    Follow these steps to restore your device:
         1. Verify that you are using the latest version of iTunes before attempting to update.
         2. Connect your device to your computer.
         3. Select your iPhone, iPad, or iPod touch when it appears in iTunes under Devices.
         4. Select the Summary tab.
         5. Select the Restore option.
         6. When prompted to back up your settings before restoring, select the Back Up
             option (see in the image below). If you have just backed up the device, it is not
             necessary to create another.
         7. Select the Restore option when iTunes prompts you (as long as you've backed up,
             you should not have to worry about restoring your iOS device).
         8. When the restore process has completed, the device restarts and displays the Apple
             logo while starting up:
               After a restore, the iOS device displays the "Connect to iTunes" screen. For updating
              to iOS 5 or later, follow the steps in the iOS Setup Assistant. For earlier versions of
              iOS, keep your device connected until the "Connect to iTunes" screen goes away or
              you see "iPhone is activated."
         9. The final step is to restore your device from a previous backup.
    If you can not restore your device then you will need to go to recovery mode.
    Placing your device into recovery mode:
    Follow these steps to place your iOS device into recovery mode. If your iOS device is already in recovery mode, you can proceed immediately to step 6.
         1. Disconnect the USB cable from the iPhone, iPad, or iPod touch, but leave the other end
             of the cable connected to your computer's USB port.
         2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the
             red slider appears, then slide the slider. Wait for the device to turn off.
              If you cannot turn off the device using the slider, press and hold the Sleep/Wake
              and Home buttons at the same time. When the device turns off, release the Sleep/Wake
              and Home buttons.
         3. While pressing and holding the Home button, reconnect the USB cable to the device.
             The device should turn on. Note: If you see the screen pictured below, let the device
             charge for at least ten minutes to ensure that the battery has some charge, and then
             start with step 2 again.
         4. Continue holding the Home button until you see the "Connect to iTunes" screen.
             When this screen appears you can release the Home button.
         5. If necessary, open iTunes. You should see the following "recovery mode" alert:
         6. Use iTunes to restore the device.
    If you don't see the "Connect to iTunes" screen, try these steps again. If you see the "Connect to iTunes" screen but the device does not appear in iTunes, see this article and its related links.
    Additional Information:
    Note: When using recovery mode, you can only restore the device. All user content on the device will be erased, but if you had previously synced with iTunes on this computer, you can restore from a previous backup. See this article for more information.

  • I accidentally delete all my photo in the "all my files". How could I back up all the photo? (time machine is turn off)

    I accidentally delete all my photo in the "all my files".
    actually I delete every thing in ALL MY FILES.
    How could I back up all the photo?
    and other data, such as movies and so on?
    Do I need to go to Apple store to back up?
    (time machine is turn off)

    If you don't have a back up then you'll need to use a file recovery app like File Salvage
    To back up iPhoto you make a copy of the Library on another disk.
    Regards
    TD

  • Hi, I am using USB 8476s to communicat​e to a slave unit in LIN network using LabVIEW7.1​. Can anyone tell me how i can send a header file plus 1 byte of data to the slave in a LIN network. or how do i use ldf file. i want to read responses from the slave

    Hi,   I am using USB 8476s to communicate to a slave unit in LIN network. Can anyone tell me how i can send a header frame plus 1 byte of data to the slave in a LIN network. or how do I communictae with slave using LabVIEW7.1.
    I want to read responses from the slave. When i tried with labview exapmle programs or even using MAX also, while doing some switching action in my slave, i am getting response as Device inactive with timestamp but there is no data format. 
    And I have Lin Description File. Can you suggest me how to use ldf file.
    I am at customer place and It would be great help from you if you can suggest me at the earliest. Thank you

    you may use the LDF Starter Kit to use LDF informations in your application
    http://joule.ni.com/nidu/cds/view/p/id/665/lang/en

  • Problem about implementation of a controller in main_vi based on the test data of sub_vi

    Hi Group:
     I am developing a measurement and control system based on the PCI-6040E and SCXI1001,1102, and 1160.
    But now, I have a question ,which is how to implement a controller in main_vi based on the test data of sub_vi.
    my  program is consist of main_vi and  several sub_vi,  the main_vi is used for controlling and give the operation signal to hardware system (relay). and sub_vi is used for sampling data.
    for example: the sub_vi collects data from the hardware and the control algorithm and output is implemented in the main_vi, so the question is how to transfer the test data from the sub_vi to main_vi synchronously.
    I try to set the output connecter, but the data just return when  sub_vi is closed.
    anybody have good idea about it.
    Thanks a lot

    Hi hanwei,
    I'm making the assumption that you are not using LabVIEW Real-Time. If you are, you should use RT FIFOs. Otherwise, follow MikeS81's advice.
    I would go a step further and say that most likely it would be a better design to remove the loop (while loop?) from the subVI and instead place the subVI within a while loop in your top-level VI. This way on each execution of your subVI it will quickly return your data. Then you can also perform all the queue and dequeue operations in the two seperate while loops in your top-level VI. This organization will be easier to read, document, and understand.
    Mike Lyons
    National Instruments
    http://www.ni.com/devzone

  • My Apple ID is only limited to Indonesia iTunes Store. I would like to buy some music from iTunes USA Store. How could I use my Indonesia-based credit card in order for me to buy music from another iTunes store? The iTunes Indonesia store is very limited.

    My Apple ID is only limited to Indonesia iTunes Store. I would like to buy some music from iTunes USA Store. How could I use my Indonesia-based credit card in order for me to buy music from another iTunes store? The iTunes Indonesia store is very limited as it only sells apps and books products.

    No Way... i've got simillar problem with bmonteo... wanna cry

  • How to re-size a overflow text frame based on the text length?

    Hi ..
    Is it possible to re-size a overflow text frame based on the text length?

    Hello,
    Please refer to forum post : http://forums.adobe.com/message/4828489#4828489
    Regards,
    Sachin

  • Could not complete the video frames to layers because of a program error

    Whenever I try to import video into frames to layers on photoshop, I get this error. (could not complete the video frames to layers because of a program error)
    Why is that and how do I fix it???

    You see my C:\ drive is quite small as it's a SSD, so I made Adobe install programs on my E:\ drive too, however this was the main cause for Adobe not to function.
    After adjusting the settings to install everything back to my C:\ drive, it fixed my issue above and allowed me to run the 64bit version.

  • How could i enter 100 materials in the single line item in the repair order

    Hello SD Guru's
    The below requirement is related repair process.Can you please suggest how i can go head.
    I have a one requirement related to repair process in SAP SD. As of now the the repair order creating for only one material in the single line item. But the requirment is if they returned morethan 100 material from same customer, how to process that in systme prospective and standard SAP.
    The standard SAP working based on single material  for each line item so that the repair indicatior is triggered for that single material only. So how cound i enter multiple materials in the single line item and how could i create 100 materilals in the sigle line item and how could the repair indicatior triggered for that line item which is having 100 materials
    Thanks in advnce
    Thanks
    KV

    Hello Chakrapani,
    Thankyou for your quick responce.
    How it could be possible if it is possible in SAP.
    Can you please suggest how can we achive in this scenario.
    Thanks & Regards,
    KV

  • I bought a used iphone from a friend and I am not able to use it in Ethiopia. It is carrier blocked. Can you please help how could I unlock my iphone 4?.

    I bought a used iphone from a friend and I am not able to use it in Ethiopia. It is carrier blocked. Can you please help how could I unlock my iphone 4?.

    Unlikely as you do not meet there requirements for unlocking.
    Have your friend the provided the phone contact them.  Based on your statements I am concluding he was or still is an AT&T customer, that is one of the requirements of getting the device unlocked.

  • 2 Repeating Frames based on the same group

    I have this report which contains 3 groups, I have the requirement to break the 2nd group so that I create a 'footer' based on the 2nd group.
    I have created 2 repeating frames (one which holds the account number, payment terms, currency) and the 2nd repeating frame based on the same group which contains the bank details
    My report looks like this:
    (1st Group)
    Customer xxxxx
    Address xxxxx
    (2nd Group)
    Account No xxxxx
    Payment Terms xxxxx
    Currency xxx
    (3rd Group -repeating)
    Trans id xxx
    amount xxx
    (2nd Group)
    Bank Details xxxxxxxxxx <--will only have one per account
    I had originally designed the report using 2 identical frame structure.
    e.g.
    Main
    Repeating Group Customer
    Repeating Group Account
    Repeating Group Transactions
    Footer
    Repeating Group Customer
    Repeating Group Account
    This format worked when the Main group did not go over a page. The 2 Account Groups were coordinated.
    When the Main group extended to more than one page, the 2 Account Groups did not match.
    The jest of what I am trying to do is a footer of the bank details be printed at the bottom of the page always.
    Any suggestions would be greatly appreciated!!!

    I didn't realise that this was such a difficult problem to solve. The requirements are quite simple (I thought)
    1) Query
    3) Groups
    a) Company
    b) Accounts
    c) Transactions
    My report needs to look like this:
    {page 1}
    COMPANY XXXXX
    ACCOUNT: 123
    Invoice ID Amount
    aaaaaaaaaa 111.11
    bbbbbbbb 111.11
    Sub Total 222.22
    --> To be printed at a predefined space on the physical page on each page. bold Bank Details for Account 123: xxxx bold
    {page 2}
    COMPANY XXXXX
    ACCOUNT: 456
    Invoice ID Amount
    aaa 10
    bbb 20
    ccc 30
    ddd 40
    ....<as many records that will force a second page
    --> but..this still needs to print!!!To be printed at a predefined space on the physical page on each page. bold Bank Details for Account 456: xxxx bold
    {page 3}
    zzz 100
    Sub Total 1000
    --> To be printed at a predefined space on the physical page on each page. bold Bank Details for Account 456: xxxx bold
    Say the next records in the query are for
    COMPANY XXXXX, ACCOUNT 789 with one detail record.
    COMPANY XXXXX, ACCOUNT 321 with multiple details records which will force a second page.
    What is happening at the moment is that the 2 repeating frames based on the Account Group,
    the first 2 pages will print out correctly, however, because the 2nd account goes over 2 pages and how I have this set the structure of the report (see above post), the bottom Account Group thinks that the account number is now 789 when in fact the top account group is still on 456
    I really hope that this is clearer.
    I am working on Reports 10g on a 10g database
    I have tried to create a ref cursor & separate the query to bring back bank details. but with no luck.
    A person had suggested that I create a separate frame and hold the bank details, which is fine. but as I previously stated, those bank details need to print on every page at a specific area on the physical page.
    If this might be of use:
    Repeating Frame Group Customer, Vertical & Horizontal elasticity Fixed
    Repeating Frame Group Account, Vertical Elasticity: Variable & Horizontal - Fixed
    Repeating Frame Group Transations, Vertical Elasticity: Expand & Horizontal - Fixed

  • How to make separate/individual text frame from one parent frame in indesign with javascript

    Hi all,
    Please suugest - how to make separate/individual text frame from one parent frame in indesign with javascript.
    Thanks
    Rohit

    @Larry – ah, your interpretation could be the right one…
    May I rephrase the question:
    "How to split threaded text frames to single ones?"
    "SplitStory.jsx" or "BreakFrame.jsx" under Scripts/Samples indeed could be the answer.
    From the comments in the code of "BreakFrame.jsx":
    //Removes the selected text frame (or text frames) from the
    //story containing the text frame and removes the text contained
    //by the text frame from the story.
    //If you want to split *all* of the text fames in the story, use the
    //SplitStory.jsx script.
    Uwe

  • How to divide the iview into frames?

    Hi Experts,
                  Please tell me how to divide the iview into frames.Kindly provide the   steps.Its urgent.
    Regards,
    Nutan

    Hi Nutan,
    Now its clear!!
    If I understand right. You want an overview page full of links to go to your different pages?
    Or maybe you want a link form each page to go to another page?
    In Portal Navigation through hyperlinks is possible.
    You can either do that using EPCM.doNavigate("ROLES://...") {check for EPCM API of help.spa.com}
    Or you could do that by simple
    <a href="http://www.sdn.sap.com/irj/portal/myql">CLICK</a>
    {check for Quicklinks on help.sap.com}
    Either way you'll have to make a small JSP for that.
    Hope this helped
    If so kindly reward with points
    Prem

  • How could Adobe Form handle multiple Include Text

    Hi all,
    In abap program, I have declared a global structure *t166k and pass it to adobe form. However, the the passing parameter *t166k need to based on the looping xt166k as shown below. If this is the case, how could I handle such multiple include text?
    Thanks in advance.
        loop at xt166k where tdid ne 'F17'.
          move xt166k to t166k.
          case t166k-tdobject.
            when 'EKKO'.
              t166k-txnam(10)   = ekko-ebeln.
            when 'LFA1'.
              t166k-txnam(10)   = ekko-lifnr.
            when 'LFM1'.
              t166k-txnam(10)   = ekko-lifnr.
              t166k-txnam+10(4) = ekko-ekorg.
          endcase.
          perform get_header_text.
        endloop.
    form get_header_text.
      if t166u-druvo = '1'.
        *t166k = t166k.
    endform.                    " GET_HEADER_TEXT
    In Adobe Form
    General     
    Name     GV_HEADER_TEXT
    Description     Header Text
    Status     Inactive
    Text     
    Text Type     Include Text
    Include Text     
    Text Name     T166K-TXNAM
    Text Object     T166K-TDOBJECT
    Text ID     T166K-TDID
    Text Language     FORM_LANGU

    Are you using a custom driver program?
    If yes, then loop the function module with the number of copies you have.
    the copy name should be a variable which should be passed to the form in the loop change the value of the copy control accordingly.
    Please let me know, if you see any issues.
    Thanks,
    Rakesh

Maybe you are looking for