Jump to content

paulminors

Member
  • Posts

    23
  • Joined

  • Last visited

Posts posted by paulminors

  1. Great workflow, thanks for sharing.

     

    When I tested it out, I'm able to start new recordings etc. However, when I try to annotate or pin an image, I choose the image within Alfred but nothing happens: https://cloud.paulm.in/jfjj4E

  2. It looks like this is exactly what I need. However, I see this thread is a few years old and a lot of users had issues getting it to work. Is the workflow up to date and are there some instructions I can follow to get this working?

  3. I understand in Alfred 4 you're supposed to be able to type an app name like "pages" and then hit the right arrow to see the action list. The same with files, you should see actions to email, copy etc. However, I can't seem to get this to work and I've tried toggling the setting in preferences.

  4. On 10/26/2017 at 9:01 AM, Jkscx said:

    None of the previous solutions worked for me so I tried to craft something myself and it worked! Running it successfully on El Capitan 10.11.6 with Bartender 2.

    I got the code from this StackOverflow answer and converted into a simple Alfred workflow.

     

    Should also work on any Mac (with or without Bartender) as long as Apple doesn't change the Notification Center plist location (I think...).

     

    https://drive.google.com/file/d/0Bx3NCikqzbt5Qm1TdmkwQWFxUkU/view?usp=sharing

    1

     

    Hi, I tried this workflow and couldn't get it to work on MacOS Mojave. Any ideas?

  5. Thanks for the response. However, I can't seem to get it to work. I downloaded the workflow, do I add this script to that workflow, or in a separate one? Here's my script but not sure what I'm doing wrong (I'm not great with Apple Script).

    on alfred_script(q)
      tell application "System Events"
    
        tell appearance preferences
    
            set dark mode to not dark mode
    
        end tell
    
    end tell
    
    tell application "Alfred 3" to set theme "Alfred macOS Dark"
    
    end tell
    end alfred_script

     

  6. Hi, I have a simple workflow I’m to toggle the new Mac OS Mojave Dark Mode on and off.

     

    1. Create a new workflow with a keyword trigger e.g. “dark”.
    2. Set up an action to run an Apple Script:
    tell application “System Events”
    tell appearance preferences
        set dark mode to not dark mode
    end tell
    end tell
    end alfred_script

     

    However, what I’d like to do is customise the script to also toggle Aldred's appearance from "Alfred macOS" to "Alfred macOs Dark" if dark mode is enabled and then switch back to "Alfred macOS" when disabled.

     

    And if anyone knows how I'd love to customise the script to toggle from the dynamic Mojave desktop to the dark version as well.

     

    Any ideas on how I could do this?

  7. 10 hours ago, Vero said:

     

    @paulminors No problem, I've updated the link in the first post :)

     

    You can also grab it here:

    https://www.dropbox.com/s/5h3djhw2thf8xjp/Mail.app Search 3.0.alfredworkflow?dl=0

     

    Cheers,
    Vero

     

    Thanks Vero, that's great! Is there a way to customise this so I could type my search e.g. "emfrom paul" and then hit enter to open Mail.app and go to the search results i.e. search bar is pre-filled with the query?

  8. I'm trying to create a workflow where I type "task {query}" which then sends an email via AppleScript to x@mail.asana.com which would add a new task to my account. I'm struggling with the AppleScript. All I need to do is set the recipient to x@mail.asana.com and subject to {query}. Please help.

     

    Here's my code:

     

    on run {input, parameters}
    set recipientName to "Asana"
    set recipientAddress to "X@mail.asana.com"
    set theSubject to "{query}"
    set theContent to ""
    
    tell application "Mail"
    		set theContent to theContent & (content of msg)
    		set theSubject to theSubject & (subject of msg)
    		set theMessage to make new outgoing message with properties {subject:theSubject, content:theContent, visible:true}
    		tell theMessage
    			make new to recipient with properties {name:recipientName, address:recipientAddress}
    			-- send
    		end tell
    	end if
    end tell
      return input
    end run

     

×
×
  • Create New...