Jump to content

mikejandreau

Member
  • Posts

    66
  • Joined

  • Last visited

Posts posted by mikejandreau

  1. As of a few weeks or so ago, the 1Password Workflow actions to copy OTP, copy username and copy password stopped working for me.

     

    I've updated the workflow to the latest, but still not luck, even after reboots and reinstalls.

     

    ### Workflow version
    2023.12
    
    ### Alfred version
    5.5
    
    ### macOS version
    14.4.1
    
    ### Architecture
    arm64
    
    ### Preferences
    Default
    
    ### 1Password version
    8.10.30
    
    ### op version
    2.18.0
    
    ### Launchd job
    Loaded: -    0    com.alfredapp.vitor.1password
    Installed

     

    Any pointers on how I can troubleshoot this? I rely on the copy OTP flow to get onto VPN a zillion times a week.
     

  2. On 4/17/2021 at 4:52 AM, Pinuz said:

    Great! Have you used the `set_field_value` function defined in api.py?

    I didn't use it, because I couldn't figure out how to call it in the Workflow to see what it did.

     

    But I essentially did what I'd assume it would do based on its name, but hard-coded my field name into the API call.

  3. Thanks for this workflow, it's incredible!

     

    One item I'd love to add, but don't know how:

     

    When I "Complete" a task, I don't want to mark it as complete in Asana (since it needs to go to review). Instead, I need to change the value of a custom field on the Task to something else (which is always the same).

     

    So, example: Custom Status: In Progress → Mark "Complete" in Workflow → Set Custom Status on Task to "In Review" (someone else actually marks it as Done in Asana.

     

    If you could help me with this, I'd be externally grateful.

  4. Input example: https://site-sandbox.app.com/app/customers/60072f1901cf6356xxxxxxx/event/600740cb5daf2a0yyyyyyyyy

    Output Example: 

    https://site-sandbox.app.com/app/customers/60072f1901cf6356xxxxxxx/event/600740cb5daf2a0yyyyyyyyy

     

    Right now I'm doing it with 5 different steps (replacing various parts of the URL), but if there's a better way, I'd love to hear it.  And since it's a URL, is there a way to make the selection focus on the address bar (I was going to use AppleScript with `tell application "System Events" to keystroke "l" using command down` as a simple way to do it).

  5. I'm building a (fairly simple) workflow that uses the Selection in macOS function to grab a URL and rewrite parts of it.

     

    The one bit I'm struggling with is this: 2066528440_Image2021-01-19at3_08_12PM.jpg.daffa762b1031838c71ccb3fd727486e.jpg

    This should grab a 24 character alphanumeric string in the URL and replace it with nothing. But it's not working.

     

    I confirmed the Regex is correct in a few online testers, and the rest of the workflow is replacing its bits correctly. What am I missing?

     

    An exmaple, my test URL is: https://testsite.com/app/customers/60xxxxf635xxxx/event/600xxxx10fa5exxxxx5d0b077

     

    The various parts of my workflow replace testsite.com with testsite.apisite.com, changes /app to /v1, changes /customers to /, SHOULD remove the next string, then changes /event to /conversation

     

    Everything works right but the step to change that string via regex.

     

    Any help is appreciated.

  6. I know this isn't directly related to Alfred, but since it's affecting my use of Alfred, I thought someone here might have some insight.

     

    An external drive of mine is acting up in that Spotlight won't index the subdirectories of some of my directories.

     

    Alfred finds (because Spotlight has indexed it), for example, /Video/TV Shows, but not /Video/TV Shows/anything-in-there

    Same with /Video/Movies, that top level shows up, but none of the folders within.

     

    The only thing fishy is that I've explicitly added /Video/TV Shows and /Video/Movies to Alfred. If I remove them from my settings, Alfred doesn't find them (my guess is because Spotlight isn't working)

     

    I tried forcing Spotlight to re-index the entire drive, which it looks like it finished because the "Indexing..." in Spotlight is gone, but there's no .Spotlight-V100 file on the drive, like there is with other external drives.

     

    I tried forcing it to index with 

    sudo mdutil -E /

    which shows "Indexing enabled".

     

    I'm stumped and wondering if anyone else has any thoughts on what I can try.

     

     

  7. As usual, I spent half an hour trying to re-enable Spotlight on the new drive in Terminal, fighting everything along the way.

     

    Come to find out, there's a setting that for some reason was running against the new Drive:

     

    image.png.9d6de4fee12b503d360f21c95697d4de.png

    My new drive _was_ list there. Removed it. Rebuilt the cache in Alfred and voila, magic.

     

    Thanks for pointing me in the right direction @Vero!

  8. Hey @Vero

     

    That URL redirects to https://www.alfredapp.com/help/troubleshooting/indexing/mdls/ so I don't see a step 4 there to try.

     

    I did re-enable Spotlight in Bartender and it's not finding any of my Applications either, so something's amiss there.

     

    I ran some checks on that, and it looks like Spotlight indexing and searching is disabled on the new drive:

    /:
    	Indexing and searching disabled.
    /System/Volumes/Data:
    	Indexing and searching disabled.

    The normal commands to get it running aren't working, but I can't figure out why. I'll contact the manufacturer of my new drive and see what they say.

     

    Also the Metadata tool can't get Metadata for any of my apps. The ones I tested come back with "Unable to obtain metadata for this file!". So something's amiss here.

  9. Up until recently, my preferences and workflows synced between machines wonderfully.

     

    Something recently broke and I'm not seeing workflows sync anymore through Dropbox.

     

    I know Dropbox is syncing on both machines, as I just dropped a file from my desktop machine into it and I see it on my laptop almost immediately.

     

    Both Alfred instances are set to sync from my Dropbox folder. But for some reason, the workflows aren't syncing. As a test, I create a new one on my desktop and don't see it syncing over to my laptop. 

     

    However, if I delete the Alfred.preferences file from Dropbox, I see my workflows immediately start disappearing from both machines. So the syncing is working right, but just not for new workflows.

     

    Any pointers on what I should look for to troubleshoot this?

×
×
  • Create New...