Guest
2012-07-04, 01:55 AM
You should be able to get this to work in response to a Browse Tool click if you specify script actions for particular leaf nodes.
Inspectors > Action > Runs a Script
and enter or paste something like the following:
Code:
set selection of front window to GetPath(self, true, true)
on GetPath(oShape, blnNodes, blnLinks)
tell application id "OGfl"
set lstIncoming to incoming lines of oShape
if lstIncoming ≠ {} then
set oLink to first item of lstIncoming
set lstPath to my GetPath(source of oLink, blnNodes, blnLinks)
if blnLinks then set lstPath to lstPath & {oLink}
if blnNodes then set lstPath to lstPath & {oShape}
else
if blnNodes then
set lstPath to {oShape}
else
set lstPath to {}
end if
end if
return lstPath
end tell
end GetPath
This works in editing view, but I notice that it generates an error in presentation view. A quick note to the Ninjas thru
Help > Send Feedback … may enable you to learn whether there is a syntax which enables script-driven selection in presentation mode.
--
Last edited by RobTrew; 2012-07-04 at 02:05 AM..