I wonder if you could write to a plist or something like it and set a preference. If it's 0 to register, if it's 1 to not register. Might be neat to learn how to do that in AS.
Chris On Thu, Aug 4, 2011 at 3:51 PM, Daniel Siemer <[email protected]>wrote: > No, you do not need to register every time your script fires. We do > not presently have a way to see if an application is registered or not > via applescript, so you can't conditionally register based on > something like that. After the first run, you can comment out the > registration portion, so that you have it if you ever need to run it > again later, you still have it handy. > > On Aug 4, 11:55 am, Fotmasta <[email protected]> wrote: > > In a script, is it only necessary to register the notifications once? > > The "register as application" line is executed every time my script > > runs. The parameters don't change, and it seems to me that this is > > redundant to re-register it each time. > > -- > You received this message because you are subscribed to the Google Groups > "Growl Discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/growldiscuss?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Growl Discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/growldiscuss?hl=en.
