Increase brightness when i push a button?

webcore

(Ignacio) #1

How can I program the following with WebCore: “if button X is pushed, then increase brightness ten percentage points”?


#2

Something like this…

if Button gets pushed
then
  with deviceName  
    set level to {[deviceName:level] + 10}%
  end with
end if