Mailing Lists: Apple Mailing Lists

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

Thicks and CopyFile



I need to get, inside a AppleScript Studio
application, time as seconds and milliseconds (for
example for check how fast are some command called
hundreds of times)

My second request is:

how is possible to duplicate a file from Applescript
using as target location a pathname file?

Example:
tell application "Finder"
duplicate item "MyDisk:myFolder:myFile.jpg" to item
"MyDisk:myFolder:myFile_3.jpg"
end tell

I think Finder cannot do this (from examples and
manual the target seems can be only folder).
I need to have total control over the duplicated file.

I cannot use CP MAC os something else because (as I
know) CP Mac is installed only by Developer Tool.
Somebody can explain me how to do this with Cocoa
command and method that I can call from AS?

Hagimeno

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.



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.