Make screen

Ask for scripts here

Moderators: Murderator+, Murderator

Post Reply
motxu
Posts: 48
Joined: 2005-04-13 16:01:09
Contact:

Make screen

Post by motxu »

sub MakeScreen()
Var FileName
FileName=UO.GetInfo("shard")+" ("+UO.GetInfo("character")+") "+UO.asmGetDate("dd/mm/yy")+" "+UO.asmGetTime("h.n.s") +".bmp"
UO.Snap("BMP",FileName)
end sub

Makes screen but all black :(
KnoW WHy?
Image
Last edited by motxu on 2007-10-30 23:34:03, edited 3 times in total.
Image
Destruction
Junior Expert
Posts: 3221
Joined: 2004-06-24 22:08:56

Post by Destruction »

Try to set UO window on top when using the script.

Sorry for my clumsy English.
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
Mihail
Expert!
Posts: 548
Joined: 2005-05-20 20:30:10
Contact:

Post by Mihail »

he's right, if UO window minimazed in tray, when script using uo.snap command - screenshot will be black
Post Reply