Jump to content
Macro Express Forums

Samrae

Members
  • Content Count

    407
  • Joined

  • Last visited

  • Days Won

    20

Posts posted by Samrae

  1. It looks like there is a difference between a Floating menu and a Popup menu.

    When I click to choose the Menu Style for a popup menu I see:

    Quote

    Icons - Horizontal
    Icons - Vertical
    First Part of Macro
    Nickname and Scope
    Windows Default

    When I click to choose the Menu Style for a floating menu I see:

    Quote

    Icons - Horizontal
    Icons - Vertical
    First Part of Macro
    Nickname and Scope

    It looks like the "Nickname and Scope" choice is only available for a Popup menu.

    • Like 1
  2. How would you activate each macro? It may be possible to do a <CTRLD> in one macro and <CTRLU> in another but if your macros used keys for activation then it would not work. You may not be able to activate the second macro if the control key was down.

    I do not know if it will work but here is something to try:

    Ctrl / Right arrow keys down

    Text Type (Simulate Keystrokes): <CTRLD>
    Text Type (Simulate Keystrokes): <KEYD:VK_RIGHT>

    Ctrl / Right arrow keys up

    Text Type (Simulate Keystrokes): <CTRLU>
    Text Type (Simulate Keystrokes): <KEYU:VK_RIGHT>

     

  3. OT:

    Cory, From what I read the problems with 1809 were not caught by the Windows Insider Program and were distributed with the general release. And no, the problems did not affect millions of computers but they did affect 10s or 100s of thousands. Article about 1809 bugs.

    The articles I have read did not say that the Check for Updates has anything to do with the Insider Program. They say that Microsoft can tell if users click Check for Updates and give priority to them for installing new updates. Those authors are recommending that we do not manually click "Check for Updates". See  here here, and here.

    In general I agree with you about the importance of updating. However, sometimes it is not possible due to practical reasons.

    I am the administrator of 14 computers in 3 separate buildings. Of these 5 are still running Windows 7 because they would not update to Windows 10. They will have to be replaced, probably sometime after next January when Microsoft stops patching Windows 7. The remaining 9 are running Windows 10. Two of those have successfully updated to 1809. The other 7 remain on 1803. We have spent hours trying to get them to update to 1809 but Microsoft is not even offering that update for those computers.

    In my home office I have 5 computers. One still runs Windows 7 because it would not update to Windows 10. Only the two newest computers have successfully updated to 1809.

    One laptop is still running Windows 10 1703. Periodically it starts downloading an update slowing the computer so much it is unusable. Then it proceeds to install the update. It fails after a couple of hours and then reverts back to the previous version of Windows. And then it repeats the process. After spending hours on the phone with Microsoft they said to reformat the drive. It will take literally days to rebuild that computer. I'm not even sure where all the license keys are for all the software on it. It would be better to replace that computer. I am waiting until I can afford (both in price and time) to buy a new one. In the meantime I use Macro Express to watch for the update process and kill it.

    All of these computers that will not update are working great for their intended purposes. Neither I nor the organization I work for can afford to replace all those computers at this time. So, we practice safe computing with firewalls, security software, safe policies but cannot update Windows.

  4. 12 minutes ago, Cory said:

    You're way behind on your Windows version. You missed the fall update to 1809. That also means you might be missing many post 1809 updates. Many security and stability issues were fixed since your version. 

    Only a couple months before the spring update. 

    OT: The Windows 1809 was very buggy. It was released and pulled a couple of times. It was supposed to be released in September (09) but was not re-released until November. Microsoft has fixed some of the major issues but some bugs remain. I have several machines that are not even offered 1809.  I have read that the Windows update looks for certain hardware and may not offer specific updates if the updates are not compatible with the computer.

    Another interesting thing is that researchers discovered that if you click "Check for Updates" in Windows 10 you may be offered updates sooner than others.  The most recent advice is "Do not click Check for Updates" to allow others to beta test Microsoft's updates/patches.

  5. I'm not sure if this is still the case but some years ago when I tried to use Dragon with Macro Express it would not work. There was something in Dragon that prevented access to other macro programs. At the time Dragon offered a more expensive version that did allow it to interact with Macro Express.

    To run macros Macro Express uses the Windows Hooks. Use of the hooks works if all programs using the hooks properly cooperate. However, some programs intentionally interfere with the hook chain. You might try clicking Tools, Restore Keyboard and Mouse Hooks from within Macro Express after Dragon is loaded.

    Another thing to try would be to run Macro Express as Administrator.

  6. The problem is the "&amp;" portion of the URI. When you copy and paste the URI remove "amp;" and it will work. In my browser the link looks like this:

    https://pgmacros.invisionzone.com/topic/8188-using-in-variable-value/?do=findComment&amp;comment=28565

    but if I right click and click on Copy Link Location (in Firefox) the link that is copied is:

    https://pgmacros.invisionzone.com/topic/8188-using-in-variable-value/?do=findComment&comment=28565

    Note that &amp; is converted to &.

    When I click on the link it works correctly. It is likely that this is caused by one of the programs you are using (email client and/or browser).

  7. The odd characters in the first record are there to identify the type of encoding used in the file. To avoid this try to save the .csv file in a different format, perhaps UTF-8. The format to use may or may not be shown as UTF-8. In my (older) version of Excel there is an option to save a file with the format "csv (MS-DOS)(*.csv)".

    If you are unable to change the format when creating the .csv file you could use the Variable Modify String commands to removed those characters.

  8. This may get you started. This assumes the number in the field is highlighted.

    Clipboard Copy
    Variable Set Integer %Value%: Set to the Clipboard Value
    Variable Modify Integer: %Result% = %Value% - 1
    <CLIPBOARD COPY/>
    <VARIABLE SET INTEGER Option="\x0C" Destination="%Value%"/>
    <VARIABLE MODIFY INTEGER Option="\x01" Destination="%Result%" Value1="%Value%" Value2="1"/>

     

  9. 2 hours ago, rberq said:

    As far as I know, you can't change the value within an already-displayed text box, so it has to be closed and a new box displayed for each time change. 

    If you choose the 'Floating box until "Close Box" or end of macro' option in Text Box Display you can use the 'Update Textbox' comand later in your macro.

    To see how this works check out the "Show Macro Progress" macro in the samples.mex macro file.

  10. On 7/6/2018 at 7:48 PM, nkormanik said:

    Should one create a new key?  String value?  Binary value?  DWORD?

    Yes, create a new key. Use DWORD in the registry value and use a Decimal Macro Express variable.

    On 7/6/2018 at 7:48 PM, nkormanik said:

    The variable, "", is not a valid variable. Please use a variable of the following type:

    This means you did not enter a variable name. Enter the name of a Macro Express variable. Be sure to create a Decimal variable.

    On 7/8/2018 at 5:40 AM, rberq said:

    If you are going to use a variable, why not skip the PLAYBACK SPEED command and use the variable directly in the DELAY command? If the variable is to be modified in a second macro, read the help screens on global vs. local variables to make sure the modified value is carried over from one macro to the other. 

    A Macro Express "Global" variable is only global to a single macro thread. In other words, to a specific macro and any macros launched by that macro via the Macro Run command. A variable set or changed in a secondary macro will not affect a variable in the primary macro, even if the variable name is the same.

    As suggested previously, to do what you want you will need to create a secondary macro that modifies and stores the value in an external location such as a file or the registry. The primary macro will need to read the value from the external location.

  11. 6 hours ago, nkormanik said:

    Do you prefer saving the MacSpeed number into the Registry?  Why?  Is there an alternative, like, for instance, just the clipboard?

    I am comfortable with the registry. It may be a bit more efficient than file I/O. But, as rberq said, it doesn't really matter where you store it. What have you tried? How did it work out?

    6 hours ago, nkormanik said:

    How would one get the changed MacSpeed number into the Registry?  A normal registry key file?

    Uh, put a "Write Registry Value" command in your second macro.

  12. Yes, you can initiate another macro while the first one is running. The idea is to have your main macro read a value from the registry and adjust the playback speed.

    Something like this:

    Read Registry Value "HKEY_CURRENT_USER\Software\Insight Software Solutions\Macro Express 4\$Temp\MacSpeed" into %MacSpeed%
    Macro Playback Speed: %MacSpeed%
     
    // Do something
    Delay: 0.5 seconds
     
    Read Registry Value "HKEY_CURRENT_USER\Software\Insight Software Solutions\Macro Express 4\$Temp\MacSpeed" into %MacSpeed%
    Macro Playback Speed: %MacSpeed%
     
    // Do something else
    Delay: 0.25 seconds

     

  13. Try this:

    Variable Set From Misc:  "Installation Path" into %Path%
    Variable Set String %Path% to "%Path%\macedit.exe"
    Program Launch: "%Path%" (Normal)
    <VARIABLE SET FROM MISC Destination="%Path%" Value="Installation Path"/>
    <VARIABLE SET STRING Option="\x00" Destination="%Path%" Value="%Path%\\macedit.exe" NoEmbeddedVars="FALSE"/>
    <PROGRAM LAUNCH Path="%Path%" Mode="\x00" Default_Path="TRUE" Wait="1" Get_Console="FALSE"/>

     

  14. When I press the Ctrl+Alt+Shift+W shortcut the Macro Express Pro Explorer window comes up in about 1 second. It is so quick it is hard to measure. I currently have 23 macro files open with over 2080 macros (many are disabled). My computer is not new, around 9 years old, running Windows 7. Norton Internet Security is running and presumably scans all 23 macro files when the Macro Express Pro Explorer loads them.

  15. The toolbar settings are stored in the registry.  In previous versions of Macro Express Pro the toolbar settings were located here:

     HKCU\Software\Insight Software Solutions\Macro Express 4\Toolbars\Editor

    However in later versions of Macro Express Pro the toolbar settings are located here:

    HKCU\Software\Insight Software Solutions\Macro Express 4\$Temp\Toolbars

    Other temporary values stored in the $Temp are the window sizes and positions (...\$Temp\Windows), things you have searched for in the Script Editor or Macro Explorer (...\$Temp\Search History), settings relating to the grids found in various dialogs, and the last path used when browsing for files from different dialogs (...\$Temp\Paths).

    To restore Toolbars to their default positions right-click on the M icon in the Notification Area, click Tools, and then click Restore Toolbars. Similarly clicking M, Tools, and Restore Window Positions will reset the size and positions of a bunch of dialog windows. Whenever I do this I first close all the visible parts of Macro Express (Script Editor, Menu Builder, and Macro Explorer).

    But, if I recall correctly the default location for the toolbars looks like the image you shared where the Save and Close toolbar is on a different line than the Test Run toolbar. It seems to me that after resetting the toolbars I always have to drag the Test Run toolbar up next to the other toolbars.

  16. Do you have any macros with multiple activations? If a macro has more than one activation, a hotkey and a shortkey for example, then the activation is displayed as "Multiple".

    To find the macro I would disable half of the macros and see if the we- still activates the macro. Repeat until the macro no longer runs. Enable macros until the activation starts to activate the macro.

    To see if another macro tool is running you can terminate or suspend Macro Express. To suspend Macro Express click the M icon in the Notification Area and then Suspend Macro Express.

×
×
  • Create New...