Showing bookmark links to tags and running them in a script.
ArborX


Summary
This example demonstartes showing links to tags and running them in a script.

The process of link generation can be enhanced by showing the link to a tag, which is then run using trun to activate the links. In this case trun "connect". Note the inclusion of $10# at the end of the command, to insert a return in 'connect.rf' after every entry.

However the example above still requires manual intervention to set the name(s) etc. To achieve total automation of this process, requires a tag similar to the example show below, using a getvar, variable value and/or counter values to generate the names, which in turn could be set from attribute tag values and text yanked from the text stream.

For instance the first section of the example (tpmkset "$^link_name^$x(99)") simply says, 'show contents of the link_name variable and the current value of counter x99' to make up this link's name. At the top of the tag you will see that the counter has been set to increment by 1 each time the tag is appears, therefore creating a unique number for each occurrence.

See , ,

St Setlnk 0(96)

<?show +"connect"tpmkset "demo--lnk--1","link to demo lnk
1","demo–lnk–1","c:/3b2win/3d/demo.3d",5,0$10#>

St Setlnk 0(118)

<?show +1x(99)>
<?show +"connect"tpmkset "$^link_name^$x(99)","This link is
$^link_name^$x(99)","$^link_ name^$x(99)","demo.3d",5,0$10#>


Document created on 08-Feb-2003 (revision 1)