Source language: Translate to:

%1 not a win32 application - error

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Postby Wrangler » Fri Apr 13, 2012 8:11 am

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.
"You never know about a woman. Whether she'll laugh, cry or go for a gun." - Louis L'Amour

Windows 7 Ultimate SP1 64bit
16GB Ram
Asus GTX 950 OC Strix
Software made with NeoBook
User avatar
Posts: 1521
Joined: Thu Mar 31, 2005 11:40 pm
Location: USA

Postby Tony Kroos » Fri Apr 13, 2012 8:38 am

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" "" ""
Tony Kroos
Posts: 405
Joined: Thu Oct 15, 2009 3:43 pm

Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest