Page 3 of 4
Re: OS version module
Posted: Fri Nov 01, 2013 4:50 pm
by CoreStylerz
Works correctly now.

Re: OS version module
Posted: Fri Nov 01, 2013 6:16 pm
by RJHollins
OK ... so ' 5 is a charm'
Retested on XP-32 confirmed.
Thanks for both apps MO. I've not seen the EXEC prim in action before.

Re: OS version module
Posted: Fri Nov 01, 2013 8:33 pm
by tester
Okay, and how to execute external file, that is associated with "any default application" in the system? Something like double click on a destination file? As an example - not everyone is using or having notepad for text files.
Re: OS version module
Posted: Sat Nov 02, 2013 1:18 am
by Mo
Hi tester,
I'm not sure what you mean.
You can execute a file like this:

- Execute.png (4.95 KiB) Viewed 14133 times
Re: OS version module
Posted: Sat Nov 02, 2013 10:50 am
by tester
It looks I mean something like this.
What is the meaning of "/c" part?
In the project, there is a button "open the file", and destination file is opened by "default windows app", which means that it depends on what is set as "default windows app".
BTW, it looks that FS hangs if I try to start mp3 file, associated with winamp (only if winamp must start, not if it already on). Winamp starts, starts to play correctly, but FS is dead. Can someone confirm such sort of behavior?
Re: OS version module
Posted: Sat Nov 02, 2013 2:20 pm
by trogluddite
tester wrote:Winamp starts, starts to play correctly, but FS is dead. Can someone confirm such sort of behavior?
Try connecting a boolean true to the "back" input of the exec prim'. This tells FS to run the command as a background task - i.e. don't wait for the called command to return a "done" signal.
Re: OS version module
Posted: Sat Nov 02, 2013 2:24 pm
by tester
Okay, thanks for tip. I was wondering what was that input for.
Re: OS version module
Posted: Sat Nov 02, 2013 2:41 pm
by Mo
tester wrote:What is the meaning of "/c" part?
c/ is an option to cmd.exe which means: run command and then terminate.
Re: OS version module
Posted: Sat Nov 02, 2013 2:52 pm
by tester
Thanks for info Mo.
With bool set to true - it works as it should.
Re: OS version module
Posted: Sat Nov 02, 2013 2:58 pm
by tester
Question: why this cmd procedure is not working when I try to open a folder?