Execute external program its possible?

Discussion and feedback on Construct 2

Post » Thu Jul 10, 2014 8:14 am

Its possible to Execute external program as in Multimedia Fusion?
B
10
S
1
Posts: 33
Reputation: 625

Post » Thu Jul 10, 2014 9:06 am

There is a run file action in Node-Webkit
B
34
S
9
G
3
Posts: 517
Reputation: 5,246

Post » Thu Jul 10, 2014 4:29 pm

Thanks... Now! How can I execute a program with multiple arguments? I try with OpenBrowser, but I cant add args to my url.
For example:
D:\Games\Emuladores\Genesis (fusion)\Fusion.exe -Fullscreen "sonic.smc"
B
10
S
1
Posts: 33
Reputation: 625

Post » Fri Jul 11, 2014 2:50 pm

you could try
string path = "D:\Games..........\Fusion.exe - Fullscreen"
path = path & " 'sonic.smc' "
execute path

I found that it's possible to embed qoutes by playing around with strings with concatenation.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,038

Post » Sat Jul 12, 2014 11:31 am

You mean something like this?
Image

I tryed but theres always an error.

https://dl.dropboxusercontent.com/u/840 ... creen.capx
B
10
S
1
Posts: 33
Reputation: 625

Post » Sat Jul 12, 2014 12:01 pm

Just use the 'Run file' action of Node-Webkit and set it to the variable.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
136
S
31
G
86
Posts: 5,482
Reputation: 59,750


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests