Jump to content

Recommended Posts

Posted

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.

Posted (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 by AznSai
Posted (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 by zzxxzzxx
Posted (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 by zzxxzzxx

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...