AutoIt (or similar) scripting for key combos? (Full Version)

All Forums >> [New Releases from Matrix Games] >> Distant Worlds 1 Series



Message


joeyeti -> AutoIt (or similar) scripting for key combos? (6/12/2013 7:57:29 PM)

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"?




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

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.




joeyeti -> RE: AutoIt (or similar) scripting for key combos? (6/12/2013 8:48:23 PM)

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.




invaderzim -> RE: AutoIt (or similar) scripting for key combos? (6/13/2013 2:13:42 AM)

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




dostillevi -> RE: AutoIt (or similar) scripting for key combos? (6/13/2013 3:49:39 AM)

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.




joeyeti -> RE: AutoIt (or similar) scripting for key combos? (6/13/2013 8:08:43 AM)

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.




Shark7 -> RE: AutoIt (or similar) scripting for key combos? (6/13/2013 2:22:28 PM)

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




joeyeti -> RE: AutoIt (or similar) scripting for key combos? (6/13/2013 2:34:08 PM)


quote:

ORIGINAL: Shark7

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

Well, that unfortunately is not possible [:)]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.359375