Prev: Fun but useless enhancements
Next: HTML code
From: Jolly Roger on 23 Mar 2010 09:45 In article <2010032304252516807-cfnzrpu(a)crevtrrarg>, J. Stewart <cfnzrpu(a)crevtrr.arg> wrote: > On 2010-03-22 10:53:26 -0400, Jolly Roger <jollyroger(a)pobox.com> said: > > >> Personally I use Tex-Edit Plus and/or TextWrangler depending on my > >> task. Both of them have extensive Applescript and reg-ex support. They > >> are both worth ponying up a little spare change. > > > > What sort of things do you need Applescript support to do in a text > > editor? > > That depends on the text editor's dictionary. Everything from > formatting to grabbing text out of a web browser and sending that same > text to another app after manipulation. Use your imagination JR, I know > you script. :D I was looking for specific, real-world examples. So far the ones I have been given do not actually require a text editor to be involved, which is what i expected. -- Send responses to the relevant news group rather than email to me. E-mail sent to this address may be devoured by my very hungry SPAM filter. Due to Google's refusal to prevent spammers from posting messages through their servers, I often ignore posts from Google Groups. Use a real news client if you want me to see your posts. JR
From: Jolly Roger on 23 Mar 2010 09:46 In article <nospam.m-m-209CC1.08052323032010(a)cpe-76-190-186-198.neo.res.rr.com>, M-M <nospam.m-m(a)ny.more> wrote: > In article <jollyroger-5BC1E2.00194523032010(a)news.individual.net>, > Jolly Roger <jollyroger(a)pobox.com> wrote: > > > > > Why bother with scripting a text editor to do what you can do without > > any application at all? > > Because it's easier to have a drop-down menu with a boatload of scripts. Isn't that what the system-level Applescript menu is for? Truthfully, is that the only reason you're involving a text editor? -- Send responses to the relevant news group rather than email to me. E-mail sent to this address may be devoured by my very hungry SPAM filter. Due to Google's refusal to prevent spammers from posting messages through their servers, I often ignore posts from Google Groups. Use a real news client if you want me to see your posts. JR
From: M-M on 23 Mar 2010 10:45 In article <jollyroger-EFC9D4.08462023032010(a)news.individual.net>, Jolly Roger <jollyroger(a)pobox.com> wrote: > > > Why bother with scripting a text editor to do what you can do without > > > any application at all? > > > > Because it's easier to have a drop-down menu with a boatload of scripts. > > Isn't that what the system-level Applescript menu is for? > > Truthfully, is that the only reason you're involving a text editor? I guess there's more than one way. If I have some text I need to convert, I paste it into Tex-Edit (not Apple's TextEdit) and select the script I need. I can download or create new scripts, drop them into the scripts folder and they are in the menu. -- m-m http://www.mhmyers.com
From: isw on 23 Mar 2010 12:23 In article <jollyroger-6AC39F.00182223032010(a)news.individual.net>, Jolly Roger <jollyroger(a)pobox.com> wrote: > In article <isw-94EAEC.10300322032010@[216.168.3.50]>, > isw <isw(a)witzend.com> wrote: > > > In article <jollyroger-49FC62.09532622032010(a)news.individual.net>, > > Jolly Roger <jollyroger(a)pobox.com> wrote: > > > > > In article <2010032207321116807-cfnzrpu(a)crevtrrarg>, > > > J. Stewart <cfnzrpu(a)crevtrr.arg> wrote: > > > > > > > On 2010-03-21 20:52:01 -0400, M-M <nospam.m-m(a)ny.more> said: > > > > > > > > >> For a long time I've been using TextEdit as my > > > > >> primary document reading, composing, and editing tool, and griping > > > > >> about > > > > >> how it's almost good enough and if Apple would only add a few > > > > >> features > > > > >> it would be really great. > > > > > > > > > > > > > > > What I it that Bean has that Textedit doesn't? > > > > > > > > Bean does not support Applescript! That's a show stopper here. TextEdit > > > > does support it. > > > > > > > > Personally I use Tex-Edit Plus and/or TextWrangler depending on my > > > > task. Both of them have extensive Applescript and reg-ex support. They > > > > are both worth ponying up a little spare change. > > > > > > What sort of things do you need Applescript support to do in a text > > > editor? > > > > I use an Applescript to get TextWrangler to rummage through iPhoto's > > "AlbumData.xml" file to build a list of all the albums a chosen image is > > in. > > Couldn't you instead do that directly with Applescript's file access > command to read the text in and do stuff with it? Maybe somebody who understands Applescript a whole lot better than I do could get that to work, but I just wanted something that would solve my problem. I've been managing to get occasionally useful things out of Applescript ever since it came out (but not very many), and it's still very close to impenetrable to me. It truly is, as others have said, a "Read-only language". Isaac
From: Jolly Roger on 23 Mar 2010 18:53
In article <nospam.m-m-406291.10454823032010(a)cpe-76-190-186-198.neo.res.rr.com>, M-M <nospam.m-m(a)ny.more> wrote: > In article <jollyroger-EFC9D4.08462023032010(a)news.individual.net>, > Jolly Roger <jollyroger(a)pobox.com> wrote: > > > > > Why bother with scripting a text editor to do what you can do without > > > > any application at all? > > > > > > Because it's easier to have a drop-down menu with a boatload of scripts. > > > > Isn't that what the system-level Applescript menu is for? > > > > Truthfully, is that the only reason you're involving a text editor? > > I guess there's more than one way. If I have some text I need to > convert, I paste it into Tex-Edit (not Apple's TextEdit) and select the > script I need. > > I can download or create new scripts, drop them into the scripts folder > and they are in the menu. The system-level Applescript menu works the same way. Drop scripts into a folder, and they appear in the menu. -- Send responses to the relevant news group rather than email to me. E-mail sent to this address may be devoured by my very hungry SPAM filter. Due to Google's refusal to prevent spammers from posting messages through their servers, I often ignore posts from Google Groups. Use a real news client if you want me to see your posts. JR |