ChatGPT 5 made an extension for me. Give it a whirl. It seems to help if you refer it to the page giving instructions (PopClip Extensions Developer Reference) for making the extension as examples of the exact output helps it to understand what you want.
Iāve spun your post to its own topic. Iāve tried in the past with mixed success. A lot of the time , the AI has got things completely wrong and made up fields and that donāt exist. Then people ask me whu they donāt work . I noticed GPT-5 seems to be much better but still needs guidance. I think a well written starter prompt with good examples would do wonders for its capability. This maybe people can use this thread to share ideas/tips.
Hereās a ChatGPT 5 exchange where I had it reference Snippets ā PopClip Developer and Extensions ā PopClip. Iām sure you can immediately see if it is on or off the mark.
PopClip Extensions: Writing Tools, Shortcut Trigger, and Snippet Install
This guide compiles answers from a chat starting at the question āCan you write a PopClip extension that opens the macOS writing tools?ā through the end of that thread. It includes three practical ways to use PopClip: a Dictionary extension (as a proxy for macOS writing tools), a shortcut-sending extension for āā„ā§W, and a oneāblock PopClip snippet you can select and install instantly.
1) Open macOS Writing Tools via Dictionary (practical proxy)
macOS doesnāt expose a single universal API to open āWriting Toolsā directly. A reliable alternative is to open the selected word in Dictionary.app via the dict:// URL scheme.
Steps:
Ā· Create a folder named: OpenInDictionary.popclipext
Ā· Inside it, create a file named: Config.plist
Ā· Paste the following XML, save, then doubleāclick the folder to install.
Config.plist:
<?xml version="1.0" encoding="UTF-8"?> identifier com.yourname.openindictionary name Open in Dictionary icon š description Open selected word in Dictionary.app requirements text actions title Dictionary shell script open "dict://%text%"Notes:
Ā· This works anywhere PopClip can read selected text.
Ā· You can change the icon or name as you like.
2) Send the āā„ā§W shortcut from PopClip
Use AppleScript via System Events to simulate the keypress. Ensure System Events has Accessibility permission in System Settings ā Privacy & Security ā Accessibility.
Steps:
Ā· Create a folder named: SendCmdOptShiftW.popclipext
Ā· Inside it, create a file named: Config.plist
Ā· Paste the XML below, save, then doubleāclick the folder to install.
Config.plist:
/** Config.plist **/
<?xml version="1.0" encoding="UTF-8"?> identifier com.yourname.sendcmdoptshiftw name Press āā„ā§W icon ā description Simulate Command+Option+Shift+W requirements text actions title Send Shortcut shell script /usr/bin/osascript -e 'tell application "System Events" to keystroke "w" using {command down, option down, shift down}'Notes:
Ā· Change āwā to another key if needed.
Ā· You can add multiple actions (titles + scripts) inside the actions array.
3) Oneāblock install with a PopClip snippet
PopClip can install an extension directly from selected text if it starts with PopClip and is valid YAML (⤠~5000 characters). Select the whole block below and click āInstall Extensionā in PopClip.
Snippet:
PopClip
name: Send Cmd Opt Shift W
icon: ā
key combo: command option shift W
What each field means:
Ā· name ā label shown in PopClip.
Ā· icon ā any emoji or text glyph.
Ā· key combo ā builtāin āKey Pressā action; list modifiers (command, option, shift, control) then the key.
Tips:
Ā· Multiple actions: use an actions: list instead of a single key combo.
Ā· Distribution: paste the snippet in a post or emailāothers can select and install instantly.
Ā· File method: save as Something.popcliptxt and doubleāclick to install.
Nah, thatās not good.
I had a go at making a single text prompt with guidance for the LLM aimed at making snippets in the modern format rather than putting XML into .popclipext folders like that.
Try this prompt by copying and pasting it into your LLM of choice:
There is much room for improvement Iām sure, but it seems to work fairly well for simple stuff.
Exactly what I was looking for.
Thank you!