CyberSlug 6 Posted February 9, 2004 Share Posted February 9, 2004 If you pause a script via its tray icon, the script will still buffer any HotKeys and execute them once the script is resumed. 1) Run the provided script, and optionally press ScrollLock a few times 2) Use the tray icon to pause the script 3) Hit ScrollLock two or three times 4) Unpause the script HotKeySet("{ScrollLock}", "foo") Run("notepad");use for output of Send commands While 1 sleep(100) WEnd Func foo() WinActivate("Untitled - Notepad") Send("this is a message") EndFunc Feature or bug? I'd say "undesired behavior." Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to post Share on other sites
Administrators Jon 1,250 Posted February 9, 2004 Administrators Share Posted February 9, 2004 Well, it's how I designed it. I had to write code to make it buffer - it wasn't an accident. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to post Share on other sites
CyberSlug 6 Posted February 10, 2004 Author Share Posted February 10, 2004 (edited) But even when the script is "Paused" with the tray icon??? I only like the buffering when the script is running. If the behavior is what you want, I'll document it in HotKeySet. Edited February 10, 2004 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to post Share on other sites
Administrators Jon 1,250 Posted February 10, 2004 Administrators Share Posted February 10, 2004 I can make it throw away keys when paused I guess. But if you buffer up lots of keys and then pause it they will already have been in the buffer and will execute when you unpause. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to post Share on other sites
CyberSlug 6 Posted February 10, 2004 Author Share Posted February 10, 2004 (edited) That's exactly how I would expect the tray-icon pause feature to work But maybe that's just me. Edit: I see it's implemented--thanks! Edited February 10, 2004 by CyberSlug Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now