zzxxzzxx Posted September 2, 2005 Posted September 2, 2005 hi, is there any commands that allows me to unfocus a window? so that it is in the background. or just simply put, focus on desktop itself. i tried WinSetState but did not work.
AznSai Posted September 2, 2005 Posted September 2, 2005 (edited) Opt("WinTitleMatchMode",4) WinActivate("classname=Shell_TrayWnd") Or WinActivate("Program Manager") Hope that helps. You should really be looking at the help file though. Edited September 2, 2005 by AznSai
zzxxzzxx Posted September 2, 2005 Author Posted September 2, 2005 oh thanks. i tried winactivate b4, but dunno what i should put inside. the help file dint give any clue ^^ thks, been a great help.
w0uter Posted September 2, 2005 Posted September 2, 2005 (edited) if you really want to focus on the DESKTOP send #d Edited September 3, 2005 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
zzxxzzxx Posted September 3, 2005 Author Posted September 3, 2005 (edited) huh?? sorry dint catch what you are trying to ask. -edit1- Oh, one more question, cos i cant set {LCTRL} as a hotkey. so is there any other way to do that? pressing ctrl while doing work is sort of hampering my game play in the background. so i'll like it to be doing other thing while i press ctrl. usually just left ctrl. -edit2- i've seen some codes like Send ("!{DOWN}") what does the exclamation(!) mark do? still learning more codes. Edited September 3, 2005 by zzxxzzxx
w0uter Posted September 3, 2005 Posted September 3, 2005 (edited) typo >< is = if ! + ^ # are modifiers (alt, shift, ctrl, win) see the manual on (SEND) Edited September 3, 2005 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
zzxxzzxx Posted September 4, 2005 Author Posted September 4, 2005 (edited) oh, ok. thanks. opt1: what are the possible ways for getting ctrl or lctrl to be set as hotkeys. opt2: detecting ctrl or lctrl is being pressed, then do a command. for my previous "edit1", lets say i want to use "If" command and wait for the ctrl button to be pressed, what can i do so 'capture' that keystroke? eg: If 'ctrl is pressed', send (" ", 1) something like that..... how to i change 'ctrl is pressed' to autoit commands... Edited September 4, 2005 by zzxxzzxx
w0uter Posted September 4, 2005 Posted September 4, 2005 _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
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