Re: How to Do This Without Smile or Satimage
Re: How to Do This Without Smile or Satimage
- Subject: Re: How to Do This Without Smile or Satimage
- From: Alex Zavatone <email@hidden>
- Date: Tue, 28 Feb 2012 07:49:37 -0500
Awk works from what I remember.
On Feb 28, 2012, at 5:40 AM, Rick Gordon wrote:
> I'm looking for a way to implement regex operations to a string or variable without using Smile, Satimage, or some other external resource. I'm thinking that there must be a way to formulate this as a shell command (using perl -e, sed, or something), but what I'm finding seems to be that those things would be operating on a file, and I just want to act on passed strings (within the context of a repeat loop on targeted objects).
>
> tell application "Adobe InDesign CS5"
> tell applied paragraph style
> set vParaStyleNameIn to name as string
> tell application "Smile"
> set vParaStyleNameOut to uchange "indent" into "flush" in vParaStyleNameIn ¬
> with regexp without case sensitive
> end tell
> end tell
> end tell
>
> It seems so simple; there must be a way.
>
> --
> ___________________________________________________
>
> RICK GORDON
> EMERALD VALLEY GRAPHICS AND CONSULTING
> ___________________________________________________
>
> WWW: http://www.shelterpub.com
>
> _______________________________________________
> 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
_______________________________________________
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