The easy way is to create a text label. Here's how:
1) Create a text label called 'Window Name goes here!' (use the T icon). The position and name are irrelevant at this point because a script will move the label and overwrite the text.
2) Right click on the label you just created. Select 'Label control', which should bring up a dialog box.
3) Past the following into the editable area at the bottom:
/////////////////////////////////////////// // Add Path info and Graph Name on Save /////////////////////////////////////////// %P=\v(%H from %X%G.OPJ); label -s -sa -d (.20*page.width) (.14*page.height) -n Path %P; Return; ///////////////////////////////////////////
This is the LabTalk script that will add the path information for you. You can modify it's position by adjusting at what % of the page height and width to place top left corner of the text label.
4) Change the 'Object Name' edit box to 'Path' and the 'Script, Run After' edit box to 'Window Create'. Doing the second tasks selects at which point the script will be executed.
5) Save this as a template. When you reopen the template the name, path and project info should apprear in the graph.
If you have any problems I'll email you an example. Craig
|