Hi everyone,
Take a screenshot first and then the (->)side key and repeat this until I stop it or assign a certain time. İ need this code. Can anyone help me?
Thank you for all.
Screenshot Code
Re: Screenshot Code
For screenshots, I use AHK to trigger IrfanView to take a screenshot.
You can get the PortableApps version of IrfanView here: https portableapps.com /apps/graphics_pictures/irfanview_portable Broken Link for safety
The script below assumes you've installed IrfanView to "C:\IrfanViewPortable\App\IrfanView\" and want your screenshots to go to "D:\Screenshots\", and be numbered according to the date and time. It will keep taking shots until you press Ctrl+Escape.
What program is to be in focus to respond you the "go right" keystroke? Below, I'm assuming "Google Chrome", but you modify as you need. It looks like you're wanting to take screenshots of pages from an ebook.
-----
-----
You can get the PortableApps version of IrfanView here: https portableapps.com /apps/graphics_pictures/irfanview_portable Broken Link for safety
The script below assumes you've installed IrfanView to "C:\IrfanViewPortable\App\IrfanView\" and want your screenshots to go to "D:\Screenshots\", and be numbered according to the date and time. It will keep taking shots until you press Ctrl+Escape.
What program is to be in focus to respond you the "go right" keystroke? Below, I'm assuming "Google Chrome", but you modify as you need. It looks like you're wanting to take screenshots of pages from an ebook.
-----
Code: Select all
SetKeyDelay(100)
Loop()
{
RunWait("C:\IrfanViewPortable\App\IrfanView\i_view32.exe /capture=7=(0,0,1920,1080) /convert=" s_FileName "D:\Screenshots\Screen_" a_Now ".bmp")
SendEvent("{Right}")
Sleep(1000)
}
^Esc Up::
{
ExitApp
}