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
Post a Comment