AppleScript change value of property doesn't work (Xcode)

Hi,
I have a Problem. Really... ☺️
Is there a way to change the value of a property that you can see the new value in a Label?

This works:
Code Block AppleScript
property myValue : "Yes"
set myValue to "No"
log myValue


But when I bind myValue to a Label in my project, I can only see "Yes" in the Label.

Accepted Answer
You need to use the terms my or of me for KVO compliance, for example
Code Block
set my myValue to "No"

AppleScript change value of property doesn't work (Xcode)
 
 
Q