command line examples

J. Landman Gay jacque at hyperactivesw.com
Sat May 7 00:11:56 EDT 2011


On 5/6/11 10:44 PM, David C. wrote:
> Best I can tell, Todd just wants to be able to launch a LC executable
> on the Mac, but with it running as a hidden or background process,
> without an icon showing up in the Dock. Is that correct Todd?
>
> On Windows, this really simple sample code seems to do the job:
>
> on preOpenStack
>     set the hideConsoleWindows to true -- this works on windows
>     -- open process me -- this also seems to work on windows
>     set the vis of me to false
>     wait for 10 seconds
>     set the vis of me to true -- bring the GUI back where it can be ended
> end preOpenStack
>
> So far, I've been unable to do the same on Mac OS X, assuming that I'm
> trying to solve the correct problem of course. ;-)

The hideConsoleWindows command is Windows-only and ignored on Mac. To 
remove the dock icon, you need to edit the plist inside the app bundle:

<http://www.macosxtips.co.uk/index_files/disable-the-dock-icon-for-any-application.html>

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list