Announcement

Collapse
No announcement yet.

Nested script statements in HS?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DJF3
    replied
    Thank you!

    DJ

    Leave a comment:


  • mnsandler
    replied
    Originally posted by DJF3 View Post
    Hi,

    Is a single script statement like this possible?

    &hs.setdevicestring "T60", (hs.devicevalue "W43")

    Result: the devicevalue of W43 is put in the device-string of T60.

    Any other way to do this? Don't want to create another .vb or .txt script

    Thank you!
    DJ
    yes you can do this, but here is the correct syntax

    &hs.setdevicestring "T60", hs.devicevalue("W43")

    try it from the control/immediate window if you want

    Leave a comment:


  • DJF3
    started a topic Nested script statements in HS?

    Nested script statements in HS?

    Hi,

    Is a single script statement like this possible?

    &hs.setdevicestring "T60", (hs.devicevalue "W43")

    Result: the devicevalue of W43 is put in the device-string of T60.

    Any other way to do this? Don't want to create another .vb or .txt script

    Thank you!
    DJ
Working...
X