[Action]NodeWebkit - "To execute file"

Discussion and feedback on Construct 2

Post » Wed Jul 03, 2013 10:33 pm

Hello. I've already written to add "copy" and "move file" actions to nodewebkit object. And I just want to know, if it's possible to add action "execute file" to this object (for example open .xls with MS Excel or just execute .exe file)?

I can explain, why I need this simple actions. I'm working now with project, which help not to rewrite content in the same file when it used at 2 different computers at the same time. I mean, there are 2 dropbox accounts and folder shared at these 2 different computers. And my programm (created on C2) have to show the list of files placed in shared folder. And when one file (for example .xls) executed at the first computer, my programm detect it and hide this file in the list at the second computer. For more convenience I want to add executing file if the name of the file double-clicked, but in C2 there are no action to execute file.

So then I can see only one way to realize this feature. This way is to compile project on CC and to add at runtime file with content, for example:

[Group]
link = C:\file.xls


and execute file that I need (with CC application) when it detect this INI file in the shared folder...

Hope, u're understand me Thanks before) ilyko962013-07-03 22:38:23
B
31
S
7
G
6
Posts: 22
Reputation: 4,883

Post » Thu Jul 04, 2013 7:12 pm

[Upd] So, is it possible? ilyko962013-07-04 19:12:45
B
31
S
7
G
6
Posts: 22
Reputation: 4,883

Post » Fri Jul 05, 2013 11:20 am

Yep, this has been added for the next build.
Scirra Founder
B
383
S
225
G
86
Posts: 24,118
Reputation: 190,544


Return to Construct 2 General

Who is online

Users browsing this forum: marcoscodas and 9 guests