On 8 Oct 2009, at 02:30, Julian Vrieslander wrote: > On 10/6/09 10:34 PM, "Julian Vrieslander" <[email protected]> wrote: > >> #!/bin/bash >> osascript -e 'tell application "Microsoft Database Daemon" to launch'
#!/bin/bash open /Applications/Microsoft\ Office\ 2008/Office/Microsoft\ Database\ Daemon.app > > I just discovered that this shell script syntax fails in Snow Leopard, at > least for those of us who are running Adobe CS4 apps. Several solutions are > offered in this Adobe TechNote: > I never use AppleScripts in shell scripts unless I really have to. The example I offered above should do the trick (replace 2008 with 2004 if need be and change the path if Office is not in/Applications of course, but you get the idea). > http://kb2.adobe.com/cps/516/cpsid_51615.html > This OSAScript library update is really useful. I even successfully used it on a Mac with CS2 (and Snow Leopard). > This note may be a worthwhile read for anyone who uses AppleScript on a Mac > with CS4 apps and Snow Leopard installed (even if you are not scripting the > Adobe apps). It does more than that. It affects many regular operations like copy and paste between third party applications and Adobe's, Corentin -- YouTalk mailing list List address: [email protected] List information: http://entourage.mvps.org/support_options/list.html List moderator: [email protected], [email protected] To unsubscribe: mailto:[email protected]?subject=unsubscribe
