Nick Zitzmann wrote:

Thanks for the replies guys. What I would like to do, may be a lot
simpler than what i may have explained. I just want my app to launch
the quicktime movie, in what looks like exactly like the finder
quicklook window - in fact if its possible to even somehow do it
with an applescript or something - i.e. just tell finder to launch
it! Is that possible?


I'm pretty sure that can't be done with AppleScript unless
accessibility is turned on.


GUI Scripting is crude and brittle and really a last resort when all else fails. Unfortunately, there's nothing in Finder's scripting API for invoking quicklook (its 'open' command just opens files in the default editor, equivalent to double-clicking them), so it may be the OP's only hope if they _really_ must have it. Though FWIW, GUI Scripting is just a wrapper around OS X's existing accessibility APIs, so going through AppleScript isn't really necessary at all.

It may be easier to just use QTMovieView.

Yeah, I think this would be the simplest and most reliable solution. (And by all means file feature requests on Finder for 10.6; its scripting interface is lagging its graphical one a bit these days.)

HTH

has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to