Jump to content
Macro Express Forums

dickwhite

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by dickwhite

  1. The page has the code for two separate macros. At the top of the page is a macro which calls the macro in the bottom part. The comment text 'This is to toggle Other menu on/off' is to indicate that string %strMenuName% contains the name of the menu to be enabled or disabled, depending on its current status.
  2. I was not able to identify the feature in options that you referred to. But below is the macro code for the two macros in question. Thanks for your help. <DW 2/27/2010 10:03 PM: Toggle Finance Menu > <COMMENT Value="==============================================="/> <COMMENT Value="MACRO INITIALIZE COMMANDS"/> <VARIABLE SET STRING Option="\x00" Destination="%ME3FILE%" Value="C:\\Dick\\MacroExpress Macros\\MacroExpPro - Home\\WhitePro.mex"/> <MACRO PLAYBACK SPEED Speed="1"/> <KEYSTROKE SPEED Delay="200"/> <CAPS LOCK Action="Off"/> <COMMENT/> <COMMENT Value="==============================================="/> <COMMENT/> <COMMENT Value="TOGGLE FINANCE MENU"/> <COMMENT/> <COMMENT Value="==========================================================="/> <COMMENT Value="MENU NAME STORED IN VARIABLE strMenuName"/> <COMMENT/> <VARIABLE SET STRING Option="\x00" Destination="%strMenuName%" Value="Finance Menu"/> <MACRO RUN Use_ID="FALSE" Name="Menu Toggle" ID="-1" Wait="TRUE" Path="C:\\Dick\\MacroExpress Macros\\MacroExpPro - Home\\WhitePro.mex" _FORE="00000000"/> <COMMENT/> <COMMENT Value="==========================================================="/> <COMMENT/> ====================== <DW 2/27/2010 10:04 PM: Menu Toggle > <COMMENT Value="==============================================="/> <COMMENT Value="MACRO INITIALIZE COMMANDS"/> <VARIABLE SET STRING Option="\x00" Destination="%ME3FILE%" Value="C:\\Dick\\MacroExpress Macros\\MacroExpPro - Home\\WhitePro.mex"/> <MACRO PLAYBACK SPEED Speed="1"/> <KEYSTROKE SPEED Delay="200"/> <CAPS LOCK Action="Off"/> <COMMENT/> <COMMENT Value="==============================================="/> <COMMENT/> <COMMENT Value="This is to toggle Other menu on/off"/> <IF MACRO Option="\x00" Filename="C:\\Dick\\MacroExpress Macros\\MacroExpPro - Home\\WhitePro.mex" MacroName="%strMenuName%"/> <MACRO DISABLE File="C:\\Dick\\MacroExpress Macros\\MacroExpPro - Home\\WhitePro.mex" Name="%strMenuName%" _BACK="00FFFFFF"/> <TEXT BOX DISPLAY Title="Menu Toggle" Content="{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil Tahoma;}{\\f1\\fnil\\fcharset0 Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs16 %strMenuName%\\f1 is being disabled\\f0 \r\n\\par }\r\n" Left="698" Top="45" Width="278" Height="111" Monitor="0" OnTop="FALSE" Keep_Focus="TRUE" Mode="\x00" Delay="0"/> <ELSE/> <MACRO ENABLE File="C:\\Dick\\MacroExpress Macros\\MacroExpPro - Home\\WhitePro.mex" Name="%strMenuName%" _BACK="00FFFFFF"/> <TEXT BOX DISPLAY Title="Menu Toggle" Content="{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil Tahoma;}{\\f1\\fnil\\fcharset0 Tahoma;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs16 %strMenuName%\\f1 is being enabled\\f0 \r\n\\par }\r\n" Left="698" Top="45" Width="278" Height="111" Monitor="0" OnTop="FALSE" Keep_Focus="TRUE" Mode="\x00" Delay="0"/> <END IF/> <COMMENT/> <COMMENT Value="==============================================="/>
  3. I have a macro which either enables or disables a system tray menu. Up until a couple of weeks ago it worked fine. Now when it is run, a system tray menu does not appear, but it shows as enabled. Has anyone had a similiar problem? Dick White
×
×
  • Create New...