RE: path, network problem Lee Mosqueda 2.Jul.08 04:36 PM a Web browser 1-2-3 9.8All Platforms
You'll have to change those paths in the scripts manually, but chances are you
can replace the paths with a more generic value (so that it will work on any
computer).
When you use the script-recording feature in 1-2-3, 1-2-3 typically refers to
the document being acted upon by using its filename within square brackets.
However, there are some special built-in LotusScript variables that you can use
instead of that.
The one you'll be likely to use is CurrentDocument. CurrentDocument is a
variable that always equates to the document that is visible on the screen.
Another variable that can be useful is ThisDocument. ThisDocument is a
variable that always equates to the document in which the script is saved.
Often, those 2 variables will be equivalent, but there are times when they are
not, so it's important to understand the distinction.
If you edit your script by removing the path (including the square brackets)
and replacing it with CurrentDocument (or ThisDocument), chances are you'll get
the result you are looking for.