Jump to content

rknightuk

Member
  • Posts

    41
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Sad
    rknightuk got a reaction from TomBenz in Agenda - Reminders and Calendar Events workflow   
    Folks I am retiring this workflow - I don't have the time to put into fixing the bugs, or the permissions issues, and frankly I just don't use it myself any more. 
     
    The workflow will still be available in the same place but I won't be attempting to fix any of the existing issues.
  2. Like
    rknightuk got a reaction from Alan He in (5.5 beta) Grid view as script filter output   
    Yeah absolutely I will (if I can remember how to do an update)
  3. Like
    rknightuk got a reaction from Rad in Gif Search   
    Author: Me
    Github: https://github.com/rknightuk/alfred-workflows/tree/main/workflows/gifsearch 
    Dependencies: none
    Icon: https://github.com/rknightuk/alfred-workflows/raw/main/workflows/gifsearch/src/icon.png
    Screenshot: https://github.com/rknightuk/alfred-workflows/raw/main/workflows/gifsearch/src/screenshot.png
  4. Like
    rknightuk got a reaction from vitor in Findmoji   
    You're absolutely right and I'm kicking myself now for making it so much more difficult that it needed to be. Both this and HTTP codes have been updated to 1.0.1 used `cat` on the JSON instead of mapping it for no reason.
     
    Thanks Vitor, appreciate your help.
  5. Like
    rknightuk got a reaction from vitor in Agenda Workflow   
    That makes sense, thanks for getting back to me.
     
    The unsigned binary is a problem (and always has been with it) and I don't see that happening any time soon.
     
    Anyway, I'll get some of my other workflows updated and submitted soon.
  6. Like
    rknightuk got a reaction from gohoyer in Agenda - Reminders and Calendar Events workflow   
    This is a complete re-write and merging of my Reminders and Calendar Events. I realised having used it for a while that it was madness having two workflows for what solving essentially the same problem "What do I need to do today?". Also, I've learnt a lot about workflow development in the past few weeks and some of the code was pretty hacky when Alfred has features to solve some of the problems I was trying to get around. This is Agenda.
     
    Download Agenda - Reminders and Calendar Events workflow
     
    Note: On first run you will need to open system preferences > security and privacy to allow apps from an unknown developer and also allow access to reminders and calendars.
     

     
    Today Overview and Upcoming
     
    Shows all events and reminders for today or the next X days (5 days default, change in settings) respectively. From here you can:
     
    Mark reminder as complete View reminder in Reminders (cmd and select) View event in Calendar or Fantastical Open an overview in your browser - this doesn't automatically update but is nice if you have a lot on in one day and want to view it in a different format  
    Calendars and reminder lists
     
     
    View upcoming events and reminders by list by navigating to Calendars/Reminders Lists, then choosing a calendar/list View any time reminders for a list  
    Create events
     
    Create events for your default list, or for a specific list Use Sherlock to parse input and create an event including locations OR Open input in Fantastical to create there instead  
    Create Reminders
     
    Create events for your default list, or for a specific list Use Chrono to parse input and create a reminder OR Open input in Fantastical to create there instead  
    Settings
     
    You can customise a lot of the feature set of Agenda in the workflow variables. I have included the ability to edit these directly in the workflow:
     
    Enable/Disable reminders and/or calendars Set default reminders list and calendar for creation Turn on Fantastical for viewing events and creating events and reminders Disable the overview option showing up in the upcoming list if you don't want this feature If you do use the overview option, you can choose light or dark theme. The overview uses Sakura Set how many days to show into the future in upcoming views  

     
    My helper CLI has also been updated while doing this to allow more customisation like how many days in the future to show events in the "Upcoming" view.
     
    With the release of this I won't be updating my previous standalone reminders and events workflows. I have updated the readme on Github to reflect this. They will continue to work for a long time unless something major changes with the reminders or calendar APIs.
     
     

  7. Like
    rknightuk got a reaction from nikivi in Get Safari Tabs Workflow   
    I've been working on a project that required me to copy a lot of Safari tabs and I built a workflow to help with that. Features:
     
    - Copy current tab or all
    - Choose which of the pages to copy if copying all
    - Copy as:
        - Markdown
        - Markdown list
        - Titles only 
        - Links only
        - Titles and links
     
    It's a bit of a specific use case but might come in handy to other people.
     
    Download: https://github.com/rknightuk/alfred-workflows/tree/main/workflows/safari-tabs-markdown
     

  8. Like
    rknightuk reacted to vitor in Get Safari Tabs Workflow   
    On the page, you say (emphasis mine):
     
     
    Allow me to quote, in full, “Atomic Blog Posts” by Mike Crittenden:
     
     
    He posts every day.



    As to the Workflow, a few suggestions:


    Fill the “About this Workflow” field. Even the information you posted above would be a good start. You never know how people will find your Workflow. Link directly to the download or at least a page that explains how to do it. Many people don’t use GitHub and will have a hard time understanding how to download from that page. If you want to add auto-update capabilities, OneUpdater would fit your Workflow. Disclaimer: I’m the author, and I’m available for questions. In your specific case, the configuration would be:



    readonly remote_info_plist="https://raw.githubusercontent.com/rknightuk/alfred-workflows/main/workflows/safari-tabs-markdown/src/info.plist" readonly workflow_url="https://github.com/rknightuk/alfred-workflows/raw/main/workflows/safari-tabs-markdown/safari-tabs-markdown.alfredworkflow" readonly download_type='direct' readonly frequency_check='4'
  9. Like
    rknightuk got a reaction from jvanster in Simple Messages workflow?   
    You could also setup a Contact Action Trigger workflow in combination with a custom contact action for the phone field. You'd still need to find contact > choose phone number > type message but it would work with all contacts. 
     
    But as @vitorsaid, if it's only a few contacts you want to do this for, it may make more sense to do a list filter just with those contacts.
  10. Like
    rknightuk reacted to Chris Messina in 18 New Themes Inspired by Twitter: "Chirp"   
    Here are 18 new themes inspired by Twitter's new typeface, Chirp!
     
    Download Chirp Themes
     
    You'll need to obtain Chirp yourself, since I can't distribute the font. I, did, however, include variants of the themes that will use the GT America Trial font (which is what Chirp is based on) if it's installed. You can download GT America Trial here.
     

     
     

     
     

     
  11. Like
    rknightuk reacted to phityt in Toggle Tunnelblick VPN Workflow   
    There seems to be a Workflow for everything. Works great for me, thank you very much!
  12. Like
    rknightuk got a reaction from JA_UK in Google Suggest Workflow - How to Search for Typed Query Only?   
    Like the normal suggestions, the fix here was to pass in the original to the "no suggestions" line as well. I have uploaded an updated version
  13. Like
    rknightuk got a reaction from JA_UK in Google Suggest Workflow - How to Search for Typed Query Only?   
    Here you go @JA_UK https://github.com/rknightuk/alfred-workflows/raw/main/workflows/_misc/Google-Suggest-with-CMD-mod.alfredworkflow
     
    Few things to make this work with this workflow:
     
    Pass in the `$orig` query to the `result` method in the script filter
     
    $wf->result( $int.'.'.time(), "$data", "$data", 'Search Google for '.$data, 'icon.png', 'yes', null, null, $orig );  
    Add the `mods` section so holding command will search for the original query (line 454-ish of workflows.php)
     
    'mods' => [ 'cmd' => [ 'arg' => $orig, 'subtitle' => "Search Google for $orig" ] ]  
    Thirdly, make this output as JSON instead, which supports the `mods` in the output
     
    public function toJson() { return json_encode([ 'items' => $this->results ]); }  
  14. Like
    rknightuk got a reaction from JA_UK in Google Suggest Workflow - How to Search for Typed Query Only?   
    > I'm guessing the script this workflow runs would need to be amended
     
    You would be correct. If you open the workflow in Alfred, then double click on the first block (it says script filter) and paste this line below the line that says $int = 1; then save. It will then show your typed input as as the first option
     
    // the rest of the code $int = 1; // you should see this line in there already // paste this line in below the above $wf->result( $int.'.'.time(), "$orig", "$orig", 'Search Google for '.$orig, 'icon.png'  ); // the rest of the code  

  15. Like
    rknightuk reacted to borzov in Agenda - Reminders and Calendar Events workflow   
    Wow, great work! Thx
  16. Like
    rknightuk reacted to Andrew in Rename `Run NSAppleScript`   
    Ok, for now, I've just beefed up the messaging within the Run NSAppleScript object:
     

     
    I've also renamed the script paths to include (AppleScript) and (Javascript) respectively. For now, I don't want to create a new Legacy (or whatever) group and move objects around, but this is something I'll keep in mind for a more major release.
     
    I've also updated the help page from the (?) button to highlight the blocking:
    https://www.alfredapp.com/help/workflows/actions/run-nsapplescript/
     
    This is now in the 4.5.1 b1255 pre-release.
  17. Like
    rknightuk got a reaction from cands in Agenda - Reminders and Calendar Events workflow   
    This is a complete re-write and merging of my Reminders and Calendar Events. I realised having used it for a while that it was madness having two workflows for what solving essentially the same problem "What do I need to do today?". Also, I've learnt a lot about workflow development in the past few weeks and some of the code was pretty hacky when Alfred has features to solve some of the problems I was trying to get around. This is Agenda.
     
    Download Agenda - Reminders and Calendar Events workflow
     
    Note: On first run you will need to open system preferences > security and privacy to allow apps from an unknown developer and also allow access to reminders and calendars.
     

     
    Today Overview and Upcoming
     
    Shows all events and reminders for today or the next X days (5 days default, change in settings) respectively. From here you can:
     
    Mark reminder as complete View reminder in Reminders (cmd and select) View event in Calendar or Fantastical Open an overview in your browser - this doesn't automatically update but is nice if you have a lot on in one day and want to view it in a different format  
    Calendars and reminder lists
     
     
    View upcoming events and reminders by list by navigating to Calendars/Reminders Lists, then choosing a calendar/list View any time reminders for a list  
    Create events
     
    Create events for your default list, or for a specific list Use Sherlock to parse input and create an event including locations OR Open input in Fantastical to create there instead  
    Create Reminders
     
    Create events for your default list, or for a specific list Use Chrono to parse input and create a reminder OR Open input in Fantastical to create there instead  
    Settings
     
    You can customise a lot of the feature set of Agenda in the workflow variables. I have included the ability to edit these directly in the workflow:
     
    Enable/Disable reminders and/or calendars Set default reminders list and calendar for creation Turn on Fantastical for viewing events and creating events and reminders Disable the overview option showing up in the upcoming list if you don't want this feature If you do use the overview option, you can choose light or dark theme. The overview uses Sakura Set how many days to show into the future in upcoming views  

     
    My helper CLI has also been updated while doing this to allow more customisation like how many days in the future to show events in the "Upcoming" view.
     
    With the release of this I won't be updating my previous standalone reminders and events workflows. I have updated the readme on Github to reflect this. They will continue to work for a long time unless something major changes with the reminders or calendar APIs.
     
     

  18. Like
    rknightuk got a reaction from JA_UK in How to Perform a Google Search of a Website I'm Browsing - Universal Actions?   
    Here you go: https://github.com/rknightuk/alfred-workflows/tree/main/workflows/search-this-site
     
    Does exactly what you want (I think):
     
    1. Select the URL
    2. Choose "Search This Site"
    3. Type your query and enter
    4. Opens in default browser
     
    If you open up the workflow in Alfred you'll see, as you said, that there's actually not a lot to it. I used a bash script I grabbed from elsewhere to extract the domain, then a keyword step to get input, then the "Default web search" step.
     
    I haven't tested this much so let me know if there's any issues.
  19. Like
    rknightuk got a reaction from deanishe in How to Perform a Google Search of a Website I'm Browsing - Universal Actions?   
    Here you go: https://github.com/rknightuk/alfred-workflows/tree/main/workflows/search-this-site
     
    Does exactly what you want (I think):
     
    1. Select the URL
    2. Choose "Search This Site"
    3. Type your query and enter
    4. Opens in default browser
     
    If you open up the workflow in Alfred you'll see, as you said, that there's actually not a lot to it. I used a bash script I grabbed from elsewhere to extract the domain, then a keyword step to get input, then the "Default web search" step.
     
    I haven't tested this much so let me know if there's any issues.
  20. Like
    rknightuk reacted to deanishe in How to Perform a Google Search of a Website I'm Browsing - Universal Actions?   
    This workflow can open a site-specific Google search on the domain of the selected URL.
     
    In addition to a Universal Action, I've added a Hotkey to trigger the workflow that can grab the URL of your current browser tab, to save you having to select the URL.
     
    You should be able to figure out how it all works.
  21. Like
    rknightuk reacted to Slatts in Agenda - Reminders and Calendar Events workflow   
    This is really great, thank you! 
  22. Like
    rknightuk got a reaction from JJJJ in Agenda - Reminders and Calendar Events workflow   
    This is a complete re-write and merging of my Reminders and Calendar Events. I realised having used it for a while that it was madness having two workflows for what solving essentially the same problem "What do I need to do today?". Also, I've learnt a lot about workflow development in the past few weeks and some of the code was pretty hacky when Alfred has features to solve some of the problems I was trying to get around. This is Agenda.
     
    Download Agenda - Reminders and Calendar Events workflow
     
    Note: On first run you will need to open system preferences > security and privacy to allow apps from an unknown developer and also allow access to reminders and calendars.
     

     
    Today Overview and Upcoming
     
    Shows all events and reminders for today or the next X days (5 days default, change in settings) respectively. From here you can:
     
    Mark reminder as complete View reminder in Reminders (cmd and select) View event in Calendar or Fantastical Open an overview in your browser - this doesn't automatically update but is nice if you have a lot on in one day and want to view it in a different format  
    Calendars and reminder lists
     
     
    View upcoming events and reminders by list by navigating to Calendars/Reminders Lists, then choosing a calendar/list View any time reminders for a list  
    Create events
     
    Create events for your default list, or for a specific list Use Sherlock to parse input and create an event including locations OR Open input in Fantastical to create there instead  
    Create Reminders
     
    Create events for your default list, or for a specific list Use Chrono to parse input and create a reminder OR Open input in Fantastical to create there instead  
    Settings
     
    You can customise a lot of the feature set of Agenda in the workflow variables. I have included the ability to edit these directly in the workflow:
     
    Enable/Disable reminders and/or calendars Set default reminders list and calendar for creation Turn on Fantastical for viewing events and creating events and reminders Disable the overview option showing up in the upcoming list if you don't want this feature If you do use the overview option, you can choose light or dark theme. The overview uses Sakura Set how many days to show into the future in upcoming views  

     
    My helper CLI has also been updated while doing this to allow more customisation like how many days in the future to show events in the "Upcoming" view.
     
    With the release of this I won't be updating my previous standalone reminders and events workflows. I have updated the readme on Github to reflect this. They will continue to work for a long time unless something major changes with the reminders or calendar APIs.
     
     

  23. Like
    rknightuk reacted to Andrew in Format for running key combo from input with function keys and modifiers   
    @deanishe external triggers don't get migrated from the current version of a workflow, as they are treated as intrinsic to the workflow being installed / updated. This means that if a new version of a workflow being installed deliberately changes the external IDs to suit its internal purpose, then they will work as expected.
  24. Like
    rknightuk reacted to Andrew in Format for running key combo from input with function keys and modifiers   
    Have you considered using inbound configuration on the items you want to group, then using call external trigger to call items in workflows directly from your workflow?
     
    https://www.alfredapp.com/help/workflows/inbound-configuration/
     
    This will allow for directly calling items without needing to simulate hotkeys.
     
    There is actually a built-in example of this using the older External Trigger object (before you could configure the external id directly onto any object) in Alfred's Workflow prefs Getting Started menu from the + button under the workflows list.
  25. Like
    rknightuk reacted to Andrew in command to open workflow preferences?   
    Alfred internally has a URL scheme to open the preferences to certain pages, sometimes used by the ? keyword. I'm reluctant to make this a public accessible feature as this makes it significantly more tricky to make changes in the future for something which won't be used much.
     
    Having said that, in my wider plan, I do have some ideas written down to make a configurable user-facing "preferences" per workflow which would show when installing a workflow.
×
×
  • Create New...