Discussion, questions and support.
-
GalainDeNo
- Posts: 7
- Joined: Nov 27th, ’20, 09:02
Post
by GalainDeNo » Feb 9th, ’24, 09:57
I use "run" folowing instruction to Open Google Adresses for User 3
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge_proxy.exe" --profile-directory=Default --app="
https://contacts.google.com/u/3/?hl=de"
Is there a way to open another url depending on the device name?
i.e.
Code: Select all
if "PC name = Nitro"
open URL A
else if "PC name= Aspire"
open URL B
else
open URL C
end if
Thx
GalainDeNo
-
Marko
- Posts: 1803
- Joined: Mar 2nd, ’13, 21:02
Post
by Marko » Feb 11th, ’24, 10:12
This should be the correct syntax (Type: Command):
Code: Select all
if (A_ComputerName = "Nitro")
run, URL A
else if (A_ComputerName = "Aspire")
run, URL B
else
run, URL C