• 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: file list as data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file list as data


  • Subject: Re: file list as data
  • From: "Jan E. Schotsman" <email@hidden>
  • Date: Wed, 23 Jul 2014 14:58:53 +0200

Hello list,

Thanks for all you reactions. I'll answer in one post.

Luther's solution (converting item after item resulting in an alias list) works so problem solved :-)

OTOH Yvan's solution doesn't work.
I get "System Events got an error: Can't get file ..."
Outside the tell System Events block I get "Cannot make file ... into the expected type".

As for using Posix paths this fails because apparently AppleScript cannot coerce a Posix path (passed on as 'utxt' data) to a Carbon file reference (FSRef). Oddly it returns the startup disk instead. I can easily handle this with code but this requires a new version of JES Deinterlacer.

I suppose Chris has realized by now that I am the author of JES Deinterlacer ;-)

@Luther Why is it better to avoid Posix paths? The file references are used immediately in the script.

Jan E.


_______________________________________________
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: file list as data
      • From: "koenig.yvan" <email@hidden>
    • Re: file list as data
      • From: Luther Fuller <email@hidden>
  • Prev by Date: Re: Encrypt/Decrypt a Text File
  • Next by Date: Re: file list as data
  • Previous by thread: Re: file list as data
  • Next by thread: Re: file list as data
  • Index(es):
    • Date
    • Thread