AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

An Advanced Technique.
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Titan



Joined: 11 Aug 2004
Posts: 5031
Location: /b/

PostPosted: Tue Jan 11, 2005 11:33 am    Post subject: Reply with quote

Is it possible to click at an x,y coodinate on a minimised window (game automation)?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rajat



Joined: 28 Mar 2004
Posts: 1687

PostPosted: Tue Jan 11, 2005 11:36 am    Post subject: Reply with quote

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
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5031
Location: /b/

PostPosted: Tue Jan 11, 2005 12:08 pm    Post subject: Reply with quote

Thanks Rajat.
Before I go and try, would it work on a java game?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Rajat



Joined: 28 Mar 2004
Posts: 1687

PostPosted: Tue Jan 11, 2005 12:27 pm    Post subject: Reply with quote

i don't think so...
_________________
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5031
Location: /b/

PostPosted: Tue Jan 11, 2005 7:22 pm    Post subject: Reply with quote

Sadly I've tried and you're right... doesn't work Sad
Thanks anyway on the cool tutorial.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jonny



Joined: 13 Nov 2004
Posts: 2952
Location: Minnesota

PostPosted: Tue Jan 11, 2005 8:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rajat



Joined: 28 Mar 2004
Posts: 1687

PostPosted: Tue Jan 11, 2005 11:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5031
Location: /b/

PostPosted: Wed Jan 12, 2005 12:04 am    Post subject: Reply with quote

Yeah I understand you Rajat, that's why I asked you in the first place to make sure.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
KijutoRiddle
Guest





PostPosted: Wed Jan 19, 2005 3:02 am    Post subject: Reply with quote

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

PostPosted: Fri Jan 21, 2005 7:59 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
jonny



Joined: 13 Nov 2004
Posts: 2952
Location: Minnesota

PostPosted: Sat Jan 22, 2005 4:02 am    Post subject: Reply with quote

Lol. Makes sense. Probably for the same reason AHK wouldn't run in Wine. (Or would it? Laughing )
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10667

PostPosted: Sat Jan 22, 2005 3:51 pm    Post subject: Reply with quote

jonny wrote:
AHK wouldn't run in Wine. (Or would it? Laughing )
It might, I haven't heard of anyone ever trying it.
Back to top
View user's profile Send private message Send e-mail
Serenity



Joined: 07 Nov 2004
Posts: 1272

PostPosted: Fri Feb 11, 2005 1:08 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jonny



Joined: 13 Nov 2004
Posts: 2952
Location: Minnesota

PostPosted: Fri Feb 11, 2005 1:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Serenity



Joined: 07 Nov 2004
Posts: 1272

PostPosted: Fri Feb 11, 2005 1:28 am    Post subject: Reply with quote

I didn't know Firefox had those keystrokes built in. Wink

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 2 of 7

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group