| View previous topic :: View next topic |
| Author |
Message |
Titan
Joined: 11 Aug 2004 Posts: 5031 Location: /b/
|
Posted: Tue Jan 11, 2005 11:33 am Post subject: |
|
|
| Is it possible to click at an x,y coodinate on a minimised window (game automation)? |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1687
|
Posted: Tue Jan 11, 2005 11:36 am Post subject: |
|
|
| Titan wrote: | | Is it possible to click at an x,y coodinate on a minimised window (game automation)? |
if that registers as a msg, yes. _________________
 |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5031 Location: /b/
|
Posted: Tue Jan 11, 2005 12:08 pm Post subject: |
|
|
Thanks Rajat.
Before I go and try, would it work on a java game? |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1687
|
Posted: Tue Jan 11, 2005 12:27 pm Post subject: |
|
|
i don't think so... _________________
 |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5031 Location: /b/
|
Posted: Tue Jan 11, 2005 7:22 pm Post subject: |
|
|
Sadly I've tried and you're right... doesn't work
Thanks anyway on the cool tutorial. |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 2952 Location: Minnesota
|
Posted: Tue Jan 11, 2005 8:40 pm Post subject: |
|
|
| Did you try doing it twice? I don't have any experience with Java or JS, but don't Java games have to have focus first? |
|
| Back to top |
|
 |
Rajat
Joined: 28 Mar 2004 Posts: 1687
|
Posted: Tue Jan 11, 2005 11:42 pm Post subject: |
|
|
from my experience... it works on actual apps... the actual app here is the browser. try something on it like selecting reload from menu or opening new window and that'll work... but sending msgs to java games as input is kind of like trying to type text in notepad using msgs... the java game running inside the browser window isn't the actual app, if u understand what i'm trying to say. _________________
 |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5031 Location: /b/
|
Posted: Wed Jan 12, 2005 12:04 am Post subject: |
|
|
| Yeah I understand you Rajat, that's why I asked you in the first place to make sure. |
|
| Back to top |
|
 |
KijutoRiddle Guest
|
Posted: Wed Jan 19, 2005 3:02 am Post subject: |
|
|
| Rajat wrote: | | from my experience... it works on actual apps... the actual app here is the browser. try something on it like selecting reload from menu or opening new window and that'll work... but sending msgs to java games as input is kind of like trying to type text in notepad using msgs... the java game running inside the browser window isn't the actual app, if u understand what i'm trying to say. |
I don't thing so, even the actual Java application, autohotkey can do nothing to it. Java application doesn't use the standard control of Windows (you can't even get the controlID), so don't try to do anything with an Java app. |
|
| Back to top |
|
 |
savage
Joined: 02 Jul 2004 Posts: 207
|
Posted: Fri Jan 21, 2005 7:59 pm Post subject: |
|
|
| I think most cross platform toolkits will cause problems. I haven't had any luck using AHK with gaim (GTK+) or (lol) in Cygwin programs. |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 2952 Location: Minnesota
|
Posted: Sat Jan 22, 2005 4:02 am Post subject: |
|
|
Lol. Makes sense. Probably for the same reason AHK wouldn't run in Wine. (Or would it? ) |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10667
|
Posted: Sat Jan 22, 2005 3:51 pm Post subject: |
|
|
| jonny wrote: | AHK wouldn't run in Wine. (Or would it? ) | It might, I haven't heard of anyone ever trying it. |
|
| Back to top |
|
 |
Serenity
Joined: 07 Nov 2004 Posts: 1272
|
Posted: Fri Feb 11, 2005 1:08 am Post subject: |
|
|
I use the swifttabs extension for Firefox which allows me to use the F1 & F2 keys to switch tabs and wanted something similar for EditPad.
| Code: | $F1::
IfWinActive, ahk_class TFormEditPadLite
{
PostMessage, 0x111, 83,,, ahk_class TFormEditPadLite ; prev tab
return
}
else
Send, {F1}
return
$F2::
IfWinActive, ahk_class TFormEditPadLite
{
PostMessage, 0x111, 82,,, ahk_class TFormEditPadLite ; next tab
return
}
else
Send, {F2}
return |
_________________ "Anything worth doing is worth doing slowly." - Mae West
 |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 2952 Location: Minnesota
|
Posted: Fri Feb 11, 2005 1:14 am Post subject: |
|
|
| I've seen extensions like that. I never got any 'cause A) It's already covered by AHK and B) Ctrl+Tab and Ctrl+Shift+Tab is quicker than going to any other key for me, because I'm used to it. |
|
| Back to top |
|
 |
Serenity
Joined: 07 Nov 2004 Posts: 1272
|
Posted: Fri Feb 11, 2005 1:28 am Post subject: |
|
|
I didn't know Firefox had those keystrokes built in.
Ctrl+Shift+Tab vs F1.. why use three keys when you can use one? _________________ "Anything worth doing is worth doing slowly." - Mae West
 |
|
| Back to top |
|
 |
|