WoW:API Screenshot: Difference between revisions
Jump to navigation
Jump to search
m (Remove singatures made using ~ in main namespace) |
(removed PNG from options) |
||
Line 18: | Line 18: | ||
:;Naming : Save a file with the following format: "WoWScrnShot_MMDDYY_HHMMSS.tga". | :;Naming : Save a file with the following format: "WoWScrnShot_MMDDYY_HHMMSS.tga". | ||
:;Path : "...\World of Warcraft\Screenshots". | :;Path : "...\World of Warcraft\Screenshots". | ||
:;Format :The format can be controlled by the "screenshotFormat" Config.wtf variable which was introduced in Patch 1.11. It can be set to "tga" | :;Format :The format can be controlled by the "screenshotFormat" Config.wtf variable which was introduced in Patch 1.11. It can be set to "tga" or "jpeg". | ||
---- | ---- |
Revision as of 09:23, 4 January 2012
← WoW API < Screenshot
This function will take a screenshot.
Screenshot()
Parameters
Arguements
- ()
Returns
- nil
Example
/script Screenshot();
Result
- This function does same thing as pressing the PrtScn button on your keyboard. It will capture a screen image and write it to a file.
- Naming
- Save a file with the following format: "WoWScrnShot_MMDDYY_HHMMSS.tga".
- Path
- "...\World of Warcraft\Screenshots".
- Format
- The format can be controlled by the "screenshotFormat" Config.wtf variable which was introduced in Patch 1.11. It can be set to "tga" or "jpeg".