Why in Adium scripts is it necessary to check if the "other" application is running before targeting it? Rather than doing this in every script, why not have Adium itself handle errors? I don't intend this as a criticism, I'm genuinely curious.
Also, is there any way to get the result of an arbitrary script into the message *before* sending it? I was poking around to get the "insert link" feature to work in OmniWeb, and I noticed that the structure to do this is basically already there. The ability to substitute keywords in messages is really cool, but it's hard to tell exactly what's going to actually happen when you send the message.
Thanks for a great app, by the way. Adium has come really far!
Questions About Scripting Support
- Chris Biagini
- Muffin
- Posts: 29
- Joined: Fri Feb 04, 2005 11:05 pm
- Contact:
-
BlueRevolution
- Latté
- Posts: 62
- Joined: Sat Dec 04, 2004 6:16 am
- Contact:
Re: Questions About Scripting Support
the issue is not of errors but of the target application launching when it is told something. a common example is the built-in iTunes scripts, which will launch iTunes in order to find out what you're listening to atm.Chris Biagini wrote:Why in Adium scripts is it necessary to check if the "other" application is running before targeting it? Rather than doing this in every script, why not have Adium itself handle errors? I don't intend this as a criticism, I'm genuinely curious.
as far as I know, the problem is with AppleScript and not Adium. in some cases it does make sense to automatically launch the application if it isn't running, at least from the standpoint of AppleScript in its purest form (not being used as a script embedded within Adium).
- Chris Biagini
- Muffin
- Posts: 29
- Joined: Fri Feb 04, 2005 11:05 pm
- Contact:
Re: Questions About Scripting Support
D'oh! How dumb of me to not think of that.the issue is not of errors but of the target application launching when it is told something. a common example is the built-in iTunes scripts, which will launch iTunes in order to find out what you're listening to atm.