• 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: Periods in string after concatenating ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Periods in string after concatenating ?


  • Subject: Re: Periods in string after concatenating ?
  • From: David Wignall <email@hidden>
  • Date: Mon, 30 Aug 2010 11:47:41 +1200

On 30 Aug 2010, at 11:35 AM, Hernan wrote:

> Periods problem when dealing with Photoshop CS5.
>
> set name_file to the name of the current document as string

set OldTids to AppleScript's text item delimiters

> set AppleScript's text item delimiters to "."
> set new_name to first text item of name_file as string
>
> display dialog new_name
> # here works fine, I get the name as I need it

set AppleScript's text item delimiters to OldTids

>
> set zoom_size to save_folder & ":1500:" & new_name & "_1_zoom.jpg" as string
>
> display dialog zoom_size
> # here I get  the name of the file between periods like this -->   .new_name.
>
> Thanks in advanced
 _______________________________________________
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: 
 >Periods in string after concatenating ? (From: Hernan <email@hidden>)

  • Prev by Date: Periods in string after concatenating ?
  • Next by Date: Re: Periods in string after concatenating ?
  • Previous by thread: Periods in string after concatenating ?
  • Next by thread: Re: Periods in string after concatenating ?
  • Index(es):
    • Date
    • Thread