Jump to content

Sridhar Katakam

Member
  • Posts

    83
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Sridhar Katakam

  1. You are right.

     

    The proper way would be running a bash script along the lines of

     

    ```

    ditto -c -k --sequesterRsrc --keepParent "$@" "$(dirname "$1")/Archive.zip"

    ```

     

    but I'd like the zip file's name to be the file/folder name if the input is a single file/folder and "Archive.zip" if the input has more than 1 item.

     

    Not sure how to code that part.

     

    In the meantime, I've installed the free Keka app and it does the job.

  2. Hi. I am trying to pass selected file(s)/folder(s) from Alfred's File Search to a custom Shortcut that uses the "Make Archive" action.

     

    Shortcut:

     

    image.thumb.png.aca09898ce0289387a89c44776756fd4.png

     

    Workflow:

     

    image.png.9c5409c2a0d49dc156b861117c2bc7da.png

     

    image.thumb.png.70af5409c1cc97594c7c4ad281bb1104.png

     

    image.thumb.png.5607ebd23874582dbec4840e27025a2e.png

     

    The expectation is that if I select say, a folder in Alfred's file search results and I bring up the action panel and select "Zip" it should generate a zip file having the same name as the folder. Atm, nothing happens.

     

    Any help is appreciated.

     

    Thanks in advance.

  3. This may be a Chrome question rather than a Alfred question.

     

    I am trying to open a Chrome bookmarklet via Alfred (tried both as a Web Search and a custom workflow using Automation Task) and it shows this kind of prompt for each domain:

     

    image.thumb.png.021988dc8e9022bf2fa9f8a43937c20f.png

     

    Does anyone know a way around this to suppress these?

     

    Thanks in advance.

  4. Get these above the copied text:

     

    Deprecated: Implicit conversion from float 26.293248036859712 to int loses precision in /Users/sridharkatakam/Library/Mobile Documents/com~apple~CloudDocs/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C6A59FFF-2BC0-4534-AE04-9524798EA5E8/lib/LoremIpsum.php on line 138
    
    Deprecated: Implicit conversion from float 27.211744218534562 to int loses precision in /Users/sridharkatakam/Library/Mobile Documents/com~apple~CloudDocs/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C6A59FFF-2BC0-4534-AE04-9524798EA5E8/lib/LoremIpsum.php on line 138
    
    Deprecated: Implicit conversion from float 29.565581188953264 to int loses precision in /Users/sridharkatakam/Library/Mobile Documents/com~apple~CloudDocs/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C6A59FFF-2BC0-4534-AE04-9524798EA5E8/lib/LoremIpsum.php on line 138
    
    Deprecated: Implicit conversion from float 26.374212109504338 to int loses precision in /Users/sridharkatakam/Library/Mobile Documents/com~apple~CloudDocs/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C6A59FFF-2BC0-4534-AE04-9524798EA5E8/lib/LoremIpsum.php on line 138
    
    Deprecated: Implicit conversion from float 27.043958976941635 to int loses precision in /Users/sridharkatakam/Library/Mobile Documents/com~apple~CloudDocs/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C6A59FFF-2BC0-4534-AE04-9524798EA5E8/lib/LoremIpsum.php on line 138
    
    Deprecated: Implicit conversion from float 24.748645167314802 to int loses precision in /Users/sridharkatakam/Library/Mobile Documents/com~apple~CloudDocs/Alfred/Alfred.alfredpreferences/workflows/user.workflow.C6A59FFF-2BC0-4534-AE04-9524798EA5E8/lib/LoremIpsum.php on line 138

     

  5. Sure.

     

    Example 1

     

    Let's say I want to share some text on a webpage with someone. With LaunchBar, I can select the text, press a designated hotkey (⌥ in my case) and have it invoke LB with the selected text.

     

    502464943_CleanShot2021-08-09at10_09.38@2x.thumb.png.9087309bc0c62faffed9a027d6517309.png

     

    Then I begin typing the name of any app installed on my computer to which I can send text - in this case, Droplr and hit return to have the ready-to-be-shared URL in the clipboard.

     

    1765739581_CleanShot2021-08-09at10_10.35@2x.thumb.png.40cfeadb281853c93f5a254ff42b02bd.png

     

    Example 2

     

    Let's say I am writing some code in Sublime Text and I wanted to read more about a particular function. I select the function name, press ⌥ and begin typing 'd' and hit ↵ to send it to Dash where I can look up its documentation or in Google etc.

     

    1047444165_CleanShot2021-08-09at10_14.35@2x.thumb.png.ce6d1973a5edee5713bc4d40d1bb3e99.png

     

    1739336487_CleanShot2021-08-09at10_15.11@2x.thumb.png.63982ff4828dafa58c056e88c36d9549.png

     

     

    https://nostodnayr.net/2019/05/summon-and-send

  6. I would like to select some text on a webpage, press a hotkey and send it as input to apps that accept text input.

     

    Ex.: Select the text "enqueue" on a page, press ⌥⌘\ and when Alfred comes up, start typing "das" and when Dash appears in the list, hit return to search my selection in Dash.

     

    Ideally I should not have to hard-code or specify Dash to some list manually but should be able to send to any installed app.

     

    Is this possible?

     

    Thanks in advance.

  7. On 7/17/2021 at 11:08 AM, GuiB said:

    @kagi, I don't know if you've read all the posts above, but @Andrew added the possibility to pop the "open with" action directly with the latest beta update (called "Jump to" in the "Action in Alfred" workflow object). So, if you want to use it right away you can do it!

     

    Here is an updated version of my workflow I gave you, but with this new feature: https://d.pr/f/Qb4Pn2

     

    Hi,

     

    I am trying to see if Alfred can replace LaunchBar's Instant Send feature for me and this makes it one step closer. Thank you.

     

    Is it possible to set the trigger key for this workflow to be a single press of ⌥? I tried it but it doesn't appear, so had to settle with double ⌥.

×
×
  • Create New...