troy
June 7, 2021, 6:53pm
#1
IGNORE THIS POST – IT WORKS – erg
I've set the variable PhoneURL
to
http://10.0.2.13/cgi-bin/api-send_key?passcode=4444&keys=HEADSET
When the Get URL step is set to:
http://10.0.2.13/cgi-bin/api-send_key?passcode=4444&keys=HEADSET
It works.
But it does not accept %Variable%PhoneURL%
set to the same text. It turns yellow which I know means no good...
I can hard code but the issue is I have 4 extensions and 5 different commands to work with, that makes for a long macro...
Is there a way around this where the Get URL accepts a variable?
cheers...
tiffle
June 7, 2021, 7:41pm
#3
For the benefit of all of us KM users who are having this problem, can you share the solution?
Thanks!
troy
June 7, 2021, 8:54pm
#4
I set a variable PhoneIP
to text to:
10.0.2.12 (which is the phone IP, not the computer IP - but the phone IP is based on the computer IP)
then
I set a variable PhoneURL
to text:
http://%PhoneIP%/cgi-bin/api-send_key?passcode=4444&keys=HEADSET
then
Get URL to %Variable%PhoneURL%
And it picks up the headset... This is a grandstream system...
If anyone needs help I have most the code for the commands or go here:
1 Like
On the "turning yellow" point - which I hit repeatedly yesterday - I would love it if Keyboard Maestro would give more debugging information than just the colour change.
I don't have an example now - as I solved my problem a different way with a different URL - but some indication as to why there might be something wrong with the URL would be good.