Page 1 of 1

PostPosted: Fri Apr 13, 2012 8:11 am
by Wrangler
Run "[PubDir]documents\somepic.jpg" "" "RunOnce+LoadComplete" "" ""


This line is giving you the problem. An image file is not a valid application for the Run command. To display an image, take a look at the Image object.

PostPosted: Fri Apr 13, 2012 8:38 am
by Tony Kroos
If you want system viewer (Windows Photo Viewer) then use this:
Code: Select all
Run "rundll32.exe" "[SystemDir]shimgvw.dll,ImageView_Fullscreen c:\capt.jpg" "LoadComplete" "" ""