Tsunami
-
Posts
98 -
Joined
-
Last visited
-
Days Won
3
Reputation Activity
-
Tsunami reacted to alfredclough in [SOLVED] How to fix Text Encoding Error with AppleScript in Workflow
I used NSPasteboard. For reference in case someone else lands here, here's what I used. The first option gets the html version of what's on the clipboard, the second version gets the text (how Alfred returns the clipboard in a workflow). In the first option, you could use other formats (rtf, etc) as per Apple's documentation.
from AppKit import * # Get the current clipboard directly from Mac pb = NSPasteboard.generalPasteboard() # Check if we need html format from the clipboard if ulFormat == "html": cbDirect = pb.stringForType_("public.html") else: cbDirect = pb.stringForType_(NSStringPboardType)
-
Tsunami got a reaction from Misha in [SOLVED] Tiny question about shortcut
Make sure that under System Preferences > Keyboard > Shortcuts > Mission Control, "Switch to Desktop 1" is not mapped to Ctrl+1.
-
Tsunami got a reaction from firatacis in Alfred can't find but Spotlight can
Makes sense, ~/Library is excluded from the search scopes by default.
-
Tsunami reacted to deanishe in Why is the highlighted item displayed again at the bottom of the File Navigation window?
Browse a folder with longer filenames and you'll see.
Alfred only shows filenames of ~25 characters in its main list. The additional display at the bottom serves to display the full filename when it's too long to show completely in the main display.