Get URL from inside text file

Get help using Construct 2

Post » Mon Sep 23, 2013 1:24 pm

Yeah, node-webkit is problematic.
Where you getting the steam stuff from. You're capx is incomplete, can't get any data.

Thought) Could steam have changed the url structure - we checked for second = equal sign, could they have added another one in?

What are you getting?

But, it most probably is a bug.


Damn, I should read properly - just drop steam shortcut on window.
Wait let me try...DUTOIT2013-09-23 13:25:58
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,728

Post » Mon Sep 23, 2013 1:36 pm

Okay - got it:
tokenat(tokenat(Text.Text,3,newline),1,"=")

Just took regex out of the whole thing. Node webkit obviously doesn't work with it ???

Anyways tokenat works perfectly
https://www.dropbox.com/s/qi1i15qeey3ksfs/demo-regex.capx

Because it loads data on a new line, I filtered using newline then we have
URL=steam.......
So we just take first occurance of =

There is no one way to skin a cat - lol, but I guess we all go with what we are familiar with.
But, at least it works DUTOIT2013-09-23 13:47:20
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,728

Post » Mon Sep 23, 2013 1:51 pm

Blender - any good teach yourself recommendations - I have it installed, and want to learn, but am scared to death of it. Well, not really, but My 3d is limited knowledge, but would love to learn.
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,728

Previous

Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 15 guests