RunProgram will not open a file

Mac OSX specific forum
reddon
New User
New User
Posts: 7
Joined: Mon Mar 24, 2014 4:50 pm

RunProgram will not open a file

Post by reddon »

Hi all,

The RunProgram function will not open a file. The functions returns zero.

Please see the code:

Code: Select all

Debug RunProgram("/Users/Mac/MyApp/Folder/TestPic.bmp")
I've tried just to open the file through finder which worked!
spacebuddy
Enthusiast
Enthusiast
Posts: 356
Joined: Thu Jul 02, 2009 5:42 am

Re: RunProgram will not open a file

Post by spacebuddy »

Try it like this.

RunProgram("open","/Users/Mac/MyApp/Folder/TestPic.bmp","")
reddon
New User
New User
Posts: 7
Joined: Mon Mar 24, 2014 4:50 pm

Re: RunProgram will not open a file

Post by reddon »

Thank you very much :D
Post Reply