• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How can i auto install App under ML
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How can i auto install App under ML
      • From: Christopher Stone <email@hidden>
    • Re: How can i auto install App under ML
      • From: Brian Christmas <email@hidden>
  • Prev by Date: Re: Checking on the existence of a file
  • Next by Date: Re: How can i auto install App under ML
  • Previous by thread: Re: Checking on the existence of a file
  • Next by thread: Re: How can i auto install App under ML
  • Index(es):
    • Date
    • Thread