r/applescript • • May 18 '22

Help me with this script please!

So I'm trying to create a bit of apple script that will execute a keyboard shortcut on a remote computer (over a network). The shortcut is shift+Cmd+n. The application is called Timax2

Ive got as far as the script shown in the image.

........ But when I run it I get the syntax error "Application isnt running"..... I know the obvious question is "is the application running on the remote computer?!" And, Yes it is.

The script works if I run it on locally with the app on the same machine the script is run from (removing the "of machine "eppc://10.0.0.33"" bit)

I know the networking connection is ok as I can run a script to "tell "finder" of machine "eppc://10.0.0.33" sleep"

So any suggestions?

3 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/5-fingers Jun 01 '22

Thanks for the suggestions, but nothing works. Google suggests that the eppc thing has been broken in os updates.

I’ve found a workaround for now so that’s something

1

u/ChristoferK Jun 02 '22

What was the workaround ? Might be worth adding it as an edit to your original question as it may benefit other users (often in ways we don’t/can’t anticipate).