Detecting two  seconds on mousedown

Hello:
Can you help detecting when a mousedown has passed two
seconds to show a
menu.?
Any sample please.
Thank you

Hi Arielle
Sorry no script, but here is what I would do.
Create a text field called, timerField.
On mousedown
Put 1 into timer
In the global script write
If timerField = 1 then
And start the timer script.
When the timer script = 2 seconds then make the menu visible
or go to it, don’t forget to put 0 into timerField at this
point to stop the timer script. Also put 0 into timerField on
mouseup should the user decide not to access the menu.
I’m sure someone else will provide a more elegant way,
but this will work.
Ron

Similar Messages

  • My Mac Pro (2006) with NVidia GeForce 8800 GT is not detecting a second display.  What can I do?

    My Mac Pro w/ NVIDIA GeForce 8800 GT does not detect a second display from the System Preferences / Displays.  Even though I select the "Detect Displays" button, nothing happens.  I also have Bootcamp and Windows 7 in a partition on my drive.  When I operate with Windows 7, there is no problem detecting both of my displays.  However, when I operate with Windows 7, there is no sound signal sent from my sound card.  When I switch back to the OS X then I get a sound feed from the sound card, but then it will not detect more than one monitor.  I'm ready to pull out my hair.  Anyone have suggestions?

    http://store.apple.com/us/product/MC094Z/A
    Leopard 10.5.6 DVD (Amazon has it for $106)

  • Apple's Tip of the week - Two Seconds to Sleep anomaly

    Apple states in its tip of the week
    "Tip of the Week
    Two Seconds to Sleep
    Want the fastest way to put your Mac right into a deep, sleepy-bear hibernation-like sleep (no whirling fan, no dialogs, no sound — nuthin’ — just fast, glorious sleep). Just press Command-Option and then hold the Eject button for about 2 seconds and Zzzzzzzzzzzzzz. It doesn’t get much faster than that."
    at URL http://www.apple.com/pro/tips/quicksleep.html
    I tried this on my 2x 2.5 GHz PowerMac G5 and it gave my computer fits.
    First it took 5 seconds to goto sleep and then immediately wakes up again. Not only this but it corrupted my Safari in as much as clicking on any web link would cause a download of the HTML and then after deleting the downloaded file and quitting the Safari download window all the Safari web pages being displayed or active in Dock would terminate and disappear. I had to restart the computer to regain some sanity. It was repeatable as well.
    If others experience a similar behavior I'd sure like to see some feedback as this is just too bad of Apple if its widespread.
    BTW - I'm running 10.4.7 (since it was released to public) and file system permissions are presitine and all correct just for the record.
    Thanks.

    I have been using this for a over a year (forget where I found it) and always use it to send my PowerBook to the Land of Nod, rather than just shutting the lid.
    When you do it this way, also, it is quite clear that some processes still need to do their thing, particularly a network; and also after using QuickTime (or video in iTunes).

  • How can I add a two second pause to the beginning of each slide?

    Hello,
    I have a project with TTS and perfectly aligned CC notes - 64 slides.  Now the customer would like for there be a two-second pause before the audio begins on each slide in order to allow the user to first become oriented with the slide.  Is there a way I can do this without moving the audio down the timeline two seconds, and then having to adjust the appearance of each of the CC notes accordingly? 
    I was thinking of something like pause two seconds On Enter -- Is this possible?
    Thanks for any help!!
    Ryan

    VTML (VoiceText Markup Language) – This Powerful hidden gem in Text to Speech helps you control the generated speech by adding pause, changing the pitch etc !
    Please use the document linked below to get the more information on VTML tags and its usage.
    https://ondemand.neospeech.com/vt_eng-Engine-VTML-v3.9.0-3.pdf
    Regards,
    Rajeev.

  • I have Windows 7 and it is not detecting my second generation iTouch does not show

    I have Windows 7 and it is not detecting my second generation iPod Touch,  I have tried rebooting etc.

    http://support.apple.com/kb/TS1538

  • Is there any way to use embedded commands in text to create pauses when using text to speech in iOS 5? You can do it in OS X by typing [[slnc 2000]] to get a two-second pause.

    Is there any way to use embedded commands in text to create pauses when using text to speech in iOS 5? You can do it in OS X by typing [[slnc 2000]] to get a two-second pause.

    Thanks for the reply Russ.
    Yes, I've considered adding titles and/or generators in the FCPX storyline, but this creates a need to render the entire timeline. As I'm juggling library locations and hard drive spaces I just didn't want to add a new render that will occupy a lot of space. It's also a bit of visual clultter for me, so my goal is to find the best workflow for adding this stuff on or after export.

  • I keep getting logged off of Revel two seconds after I log into revel.  What going on?

    I keep getting logged off of Revel two seconds after I log into revel.  What going on?

    Hi Trevor
    Can you tell me what device you are using, what operating system, and how recently you updated the app?
    Pattie

  • My sister spoiled water into my macbook pro and the power went off in two seconds. I took off the cover and dried the water with tissues. Still it doesnt work. What do i do?

    My sister spoiled water into my macbook pro and the power went off in two seconds. I took off the cover and dried the water with tissues. Still it doesnt work. What do i do?

    Do you mean when the water was spilled on it, it shut down?  That would indicate a major internal short occured.
    Really, I'd say you need to take it into Apple or an Apple authorized repair center and get it looked at.  Odds are you've got a significantly damaged device that will require professional repair and parts replacement to get working again.

  • Why does my iPad mini keep shutting off every two seconds?

    Why does my iPad mini keep shutting off every two seconds?

    I doubt that anyone here can answer that question with any validity...
    That being said, try to reset the device:
    *Device reset*
    Device Reset (won't affect settings/data/music/apps/etc)
    1. Press and hold (& continue to hold) BOTH the Sleep/Wake button & the Home button.
    2. Continue to hold BOTH (ignoring any other messages that may show) until you see the Apple logo on the screen.
    3. Release BOTH buttons when you see the Apple logo and allow the device to boot normally.

  • When i try to play a youtube video it plays for only two seconds

    when i try to play a youtube video it plays for only two seconds with sound but the screen stays black. it takes a little more time for the video to load also. then it crashes which ever internet program i am using. But whenever i turn off my plug-ins it works totally fine. how do i fix this? this has never happened to me before. i tried to uninstall flash player and reinstall but it fixes nothing, this has been going on for two days now.
    i use safari and firefox and both dont work

    Click here and download Flash.
    (102455)

  • IMovie HD 6 when "share" to QuickTime video "jerks" every two seconds

    I'm trying to export a 2 minute movie by "sharing" it as QuickTime. I'm doing this for a friend so he can upload it to his YouTube account. I'm exporting using the "expert" settings required by YouTube (see http://www.google.com/support/youtube/bin/answer.py?&answer=165543). When I open the movie to view it in QuickTime the movie image "jerks" every two seconds and the audio is out of sync with the video. I've never had this problem before. The video plays fine in iMovie HD 6. Any idea what is going on and how I may fix it? I've restarted, shutdown and restarted, "shared" numerous times and still have the same problem.

    I have the exact same problem: iMovie crashes when you try to export. I believe it's the software update, not your virus scanner. Everything was fine with me until I downloaded this wonderful "upgrade" that has caused untold problems (as you can gather from these Discussions). I've just given up on it and purchased different video software. Which just works . . .

  • Youtube videos only play for two seconds before displaying an error message since updating to FF28.

    Since updating to Firefox 28, videos on Youtube will display a spinning wheel for some time, only play one or two seconds of the video, and then go to a Youtube ‘an error has occurred’ screen. At this point, Flash will crash, hanging Firefox for a minute or so. This occurs whether I am using the HTML5 player or the default player. The same videos worked fine previously in Firefox 27, and still work fine over the same wifi connection on Chrome for Android. A similar issue had occurred under Firefox 27, but only if the video was embedded in another site. Vimeo and Facebook Video still work fine: the problem seems to be specific to Youtube. Everything else on the Youtube site itself works; it's only videos that are malfunctioning.
    I am running the latest Firefox and Flash updates on Windows 7 64-bit, with Tree Style Tab, Download Statusbar, Adblock Plus, Foxyscrobbler, NetUsageItem, and Pocket. The issue still occurs with all add-ons disabled in safemode, and with just Adblock disabled (my first thought was that perhaps Google had changed ad delivery in a way that caused ABP to break videos, but this doesn't appear to be so).
    Does anyone have any ideas as to what's gone wrong? :)

    Sorry, I forgot to mention, I tried turning hardware acceleration off as was suggested elsewhere on the support forum, but this didn't help either.

  • Two Second Skip Switching Between Windowed and Full Screen Modes During Playback YouTube videos

    I am finding that every video I watch skips two seconds every time I switch back and forth from Full Screen mode. Happens mostly with 720p videos in YouTube.
    Can be replicated by pausing the video (also possible during playback, pausing it was just to determine how long the skip is), switching to Full Screen and back, noticing the two second change on the timer.
    Main operating environment is Opera browser on Windows 7 (x86), Flash ver.  11.1.102.55 and 12beta. I have also been able to replicate the problem on Internet Explorer ver. 9.0.8112.16421

    I see about 30-80 MB memory usage increase while switching to fullscreen and it is falling back while switching back to normal mode.
    I think the "freeing" of the memory is to agressive and produces such "lags."
    @Adobe: This should be optimized with the next versions.
    Update:
    With the Plash Player plugin (Firefox Nightly/Opera Next) it is worse and with Active-X (IE9) it seems to be ok.

  • Comp logs in for two seconds, then automatically logs back out.

    Ok. This is a strange one for me, and I can't seem to find any information online about it, or anyone who has had a similar problem. I caused the problem by trying to get my router to work, consequentially force-rebooting my eMac about three times in a row immediately after start-up. The final time I rebooted, I came to the login screen, and logged into my administrator account as usual. The desktop loaded for two seconds, and I even had enough time to get nethack in the early stages of starting up, then it went blue, and returned me to the login screen.
    Every time I try to log into my administrator account, it accepts my password just fine, loads my desktop background, items, and user settings, and then it just forces me immediately back to the login screen. I can log into my guest account just fine, use the internet, and do whatever over there, but it just wont let me into my administrator account. Or rather, it will, but only for (literally) one second. What happened? I didn't install anything recently, and the only thing I can think of that would of caused it would be all of the force re-booting (by just holding the power button down until it rebooted) that I did three startups in a row, maybe a minute after booting.
    HELLLP

    Force reboots can cause directory corruption.
    Try using Disk Utility to do a Disk Repair, as shown in this link, while booted up on your install disk.
    You could have some directory corruption. Let us know what errors Disk Utility reports and if DU was able to repair them.
     Cheers! DALE

  • When I import a video on cs6 it plays fine for literally two seconds. Then it begins to freeze

    When I import a video on cs6 it plays fine for literally two seconds. Then it begins to freeze and not play smoothly, the audio is fine its just the video, even after I have rendered it, it still freezes and doesnt play yet the audio is perfectly fine... any answers please?

    What is your output going to be for... DVD, BluRay... ???
    If DVD, you want DV AVI Type 2 with 16bit 48khz sound
    Also, The tutorial list in message #3 http://forums.adobe.com/message/2276578 may help

Maybe you are looking for

  • I just updated my mac and when i went to open iphoto it says it "can not open because of a problem" how do i fix this?

    i just updated my mac and when i went to open iphoto it says it "can not open because of a problem" how do i fix this?

  • Save as type using Vista

    Hi All, I am saving an IMAQ image and would like to have the option of having the File Dialog box allow me to save as different formats. We have a solution for this at: http://forums.ni.com/ni/board/message?board.id=170​&message.id=16648&query.id=392

  • How to track report called from a from

    We have a Form that calls a report using the show_document command. Is there a way to track when the report is called inside the form? Thanks.

  • User Last Sign In Report

    Hi All, We created a simple report consisting mainly of the username and when he last signed in. It appears that all my users can see everyone's last sign in rather than just their own or their subordinate's. I used the Opportunities subject area. Ca

  • AppCrash when searching library in 12.1.1.4

    Win7 english x64 ultimate fully patched cpu: i7-4770K mem: 16GB DDR3 disks: various SSDs from 64-512GB, no mechanical drives non-Unicode programs set to English (US) I just reinstalled iTunes hoping it would help, but any time I search my library, I