Post by garry » 17 May 2018, 16:27
Dateiname mit " : " ist nicht erlaubt
Beispiel , habe lediglich a_now genommen , muss denn sowieso noch umbenennen falls ich Bild behalten will
( alt+printscreen kopiert activen script )
Code: Select all
~$!printscreen::
SetTitleMatchMode, 2
screenshots=%a_desktop%\SCREENSHOTS ;- create folder at desktop
ifnotexist,%screenshots%
filecreatedir,%screenshots%
irfan=%a_programfiles%\IrfanView\i_view64.exe
ifexist,%irfan%
{
runwait, "%irfan%" "/capture=2 /convert=%screenshots%\%A_now%_screenshot.png"
run,%screenshots%
return
}
return
EDIT : ctrl+alt+printscreen mit userinput , save as > %userinput%.png
Code: Select all
;- ctrl+alt+printscreen mit userinput , save as > %userinput%.png
~$^!printscreen::
SetTitleMatchMode, 2
screenshots=%a_desktop%\SCREENSHOTS ;- create folder at desktop
ifnotexist,%screenshots%
filecreatedir,%screenshots%
irfan=%a_programfiles%\IrfanView\i_view64.exe
ifexist,%irfan%
{
InputBox, UserInput, Screenshot File-Name eingeben
if errorlevel<>0
return
runwait, "%irfan%" "/capture=2 /convert=%screenshots%\%userinput%.png"
run,%screenshots%
return
}
return
;--------------
Dateiname mit " : " ist nicht erlaubt
Beispiel , habe lediglich a_now genommen , muss denn sowieso noch umbenennen falls ich Bild behalten will
( alt+printscreen kopiert activen script )
[code]~$!printscreen::
SetTitleMatchMode, 2
screenshots=%a_desktop%\SCREENSHOTS ;- create folder at desktop
ifnotexist,%screenshots%
filecreatedir,%screenshots%
irfan=%a_programfiles%\IrfanView\i_view64.exe
ifexist,%irfan%
{
runwait, "%irfan%" "/capture=2 /convert=%screenshots%\%A_now%_screenshot.png"
run,%screenshots%
return
}
return
[/code]
EDIT : ctrl+alt+printscreen mit userinput , save as > %userinput%.png
[code];- ctrl+alt+printscreen mit userinput , save as > %userinput%.png
~$^!printscreen::
SetTitleMatchMode, 2
screenshots=%a_desktop%\SCREENSHOTS ;- create folder at desktop
ifnotexist,%screenshots%
filecreatedir,%screenshots%
irfan=%a_programfiles%\IrfanView\i_view64.exe
ifexist,%irfan%
{
InputBox, UserInput, Screenshot File-Name eingeben
if errorlevel<>0
return
runwait, "%irfan%" "/capture=2 /convert=%screenshots%\%userinput%.png"
run,%screenshots%
return
}
return
;--------------
[/code]