AnyDesk automation
Posted: 24 May 2023, 10:36
Hi!
I'm trying to automate some AnyDesk remote access. This is the Command from AnyDesk Documentation:
With this code:
I'm getting this error: https://ibb.co/rfqZRDc
If I remove all characters before 'echo' and the password it runs ok.
Anyone knows how to pass that echo instrucion to AnyDesk command?
Thanks in advance!
I'm trying to automate some AnyDesk remote access. This is the Command from AnyDesk Documentation:
Code: Select all
echo <password> | anydesk.exe <ID/Alias> --with-password
Code: Select all
id := "727850978"
password := "password"
stringToRun := "echo " . password . " | C:\Program Files (x86)\AnyDesk\AnyDesk.exe " . id . " --with-password"
Run(stringToRun,,,&pid)
If I remove all characters before 'echo' and the password it runs ok.
Anyone knows how to pass that echo instrucion to AnyDesk command?
Thanks in advance!