I use these buttons to copy object references to the clipboard. This is great especially getting references for front and back scripts (among other things). Here's what I have.
Custom 1 Name: ObjID->Clpbd
Script:
Code: Select all
on mouseUp
if the selectedObject is "" then
answer error "Nothing Selected..."
else
set the clipboardData to the id of the selectedObject
end if
end mouseUp
Script:
Code: Select all
on mouseUp
if the selectedObject is "" then
answer error "Nothing Selected..."
else
set the clipboardData to the name of the selectedObject
end if
end mouseUp
Script:
Code: Select all
on mouseUp
if the selectedObject is "" then
answer error "Nothing Selected..."
else
set the clipboardData to the long name of the selectedObject
end if
end mouseUp
Kudos to Richard Gaskin for such a great utility that's totally changed the way I work in the IDE.
Bob Hall