Hey, wondering if you could help me write a simple controlsend.
I don't understand how control send works but I need to write a script for a macro.
1) I'm guessing control send is for inactive programs, right?
I need that!
So what do I need to type in for this to happen:
Send F2 in the window.
here's windowspy screenshot of my application, since I don't know which of those are needed.
So That's all I need just the code that will send F2 in the window.
Also would help me if you showed what I need to do the same but with controlclick.
Thanks A lot.
controlsend
controlsend
- Attachments
-
- bhY59agSRNaeeJKbDCyNRw.png (17.59 KiB) Viewed 782 times
I am your average ahk newbie. Just.. a tat more cute.
Re: controlsend
Code: Select all
#Persistent
https://autohotkey.com/docs/commands/DetectHiddenText.htm
https://autohotkey.com/docs/commands/DetectHiddenWindows.htm
SetTimer, Poke, 500
Return
Poke:
https://autohotkey.com/docs/commands/ControlSend.htm
Return
Re: controlsend
lol! Nice BoBo. I love how you put url references in-line where the code should go!
Re: controlsend
I dont know what PITA is...BoBo wrote:Bad luck. Looks like JAVA. A real PITACode: Select all
#Persistent https://autohotkey.com/docs/commands/DetectHiddenText.htm https://autohotkey.com/docs/commands/DetectHiddenWindows.htm SetTimer, Poke, 500 Return Poke: https://autohotkey.com/docs/commands/ControlSend.htm Return
and what does that mean? the game can't be controlled?
So I need to run a virtual box or something? will the virtual box work? cus you're controlling the virtual box and indirectly the game right?
I am your average ahk newbie. Just.. a tat more cute.
Re: controlsend
a) http://www.urbandictionary.com/define.php?term=pitaNwb wrote:I dont know what PITA is...
and what does that mean? the game can't be controlled?
So I need to run a virtual box or something? will the virtual box work? cus you're controlling the virtual box and indirectly the game right?
b) JAVAs controls are not as accessible as standard windows controls. To much unreliable workarounds. But I might be wrong.
c) TBH, no idea about that.
Who is online
Users browsing this forum: mcd and 178 guests