How do I associate a file with my construct application

Get help using Construct 2

Post » Mon Apr 17, 2017 6:40 am

Hi,

I made a tools to edit the json used to load array in my projects (https://www.scirra.com/arcade/other-games/editarrayjson-13080) it work's well but... I would like to know if there's a way to use it as a "true" software : use the "open with" function from windows or the "open" directly with a right click in construct 2 ? with nw.js or a thing like that ?

English isn't my mother language so I hope my question is understandable.

Thank you
B
14
S
4
Posts: 22
Reputation: 946

Post » Tue Apr 18, 2017 8:32 pm

A small reply to myself to put my message in the top of the board, but maybe there's no way to use an html5 program like that...
B
14
S
4
Posts: 22
Reputation: 946

Post » Tue Apr 18, 2017 8:53 pm

Im not sure if i understand right. I think you want to export your programm as a single folder like nw.js. Or do you want to know how to make the instant preview with nw.js? Maybe with your answer i can help you.
My Project at this time: robottory-2d-platformer-devlog_t190807



(Sorry for my english. I know it is not the best)
B
16
S
9
G
4
Posts: 111
Reputation: 3,362

Post » Wed Apr 19, 2017 8:07 am

I think he wants to be able to open json files with his application. As in in window right-click a json file select open with and find nw.exe file and then somehow get it to understand that it should launch and load the specified json file.
I have no idea if that's possible or not.
Last edited by Maukka on Thu Apr 20, 2017 1:45 am, edited 1 time in total.
B
17
S
6
G
1
Posts: 41
Reputation: 1,725

Post » Wed Apr 19, 2017 8:15 pm

@Maukka yes that's it ! Thanks for translating :-)
B
14
S
4
Posts: 22
Reputation: 946

Post » Sun Apr 23, 2017 4:40 pm

I did it :
https://www.scirra.com/forum/viewtopic.php?f=157&t=190878

I used a cmd file as a launcher to copy the path and the name of the file in a parameter file and used NWjs to read this parameter file to edit my json.
B
14
S
4
Posts: 22
Reputation: 946


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 20 guests

cron