How do I can get the url through the Browser

Get help using Construct 2

Post » Mon Aug 18, 2014 11:10 am

can i get an url through the Browser expression with "url"?
B
39
S
16
G
7
Posts: 1,727
Reputation: 9,865

Post » Mon Aug 18, 2014 11:20 am

Yes.
B
57
S
15
G
11
Posts: 912
Reputation: 12,626

Post » Mon Aug 18, 2014 11:22 am

how to do that?

thanks
B
39
S
16
G
7
Posts: 1,727
Reputation: 9,865

Post » Mon Aug 18, 2014 11:25 am

You practically answered your own question already. Use the expression Browser.URL. For example, Text object -> Set Text : Browser.URL
B
57
S
15
G
11
Posts: 912
Reputation: 12,626

Post » Mon Aug 18, 2014 2:15 pm

i mean how i cant get the url from the chrome browser in a different tab
B
39
S
16
G
7
Posts: 1,727
Reputation: 9,865

Post » Mon Aug 18, 2014 3:20 pm

if my app is in another tab, how to make the app allways running on the background, and if i visit a webstite, how to tell to the app in the background, to allways, in the text object to get the url adress???
B
39
S
16
G
7
Posts: 1,727
Reputation: 9,865

Post » Mon Aug 18, 2014 3:40 pm

Oooh. I don't think it's possible for a site to know what other tabs you have open. That'd be a hell of a security issue.
B
57
S
15
G
11
Posts: 912
Reputation: 12,626


Return to How do I....?

Who is online

Users browsing this forum: jezjones24 and 9 guests