Jump to content

JJJJ

Member
  • Posts

    64
  • Joined

  • Last visited

Reputation Activity

  1. Like
    JJJJ reacted to vitor in System Settings — Open macOS System Settings Panes   
    Usage

    Open System Settings panes via the workflow’s keywords: about, accessibility, airdrop (and handoff), appearance, appleid, battery, bluetooth, control centre, date (and time), desktop (and dock), displays, extensions, family, focus, general, game centre, game controllers, icloud, internet accounts, keyboard, language (and region), lock screen, login items, mouse, network, notifications, passwords, printers (and scanners), privacy (and security), profiles, screen saver, screen time, sharing, siri (and spotlight), software update, sound, startup disk, storage, time machine, touch id (and password), trackpad, transfer (and reset), users (and groups), vpn, wallet (and apple pay), wallpaper, wifi.







    ⤓ Install on the Alfred Gallery | Source
     
  2. Like
    JJJJ reacted to Stephen_C in The hints, tips and tricks thread   
    How to jump directly an action shown in the results of a Universal Action.
     
    When you use a Universal Action on, for example, a selected file in Finder you will see a list of relevant actions. If in fact you regularly wish to see only one of those actions (for example, the Alfred action to move the selected file) you may be able to create a new workflow triggered by a hotkey and link that to and link that to an Action in Alfred action. When you open that latter action in your workflow you will find a Jump to section which, when clicked, reveals the following:
     

     
    Simply choose the action you want—and your workflow will then take you directly to that action. (Note that the actions listed do not cover all possible actions that may appear from use of the Universal Action.)
     
    (With thanks to @JJJJ for reminding me of this!)
     
    See the Alfred help pages for Action in Alfred and Hotkey Trigger.
     
    Stephen
  3. Like
    JJJJ reacted to Stephen_C in The hints, tips and tricks thread   
    This thread is for hints, tips and tricks when using Alfred.

    Please:
        Limit each post in the thread to one relatively short hint, trick or tip.     Don’t use this thread for questions: if you have a question about a post in this thread post your question in this forum with a link to the relevant post in this thread.     If your hint, tip or trick is dependent on use of a version of either Alfred or macOS other than the current version at time of posting please make that clear in your post.     By all means use screenshots if that helps to clarify your post.     Do post a link to the relevant Alfred help page if appropriate.  
    Please contribute—and remember what you find easy or standard when using Alfred may still be unknown to others who might find your knowledge very useful!
     
    Stephen
  4. Like
    JJJJ reacted to Stephen_C in Universal Action Shortcuts   
    @JJJJ thank you - I'd forgotten that!
     
    Stephen
  5. Like
    JJJJ got a reaction from Stephen_C in Universal Action Shortcuts   
    You can do it with a workflow. Just connect a hotkey to "Action in Alfred" and, set "Jump to" to "Move to". It should look something like below.
     

  6. Like
    JJJJ reacted to Stephen_C in Find and replace in clipboard text   
    I am the author of this workflow and the forum link is here. This is the link to the Github main page for the workflow.
     
    The workflow has no dependencies. It may be used either as a Universal Action on selected text:
     

    or, with a user configurable keyword, on text already on the clipboard:
     

    The amended text is copied to the clipboard and may optionally be saved to a temporary file (in a user configurable location).
     
    Stephen
  7. Like
    JJJJ reacted to zbrl in Template File   
    I'm the author of this workflow Main page: https://github.com/zzhanghub/alfred-template-file https://www.alfredforum.com/topic/18246-new-any-type-of-file-or-folder-directly-or-using-a-template/#comment-94647 I think this workflow is very practical and convenient. I use it every day.
  8. Like
    JJJJ reacted to zbrl in Quick Switch   
    I use it every time I download something. It will locate the path of the download box and export box to the recently used finder path.
     
    I'm the author of this workflow Main page: https://github.com/zzhanghub/alfred-quick-switch
  9. Like
    JJJJ reacted to nicooprat in OCR: extract text from snapshot   
    Hi there,
     
    Just sharing my first workflow. Some OCR workflow already exist but are relying on some obscur chinese API with exposed personal credentials... This one use your system own installation of `tesseract`. Just take a snapshot and paste the text. The script usually takes no more than a few seconds.
     
    https://github.com/nicooprat/alfred-ocr
     

     
    PR welcome.
    Hope it helps!
  10. Like
    JJJJ reacted to Jasondm007 in How to add "SEARCH in FINDER" option to fallback searches?   
    @s95hc8 Are you still looking for a way to run a Finder fallback search?
     
    I came across your post today when searching for some help with something else, and I thought you might find the following workflow helpful: 
     
    https://gofile.io/d/dqJ7fx
     
    It's a simplified version of a workflow that I use to run Finder searches. In the past, I used to rely on a hacky GUI based approach, but this one works a lot better. It uses the Spotlight service; so, assuming you haven't deleted it, you should be in good shape. If you're curious, it's the service that pops up when you highlight text and select Spotlight from the context menu. It also doesn't matter what the actual hotkey is for it (System Preferences > Keyboard > Shortcuts > Services > Searching > Spotlight).
     
    Here's the basic setup (fallback search trigger + run script action):
     

     
    And, here's the key AppleScript:
     
    use AppleScript version "2.4" use framework "Foundation" use framework "AppKit" use scripting additions on run argv set theQuery to argv as string set pb to current application's NSPasteboard's pasteboardWithUniqueName() pb's clearContents() pb's writeObjects:{theQuery} set theResult to current application's NSPerformService("SEARCH_WITH_SPOTLIGHT", pb) pb's types() set theArray to pb's readObjectsForClasses:{current application's NSString} options:(missing value) set theString to theArray's firstObject() as text end run # Adapted From: https://forum.latenightsw.com/t/nsperformservice-in-applescript/836  
    Cheers!
  11. Like
    JJJJ reacted to GuiB in Cardhop Workflow   
    I played around with Cardhop and here is a workflow that I made. I wanted to get more time before sending some workflows to the forum to setup a repository and with an auto-update to the workflow, but I didn't have the time yet for that. And since some people mentioned that they would like a workflow for Cardhop, here is one!
     
    Features:
    Keyword "chc" : Search a contact in Alfred and open it in Cardhop Keyword "chs" or hotkey : Send the query to Cardhop. If the query is empty, it tries to get the selection from the front application and send it to Carhop (In short, you can select the contact information on it's website or email and call "chs" from Alfred and the selection should be sent directly to Cardhop). You can use this action to send the selection or pass a string to your Favorites list (alternative to keyword: chf) or to the Cardhop's Actions (alternative to keyword: cha). Keyword "chf" : Send a string from your Favorites list directly to Cardhop (could be used as a Snippets/Bookmarks list to rapidly write a query to Cardhop that you know gives you the right information in it without the need to write it all). Write your list in the Workflow Environment Variables "Favorites" and separated by semicolon (";"). Ex: Call mom home;Mail boss work;facetime Complicated Name;website businessName;/MyTag;Direction dentist... A variable "{q}" could be used to have a placeholder for a string that you want to set just before sending to Cardhop (ex: "Email {q} work" where {q} could be changed to any name at the time that you invoke the workflow). Tip: To directly activate an action in Cardhop, it seems to delay the input until it has done parsing the query, so you can rapidly press Enter a second time when you select an item from your Favorites list in Alfred and it should run the first action that Cardhop returns. Keyword "cha" : Show a list of possible Carhop actions. If arriving to this function using the Send feature (chs), then the selection or query would be appended to the Cardhop action before sending it. Hotkey to Send selection to Cardhop : If you prefer to send the selection directly to Cardhop with a hotkey instead of a keyword Fallback search to send the query to Cardhop : If you want to write the information directly in Alfred without any keyword before. To make it works, you would need to add the Fallback search into the Alfred Preferences at: "Features/Default Results/Setup fallback results/+/Workflow Trigger/Send to Cardhop" External trigger to send a string to Cardhop from an external script. Other external triggers are set if you want to pop the Favorites list or Actions list from an external script. Append/Prepend string : Add a string before or after the main string before sending using a predefined list or any string if the query doesn't match an item in the list (Could be useful to have a list of predefined group/tags) (See "Workflow Environment Variables" and "Navigation" lists below)
    Workflow Environment Variables:
    Favorites List: See keyword "chf" above AppendToSend : Set a predefined list of string to append using the Append feature (ALT key) PrependToSend : Set a predefined list of string to prepend using the Prepend feature (CTRL key)
    Navigation:
    CMD key : Go to the Send feature Actions List (chs) ALT key : Activate the selected item and append extra string (using the AppendToSend list) CTRL key : Activate the selected item and prepend extra string (using the PrependToSend list)  
    Tip: If you want to use Cardhop as the application to open from Alfred when you are viewing a contact with the Alfred Contact Viewer and press CMD+O: Insert "x-cardhop://show?id={uid}" into the Alfred Preferences at "Features/Contacts/Advanced/URL Handler" instead of using "addressbook://{uid}". This should do the same as the keyword "chc" but without the need to write the keyword before searching for a contact and use directly the built-in contact search of Alfred
     
    Download Link (latest version): https://d.pr/f/SX4Sn7
     
    Download Link (older version, latest version using Python 2): https://d.pr/f/rQTPtu
     
    Have fun!
  12. Like
    JJJJ reacted to Stephen_C in Relative Dates   
    OK - you’ve pushed me off the diving board into deep water! 😀 With everything crossed (which, of course, doesn't add survival in the deep water!) the workflow is now available on Github.
     
    Stephen
  13. Like
    JJJJ reacted to cage.chung in Paletter - Extract palette from an image   
    Extract color from an image
     

     
    Features
    Dominates the color palette with k-means clustering support image format: `jpg`, `png`, `gif`, `bmp`, `webp` and `tiff` Local file / base64 image data URI / `http` and `https` image source URL Export palette Code CSS ASE file Image file: Support `RGB` ,`HEX` ,`CMYK` ,`HSL` ,`HSV` ,`HWB` ,`LAB` ,`XYZ` ,`HCG` Copy palette (`⌥ + Enter` Single / `^ + Enter` Multiple) to clipboard `RGB` ,`HEX` ,`CMYK` ,`HSL` ,`HSV` ,`HWB` ,`LAB` ,`XYZ` ,`HCG` Multiple palette mode copy color separated by (`⌥ + Enter`)  
    Requires
    Preferably Alfred 5  
    Configuration
    Number of colors to extract  
    Usage
     

     
    - File Filter / File Action 
    - Hokey
    - Universal Action with Base64 Image Data URI and image URL
     
    Copy Single Color

     
    Copy Multiple Colors

     
    Export Image Sample: Hex

     
    ASE sample Decode result

     
     
    Download / Source Code
    Make sure to download the latest released directly from the releases page. Download here, 
    Source Code https://github.com/cage1016/alfred-paletter
     
  14. Like
    JJJJ reacted to gingerbeardman in Restart applications with force if necessary   
    I've updated this:
    fixes for Python 3 excludes app plugins (any app containing one or more plugins would quit but not restart) bump version number to 3.2 https://www.gingerbeardman.com/alfred/
     
  15. Like
    JJJJ reacted to CWM in keep clipboard history open?   
    Hi all, 
     
    I love Alfred! I have a quick question: is it possible to keep Alfred's clipboard manager open as I select and paste items listed into a document? That would be a big help to me. Is that possible?
     
    Thanks!
     
    Ps. I'm using Alfred 5
  16. Like
    JJJJ reacted to godbout in Wooshy: Window to the Foreground!   
    yes, that's the name of the Workflow.
     
    so i build 2 Mac apps (kindaVim and Wooshy) and for the latter more specifically i want to be able to bring any Window foreground. the Wooshy apps allows you to click anywhere through searching on the Dock, the Menu Bar, and the Frontmost Window. but sometimes the Window you want to get is not foreground and you can't bring it foreground with Alfred. so i made this Workflow.
     
    i saw there are already 2 workflows out there but 1) one is a tad slow to my taste and grabs tabs which i have no interest about 2) another one is way too slow for me to be usable. so here you go: Wooshy — Window to the Foreground!
     
    it's blazing fast. below you can see that you can reach bring stuff front like the Accessibility permission prompt (finally).
     

     
     
    currently it's done for my needs, so it lists the Windows that are visible, not the hidden or miniaturized ones. if you use the Workflow and need those let me know. also it should work with any app but at the same time i've been dealing with the macOS AX for the past two years and i know from experience that there's always some surprise. so please report if you find apps with which it doesn't work. was made in a day so no heavy real life testing yet.
     
    downloadable on GitHub: https://github.com/godbout/WooshyWindowToTheForeground
     
    hope this helps!
  17. Like
    JJJJ reacted to rextender in Is there a way to integrate Bartender 4 with Alfred?   
    With just a little more detail:
     
    Set up a workflow with "Run Script" action, choosing:
     
    Language: /usr/bin/osascript (AppleScript)
    "with input as {query}"
    running instances "Sequentially"
    script:
     
    tell application "Bartender 4"
        quick search with "{query}"
    end tell
     
    I hooked mine up to a Keyword action with keyword: "bar"
     
     
  18. Like
    JJJJ reacted to vitor in Calm Notifications — Toggle Do Not Disturb Focus Mode   
    Figured out a better way to detect Do Not Disturb status. Seems to be both more reliable (does not depend on Menu Bar icon setting) and faster to return state.
     
    Just released a new Workflow version with the change.
  19. Like
  20. Like
    JJJJ reacted to Andrew in Alfred 5 Sneak Peek - Take a look at what's coming in Alfred 5 :)   
    Once Alfred 5 is out and settled, the Alfred Workflow Gallery will be our top priority, including integration directly into Alfred.
     
    The Workflow foundation changes I've made in Alfred 5 pave the way for some really exiting new features (for Alfred 5.1, 5.2 etc). We'll be sharing details in due course!
     
    Cheers,
    Andrew  
  21. Like
    JJJJ reacted to suth in Alfred 5 Sneak Peek - Take a look at what's coming in Alfred 5 :)   
    Would really like to see the workflow gallery a top priority and included as an actual in-app package manager. While the announced changes sound like improvements, they seem to be missing the features (would love customizable detailed result panes in addition to the package manager) that really benefit the user experience in Alfred alternatives.
  22. Like
    JJJJ reacted to stephancasas in Mouseless Messenger — iMessage/SMS Preview and Reply for Alfred   
    Mouseless Messenger
     
    Mouseless Messenger offers you rapid keyboard-driven access to send and read conversations in the macOS Messages app via Alfred — all without ever interacting with the Messages app.
     
    Click Here to Download the Latest Release
     
    Installation
    Before the workflow can be used, you'll need to provide Alfred with Full Disk Access privileges via System Preferences:
    Open System Preferences Choose Security and Privacy Choose Privacy Select Full Disk Access Unlock the 🔒 in the bottom left corner. Enable the checkbox for Alfred. If unavailable, use the ➕ button to add Alfred.  
    ⚠️ Privilege Escalation
    Full Disk Access is used to provide Alfred with access to the Messages database. However, by providing Alfred with this access, you are providing ALL Alfred workflow with access — not just Mouseless Messenger.
     
    Be sure you trust your installed workflows before allowing this.
     
    Usage
    The workflow is triggered by the keyword msg. On run, you'll be provided with the your eight (8) most recent conversations in the Messages app.
     
    To preview a message thread, press the SHIFT key while a conversation is selected. Press it again to dismiss the conversation preview. To reply to a message thread, press the ENTER or RETURN key while a conversation is selected, then type your reply in the provided input space and press ENTER to send it.  
    In order for the message to send, the Messages app must be running in the background. The window doesn't need to be in the foreground (or even visible), but the app itself must be running.
     
    Support the Workflow
    I built Mouseless Messenger because I code all day and don't like to take my hands off the keyboard. If you find it useful, please consider buying me a coffee so that I can keep building cool things like this.
     
    If you have a feature you'd like added, or an issue which needs attention, please open an issue on GitHub.




  23. Like
    JJJJ reacted to crs in Pinning Clipboard Viewer   
    this would be very helpful! 
  24. Like
    JJJJ reacted to AntonioRuiz in Pinning Clipboard Viewer   
    +1
     
    This would be very helpful when working on extremely repetitive copy-paste tasks.
     
    Maybe, an option could be to trigger this behaviour using the ⌥ key, as JJJJ mentioned. But, if the clipboard viewer has to close to trigger the focus change, using ⌥ would reopen automatically the clipboard viewer, removing the need to use the shortcut again.
     
    Would that be possible?
  25. Like
    JJJJ reacted to Vero in Alfred 5 Sneak Peek - Take a look at what's coming in Alfred 5 :)   
    We've just published the first sneak peek of Alfred 5's features!
     
    Creating workflows will be faster, more user-friendly and accessible than ever with Alfred's new Palette, Prefabs, Automation Tasks and a totally revamped Workflow Editor. 
     
    Early Access begins later this month. We can't wait to share this new release with you!  
     
    https://www.alfredapp.com/alfred-5-whats-new/
     
    Feast your eyes on the new Workflow Editor with all the goodness that will make creating workflows even more efficient!
     

×
×
  • Create New...