Using Environment Variables in Functions (Buttons), e.g. with "@hideif"

Is there an easy way to use environment variables in scripts?

I want to use "@hideif" based on the computer name to show different buttons on my laptop and main PC.

I found the following, but this uses JScript and probably doesn't play nicely with a regular "Standard Function".

Yes. E.g.:

@hideif:=%computername%=="TheLaptop"
4 Likes

Fantastic, this is exactly what I wanted. Thanks @lxp.