Control Your Mac from Afar
Subject:   the basics
Date:   2003-10-28 13:24:31
From:   anonymous2
I tried this today (connecting to myself) with the [sudo osascript -e 'tell app...] command. I'm very new to applescripting and mac's in general... Do the -e's actually represent carriage returns? And are you supposed to write out "application" and not use "app". Needless to say, I had trouble. I connected to myself, but the commands wouldn't work. I'll try experimenting more later. Thanks for any help.
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • the basics
    2003-10-28 14:04:31  Harold Martin | [View]

    If you want to use these tricks on your own machine, there's no need to connect to yourself. Just enter the commands at your local prompt.
    The '-e's are interpeted as "the next line".
    Both app and application should work. If in doubt just copy and paste the examples from this article.