Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

AutoIt (or similar) scripting for key combos?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> AutoIt (or similar) scripting for key combos? Page: [1]
Login
Message << Older Topic   Newer Topic >>
AutoIt (or similar) scripting for key combos? - 6/12/2013 7:57:29 PM   
joeyeti


Posts: 329
Joined: 2/28/2012
Status: offline
Has anyone tried a scripting engine for semi-automation in DW? I mean assigning more complex shortcuts beyond the game capability for more complex "macros", like "open Ships dialog, sort by name and filter military ships" to say "Ctrl+Shift+F1"?

_____________________________

Joe
Post #: 1
RE: AutoIt (or similar) scripting for key combos? - 6/12/2013 8:00:37 PM   
invaderzim

 

Posts: 211
Joined: 6/3/2013
Status: offline
No, but that's a really good idea. It seems like it would have be a somewhat complex macro if you have to move your mouse to the right spot on the screen and select the correct dropdown item.

(in reply to joeyeti)
Post #: 2
RE: AutoIt (or similar) scripting for key combos? - 6/12/2013 8:48:23 PM   
joeyeti


Posts: 329
Joined: 2/28/2012
Status: offline
Not at all. I have "recorded" and then tweaked many AutoIt macros alreday for my work (opening projects in various systems, starting and logging into various multi-step applications, even the backup macro for the DW wiki), so can safely say this would not be hard at all.

There is of course the question of individual screen size per each user, but I could check into determining the DW window size upon macro execution and adjust the required coordinates for mouse-clicking I guess...

So the main question is - what are the most commonly used "features" - e.g. reports or windows or actions, that could have a key combination assigned externally?


EDIT: The AutoIt macros can indeed be recorded (what you type, into which window, where you move the mouse, where you click etc.), plus there are many low-level system commands available, so you can literally create an application in AutoIt, if you know enough. The recording makes it especially easy to get something done quickly.

< Message edited by joeyeti -- 6/12/2013 8:59:12 PM >


_____________________________

Joe

(in reply to invaderzim)
Post #: 3
RE: AutoIt (or similar) scripting for key combos? - 6/13/2013 2:13:42 AM   
invaderzim

 

Posts: 211
Joined: 6/3/2013
Status: offline
Have you tried AutoHotKey? I've dabbled with it a bit and it's quite powerful in terms of features: http://www.autohotkey.com/

(in reply to joeyeti)
Post #: 4
RE: AutoIt (or similar) scripting for key combos? - 6/13/2013 3:49:39 AM   
dostillevi

 

Posts: 222
Joined: 8/31/2012
Status: offline
I'm also a big fan of autohotkey, but I haven't tried it with DW yet; haven't felt the need. Generally I'm impatient and I think I could time the macro you suggested faster than an AH script could, especially since the time to open that particular screen gets longer as the game progresses.

(in reply to invaderzim)
Post #: 5
RE: AutoIt (or similar) scripting for key combos? - 6/13/2013 8:08:43 AM   
joeyeti


Posts: 329
Joined: 2/28/2012
Status: offline
quote:

ORIGINAL: invaderzim
Have you tried AutoHotKey? I've dabbled with it a bit and it's quite powerful in terms of features: http://www.autohotkey.com/

AutoIt is basically the same, they are essentially competing for the same goal.

_____________________________

Joe

(in reply to invaderzim)
Post #: 6
RE: AutoIt (or similar) scripting for key combos? - 6/13/2013 2:22:28 PM   
Shark7


Posts: 7937
Joined: 7/24/2007
From: The Big Nowhere
Status: offline
I just want one that tells the pirates no automatically every time they pull the extortion thing.

_____________________________

Distant Worlds Fan

'When in doubt...attack!'

(in reply to joeyeti)
Post #: 7
RE: AutoIt (or similar) scripting for key combos? - 6/13/2013 2:34:08 PM   
joeyeti


Posts: 329
Joined: 2/28/2012
Status: offline

quote:

ORIGINAL: Shark7

I just want one that tells the pirates no automatically every time they pull the extortion thing.

Well, that unfortunately is not possible

_____________________________

Joe

(in reply to Shark7)
Post #: 8
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series >> AutoIt (or similar) scripting for key combos? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.172