reqmts: Irfanview
If u've not associated the images with Irfanview then change the run command from:
run, %file%,,hide
to
run,
DetectHiddenWindows, On SetTitleMatchMode, 2 F9:: Winkill, - IrfanView total = 0 Loop, E:\stuff\Pics\Wallpaps\Gs\*.* total += 1 Random, select, 1, %total% Loop, E:\stuff\Pics\Wallpaps\Gs\*.* IfEqual, A_Index, %select%, Setenv, file, %A_LoopFileFullPath% run, %file%,,hide winwait, - IrfanView,,2 ControlSend,, ^+c, - IrfanView Winkill, - IrfanView Return