You are not logged in.

Applications: [GameMaster: OPEN] | [Volunteer Testers: OPEN]


This forum will be permanently shut down on Friday 13.07.2018
Please copy or save all important information from old forum before they will be deactivated
We have moved to new board. https://forum.runesofmagic.gameforge.com/Come join us.

1

Saturday, February 18th 2012, 11:48pm

asistance macros for people with weird computers.

was wondering, is there a way to screenshot by macro, and can zoom in and out certain ranges by macro?

Posts: 262

Location: The Ocean?

  • Send private message

2

Sunday, February 19th 2012, 12:29am

Quoted from "deus69xxx;511156"

was wondering, is there a way to screenshot by macro, and can zoom in and out certain ranges by macro?


There is also an addon called autozoomout (you can tell what it does from the name).

I do not know the screenshot command off by heart but I do recommend you check out the 303fix addon, it takes a screenshot upon loading into the game. You can find the command for that there.

-TunaShake

P.S. You can also check the romwiki and check out the API commands in one of their pages.

Peryl

Intermediate

Posts: 313

Location: Elsewhere

  • Send private message

3

Sunday, February 19th 2012, 12:40am

TakeScreenshot() is the function you are looking for to capture the screen. To use in a macro, use:

Source code

1
/run TakeScreenshot()


Edit: BTW, if you want to hide the user interface before taking a pic, you can use

Source code

1
/run UIParent:Hide()

To restore the screen, use

Source code

1
/run UIParent:Show()

You would of course want both in the same macro or you'd be stuck with a hidden UI though you can always use Alt+Z (or something like that) to restore the screen.

Edit 2:
Also forgot to mention, if you want to take multiple screenshots within the same macro, make sure to wait for at least one second between shots or the next screenshot may overwrite the previous one. The game uses the current data and time for the filename, so waiting one second (via /wait 1) will guarantee differing filenames.
2013... The year from hell....