• 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
Is it a normal behavior ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is it a normal behavior ?


  • Subject: Is it a normal behavior ?
  • From: KOENIG Yvan <email@hidden>
  • Date: Sun, 02 Oct 2011 12:43:04 +0200

Hello

I tried to run this simple code :

set this_folder to (choose folder) as string
tell application "System Events"
set these_files to every file of folder this_folder whose type identifier is in {"public.tiff", "public.jpeg"}
end tell

and was a bit surprised to get :

--> error number -1700 from {"public.tiff", "public.jpeg"} to reference

Résultat :

error "Erreur dans System Events : Il est impossible de rendre {\"public.tiff\", \"public.jpeg\"} en type reference." number -1700 from {"public.tiff", "public.jpeg"} to reference

Is it a normal behavior or am I doing something wrong ?

Yvan KOENIG (VALLAURIS, France) dimanche 2 octobre 2011 12:41:57





 _______________________________________________
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: Is it a normal behavior ?
      • From: Thomas Fischer <email@hidden>
    • Re: Is it a normal behavior ?
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: ScriptEditorFormatting
  • Next by Date: Re: Is it a normal behavior ?
  • Previous by thread: Re: ScriptEditorFormatting
  • Next by thread: Re: Is it a normal behavior ?
  • Index(es):
    • Date
    • Thread