vitorgalvao / alfred-workflows

Collection of Alfred workflows
BSD 3-Clause "New" or "Revised" License
2.44k stars 167 forks source link

nspasteboard.ConcealedType #107

Closed appleboblin closed 4 years ago

appleboblin commented 4 years ago

Setup info

Description of issue

Hi, I'm new to Alfred and writing workflow. I'm currently trying to convert pbcopy into nspasteboard so I can add the tag "ConcealedType" so the password generated will not be logged in Alfred clipboard history (nspasteboard.ConcealedType). I've been trying but failing as this is my first time playing around with Alfred workflow and nspasteboard. I'm wondering if you know any solutions or workarounds. New to coding in general. Thanks for your help and contribution!

Debugger output

N/A

vitorgalvao commented 4 years ago

For that you’ll need to use an Objective-C bridge, likely through AppleScript or JXA. To make that fit into the Workflow it would require big changes that are out of scope for its goals (it was one of the first Workflows I’ve made), though I guess I could consider a PR.

Try the JavaScript for Automation Cookbook or Ask Different.