It works as Intended.
HotKeySet("f", "Poof") ;Triggers xxx HotKeySet("d", "Poof2") ;Triggers xxx MsgBox(0, "Running", "Running") ;MessageBox Informing that the Script is Running While 1 Sleep(100) WEnd Func Poof2() ;When User Presses D Do: Send("q") MouseClick("left") Send("{tab}") Sleep(10) EndFunc Func Poof() ;When User Presses F Do: Send("w") MouseClick("left") Send("{tab}") Sleep(10) Send("w") MouseClick("left") Send("{tab}") Sleep(10) Send("w") MouseClick("left") Send("{tab}") Sleep(10) Send("w") MouseClick("left") Send("{tab}") Sleep(10) Send("w") MouseClick("left") Send("{tab}") Sleep(10) Send("1") EndFunc
It Simply Does Not Work in the Application it is supposed to Run in, when i Run the Application in Fullscreen !
Why? I don't get it at all!
Ive Beed Adviced to use
So i did !
And.. Nothing!
I Got Mouseclick to work 50%
But To Work 100% The Mouseclick has to Occur at the Current Location of the Arrow, Not in the Center of the window. But It appears that ControlClick only is Capable of "Clicking" in a Set X, Y Position.
So that can't be the right Command.. Perhaps Some form of Advanced ControlSend String?
BUT AGAIN ! WORKS ONLY IN WINDOWED MODE !
The Last one is Simple..
But Then Again.. Why Is Send AND ControlSend Not Working for me in FullScreen?
Bonus Info: I Used AutoIt Window Info While the "Application" was in Windowed Mode, So i am fairly shure that i got the Name Right
(It Works in Windowed Mode - Why Should the Name be Diffrent in FullScreen?)
OK ! Here Is How i got it to work
I Compiled it and
!!! Run As Administrator !
Sorry Guys !
It's Somewhat Tagged, So hope this will at least help other Newbies
Edited by Schoening, 10 January 2012 - 01:41 AM.





