Jump to content

christianmagill

Member
  • Posts

    40
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by christianmagill

  1. On 1/13/2023 at 5:50 PM, Chris Messina said:

     

    There is richer AppleScript support as of Arc v0.85 — so now additional Alfred⬌ Arc integration can be explored! 

     

     

    Yes, I've been trying to modify Emmanuel Pilande's Browser Tabs workflow, but haven't quite figured how to activate a tab based on a window and tab index. There's the select method, but every configuration I've tried doesn't work.

  2. I've found a solution that would allow Alfred's Music Mini Player to integrate support for Apple's "Up Next Queue" and the related "Play Next" and "Play Later" options.

     

    This would be a huge benefit as you could easily search for and queue up music in the moment, and return to your regularly scheduled playlist when the queued music has completed.

     

    Currently there is no AppleScript support for these features, however the necessary support exists through the Shortcuts app.

     

    The secret is having a Shortcut that queues the songs of a playlist which Alfred would control as it already does.

     

    Here's an example of such a Shortcut.

     

    image.png.3e958751fe3f89e7ba35e0d8e6a04e06.png

     

    The Shortcut could then simply be initiated as needed using the command line:
     

    shortcuts run "Add to Up Next"

     

    I could see options being added to "Play Next" or "Play Later" through modifier keys as is done in others areas of Alfred.

     

    Here's an example Shortcut: https://drive.google.com/file/d/1lzFX04SGW4H_fnlzzaI1pBSRxErkkxOK/view?usp=sharing

    I do hope this is something that the Alfred team will consider. 
     

  3. On 5/27/2022 at 6:08 PM, vitor said:

    Are you sure you’re already on that version?Does Spotlight find the files? 

     

    Yes, I'm on 58.0.3.0 (Apple Silicon) - Monterey 12.3.1

     

    Spotlight doesn't show the files either unfortunately.

    I've also tried uninstalling, removing Application Support files and reinstalling, but still no dice.

     

    Searching for the ~/Library/CloudStorage path you mention, it does not exist.

  4. On 11/12/2021 at 11:18 AM, vitor said:

    It seems likely something interrupted the process and left the temporary cache there.

    1. Install this version.
    2. Restart your Mac.
    3. In a terminal, run the following:
    rm -rf "${HOME}/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.vitorgalvao.alfred.googledrive"
    rm "${HOME}/Library/LaunchAgents/com.vitorgalvao.launchd.googledrivecache.plist"
    osascript -e 'tell application id "com.runningwithcrayons.Alfred" to run trigger "googledrivelaunchd" in workflow "com.alfredapp.googledrive" with argument "uninstall"'
    osascript -e 'tell application id "com.runningwithcrayons.Alfred" to run trigger "googledrivelaunchd" in workflow "com.alfredapp.googledrive" with argument "install"'
    

     

    That will do some cleanup and restart the process.

     

     

    Thanks for your help with this. Not sure if this worked, but here's what happened running this process...

     

    rm "${HOME}/Library/LaunchAgents/com.vitorgalvao.launchd.googledrivecache.plist"

     

    Running this command showed returned "No such file or directory" in terminal.

     

    osascript -e 'tell application id "com.runningwithcrayons.Alfred" to run trigger "googledrivelaunchd" in workflow "com.alfredapp.googledrive" with argument "uninstall"'

     

    Running this command created this debug output in Alfred.

     

    [12:19:35.421] Logging Started...
    [12:20:03.580] Google Drive[External] Processing complete
    [12:20:03.584] Google Drive[External] Passing output 'uninstall' to Run Script
    [12:20:03.658] Google Drive[Run Script] Processing complete
    [12:20:03.660] Google Drive[Run Script] Passing output '' to Conditional

     

    osascript -e 'tell application id "com.runningwithcrayons.Alfred" to run trigger "googledrivelaunchd" in workflow "com.alfredapp.googledrive" with argument "install"'

     

    Running this command gave me this debug output in Alfred.

     

    12:20:18.191] Google Drive[External] Processing complete
    [12:20:18.193] Google Drive[External] Passing output 'install' to Run Script
    [12:20:18.271] Google Drive[Run Script] Processing complete
    [12:20:18.274] Google Drive[Run Script] Passing output 'BUILD_CACHE' to Conditional
    [12:20:18.276] Google Drive[Conditional] Processing complete
    [12:20:18.276] Google Drive[Conditional] Passing output 'BUILD_CACHE' to Arg and Vars
    [12:20:18.277] Google Drive[Arg and Vars] Processing complete
    [12:20:18.277] Google Drive[Arg and Vars] Passing output '' to Run Script
    [12:20:18.375] Google Drive[External] Processing complete
    [12:20:18.378] Google Drive[External] Passing output '' to Run Script
    [12:20:18.438] ERROR: Google Drive[Run Script] Cache creation already in progress
    [12:20:18.441] Google Drive[Run Script] Processing complete
    [12:20:18.441] Google Drive[Run Script] Passing output 'ONGOING_REBUILD' to Run Script
    [12:20:18.442] Google Drive[Run Script] Passing output 'ONGOING_REBUILD' to Conditional
    [12:20:18.442] Google Drive[Conditional] Processing complete
    [12:20:18.443] Google Drive[Conditional] Passing output 'ONGOING_REBUILD' to Post Notification
    [12:20:18.443] Google Drive[Post Notification] Processing complete
    [12:20:18.444] Google Drive[Post Notification] Passing output 'ONGOING_REBUILD' to Play Sound

     

  5. 3 hours ago, vitor said:

     

    Why, specifically, do you say that? What have you done and what are you seeing?


    I’ll also need the information requested in the second post.

     

    I've been trying to search the drive using the gd script filter, but it keeps saying that the cache is building.

     

    Here's my details

     

    Workflow: v2021.6

    Alfred: 4.6.1 [1268]

    macOS: 12.0.1 Monterey (Apple Silicon)

     

    My Google Drive path matches the default variable.

     

    Debug Log

     

    [10:00:35.186] Logging Started...

    [10:01:06.663] Google Drive[Script Filter] Queuing argument 'c'

    [10:01:06.837] Google Drive[Script Filter] Script with argv 'c' finished

    [10:01:06.838] Google Drive[Script Filter] {"items":[{"title":"Cache is being built…","subtitle":"Please be patient. Depending on how many files you have, it can take a while.","valid":false}]}

    [10:01:21.144] Google Drive[Keyword] Processing complete

    [10:01:21.146] Google Drive[Keyword] Passing output '' to Arg and Vars

    [10:01:21.147] Google Drive[Arg and Vars] Processing complete

    [10:01:21.147] Google Drive[Arg and Vars] Passing output '' to Run Script

    [10:01:21.236] ERROR: Google Drive[Run Script] Cache creation already in progress

    [10:01:21.238] Google Drive[Run Script] Processing complete

    [10:01:21.239] Google Drive[Run Script] Passing output 'ONGOING_REBUILD' to Run Script

    [10:01:21.239] Google Drive[Run Script] Passing output 'ONGOING_REBUILD' to Conditional

    [10:01:21.240] Google Drive[Conditional] Processing complete

    [10:01:21.240] Google Drive[Conditional] Passing output 'ONGOING_REBUILD' to Post Notification

    [10:01:21.241] Google Drive[Post Notification] Processing complete

    [10:01:21.241] Google Drive[Post Notification] Passing output 'ONGOING_REBUILD' to Play Sound

     

    Thanks for your help, and sorry I missed the second post.

  6. On 11/14/2017 at 5:21 AM, Vero said:

    This is something we've been keeping an eye as currently, Apple doesn't give access to music outside of your local music library.

     

    If Apple opens this up, we'll consider any possible changes to this :)

     

    Cheers,
    Vero

     

    There was a great workflow that accomplished up next integration using iTunes pairing functionality. Unfortunately, with recent Ruby changes it no longer works.

     

    It would be awesome if Alfred could integrate this functionality into the application, because I miss it dearly.

     

    https://github.com/edc1591/alfred-itunes-dj

  7. I'd like to see fuzzy search for snippets.

     

    Right now if you skip one letter in the snippet name nothing matches. I tend to have snippets for programming that start with similar strings but ultimately diverge toward the end. So if I'm trying to bring up my "gf_left_half" snippet I could just search glh for instance to bring it up.

×
×
  • Create New...