Simple Script question: Newbie alert
Posted: Thu Dec 16, 2004 7:10 am
Hi
I'm trying to write a script and have run into a problem on the first step
The cursor can start anywhere on a line, so I move the cursor to the start of the line, easy.
Now I' m wondering if there is a zeus way of determining if there is a word at the start of the line, as opposed to a comment marker or white space. One doesn't jump out of the documentation at me, and I can think of a way to hack it but thought I'd ask if there were an elegant way of doing it.
Or is the general philosophy to import things like standard libraries for the scripting language, python in my case, and use them. I know Python has routines to do this sort of thing.
Thanks
john
I'm trying to write a script and have run into a problem on the first step

The cursor can start anywhere on a line, so I move the cursor to the start of the line, easy.
Now I' m wondering if there is a zeus way of determining if there is a word at the start of the line, as opposed to a comment marker or white space. One doesn't jump out of the documentation at me, and I can think of a way to hack it but thought I'd ask if there were an elegant way of doing it.
Or is the general philosophy to import things like standard libraries for the scripting language, python in my case, and use them. I know Python has routines to do this sort of thing.
Thanks
john