w0uter Posted August 29, 2005 Posted August 29, 2005 my own personal mod from _IsPressed() seems faster then the included one. (it also ads the option to use a DllOpen() handle if it is called alot) Func _IsPressed($s_hexKey, $v_dll = 'user32.dll') Local $av_R = DllCall($v_dll, "int", "GetAsyncKeyState", "int", '0x' & $s_hexKey) If Not @error And BitAND($av_R[0], 0x8000) = 0x8000 Then Return 1 Return 0 EndFunc ;==>_IsPressed My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
jftuga Posted August 30, 2005 Posted August 30, 2005 Why not Scripts & Scraps? Admin_Popup, show computer info or launch shellRemote Manager, facilitates connecting to RDP / VNCProc_Watch, reprioritize cpu intensive processesUDF: _ini_to_dict, transforms ini file entries into variablesUDF: monitor_resolutions, returns resolutions of multiple monitorsReport Computer Problem, for your IT help deskProfile Fixer, fixes a 'missing' AD user profile
GaryFrost Posted August 30, 2005 Posted August 30, 2005 my own personal mod from _IsPressed() seems faster then the included one.(it also ads the option to use a DllOpen() handle if it is called alot)Func _IsPressed($s_hexKey, $v_dll = 'user32.dll') Local $av_R = DllCall($v_dll, "int", "GetAsyncKeyState", "int", '0x' & $s_hexKey) If Not @error And BitAND($av_R[0], 0x8000) = 0x8000 Then Return 1 Return 0 EndFunc ;==>_IsPressed<{POST_SNAPBACK}>I'll take a look at this when I get home from work, being I submitted on behalf of the authors, looks like it'll work with out breaking any current scripts, shouldn't be a problem.Gary SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
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