I am considering to replace my Windows pc with Mac mini, what would be MacOS version of tool command to launch winbox?
In windows it is: "C:\WinBox4.exe" "[Device.FirstAddress]" "[Device.UserName]" "[Device.Password]"
open -a WinBox --args "[Device.FirstAddress]" "[Device.UserName]" "[Device.Password]"
This command works in terminal if passing correct ip address and credentials, hovever when trying to launch from The Dude (running in Wine), I am getting the error:Code: Select allopen -a WinBox --args "[Device.FirstAddress]" "[Device.UserName]" "[Device.Password]"
Execute failed ( command: open -a WinBox --args "IP of the device" "username" "password"): 6:Invalid handle.
z:\usr\bin\open -a WinBox --args "[Device.FirstAddress]" "[Device.UserName]" "[Device.Password]"
I can confirm that it works on Apple Silicon as well. I just added -n atribute to launch new window if there is one winbox session already open.I use Dude on macOS/intel, so it works. I use homebrew to get wine & just use CLI to launch Dude... but you can use Automator to make it an "app". The Dude auto-upgrade that matches the version even works.
Since it's emulating Windows – the path needs to be valid Windows path.... And UNIX /usr/bin/open is not a Windows path... I think Z: is map to the local macOS file system, or at least it has been for me. So this work to launch the native WinBox4 as Dude "Tool":
Code: Select allz:\usr\bin\open -a WinBox --args "[Device.FirstAddress]" "[Device.UserName]" "[Device.Password]"
z:\usr\bin\open -a WinBox -n --args "[Device.FirstAddress]" "[Device.UserName]" "[Device.Password]"