Cannot create or write file with Webkit

Get help using Construct 2

Post » Wed Nov 19, 2014 6:16 pm

@Katala
Thanks for the help. And is it okay to "/" or "\" as we prefer?
B
58
S
13
G
5
Posts: 101
Reputation: 7,547

Post » Wed Nov 19, 2014 6:18 pm

Thanks for the help. And is it okay to "/" or "\" as we prefer?

As far as I know both work fine.
B
34
S
9
G
3
Posts: 517
Reputation: 5,226

Post » Thu Nov 20, 2014 2:32 am

Thanks @Katala
Now Im able to create, copy, and write a file
I get a new problem when I want to copy a folder with all its contents. The folder and the contents are never copied to the specified location. Is it possible to do it?
it will be time consuming to create a folder n copy the files one by one.
Thanks
B
58
S
13
G
5
Posts: 101
Reputation: 7,547

Post » Thu Nov 20, 2014 11:14 am

@nothaseo
-List files from the folder.
-Run loop list count times
-Move "PATH/"&NodeWebkit.ListAt(loopindex)
-To "PATH/"&NodeWebkit.ListAt(loopindex)
B
34
S
9
G
3
Posts: 517
Reputation: 5,226

Post » Thu Nov 20, 2014 12:44 pm

Katala wrote:@nothaseo
-List files from the folder.
-Run loop list count times
-Move "PATH/"&NodeWebkit.ListAt(loopindex)
-To "PATH/"&NodeWebkit.ListAt(loopindex)


Thanks again @Katala
But can you explain more about "Run loop list coun times" I dont really get it.
B
58
S
13
G
5
Posts: 101
Reputation: 7,547

Post » Thu Nov 20, 2014 1:04 pm

@nothaseo
NW has action "List files" and after that you can run a loop (repeat or for) and run it for each file "NodeWebkit.ListCount". From the description "Return the number of files after 'List files'"

Image
B
34
S
9
G
3
Posts: 517
Reputation: 5,226

Post » Thu Nov 20, 2014 3:25 pm

@Katala Many thanks
You helped me a lot :)
B
58
S
13
G
5
Posts: 101
Reputation: 7,547

Previous

Return to How do I....?

Who is online

Users browsing this forum: beohs, brunopalermo, Google [Bot] and 13 guests