Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How do I send keystrokes to dwarf fortress?  (Read 731 times)

mustyoshi

  • Bay Watcher
    • View Profile
How do I send keystrokes to dwarf fortress?
« on: April 14, 2010, 08:51:09 pm »

Like, I like quickfort, but it's really tough for me to work it T.T I decided I would rather just learn the skills to make a fort creator that actually does all the work for you, with a nice colorful GUI to boot :P.
So how do I send keystrokes to Dwarf Fortress?
Logged
Urist McWhiner: But he is better stonecrafter than everybody combined in this fortress!!
Urist McManager: Aye, but he ain't 16 yet. So he hauls stuff

chmod

  • Bay Watcher
  • I get by with a little help from my friends
    • View Profile
    • UDP Viper
Re: How do I send keystrokes to dwarf fortress?
« Reply #1 on: April 15, 2010, 01:30:16 am »

Like, I like quickfort, but it's really tough for me to work it T.T I decided I would rather just learn the skills to make a fort creator that actually does all the work for you, with a nice colorful GUI to boot :P.
So how do I send keystrokes to Dwarf Fortress?
Try pressing the keys on your keyboard.
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: How do I send keystrokes to dwarf fortress?
« Reply #2 on: April 15, 2010, 01:36:23 am »

Chmod, it's not too funny. But it was the first thought what should I reply when I saw this thread >.>.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

SquidgyB

  • Bay Watcher
    • View Profile
Re: How do I send keystrokes to dwarf fortress?
« Reply #3 on: April 15, 2010, 04:54:48 am »

*giggle*

I think Auto Hot Key might be what you're looking for, it's a pretty powerful scripting language that can send keystrokes to a specified window, as well as read pixel colours, search for and compare bitmaps, all kinds of stuff...
Logged

Mikko

  • Bay Watcher
    • View Profile
Re: How do I send keystrokes to dwarf fortress?
« Reply #4 on: April 15, 2010, 05:05:53 am »

Really, why not just build it with the tools on the game? It can't really be that hard.
Logged

Thief^

  • Bay Watcher
  • Official crazy person
    • View Profile
Re: How do I send keystrokes to dwarf fortress?
« Reply #5 on: April 15, 2010, 08:46:18 am »

In all seriousness, for the windows version you would send the DF window keystroke window messages.
Logged
Dwarven blood types are not A, B, AB, O but Ale, Wine, Beer, Rum, Whisky and so forth.
It's not an embark so much as seven dwarves having a simultaneous strange mood and going off to build an artifact fortress that menaces with spikes of awesome and hanging rings of death.