OS X 'do applescript' consistently launches Classic (was newbiequestions)

Ken Ray kray at sonsothunder.com
Mon Oct 20 09:36:14 EDT 2003


Ian,

Try opening the OS X version of QT Player with "open location" from
inside AppleScript, then "tell" it... 

HTH,

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ian Wood
> Sent: Monday, October 20, 2003 4:06 AM
> To: use-revolution at lists.runrev.com
> Subject: OS X 'do applescript' consistently launches Classic 
> (was newbiequestions)
> 
> 
> I've sorted out my other problems, but this one is still happening:
> 
> In text field "applescript"-
> tell application "QuickTime Player"
> 	activate
> 	
> 	blah blah bits of applescript code
> 
> end tell
> 
> 
> In a button-
> on mouseUp
> 	put text of field "applescript" into theScript
> 	do theScript as AppleScript
> end mouseUp
> 
> 
> If QT is open then it works fine, if QT is not open then Classic 
> launches and the OS 9 version of QT opens.
> 
> This has the same effect with all Apple apps with the same name in X 
> and 9, such as QT, iMovie, Disk Copy, iTunes.  If the app is not 
> already open in X then the Classic environment launches.
> 
> It does NOT have the same effect for non-Apple apps such as Internet 
> Explorer or Stuffit Expander.
> 
> ???
> 
> Tested with Rev 1.1.1 on OS X 10.2.1 & Rev 2.1 trial on 10.2.6.
> 
> Any help with this would be great, it's getting really annoying!
> 
> Ian Wood
> Panoramic photography, from web to billboard, sunrise to 
> moonrise http://www.azurevision.co.uk
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com 
> http://lists.runrev.com/mailman/listinfo/use-> revolution
> 




More information about the Use-livecode mailing list