(imported topic written by var91)
hi,
This syntax shows if the Hardware is a Laptop or a Desktop.
if (exists wmi AND exists string value whose (it as lowercase does not contain “ups”) of selects “name from win32_Battery” of wmi) then “Laptop” else “Desktop”
How can i write this in a variable and use this in a Fixlet?
if { yyyyy = “Laptop” }
waithidden cmd.exe …
else
waithidden cmd.exe …
endif
Thanks for help