WoW:API Screenshot: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
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" (default), "jpeg" or "png".
 


----
----
Line 25: Line 24:
: [[User:Gilean|Gilean]] 13:48, 2 July 2006 (CDT)
: [[User:Gilean|Gilean]] 13:48, 2 July 2006 (CDT)
: [[User:Golgor|Golgor]] 15:13, 6 April 2006 (EDT)
: [[User:Golgor|Golgor]] 15:13, 6 April 2006 (EDT)
: [[User:thejoester|thejoester]] 16:39, 26 December 2006 (EDT)

Revision as of 23:39, 26 December 2006

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" (default), "jpeg" or "png".

Gilean 13:48, 2 July 2006 (CDT)
Golgor 15:13, 6 April 2006 (EDT)
thejoester 16:39, 26 December 2006 (EDT)