• 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: how do I choose a folder with type or text extension at end
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how do I choose a folder with type or text extension at end


  • Subject: Re: how do I choose a folder with type or text extension at end
  • From: Michelle Steiner <email@hidden>
  • Date: Mon, 10 Jul 2006 16:32:43 -0700

On Jul 10, 2006, at 3:37 PM, Patrik B. wrote:

Why does the below code not work and how can I make it work?
property type_list : {"IDx3"}

property extension_list : {"inx"}

tell application "InDesign CS"
set done_foldername to choose file of type type_list or file whose
name extension is in the extension_list with prompt "Choose inx files to
convert (shift/ctrl click on multiple files as needed):" with multiple
selections allowed without invisibles
end tell

You can use only one of those lists, and you can't mix the types within a list. Also, the extension_list has to have the full UTI: <http://developer.apple.com/documentation/Carbon/Conceptual/ understanding_utis/index.html#//apple_ref/doc/uid/TP40001319>


--
I'm at an age where I can satisfy my wants without too many guilt feelings.


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >how do I choose a folder with type or text extension at end (From: "Patrik B." <email@hidden>)

  • Prev by Date: how do I choose a folder with type or text extension at end
  • Next by Date: Re: Attivating the display dialog window
  • Previous by thread: how do I choose a folder with type or text extension at end
  • Next by thread: Quark Leave Image Modified
  • Index(es):
    • Date
    • Thread