Hi johanvena,
Is it your intention to run iMacros on your server, or do you want iMacros to run on the machine of the user who is accessing your server?
If you want to run iMacros on your server, then by default it will not be visible to web clients.
However, if you are running iMacros on the client machine, making it invisible is currently not possible because -silent and -tray modes are
not yet implemented in iMacros 2021.
Typically, you should be using the iMacros scripting interface included with the Enterprise Edition for scripting iMacros from .php and other scripting/programming languages. But since you mentioned you only have the Professional Edition, the only option available to you is using the
iMacros.exe command-line interface. To pass variables to a macro using the command-line interface, you need to specify the -variables switch:
https://wiki.imacros.net/-variables