-
-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I specify udp port with applescript? #61
Comments
AppleScript API doesn’t work through UDP. It issues commands directly
(through Apple APIs? I’m not an expert in those). So the way it should work
for you must be to find an instance with the port you need and issue
command to that specific instance
…On Tue, Dec 6, 2016 at 3:02 AM moshed ***@***.***> wrote:
i know in shell i can do echo -n black | nc -4u -w0 localhost <port
number> but i can figure out how to accomplish this in applescript.
http://imgur.com/a/tlRXc
this would suggest its possible to set the udp port but i cant figure out
the syntax.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#61>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AARabHP-dfnjYgZVynXLRLYM-O4qaWnlks5rFG1igaJpZM4LEpgc>
.
|
hmm ok ill try and report my results here thanks! |
I found that doing
Might want to add to the README for anyone else that tries to do this. |
yeah i arrived at same conclusion @npazo did. |
i know in shell i can do
echo -n black | nc -4u -w0 localhost <port number>
but i cant figure out how to accomplish this in applescript (besides usingdo shell script "command"
)http://imgur.com/a/tlRXc
this would suggest its possible to set the udp port but i cant figure out the syntax.
The text was updated successfully, but these errors were encountered: