Re: Finding & replacing text with Applescript

2021-05-24 Thread Christopher Stone
On 05/24/2021, at 21:44, Rich Siegel mailto:sie...@barebones.com>> wrote: > his is a good script. Some feedback: as a matter of best practices and future > proofing, avoid targeting windows (or elements of them). Hey Rich, Thanks for the feedback. Actually I often use this sort of construct:

Re: Finding & replacing text with Applescript

2021-05-24 Thread Rich Siegel
On 24 May 2021, at 22:37, Christopher Stone wrote: On 05/24/2021, at 19:11, Duncan Thorne > wrote: I'm pretty clueless with Applescript so please bear with me. I want to copy text from a Safari table, paste it into a new BBEdit window and do some text manipulation,

Re: Finding & replacing text with Applescript

2021-05-24 Thread Christopher Stone
On 05/24/2021, at 19:11, Duncan Thorne mailto:duncan...@gmail.com>> wrote: > I'm pretty clueless with Applescript so please bear with me. I want to copy > text from a Safari table, paste it into a new BBEdit window and do some text > manipulation, mostly finding and replacing. Hey Duncan,

Finding & replacing text with Applescript

2021-05-24 Thread Duncan Thorne
I'm pretty clueless with Applescript so please bear with me. I want to copy text from a Safari table, paste it into a new BBEdit window and do some text manipulation, mostly finding and replacing. I managed this with the old Tex-Edit Plus (not TextEdit) which is unfortunately 32-bit. With T-E+

Re: Grep find/replace numbers

2021-05-24 Thread Christopher Stone
On 05/22/2021, at 19:22, severdia mailto:sever...@gmail.com>> wrote: > Yes, you're right. I got it working, but for future reference here's what I > was trying to do...I have many of these elements: > > Macbeth5.15.1.64 > > Both and contain act/scene/line number info and either one other >