Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[6]: drag promised files to Finder



On 2007-06-29, at 10:47:14, Bryan Prusha wrote:

On Jun 29, 2007, at 3:01 AM, Eric Landuyt wrote:

Btw, is is possible to reuse Finder's own copy dialog box in order to display
progress for the files I'm copying (through a particular AppleEvent?),
or am I forced to manually reimplement the same thing in my application?

I believe there are AppleEvents for this. Try looking at Finder with Script Editor to see what AppleEvent services it offers.

tell application "Finder"
activate
duplicate src to dest
end tell

In the above, src is an alias to a file, and dest is an alias to a folder.
It will block your script and show the dialog box (if the file is large).


Philip Aker
email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >drag promised files to Finder (From: Eric Landuyt <email@hidden>)
 >Re: drag promised files to Finder (From: Bryan Prusha <email@hidden>)
 >Re[2]: drag promised files to Finder (From: Eric Landuyt <email@hidden>)
 >Re: Re[2]: drag promised files to Finder (From: Bryan Prusha <email@hidden>)
 >Re[4]: drag promised files to Finder (From: Eric Landuyt <email@hidden>)
 >Re[6]: drag promised files to Finder (From: Eric Landuyt <email@hidden>)
 >Re: Re[6]: drag promised files to Finder (From: Bryan Prusha <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.