• 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: AppleScriptObjC -- List Folder Handler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScriptObjC -- List Folder Handler


  • Subject: Re: AppleScriptObjC -- List Folder Handler
  • From: Christopher Stone <email@hidden>
  • Date: Fri, 30 Nov 2018 21:41:28 -0600

On 11/30/2018, at 21:08, Stan Cleveland <email@hidden
<mailto:email@hidden>> wrote:
> There's a small problem to report. I have a folder named "__A\V", which holds
> audio and video files. (I named it with a backslash to avoid conflicts when
> using POSIX paths.)
>
> Your listFolder handler returns its name as "__A\\V" in all three output
> formats, which fails when used to address the folder. Clearly, the backslash
> is getting escaped somewhere in the machinery, but probably isn't wanted for
> AS.


Hey Stan,

Thanks for the feedback.

You're seeing the string escapes in Script Debugger's viewer.

Turn on Best View and look again to see the actual strings.

To do something similar in the Script Editor you have to send the strings to
TextEdit or BBEdit.

This used to drive me crazy and is one of the reasons I jumped at Script
Debugger when it came out many years ago.

--
Take Care,
Chris

 _______________________________________________
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: 
 >AppleScriptObjC -- List Folder Handler (From: Christopher Stone <email@hidden>)
 >Re: AppleScriptObjC -- List Folder Handler (From: Stan Cleveland <email@hidden>)

  • Prev by Date: Re: AppleScriptObjC -- List Folder Handler
  • Next by Date: Re: AppleScriptObjC -- List Folder Handler
  • Previous by thread: Re: AppleScriptObjC -- List Folder Handler
  • Next by thread: Re: AppleScriptObjC -- List Folder Handler
  • Index(es):
    • Date
    • Thread