How can i auto install App under ML
How can i auto install App under ML
- Subject: How can i auto install App under ML
- From: Brian Christmas <email@hidden>
- Date: Thu, 25 Oct 2012 18:02:13 +1100
G'day scripters
I'm trying to auto install a folder into the Applications folder, but compiling under Mountain Lion with "move (path to app) to Applications folder" refuses to compile, and the script below does not generate an error, nor does it move the folder.
Any advise please?
Regards
Santa
set p2me to path to me tell application "Finder" to set p2cofme to container of (path to me) as text try set ptaf to path to applications folder tell application "Finder" if exists folder (ptaf & "Mail Manager" as text) then move folder (ptaf & "Mail Manager" as text) to trash set folderPath to p2cofme & "Mail Manager" as text copy folderPath to ptaf end tell on error errmsg display dialog errmsg end try
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden