• 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: Characters in a file name - some progress
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Characters in a file name - some progress


  • Subject: Re: Characters in a file name - some progress
  • From: "Adam K. Wuellner" <email@hidden>
  • Date: Tue, 6 Jul 2004 13:56:03 -0500

On Jul 6, 2004, at 1:35 PM, Oz Springs wrote:

set the text of text frame id 1004 of document 1 to name of document 1

and there is the whole filename. However, I do want only the first 11 characters and I have no idea how to limit the text entry.


set AppleScript's text item delimiters to {""}
(text items 1 through 11 of your_text) as string

--> [first 11 characters of your_text]
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Characters in a file name - some progress
      • From: Nigel Smith <email@hidden>
    • Re: Characters in a file name - some progress
      • From: Oz Springs <email@hidden>
References: 
 >Characters in a file name - some progress (From: Oz Springs <email@hidden>)

  • Prev by Date: Re: Getting the default language with AppleScript
  • Next by Date: Re: Getting the default language with AppleScript
  • Previous by thread: Characters in a file name - some progress
  • Next by thread: Re: Characters in a file name - some progress
  • Index(es):
    • Date
    • Thread