Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QueuePaste

QueuePaste Logo

macOS Swift License: MIT

Why

I work as an automation assistant on campus. I often need to paste a list of names one at a time—about 1000+ names a day. While there are options to automate uploads with Selenium among others, student data security matters more, and the database is locked from external automation.

QueuePaste lets me copy whole lists at once, then use ⌥ Space to paste each item into the target database search tool, one at a time.

It took a 2-hour data entry task down to 20 minutes—roughly a speedup.

copy → switch app → paste → repeat
Every context switch costs focus and time. Multiply that by a thousand names.

QueuePaste removes that loop: load your list once, then one hotkey advances through each item sequentially into any app.


QueuePaste is a native, lightweight, and highly performant utility for macOS designed to sequentially paste items from a loaded list across any target application with a single global hotkey. It is engineered with robust security, state preservation, and zero-context-switching in mind.

QueuePaste was built to eliminate the repetitive strain and error-prone nature of copying and pasting hundreds of text payloads repeatedly into target applications (e.g., rigid databases, internal campus portals, and restricted CRM platforms) that do not support automated API integration.


Key Features

  • Global Execution: Seamlessly register ⌥ Space across macOS to securely advance paste buffers in any foreground application.
  • HUD (Heads-Up Display): A frictionless, non-intrusive floating NSWindow built securely above standard software layers. It persists target tracking without stealing key focus.
  • Deep System Integration: Leverages raw CGEvent synthesis coupled with NSPasteboard automation for guaranteed accuracy.
  • State Continuity: Built-in fault tolerance. Queue sequences and pointer indexes are atomically sequenced into UserDefaults, ensuring zero data loss during application restarts or crashes.
  • Data Ingestion: Instantaneous processing of raw multi-line Strings and comma-separated .csv structures.

System Architecture

QueuePaste adheres strictly to the MVVM (Model-View-ViewModel) architectural pattern, leveraging Apple's modern concurrency paradigms (@MainActor) and the Swift 5.10 @Observable macro to power real-time UI synchrony.

Sub-Domain Documentation

For an engineering deep route into the internal mechanisms of this engine, please consult the directory-level Readmes:


Getting Started

Prerequisites

To compile and execute this macOS binary, your environment must meet the following criteria:

  • macOS: version 13.0 (Ventura) or later.
  • Xcode: version 15.0 or later (with macOS SDK 14.0+).
  • Swift: version 5.10.

Build Instructions

  1. Clone the Repository:

    git clone https://github.com/tmarhguy/QueuePaste.git
    cd QueuePaste
  2. Open the Project: Locate and open the Xcode Project file (QueuePaste.xcodeproj) to instantiate the workspace.

    open QueuePaste.xcodeproj
  3. Compile & Run:

    • Select your valid local internal Mac hardware as the active run destination.
    • Execute Product > Run (⌘R).

Permissions and Accessibility

Due to the nature of global hotkey interceptions and keystroke simulations, QueuePaste fundamentally relies on macOS Accessibility frameworks. Upon initial invocation of the global execution hotkey (⌥Space), the application will transparently prompt standard OS security dialogs to grant authorization.

If this bypasses silently, engineers can enforce the configuration via: System Settings > Privacy & Security > Accessibility > [Toggle QueuePaste On]


Visual Tour

QueuePaste is composed of lightweight utility panes.

Foundation Loading

Start Page Example List

Execution Monitoring Layer

Queue Page HUD Overlay

Global Context Management

Control Page


Deployment & Distribution

Download (current release)

Pre-built macOS disk image:

Open the DMG, drag QueuePaste into Applications, and launch from there. On first run, macOS may show Gatekeeper prompts depending on notarization and your security settings.

Install from the terminal

  1. Homebrew

    brew tap tmarhguy/queuepaste https://github.com/tmarhguy/QueuePaste
    brew install --cask queuepaste
  2. curl

    curl -fsSL https://raw.githubusercontent.com/tmarhguy/QueuePaste/main/install.sh | bash

Build a DMG locally

The repository includes build_dmg.sh, which archives the Xcode project and packages QueuePaste.app into a DMG using create-dmg (brew install create-dmg). You need a valid Apple Developer signing setup for archive/export steps to succeed on your machine.

QueuePaste is also distributed as source for engineers who prefer to build in Xcode (see Build Instructions above).


License

This architecture is released securely under the MIT License. See LICENSE for categorical declarations.


About the Author

Hi, I'm Tyrone Marhguy (Penn Engineering '28). I build systems from first principles. Whether designing discrete-transistor ALUs with 3,400+ transistors, routing ASIC tapeouts, or architecting 3D websites and native macOS software, my goal is to bridge the gap between raw silicon and elegant desktop utilities.

LinkedIn Email Portfolio GitHub

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages