On Monday, January 20, 2003, at 04:30 PM, jmk wrote:
i'm trying to write a script which lounches the installer app and opens the quicktime install.pkg.What version of Director? The 'open' command might not work for you at all if you are running under a Classic session and trying to load an OSX app. This is because anyting with a .app extension on OSX is actually a *folder*, and Classic based applications see it that way -- so trying to use a Classic program (particularly Dir7) to run a .app package will almost certainly fail silently.
the commad open does not work as i did expect it to...
open "quicktimeinstaller:quicktime.pkg" with "installer.app"
yust opens the installer. it does not ope the file....
You might try BuddyAPI, but make sure to get the newest Mac version -- I think Beta 1.4 -- to ensure you've got code that will at least try to load the installer.
And just out of curiosity, what version of OSX do you think might *not* have QT installed? It is more commonly used on OSX than IE is. And both apps are preinstalled on the system. Put another way I don't think you need to worry about QT existing on an OSX system.
and one other thing, i would like to write a file into the system directory which i can check afterwords. on the PC version 7.02 my fileIO script works perfect. on OSX it does nothing. are there change in File IO???No, there is a change in the Macintosh operating system. OSX is UNIX underneath and, depending on where you're trying to write your file, you might not have the write permissions necessary for it. For a program running under a standard user session I can almost guarantee you you won't get write access to the system directory.
Warren Ockrassa | http://www.nightwares.com/
Director help | Free files | Sample chapters | Freelance | Consulting
Author | Director 8.5 Shockwave Studio: A Beginner's Guide
Published by Osborne/McGraw-Hill
http://shop.osborne.com/cgi-bin/osborne/0072195622.html
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
