Magpie + Clipboard Inserter overlay setup

(~30 steps)

Problems:

  • Annoying to setup for the first time.
  • You will be seeing two cursors. A larger cursor for the game and a regular cursor for the overlay.
  • Your mouse is not confined to the game window which means that you can accidently click a random window outside the game window.
    You can use TSolidBackground to block these clicks if you want (don't change the Alt+T keybind)
  • [Notebooks only] On some notebooks color transparency might not work on a browser that has hardware acceleration enabled. That setting is carried between profiles so its better to just use a seperate (portable) browser. Also try running the browser with integrated graphics.

Instructions:

  1. Download the zip and extract the folder somewhere (keep the folder name ClipboardInserter for auto url detection)
  2. Install Autohotkey.
  3. Open a working chromeless clipboard inserter page with the following steps:
    (These instructions are for chromium browsers (e.g. vivaldi). On Firefox you need to use a seperate profile with userChrome.css modifications to get a fullscreen chromeless browser)

    1. Install this modded clipboard inserter extension (for auto url detection)
    • Manage the extension and enable "allow access to file URLs"
    • (recommended) Modify extension options for better performance:
      i. Element name: pre
      ii. Container selector: #textlines
      iii. Timer interval: 200
      iv. Detect url containing: ClipboardInserter
      v. Use prepend instead of append: Enabled
    1. Open "Clipboard Inserter Overlay Mode.ahk" with your text or code editor.
    2. Scroll down to the block that starts with "customStart1:" and update the Run line according to your environment.
    3. Run the ahk script, right click its tray icon and select Start Clipboard Inserter (Chromeless)
    4. You should now have a working chromeless clipboard inserter page.
  4. Setup the chromeless clipboard inserter page:
    • Set auto scroll to top (↑ button)
    • Enable overlay mode hotkey in the settings menu (🔧 button)
  5. Setup Magpie for overlay mode (instructions are for Magpie v0.8.2):
    1. Copy Magpie to another folder and use the new folder if you want to keep your old settings and use Magpie normally.
    2. Change the magpie zoom "Hotkey" from F11 to something else (or don't)
    3. Settings > Application tab: Enable "Restore fullscreen when source window regains focus"
    4. Settings > Zoom tab: Disable "Adjust cursor speed while zoomed" and disable "Confine the cursor in 3D games"
    5. Settings > Zoom tab: Set "Zoom factor of the cursor" to "1.25x" and "Interpolation mode" to "bilinear"
    6. Settings > Advanced tab: Enable "Show debugging options" and enable "Breakpoint mode"
  6. Open "Clipboard Inserter Overlay Mode.ahk" with your text or code editor.
    • Under "--- Window Hooker Options ---" replace "GAME TITLE" with the window title of your game. This can be a partial match.
  7. Run the ahk script or restart it.
  8. While the chromeless clipboard inserter page is active, press the following keys:
    • Ctrl + Alt + 8 (enables always on Top)
    • Ctrl + Alt + 9 (enables color transparency)
    • Ctrl + Alt + 0 (enables overlay mode ☯)
    • F11 (makes the chromeless window fullscreen)
  9. Right click the tray icon of the ahk script and click "Show Hooker Menu" and then click "Start Hook".
  10. Use your Magpie hotkey to zoom the game.
  11. Done.

If you have done everything correctly, you should now have a transparent Clipboard Inserter overlay on top of Magpie.
You can interact with the overlay and use Alt + Tab to switch to another window and back.

If you are using yomichan, set the security option "Use a secure container around popups" to off or the auto-hide functionality won't work.

Use the ↑/↓ arrows near the copy button to move between the lines.
Toggle the Text Visibility button if you want to hide the text until you need it. You can hover the same button to temporarily show the text until a new line is added.
You should also hover each button on the page to read its description.

Extra info

Auto-hide Yomichan popups feature:

  • For this feature to work, you need to configure the following yomichan setting:
    • Set the security option "Use a secure container around popups" to off
  • This feature is enabled by default.

Keyboard shortcuts:

  • Alt + S: Toggle Editing
  • A few more shortcuts can be enabled in the settings menu.

Recommended Fonts:

Edit

Pub: 08 Apr 2022 19:04 UTC

Edit: 29 Jul 2022 07:52 UTC

Views: 685