Log in

View Full Version : Applescript support



wanapitei
01-31-2008, 05:43 PM
Anyone here knows Applescript? I've been getting such good support on this forum in other subject areas, I'm hoping someone here also uses Macs and Applescript.

A search of the forum for "Applescript" yielded no hits.

Kind regards,

BLiZZaRD
01-31-2008, 07:40 PM
Perhaps if you had a specific question someone could help you more?

or you can find what you need through Apple.com (http://www.apple.com/applescript/)

wanapitei
01-31-2008, 07:58 PM
Here's what's going on and what I'm trying to achieve. I'm generating HTML and CSS automatically from Scrivener, a Mac-only author's writing program (a very good one).

I've created an AppleScript to work to run through the HTML text to do a stream of search and replace functions. I have many documents to process and this works very well. However, there are some segments where the string between one predictable delimiter and another. What's called for is a wildcard to select all the text between the delimiters and replace it with something else.

I've been unsuccessful so far in discovering the syntax for a wildcard in AppleScript. Yes, I could go to Apple's forums (and probably will) but those forums are gigantic, and get a lot of off-the-mark responses. I'm more comfortable with more focused forums such as this one.

Kind regards,

BLiZZaRD
02-02-2008, 04:58 PM
Well, I am not a Mac user nor do I dabble in AppleScripts, but the few I have seen have used ? or * usually in paren's (*) and (.*).

I have heard some speak that version 7 (?) is more advanced than previous, although I don't know how old version 7 is...

Good Luck.