property thing1 : "Hello"
property thing2 : "Goodbye"
tell application "Script Debugger"
tell its document 1
set allProperties to name of every script property
end tell
end tell
When I run the above script, I get:
{
"required import items",
"thing1",
"thing2"
}
It seems simple enough to just ignore the “required import items” bit.