Need Advice on TimeOut Functions

I have a project that needs to run a video when the user becomes idle (no mouse movements or keyboard presses) for a specified period of time.
Here is the script I have
on timeout
     get the timeoutLength to 2 * 10800
     go to the frame "0" of movie "Loop"
end timeout
but this seems like it isn't working. Is there any changes in Director 11.5 that may be a reason why this isnt working?
Thanks

I don't think it's anything specific to 11.5 that might be causing you problems, but rather your script.
First off you start with "get the ..." which shouldn't even compile much less run. I suspect you were trying to define the length of time before your movie will fire off the #timeout event to movie scripts. You need to do this in a initialisation handler, like #prepareMovie. Your next line of code has problems too: go to the frame "0" of movie "Loop" - 'the frame' is shorthand for 'whatever frame the movie is currently on' and so this won't take you to the expected frame. You then say 'frame "0"' - do you have a frame labelled "0" or were you expecting to be taken to the first frame in the movie file? So you need to drop the 'the' and either use a raw integer for the frame number or a valid string for a labelled frame - and I will assume movie "Loop" is a completely separate and distinct file from the one currently playing, otherwise you don't need it at all.
-- movie script:
on prepareMovie
  the timeoutLength = 360 * 60 -- == 6 minutes
end
on timeout
  go to frame "attract" -- of movie "Loop"
end
I would suggest lowering the timeoutLength to something sensible while you test this - perhaps 300 (5 seconds) should be enough to show you whether it's working like you expect/intend.
However, I'm not sure that any of these in-built timeout functions monitor mouse movement, but rather clicks. You may have to create a monitor yourself that implements this if testing reveals it doesn't perform like you need it to. You might have better luck with the 'lastRoll' and 'lastEvent' Player properties.
-- movie script:
on enterFrame
  if ( _player.lastEvent > (360 * 60) ) then
    _movie.go("attract")
  end if
end

Similar Messages

  • Need advice for System_mail_send function..

    I am utilizing the System_mail_send function to send Spool reports via email. I now have 2 questions:
    1) Can System_mail_send support multiple attachments? For example, I hope it can attach the Spool file and the Log file all together in one email. Is this possible?
    2) About the Text field where can input some words in the email content. How to switch lines. I think it's too stupid to insert a bunch of 'space'. Anything like <br> in HTML can do this job?

    Right click Job Definitions on the left navigation tab and create New Job definition. When prompted, select Mail type and click Create.
    Now provide the HTML coding for your mail format inside the job definition and for dynamic values like Job definition, you can pass them from another job definition.
    You can attach the files by mentioning the filename under the [Attachments] .
    For this you must explicitly provide permissions to the directory where the files are stored in the server.
    I recommend following the admin guide, which has clear examples.
    thanks
    Nanda

  • Ready to take it one higher ...need advice on best way to get more audio in

    Nearly ready to upgrade to LP7...need advice on more gear.
    Longtime Logic user, my old rig running with an Audiowerk 8 card (dont laugh too hard please, its worked great for years! ).
    Now, after purchasing a MBP and LE7 ... how best to upgrade even further, to be able to record say 4-8 tracks (live instrument) at a time, into the optical or Firewire ports. I have an external 750Gb FW drive.
    Also have a Mackie 16 chnl mixer and hoping to find a way to send the Master stereo pair (or maybe even track inserts) from the Mackie to the optical or FW input of my MBP. But how to do this ? Im guessing there's a box or gizmo somewhere that would be perfect.
    Unfortunately, all of the boxes and gizmos Ive looked at so far seem to duplicate functions I already have, esp mic preamps (dont need any more of those !). I prefer 19" rackmount devices as they work well with portability, and fit into my SKB rig easily.
    TIA

    Also have a Mackie 16 chnl mixer and hoping to find a way to send the
    Master stereo pair (or maybe even track inserts) from the Mackie to the
    optical or FW input of my MBP. But how to do this ? Im guessing there's
    a box or gizmo somewhere that would be perfect.
    if you really want to use the pre's on your mackie, and it has multiple bus/aux outputs which I presume it does, then you can easily set up a device such as the 828 to take all your input channels from the mackie, and then to run a bunch of return pairs back out to it.
    depending on your budget there are prob a few others for you to look at. RME and metric halo always get rave reviews from users, but are pricier. also the focusrite sapphire might be worth a look, as well as the apogee ensemble.
    also I just noticed you are using logic express, not pro. so there may be some limitations on the number of simultaneous inputs and outputs that I'm unaware of.

  • Firmware v2.1 bricks my camera - Need advice

    I need advice. I bought the FS7 a month ago and it came with Firmware 2.0. I have been getting used to the camera and I think it's a great machine, still has some bugs, but manageable. The huge issue I have found it that I cannot upgrade to V2.1 without the camera stopping to function. I do the upgrade procedure as stated by Sony http://bit.ly/1E4o32D  Using a 32 GB Class 10 Sony SD card. The .md5 is correct. No lenses or adapters installed, no battery, no cards, not even the grip remote. I have tried several times, even after an ALL RESET. The procedure takes the normal amount of time in step one. When step one gets to 100% it restarts the camera and starts step 2. When step 2 ends, ussually after 9m45s, it pops a screen saying "Software Upgraded" with only one option to click on "Done". Then, I cannot push the "Done" because all buttons in the camere have ceased to respond. Nothing electronic in the body works. The on/off button does not turn off the camera, so I ended up taking the power cord out. After that the camera starts out normally but the buttons will not work. I finnally found out (I was thinking the camera was a brick by this point) that I could use the remote grip buttons. So I have ended up installing V2.0... five times I have tried it. It does not work. Any help please? 

    Hi Daniel, Thank you for the comments about my training video, but I'm afraid I don't have an answer about your firmware update problem if it's not the HOLD button.  To be honest, I have not even bothered to update to 2.1 myself yet.  Normally I try to keep my firmware updated, but in this case, I'm too busy and  I just don't care enough to bother with it.  None of the "improvements" interest me and I'm happy with the camera is running right now.   Yes, I am guilty of not following my own advice about keeping the firmware up to date. I guess you can either reach out to Sony or just keep using 2.0 until another update is released.  I know what I would do, but I don't want to offer any advice one way or the other. The scene files that can be downloaded from my website were created with v1.1 and I have not seen any reason to update them.  They sitll work fine for me and nobody has reported any issues. Good luck. 

  • Need advice about certification: do J2SE 1.4 or wait for 1.5 to go out?

    I need advice here! I am studing for Java Programmer certification (310-035) and I know now that the certification does not have any expiration date, instead it's version based. So, if I get now a J2SE 1.4 certification, soon it will be outdated... I guess!
    Does anyone know or have any ideia of WHEN java 1.5 sdk will be avaliable, and anyone can tell me how long it will take for a new 1.5 programmer certification be avaliable for general public?

    Do both. 1.5 is far enough away that you do not want to wait for it.
    And besides, 1.5 has enough new stuff in it that you'll want to recertify anyway.

  • Need advice on on a Mac Pro 1,1 Media Center

    I currently have a 2009 Mac Mini running as my home media center, but I recently came by a FREE Mac Pro 1,1 and have decided to repurpose it as my media center so I can migrate my Mac Mini to my bedroom TV where it will live an easy life doing nothing but run Plex Home Theater, Netflix, and EyeTV. This machine falling into my lap was also quite timely because my 4-bay Drobo is running low on available expansion and another Drobo isn't in the budget at the moment.
    This vintage mac pro is running Lion 10.7.5, has 1 old and crusty 500GB hardrive, dual x5160 processors, 4GB RAM (one stick i'm pretty sure is toast judging by the red light and the kernel panics), and the standard NVIDIA GeForce 7300 GT 256MB graphics card. It will be used primarily for the following: network storage for iphoto and itunes libraries, streaming video, Plex Media Server & Plex Home Theater, and Handbrake encoding. I also have a goal of safety of data for my movies, photos and music as this machine will supplement my current Drobo storage.
    My plans are for a 128GB SSD boot drive installed in one of the PCIe slots and then to load up all 4 of the 3.5" drive bays with WD Green hard drives. I have also ordered 4GB of replacement RAM, so upon removal of the faulty unit I will have 7GB.
    Here is where I need advice because I am not very familiar with RAID and the differences between hardware or software raid. Am I better off getting four drives of the same size and setting them up as RAID 5 (I think) using Apple's RAID utility or should I throw in three 1TB drives and then install a fourth 3TB or 4TB drive as a Time Machine backup for the other three?
    Should I upgrade the OSX to the technically unsupported latest version? Or is it not worth the trouble for this application?
    Also, is there any benefit to upgrading the graphics card to the ATI Radeon 5770? Would this yield an improved image quality? I am outputting to a Denon AV Reciever and subsequently to a 100" projection screen, if that makes a difference. I also noticed the 5770 has an HDMI port, wich would be nice, but not necessary since I can use a DVI converter and woud still need to use the optical audio out anyway.
    Much obliged for any input

    My plans are for a 128GB SSD boot drive installed in one of the PCIe slots and then to load up all 4 of the 3.5" drive bays with WD Green hard drives. I have also ordered 4GB of replacement RAM, so upon removal of the faulty unit I will have 7GB.
    PCIe cards that use or support SSD are not bootable until you get to 2008 (and that is limited too).
    Green are not suited for any form of array unless say NAS and WD RED.  Better option would be 3 x 2TB WD Blacks in a mirror, and too many people only use two drives, well 3 is much easier safer and works better. Might want to invest in www.SoftRAID.com product even.
    Best price and quality, got my 1,1 with 8 x 2GB (ideal is 4 or 8 DIMMs)
    2x2GB FBDIMM DDR2 667MHz @ $25
    http://www.amazon.com/BUFFERED-PC2-5300-FB-DIMM-APPLE-Memory/dp/B002ORUUAC/
    With price of 250GB SSD $155 I'd go with that or stick with $89 for 128GB .

  • What is the need of creating partner functions for sales document type.

    Hi SAP (SD-GURUS),
    Actually we create partner functions  before creating customer ex: sold to party, ship to party, bill to party, and payer.
    These partner functions are going to be copied into sales order while processing sales order.
    Again what is the need of creating partner functions for sales document type.
    Thanks&Regards
    sreenivas peruru

    There are some Partners you could enter at Sales ORder Level. E.g. Sales Person, Employee Responsible, Forwarding Agent, Broker, etc.
    Thus these partner Determination need to be carried out at Sales Order Level & not at Customer Master level.
    So we have to configure partner Determination for various levels e.g. Customer Master, Sales Order, Delivery level etc...
    Hope this helps...
    THanks,
    Jignesh Mehta

  • Need name of a function module or BAPI to update the Tax Classification val

    Hi Guru's
    Need name of a function module or BAPI to update the Tax Classification value for Material master.
    Thanks in advance.

    Hi
    U can try to use BAPI_MATERIAL_SAVEREPLICA
    Max

  • Need advice on video software.

    Need advice on video software.
    I currently use adobe elements 3 and have done so for a few years now with no problems. my os is XP and my system is a couple of years old, but we do have a brand new win7 machine in the house.
    I am currently look at Cyberlink PowerDirector 8 Ultra OR Adobe Premiere Elements 8. Reviews for both softwares seem very good BUT, when I dig deeper into user reviews instead of editor reviews do I find problems.
    Major problems with program crashing all over the place, at start up etc, and it is still not getting along with any win7 machine? Major problems with drivers. Honestly, I do not want to have to jump through dozens of hoops to get any software to run. After I pay for it, it should run, period.
    Has anyone else here used both softwares and can you give an honest opinion of each?
    I am also asking these same questions on the cyberlink site.
    I would like to upgrade my video software to take advantage of the new features that are coming out but I really don't want a big headache trying to run one or the other. To be fair, when I bought adobe elements 3 I had also bought pinnacle, which has gathered dust since my first week with it, which is why elements was purchased. That was money wasted and I do not wish to repeat this. I would like to go with Premiere Elements 8 but remain very unsure.

    If your newer machine is Win7 64-bit, it might be worth waiting for SP-1 to be issued, and then hope that 64-bit drivers are fully included. The 64-bit drivers now seem t be an issue at this point, and that will affect any NLE program.
    Also, and regardless of which particular program you choose, optimizing your computer, the OS, the hardware, and the resources management, will go a very long way to insuring success. Few programs can tax a computer, as an NLE can - any NLE. Video and Audio editing will stress your system, like almost nothing else can, except for heavy-duty CAD, or 3D work, though those are usually done only on specialized, optimized computers, designed just for those applications.
    Not the specific advice that you seek, but it's the best that I can do.
    Good luck,
    Hunt

  • I need advice:  I love my apple TV.  But my laptop at home, only has a 750gig hard drive.  Is there a possibility of having all my media on an external hardrive to still connect to the Apple TV?

    I need advice:  I love my apple TV.  But my laptop at home, only has a 750gig hard drive.  Is there a possibility of having all my media on an external hardrive to still connect to the Apple TV?
    Is there like in a hard drive of which iTunes can read the media, which will not require me to add and delete media onto iTunes, because of a lack of space on my laptop?

    just get an ext HD, and point your itunes library to that drive so now you'll just keep all your media on this ext

  • Standard Report RFKABLOO i need to add email functionality

    In Standard Report RFKABLOO i need to add email functionality. I am a bit
    Confused with the field groups used and insert statements as:
    INSERT
      icdpos-tabname
      icdpos-tabkey
      icdpos-fname
      icdpos-chngind
      icdpos-f_old
      icdpos-f_new
      fldtype
      fldleng
    INTO daten
    Its having some includes too flags set. Can anyone suggest how to proceed.

    Hi,
    did you try STR+F7?
    do you mean report RFKABL00 (00 -> zero zero) or oo?
    We only have RFKABL00 (zero zero)!
    regards, dieter

  • JMS to Synchronous Web Service Scenario (Need Advice to use BPM or Not)

    Hi Experts,
    We have a scenario where we fetch data from JMS Sender and Send it to MDM Webservices.
    We want to have the files processed in such a way that until we get a response from webservice back that it was sucessful ,then only we need to process the next file.
    We would need advice as can we use BPM for this.
    We are thinking of having BPM like this:
    RecieveStep(Asyn)-SynchronousSend Step(with wait)-Stop
    The problem with this is when processing huge files the processing time of the Queue is taking very long and sometimes we are getting SYSFAIL.
    Please would anyone advice as how can we approach this scenario either using BPM or without.
    Also Can we use multiple queues or multpile instances concept for this scenario.
    Please Advice.
    Thanks in Advance
    Regards
    J

    Hi Prateek,
    Thank you very much for your quick reply.
    The response from Webservice does not need to be sent anywhere.
    We just want that after recieving the response back from webservice(SOAP) then only we need to process the next file.
    Can we control something from Sender JMS adapter side as well as it is picking up all the files and all files wait at BPE until each one gets processed.
    Is this possible without BPM or with BPM.
    Please advice as what wud be possible steps inorder to achive it through BPM or Without BPM.
    Thanks and Regards,
    J

  • Major Issues with installing 4tb internal. Really need advice please

    In the process of a long needed upgrade to my 2010 Mac Pro Quad core 2.8 and have run into a serious headache that I really need advice on so I can get back to work. I've already spent 2 days dealing with all of this...
    Just did a new SSD install and Migration which went fine but I'm also updating the rest of the internal drives. My main (non boot) drive was being upgraded from a Seagate Barracuda 3tb to a 4th Deskstar NAS (it was showing as compatible with my desktop, see links below). My 3tb ran fine for years but now due to it being heavily used I want to switch to a new drive and I can also use a bit more space.
    The issue I'm running into is that initially on boot, my system was telling me it couldn't recognize the disk and it wasn't even showing up in Disk Utility. I had to purchase a SATA USB 3 kit to attach it as an external to get it to show which worked without problem. With the USB kit I was then able to partition it (GUID, Mac OS extended journaled) and format it properly. After reinserting the drive into my tower as an internal it failed to show again. After a few attempts of restarts and trying various bays it popped up but showed as a non formatted drive and I was told again that the system didn't recognise it. I was then given the option to initialise and was then actually able to then format and partition it though Disk Utility while it was installed as an internal.
    Figured that was problem solved but when I went to check the drive and getting ready to transfer files over I noticed that Disk Utility was only allowing the First Aid and Partition options but not Erase, RAID, Restore which I'd never seen before. I then also noticed that none of the drive connection info was in the same format nor will it even provide drive bay info, connection info or read/write status (See screen shots). This is what I can't figure out and really need to clarify before I put full trust into using this drive.
    Any info would be greatly appreciated...
    Deskstar 4tb internal info which is installed in Bay 2
    3tb Seagate which I trying to retire and transfer from.
    Here are the weblinks to the Deskstar 4tb drive and the compatibility list but I support isn't allowing me to add direct links so add the www. before hand.
    (Drive - eshop.macsales.com/item/HGST/0S03664/) (compatibility list - eshop.macsales.com/Descriptions/specs/Framework.cfm?page=macpromid2010.html).

    What OSX version?
    Disk Utility in later versions of ML and I think Mavericks have problems formatting with 4 TB internal drives.
    http://forums.macrumors.com/showthread.php?t=1661024
    http://apple.stackexchange.com/questions/112266/why-doesnt-my-mac-pro-see-my-new -4tb-sata-drive

  • I need a BAPI or function that can create a PO without the purchase req.

    I need a BAPI or function that can create a PO without the reference to a purchase requisition. We are creating "direct POs" (with no reference to PR) manually. And we have a large amount of documents to create. I can't figure out if BAPI_PO_CREATE and BAPI_PO_CREATE1 can help us by doing this, because I've understood this BAPIs creates POs only with the reference to a purchase requisition.
    Thanks in advance!!
    Sebastian

    Sorry I'm late guys, I couldn't replay your posts because I was busy.
    Charlie,
    ...just because we have the data already in the SAP system.
    My client doesn't want purchase requisitions to be created from the PM orders. Instead he asked us to create the purchase workflow by generating direct purchase orders from the PM orders, basically taking the information from the purchase agreement within the order's tasks. Maybe you don't understand a bit what I'm saying, but let me get this straight: we can't use LSMW because data doesn't come from a legacy.
    Ian,
    ...after all, and like you've said, we're gonna use BAPI_PO_CREATE1 for creating the POs. Today I finally realized that, purchase requisitions aren't mandatory for the bapi to perform the process. If something goes wrong, I'll let you know.
    Thanks anyway for your attention.
    Sebastian

  • I'm desperately needing advice to a common question.  I use Quicken and love it.  But the Mac version is not as great as the PC.   Has anyone installed it by segmenting their Mac with Parallels or Fusion or Boot camp.  If so, which one do you recommend.

    I'm desperately needing advice.  New Mac.   Used Quicken on my PC.  Researched all software for Financial programs and Quicken is still the most recommended.   I want to use Quicken on my Mac.  The Mac version is not highly rated so I would need to partition my Mac.   Has anyone done this for their quicken program and if so, which partitioning program did you use - Parallels, Fusion ware or Boot camp?
    Thx

    Lisa Ellies-Laye wrote:
    Thanks.  Hadn't heard of it. ?  Is there any concern installing this free program on my Mac.    Have you used it?  Apart from being free is there any other advantage of Parallels and VMfusion. ?
    Virtual Box is safe and well developed, it offers similar or identical features to the paid competition, it may be a little less polished but that's all.
    Download and try it out, nothing to lose (except time).

Maybe you are looking for