AutoHotkey Community

It is currently May 24th, 2012, 6:32 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 93 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 7  Next
Author Message
 Post subject:
PostPosted: January 11th, 2005, 12:33 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5346
Location: UK
Is it possible to click at an x,y coodinate on a minimised window (game automation)?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 11th, 2005, 12:36 pm 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1865
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 11th, 2005, 1:08 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5346
Location: UK
Thanks Rajat.
Before I go and try, would it work on a java game?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 11th, 2005, 1:27 pm 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1865
i don't think so...

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 11th, 2005, 8:22 pm 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5346
Location: UK
Sadly I've tried and you're right... doesn't work :(
Thanks anyway on the cool tutorial.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 11th, 2005, 9:40 pm 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 12th, 2005, 12:42 am 
Offline

Joined: March 28th, 2004, 3:53 pm
Posts: 1865
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 12th, 2005, 1:04 am 
Offline
User avatar

Joined: August 11th, 2004, 1:47 am
Posts: 5346
Location: UK
Yeah I understand you Rajat, that's why I asked you in the first place to make sure.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 19th, 2005, 4:02 am 
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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 21st, 2005, 8:59 pm 
Offline

Joined: July 2nd, 2004, 11:53 pm
Posts: 207
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 22nd, 2005, 5:02 am 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
Lol. Makes sense. Probably for the same reason AHK wouldn't run in Wine. (Or would it? :lol: )


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 22nd, 2005, 4:51 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
jonny wrote:
AHK wouldn't run in Wine. (Or would it? :lol: )
It might, I haven't heard of anyone ever trying it.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 11th, 2005, 2:08 am 
Offline

Joined: November 8th, 2004, 12:46 am
Posts: 1271
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
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 11th, 2005, 2:14 am 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 11th, 2005, 2:28 am 
Offline

Joined: November 8th, 2004, 12:46 am
Posts: 1271
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
Image


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 93 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 7  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: lblb, tomL and 13 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group