Page 1 of 1

macro

Posted: 2006-03-02 02:53:07
by Flor
Hi to all!
I was trying to get this done with macros but got nowhere.
Basically, I download articles from the internet and save them as text with Nisus.
I was trying to build a macro that would select the text, get the heading (first line) to use it as the name of the document (save as) and save in a file in my computer.
If anybody has the time, knowledge and willingness to help I would highly appreciate it.
Regards,
Flor

Posted: 2006-03-02 08:30:02
by cchapin
I don't think you can do this with Menu Macros, and I don't know how to do it with Perl, but you should be able to manage it with AppleScript. Capture the text of the first paragraph in a variable, then use that variable as the file name when you save.

--Craig