Re: Periods in string after concatenating ?
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