| A GUI ot use as a guide for making your own start-up gui |
| G4C my_Startup // --------------------------------------------------------------- // This is an example of a starting up gui, which can be used // to start Gui4Cli with the environment you want. You can set // it in the "Preferences.." gui (last tab). Note that this // example stays loaded throughout the lifetime of Gui4Cli so // that the xHotkey events are active. // --------------------------------------------------------------- xOnLoad // If you use Assigns, this is a good time to load your // default assigns file. Use a GLOBAL variable to store // the filename so that all guis know about it. .assFileName = 'c:/prog/guis/0mine/assigns/ass_normal.gc' extract .assFileName FULLPATH ifexists file $.assFileName guiload $.assFileName else // invalid filename.. .assFileName = '' endif // Or maybe you just have your assigns hard-coded here.. assign DeskTop $$dir.desktop // Do other stuff such as CD'ing to a dir.. cd c:/prog/guis // etc.. When finished, if you have hotkeys declared, do // not "guiquit" so they'll be active whenever Gui4Cli is // loaded. Otherwise, to quit, uncomment the following: // GuiQuit #this // --------------------------------------------------------------- // HOTKEYS - You can define as many as needed.. // --------------------------------------------------------------- // ---------------------------------------- // F2 - Load Preferences GUI.. xHotkey '' F2 guiload home:gui4cli.gui guiopen gui4cli guiwindow gui4cli front //
---------------------------------------- |