View Single Post
Hi there,

I'm writing a script that to populate some Custom Data into an OmniPlan document, but I want it only to fill in the custom data is blank.

Problem is I don't seem to be able to match against empty data

set OPBug_ID to the value of custom data entry "Bug ID" of this_task

Using Script Debugger, this custom Bug ID shows "missing value" as the value of OPBug_ID.

When I do an AppleScript Display Dialog, it prints "msng". When using say, it says "m""s""n""g".

Neither "missing value" nor "msng" will allow a match in AppleScript. Am I missing something really simple here?

Thanks!

Christopher