Maybe you can use -n from the terminal to open a second instance and use CFNotificationCenter to send the string to the original application.
http://www.purebasic.fr/english/viewtop ... 19&t=68047
Command line args if launched from terminal
Re: Command line args if launched from terminal
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: Command line args if launched from terminal
WOW!!!wilbert wrote:Maybe you can use -n from the terminal to open a second instance and use CFNotificationCenter to send the string to the original application.
http://www.purebasic.fr/english/viewtop ... 19&t=68047
That's exactly what I'm looking for and it works perfectly! Thank you so much WILBERT!
This must be added to the Mac forum stickies for future reference.
Re: Command line args if launched from terminal
Good to hear it is working for youcoder14 wrote:WOW!!!
That's exactly what I'm looking for and it works perfectly!
It's a nice and easy way to pass small bits of information.
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)