how would a command not be found ? Is it saying the page is not found or what? Analog records the exact location where any input is done. Like said before, do the tutorial and read teh User's Guide to understand it better
There are times you need it for novices (like myself) people with your knowledge dont [img]images/icons/smile.gif[/img] I use analog in my scripts because i'm getting the main functionality done first. Oh, by the way, nice signiture [img]images/icons/smile.gif[/img]
That's a reason to record scripts, but not to use analog recording. A requirement to use analog recording is, in my experience, very rare. I certainly can't see how it assists in "getting the main functionality done first."
my scripts create reports, but i use the analog recording to handle selling the drop-down boxes. But i use the ddt_* functions to fill in the rest of the form. Instead of making my DDT super long with filling in what would be in the combo boxes its long with all the manual typed information. After teh form is created i can go in and change the drop-downs manually at a later time. And during my script i switch between analog and context
Originally posted by Naef: When i re-run the same script in a function
<font size="2" face="Verdana, Arial, Helvetica">Having said that I don't recommend using analog recording generally and using this analog statement specifically (use move_locator_abs() or move_locator_rel() instead), I guess this could be the problem:
Do you put these statements into a function IN THE SAME SCRIPT in which you did record it?
If NO: This is the problem!
The tracks itself are stored in the file db\crvx.asc. So the parameter in move_locator_track just refers to a track number stored inside this file.
So if you paste these statements into another script, the paths are missing (unless you modify this file in the new script).
But pasting move_locator_track()-statements into a function within the same script shouldn't make any problems...