Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Bored at work idea - "macro builder"  (Read 1306 times)

bombcar

  • Bay Watcher
    • View Profile
Bored at work idea - "macro builder"
« on: March 25, 2010, 03:01:59 pm »

It would seem that it wouldn't be that hard to make a web-based (flash based?) application that would allow you to click boxes in a grid, and then when done it would output a macro that would Designate those boxes for digging.

Then you could sit at work designing fortresses and later output them as a macro and load them up into a world.

I think someone may have done something similar via a spreadsheet for a previous version.
Logged

Aklyon

  • Bay Watcher
  • Fate~
    • View Profile
Re: Bored at work idea - "macro builder"
« Reply #1 on: March 25, 2010, 04:55:12 pm »

I think someone may have done something similar via a spreadsheet for a previous version.
That would be Quickfort.
Logged
Crystalline (SG)
Sigtext
Quote from: RedKing
It's known as the Oppai-Kaiju effect. The islands of Japan generate a sort anti-gravity field, which allows breasts to behave as if in microgravity. It's also what allows Godzilla and friends to become 50 stories tall, and lets ninjas run up the side of a skyscraper.

Thexor

  • Bay Watcher
    • View Profile
Re: Bored at work idea - "macro builder"
« Reply #2 on: March 25, 2010, 05:26:36 pm »

Yep, Quickfort. I think it even takes some weird spreadsheet format, so you could make macros at work without your boss getting suspicious!

It'll need to be updated or remade for the new version, though. If you know a thing or two about coding and simulated keyboard input, feel free to give it a shot. (Or, even better, if you wait until somebody finds the memory location for designations - keyboard inputs are notoriously prone to failed inputs screwing up the whole bleedin' macro.)
Logged

Elvang

  • Bay Watcher
    • View Profile
Re: Bored at work idea - "macro builder"
« Reply #3 on: March 25, 2010, 05:34:07 pm »

It won't need to be updated unless the build, designate, building options, or stockpiles menus get their hotkeys changed. And even then it'd be a simple change of 4 characters.
Logged
The Practicalities of Fire Imp Defense
Tileset fonts for dfterm/telnet
Win 0.34.11 SDL with 7 binary patched bugfixes
Quote from: They Dig
I have come here to drink booze and breach HFS... and I'm all out of booze.

bombcar

  • Bay Watcher
    • View Profile
Re: Bored at work idea - "macro builder"
« Reply #4 on: March 25, 2010, 06:02:47 pm »

Did QuickFort output AutoHotKey macros? Because the d# versions support more general macros built into DF itself, like this one I made for bedroom towers:

Spoiler (click to show/hide)

Heck of a beast, eh?
Logged

Aklyon

  • Bay Watcher
  • Fate~
    • View Profile
Re: Bored at work idea - "macro builder"
« Reply #5 on: March 25, 2010, 06:14:15 pm »

Did QuickFort output AutoHotKey macros?
no, it comes with a AutoHotKey version, though. Quickfort takes a .csv (i think) file and designates where to dig/build using that after you pick where the upper left corner will be.
Logged
Crystalline (SG)
Sigtext
Quote from: RedKing
It's known as the Oppai-Kaiju effect. The islands of Japan generate a sort anti-gravity field, which allows breasts to behave as if in microgravity. It's also what allows Godzilla and friends to become 50 stories tall, and lets ninjas run up the side of a skyscraper.

bombcar

  • Bay Watcher
    • View Profile
Re: Bored at work idea - "macro builder"
« Reply #6 on: March 25, 2010, 06:18:53 pm »

Ah, but I am relegated to a Mac. ;)
Logged

Aklyon

  • Bay Watcher
  • Fate~
    • View Profile
Re: Bored at work idea - "macro builder"
« Reply #7 on: March 25, 2010, 06:21:21 pm »

Ah, but I am relegated to a Mac. ;)
OpenOffice?
Logged
Crystalline (SG)
Sigtext
Quote from: RedKing
It's known as the Oppai-Kaiju effect. The islands of Japan generate a sort anti-gravity field, which allows breasts to behave as if in microgravity. It's also what allows Godzilla and friends to become 50 stories tall, and lets ninjas run up the side of a skyscraper.

bombcar

  • Bay Watcher
    • View Profile
Re: Bored at work idea - "macro builder"
« Reply #8 on: March 25, 2010, 06:46:48 pm »

How does QuickFort interact with DF? Does it use a macro? Send keystrokes?
Logged

Aklyon

  • Bay Watcher
  • Fate~
    • View Profile
Re: Bored at work idea - "macro builder"
« Reply #9 on: March 25, 2010, 06:53:15 pm »

How does QuickFort interact with DF? Does it use a macro? Send keystrokes?
i don't know, but it probably sends keystrokes.
Logged
Crystalline (SG)
Sigtext
Quote from: RedKing
It's known as the Oppai-Kaiju effect. The islands of Japan generate a sort anti-gravity field, which allows breasts to behave as if in microgravity. It's also what allows Godzilla and friends to become 50 stories tall, and lets ninjas run up the side of a skyscraper.

Elvang

  • Bay Watcher
    • View Profile
Re: Bored at work idea - "macro builder"
« Reply #10 on: March 25, 2010, 07:05:08 pm »

Quickfort is an AutoHotKey script (the .exe is just the compiled script), so it sends keystrokes. It was made before macros were introduced into the 40d# builds.

Ah, but I am relegated to a Mac. ;)
OpenOffice?
AutoHotKey itself is windows only.
Logged
The Practicalities of Fire Imp Defense
Tileset fonts for dfterm/telnet
Win 0.34.11 SDL with 7 binary patched bugfixes
Quote from: They Dig
I have come here to drink booze and breach HFS... and I'm all out of booze.

Aklyon

  • Bay Watcher
  • Fate~
    • View Profile
Re: Bored at work idea - "macro builder"
« Reply #11 on: March 25, 2010, 07:10:13 pm »

Quickfort is an AutoHotKey script (the .exe is just the compiled script), so it sends keystrokes. It was made before macros were introduced into the 40d# builds.

Ah, but I am relegated to a Mac. ;)
OpenOffice?
AutoHotKey itself is windows only.
oh, I thought he was talking about the .csv part. oops.
Logged
Crystalline (SG)
Sigtext
Quote from: RedKing
It's known as the Oppai-Kaiju effect. The islands of Japan generate a sort anti-gravity field, which allows breasts to behave as if in microgravity. It's also what allows Godzilla and friends to become 50 stories tall, and lets ninjas run up the side of a skyscraper.