is it possible to feed arguments to an applescript in tap.applescript in a similar way to osascript?
http://hints.macworld.com/article.php?story=20050523140439734
If not, I am wondering if this could be added as a feature request sometime in the future?
Thanks,
Trond
You can feed an entire script into tap.applescript as a Max message.
So, in theory at least, you could set up your arguments as part of
configuring the script you are going to send into tap.applescript.
Does this help?
best,
Tim
> --
> You received this message because you subscribed to the Electrotap group.
> To unsubscribe from this group, send email to electrotap-...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/electrotap?hl=en
>
> Electrotap -- http://electrotap.com/
> Tools for Innovative Music, Media, and Art
>
I tried that but I don't manage to figure out how to deal with line breaks. Here's a very simple script that works in AppleScript Editor, but not when passed to tap.applescript:
AppleScript Editor version:
beep 3
delay 5
beep 3
Message sent to tap.applescript:
script beep 3 delay 5 beep 3
Thanks,
Trond
Electrotap -- http://electrotap.com/