Eos Family Offline and Applescript

Hiya,

Apologies that this isn't strictly about the Eos but I'm having a little trouble running a simple applescript trying to do keystrokes on the offline editor. I was trying something along the lines of:

 

tell application "System Events"

keystroke "2"

end tell


I can't seem to get any keystrokes to work on the command line.

Any help would be most grateful.

Thanks

 

I worked it out - Feel free to delete this topic, sorry. Thanks very much.



[edited by: Sammy at 7:29 AM (GMT -6) on Sun, Jan 8 2012]
Parents
  • I've been using AppleScripts with success.  I use them to enter a number of groups based on date from LW.  The following will put ch 1 @ 50%:

    tell application "Eos Family"

    activate

    tell application "System Events"

    set thetext to "1a5

    "

    repeat with i from 1 to number of items in thetext

    set this_item to item i of thetext

    keystroke this_item

    if this_item is "

    " then keystroke return

    delay 0.05

    end repeat

    end tell

    end tell

Reply
  • I've been using AppleScripts with success.  I use them to enter a number of groups based on date from LW.  The following will put ch 1 @ 50%:

    tell application "Eos Family"

    activate

    tell application "System Events"

    set thetext to "1a5

    "

    repeat with i from 1 to number of items in thetext

    set this_item to item i of thetext

    keystroke this_item

    if this_item is "

    " then keystroke return

    delay 0.05

    end repeat

    end tell

    end tell

Children
Related