Can't set object Volume

I have the following code

DesktopX.Object("RingBell").Volume = 10

But it doesn't matter what number I use the volume is always the same. The object has two states "Ring" and "NoRing" so I tried.

DesktopX.Object("RingBell").States("Ring").Volume = 10

And I get an error message saying no such property.

Any help?
991 views 0 replies