Search the web
Sign In
New User? Sign Up
AutoHotkey
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
AutoHotkey v1.0.43.08 released: Added #NoEnv to improve performance   Message List  
Reply | Forward Message #241 of 528 |
Here are the changes:

Changed SendInput to use "SetKeyDelay -1, 0" when it reverts to SendEvent
mode (unless SendEvent's KeyDelay "-1,-1", in which case "-1,-1" is used).

Added directive #NoEnv, which is recommended for all new scripts because:

- It significantly improves performance whenever empty variables are used in
an expression or command. It also improves DllCall's performance when
unquoted parameter types are used (e.g. int vs. "int").

- It prevents script bugs caused by environment variables whose names
unexpectedly match variables used by the script.

- A future version of AutoHotkey such as 1.1 might force this behavior into
effect for all scripts (though such a change is not expected for at least a
year).

Added built-in variables ComSpec and ProgramFiles to ease the transition to
#NoEnv.

Added command EnvGet, which retrieves an environment variable.


Download it at http://www.autohotkey.com/download/






Tue Apr 18, 2006 3:49 am

cmallett2
Offline Offline
Send Email Send Email

Forward
Message #241 of 528 |
Expand Messages Author Sort by Date

Here are the changes: Changed SendInput to use "SetKeyDelay -1, 0" when it reverts to SendEvent mode (unless SendEvent's KeyDelay "-1,-1", in which case...
Chris
cmallett2
Offline Send Email
Apr 18, 2006
3:49 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help