Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

PrintScreen saver


  • Please log in to reply
No replies to this topic
Razlin
  • Members
  • 454 posts
  • Last active: Feb 05 2014 06:21 PM
  • Joined: 05 Nov 2007
Requires irfnaview installed.
its free
http://www.irfanview.com

!Printscreen= active window
Printscreen= entire desktop

Saves the file with a unique name picture #.jpg

irfanview must be saved at c:\i_view32.exe or change the path inthe script

Enjoy

#Persistent
#SingleInstance force

!printscreen::
       window_only = 1
~printscreen::
       window_only := ((window_only = 1 ) ? ( "1" ) : ( "0" ))
loop
{
  IfNotExist, %A_Desktop%\Picture%A_SPACE%%A_index%.jpg
  {
     run, c:\i_view32.exe "/capture=%window_only% /convert=%A_Desktop%\Picture%A_SPACE%%A_index%.jpg" , ,hide
     picno = %A_index%
     break
  }
}
return

-=Raz=-