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 

Search found 9 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Keybinding for Sacred the PC game
NHO3

Replies: 9
Views: 1026

PostForum: Ask for Help   Posted: Sat Jul 24, 2004 12:14 am   Subject: Keybinding for Sacred the PC game
I used the window spy tool to verify the class name and it is Sacred. The script runs fine without the winwait funtion. Since it is waiting 1000ms before it checks if the window has closed windows has ...
  Topic: Keybinding for Sacred the PC game
NHO3

Replies: 9
Views: 1026

PostForum: Ask for Help   Posted: Fri Jul 23, 2004 9:47 pm   Subject: Keybinding for Sacred the PC game
Like this?

#HotkeyInterval 1000 ;default 2000
#MaxHotkeysPerInterval 250 ;default 5
#MaxThreadsPerHotkey 3

run C:\games\sacred\sacred.exe
WinWait, ahk_class Sacred, , 10
if ErrorLev ...
  Topic: Keybinding for Sacred the PC game
NHO3

Replies: 9
Views: 1026

PostForum: Ask for Help   Posted: Fri Jul 23, 2004 7:53 pm   Subject: Keybinding for Sacred the PC game
This is what I have and it doesnt close the script or app when the game exists.

#HotkeyInterval 1000 ;default 2000
#MaxHotkeysPerInterval 250 ;default 5
#MaxThreadsPerHotkey 3
run C:\gam ...
  Topic: Keybinding for Sacred the PC game
NHO3

Replies: 9
Views: 1026

PostForum: Ask for Help   Posted: Fri Jul 23, 2004 4:42 am   Subject: mouse
Is the mouse coordinates the same no matter what the resolution is?

I am having trouble getting the script to exit after the game is closed. I added this to the end of my script but it didnt work. ...
  Topic: Keybinding for Sacred the PC game
NHO3

Replies: 9
Views: 1026

PostForum: Ask for Help   Posted: Fri Jul 23, 2004 4:23 am   Subject: Sorry I double posted
Thanks to chris I got it to work. He suggested I use the following:

F1::
Send 6
MouseClick, right
return

It works great. Now I just need some way to change the spells that are in the 6-0 s ...
  Topic: arrow key remap for games
NHO3

Replies: 5
Views: 2248

PostForum: Scripts & Functions   Posted: Fri Jul 23, 2004 4:15 am   Subject: arrow key remap for games
It does work wonderfully thanks so much!!!!!! Now I need to figure out how to make a hotkey to change the spells on the toolbar and how to make the script end when the game exits.
  Topic: arrow key remap for games
NHO3

Replies: 5
Views: 2248

PostForum: Scripts & Functions   Posted: Fri Jul 23, 2004 4:08 am   Subject: arrow key remap for games
Hmm I think it works going to do more testing. Thanks!!!!!!
  Topic: Keybinding for Sacred the PC game
NHO3

Replies: 9
Views: 1026

PostForum: Ask for Help   Posted: Fri Jul 23, 2004 4:04 am   Subject: Keybinding for Sacred the PC game
Can somebody tell me how to make a script that will allow me to use the funtion keys to cast spells in this game. In the game you have to select a spell with the number keys (not numpad) and then righ ...
  Topic: arrow key remap for games
NHO3

Replies: 5
Views: 2248

PostForum: Scripts & Functions   Posted: Fri Jul 23, 2004 3:40 am   Subject: sacred key binding
I play Sacred and the game doesnt allow you to change the key bindings and it has a stupid UI for the spells. The way it works is you select a spell with the number keys 6-0 then you have to right cli ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group