Jump to content
Macro Express Forums

kalemaroni

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by kalemaroni

  1. A client of mine is a slow typer and looks at the keyboard as he types. He gets really frustrated when he finds he's typed lots with caps lock on so I wrote this macro on ALT+CTRL+SHIFT+C to copy the selected text and invert the casing: Clipboard Copy Variable Set String %T[1]% from the clipboard contents Variable Set String %T[2]% to "" Variable Set Integer %N[1]% to the length of variable %T[1]% Repeat Start (Repeat %N[1]% times) Variable Modify String: Copy a substring in %T[1]%, starting at %N[2]% and 1 characters long to %T[3]% Variable Set to ASCII Value %T[3]% to %N[3]% If Variable %N[3]% Is Greater Than "64" AND If Variable %N[3]% Is Less Than "91" Variable Modify Integer: %N[3]% = %N[3]% + 32 Else If Variable %N[3]% Is Greater Than "96" AND If Variable %N[3]% Is Less Than "123" Variable Modify Integer: %N[3]% = %N[3]% - 32 End If End If Variable Set to ASCII Char %N[3]% to %T[3]% Variable Modify String %T[2]%: Append Text (%T[3]%) End Repeat Text Type (Simulate Keystrokes): %T[2]%
  2. Some windows just do not acknowledge that I've pressed a macro express activation (I use alt+ctrl+shift+<key>). For example, if Disk Management is in focus, none of them work, which is particularly annoying as I do data recovery and as soon as I see the drive letter I want to hit shift+ctrl+alt+D to prompt me for a drive letter which it will then open immediately in Explorer. Any ideas how to fix this?
  3. I'd love to know how to create a macro dynamically - specifically the type that activates on Window Title becoming active. Please could you share how you did it?
  4. I want to rename the captions (window titles) of certain windows as soon as the title of those windows come into view. At the moment I have a macro that when I hit the hotkey activation it prompts for the new window title and changes the current focused window title to the prompted value. However, when I restart the computer it changes all those window titles back to their original value. My idea was to, when the hotkey is pressed, dynamically create a macro that is activated by the original window title and then changing the title from within that macro. Is this possible?
  5. How do I have Macro Express (using v4.4) continue to run scripts while an informative message is displayed on the screen. Basically, it's a message informing the user that a program will be shut down in 5 mins and whether they are there or not to close the message box it should start the timer and continue to run the script.
×
×
  • Create New...