OS version module

For general discussion related FlowStone
User avatar
CoreStylerz
Posts: 327
Joined: Sun Jan 22, 2012 2:19 am
Location: italy
Contact:

Re: OS version module

Post by CoreStylerz »

Works correctly now. :D
Need my support for app development, website or custom scripts?
PM me if you are interested.
Experienced Java, J2EE, PHP, Javascript, Angular, Cloud Solutions developer.
RJHollins
Posts: 1573
Joined: Thu Mar 08, 2012 7:58 pm

Re: OS version module

Post by RJHollins »

OK ... so ' 5 is a charm' :lol:

Retested on XP-32 confirmed.

Thanks for both apps MO. I've not seen the EXEC prim in action before. 8-)
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: OS version module

Post 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.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
User avatar
Mo
Posts: 17
Joined: Thu Jan 24, 2008 3:00 pm
Location: Copenhagen

Re: OS version module

Post by Mo »

Hi tester,

I'm not sure what you mean.
You can execute a file like this:
Execute.png
Execute.png (4.95 KiB) Viewed 14122 times
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: OS version module

Post 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?
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
User avatar
trogluddite
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: OS version module

Post 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.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: OS version module

Post by tester »

Okay, thanks for tip. I was wondering what was that input for.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
User avatar
Mo
Posts: 17
Joined: Thu Jan 24, 2008 3:00 pm
Location: Copenhagen

Re: OS version module

Post 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.
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: OS version module

Post by tester »

Thanks for info Mo.

With bool set to true - it works as it should.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: OS version module

Post by tester »

Question: why this cmd procedure is not working when I try to open a folder?
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Post Reply