Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
November 24, 2024, 08:42:07 AM
VoiceAttack User Forums
Home
Help
Search
Login
Register
VoiceAttack
»
General
»
How Do I?
»
Read Data from URL
« previous
next »
Print
Pages: [
1
]
Author
Topic: Read Data from URL (Read 2758 times)
ericwi
Guest
Read Data from URL
«
on:
August 20, 2017, 11:36:10 AM »
I am trying to read data from a URL and put it in variables
so
http://127.0.0.1:8085/telemachus/datalink?pitch=n.rawpitch&roll=n.rawroll&yaw=n.rawheading
comes back with ' {"pitch":270.1342,"roll":331.9021,"yaw":111.4944} '
Can not figure out how to get the data read and into a string.
Logged
Pfeil
Global Moderator
Hero Member
Posts: 4782
RTFM
Re: Read Data from URL
«
Reply #1 on:
August 20, 2017, 12:58:59 PM »
Have you tried the "Value from file/URI" option of the "Set a Text Value" action?
To get the individual values, you can make use of the "{TXTSUBSTR:}" token combined with the "{TXTPOS:}" token.
Logged
ericwi
Guest
Re: Read Data from URL
«
Reply #2 on:
August 20, 2017, 02:03:12 PM »
That did it thanks!
Logged
Print
Pages: [
1
]
« previous
next »
VoiceAttack
»
General
»
How Do I?
»
Read Data from URL