• 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: Luther Fuller <email@hidden>
  • Date: Mon, 28 Oct 2013 14:39:26 -0500

On Oct 28, 2013, at 11:56 AM, I wrote:

On my desktop, I named a file "some "file".rtf". Notice the quotes within the file name.

When I drag & drop this file into a Smile script window, I get …

alias "OS_X:Users:lutherfuller:Desktop:some \"file\".rtf"

If I then log this '… as text', I get ...

OS_X:Users:lutherfuller:Desktop:some "file".rtf

This is misleading. I should NOT have used the word "log".
Using the 'log' command (or display dialog) strips the backslash from the result.

If I simply write and run ...

alias "OS_X:Users:lutherfuller:Desktop:some \"file\".rtf"
the result as text

you will see the correct result which retains the backslash.

You get exactly the same result in ASE, too.

The problem in ASE is having to convert manually from posix to colon delimited text.



 _______________________________________________
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: 
 >On the difficulties of "/"" in Applescript with example (From: Walter Bushell <email@hidden>)
 >ASEditor Drag&Drop (From: Luther Fuller <email@hidden>)

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