Re: ASEditor Drag&Drop
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