In reply to Anu Jalan.

These settings are stored in the Windows registry. It sounds like the registry must be "reset" with each invocation of EG from your URL. The only workaround I can think of is for your startup script to re-import the registry settings that contain the keyboard macros.

As an alternative, you might try a 3rd party tool like AutoHotkey. I think AutoHotkey can be used even without admin privileges, and you can assign keyboard shortcuts/macros for any text or action.