Can an applescript "tell" call execute without visibly launching the application? -


i have mail rule set launch following applescript:

 using terms application "mail"     on perform mail action messages themessages rule therule         tell application "mail"              -- stuff, including...             checkaddressbook(thename, theaddress)          end tell     end perform mail action messages end using terms  on checkaddressbook(thename, theaddress)     tell application "address book"         -- stuff     end tell end checkaddressbook 

whenever mail rule executes, launches address book. not activated, shows on desktop. question is, can tell blocks instructed launch application silently, , quit when complete?

applescript can't control application without running. that's way works. there other methods might use access address book database without launching application, if you're using applescript data address book database application has launch. recommendation add quit command suggested fábio.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -