• 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
Re: ASEditor Drag&Drop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ASEditor Drag&Drop


  • Subject: Re: ASEditor Drag&Drop
  • From: 2551 <email@hidden>
  • Date: Tue, 29 Oct 2013 19:48:56 +0700

On 28 Oct 2013, at 20:25, Luther Fuller <email@hidden> wrote:

The only work-around seems to be to open a new window in ASE, then drag & drop the file to get the posix path, then edit and run this …

POSIX file "/Users/lutherfuller/Desktop/some file.rtf"
the result as alias

to get the desired result in the ASE Event Log, then copy and paste.

Does anyone know more about this ? Is there a better work-around ?


Instead of dragging and dropping, just run the line

set colonPath to choose file

and select the desired file. ASE returns the file address as colon delimited by default.

tell application "AppleScript Editor"
choose file
--> alias "inFusion:Users:sphil:Desktop:Screen Shot 2013-10-28 at 23.20.03.png"




Phil
http://applehelpwriter.com

 _______________________________________________
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

References: 
 >ASEditor Drag&Drop (From: Luther Fuller <email@hidden>)

  • Prev by Date: Bug Fixes: Mail Headers in Mavericks
  • Next by Date: Re: ASEditor Drag&Drop
  • Previous by thread: Re: ASEditor Drag&Drop
  • Next by thread: Re: Property List Editore (was: AppleScript-Users Digest, Vol 10, Issue 357)
  • Index(es):
    • Date
    • Thread