• 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
How to Do This Without Smile or Satimage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to Do This Without Smile or Satimage


  • Subject: How to Do This Without Smile or Satimage
  • From: Rick Gordon <email@hidden>
  • Date: Tue, 28 Feb 2012 02:40:03 -0800

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


  • Follow-Ups:
    • Re: How to Do This Without Smile or Satimage
      • From: Axel Luttgens <email@hidden>
    • Re: How to Do This Without Smile or Satimage
      • From: Alex Zavatone <email@hidden>
    • Re: How to Do This Without Smile or Satimage
      • From: Alex Zavatone <email@hidden>
    • Re: How to Do This Without Smile or Satimage
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Gatekeeper
  • Next by Date: Re: How to Do This Without Smile or Satimage
  • Previous by thread: Re: Wrong result after adding up to extracted numbers.
  • Next by thread: Re: How to Do This Without Smile or Satimage
  • Index(es):
    • Date
    • Thread