View Single Post
So, I've made some progress. But this is more of a work around....
I am now able to test for a name/value pair using an if statement.
But I'm still trying to get a graphic whose user data matches a specific name/value pair.

Here is how I'm able to use the user data in a 'if' statement...

set thisUserData to get the user data of the last graphic
if (|ObjectType| of thisUserData is equal to "Application Shape") then
log "Test True"
log "Test false"
end if