On Jun 20, 2010, at 6:52 PM, Philip Spaelti wrote:

> Since this would presumably be used in a macro that itself has created the bookmark, one would just have to save the names of the bookmarks in an array and then use these variables to insert the cross-refs:
> 
> $bookmarkArray = …
> 
> foreach $bookmark in $bookmarkArray
> 	#
> 	# put some code to place the cursor in the right place here
> 	#
> 	Cross-Reference
> 	Type Text $bookmark
> 	Press Default Button
> end

This trick works only when you use Send Text command instead of Type Text. But in a loop... I explained in my previous message why it does not work.


Kino