How do I open up a file in Overlay mode?

Get help with the installation and running of the Zeus IDE. Please do not post bug reports or feature requests here. When in doubt post your question here.
Post Reply
ordba
Posts: 6
Joined: Fri Aug 27, 2004 12:44 pm

How do I open up a file in Overlay mode?

Post by ordba »

How do I open up a file with the cursor in Overlay mode - it always seems to be in Insert mode? There's a parameter in my old ZEUS.INI file which is InsertMode=0, but that doesn't seem to work? Is this paramater "InsertMode=" still meaningful? My custom Keyboard
mapping file was based on Simple because I didn't want any predefined keys set for info if that helps.

I have all my settings the same as in my previous version. Per upgrade information I copied my old ZCONFIG and ZSCRIPT folders to the new
installation. I'm running version 3.93.

Any assistance will be greatly appreciated.

ordba
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

How do I open up a file with the cursor in Overlay mode - it always
seems to be in Insert mode?
That is what I like to see. An easy first question for the new forum :)

To achieve this just do the following:

1) Save the following text to the "overwrite.lua" file in the zScript
directory which is located off the Zeus installation directory:

Code: Select all

  -- save text to macro file called zScript\overwrite.lua
  function key_macro()
    -- Turns the character insert mode off.
    InsertModeReset()
  end

  key_macro() -- run the macro
2) Next right click on the Zeus icon located on the desktop and select the properties menu item.

3) In the "target" edit field make the following change:

Code: Select all

  Original text: "C:\Program Files\zeus\zeus.exe"

  New text: "C:\Program Files\zeus\zeus.exe" -m overwrite.lua
This change makes Zeus run the "overwrite.lua" macro on start up. The "overwrite.lua" macro does nothing more than put the cursor into over write mode, as required.

Cheers Jussi
Post Reply