Jump to content

kenanmike

Member
  • Posts

    37
  • Joined

  • Last visited

Posts posted by kenanmike

  1. Thanks - yes I've just done what you mentioned on GitHub. I asked here first on the off chance there was something simple not filled out correctly on my environment variables.

    5 hours ago, pseudometa said:

    @kenanmike Could you open a bug report at the GitHub repo? Reason being that the bug report forms asks for various information I need to investigate the issue. (also, I don't have the time to look into it right now, so an issue will make sure that I can keep track of it.)

     

    Also, add a few examples of how your PDFs are named, in case it's an issue with the PDF naming.

     

  2. Anyone able to help with this?
     

    I'm getting the following error despite having python & python3 installed on my system. How do I change where AlfredExtraPane looks for python? In Monterey 12.3.1 it should be /usr/local/bin/python not usr/bin/python.

    > ./search.sh: AlfredExtraPane.app/Contents/Resources/scripts/alfred-extra-pane: /usr/bin/python: bad interpreter: No such file or directory

     

  3. On 11/12/2018 at 11:46 AM, Vero said:

    Hi @b_d_m_p, download Alfred's Metadata tool here, and drag one of your apps to it. Paste the results so we can take a look at how macOS is classifying them.

     

    https://cachefly.alfredapp.com/tools/AlfredMetadataTool_v1.1.zip

     

    Cheers,
    Vero

    Hi @Vero, similarly to b_d_m_p I'm wanting to use Web Catalog's standalone apps (in this example, Google Maps).
    Below is what I got from the Metadata tool. I'm specifically wanting to know what to put in here to make addresses in Alfred open in the Google Maps app not on the website on Chrome:
    image.thumb.png.a026fe10036881fe3e2d58ea6b048d1d.png

    Quote

    /Users/michaelbaldwin/Applications/WebCatalog Apps/Google Maps.app

    Internal File Metadata
    ======================

     Display Name: Google Maps
        Alt Names: Google Maps.app
        File Type: com.apple.application-bundle
         Comments: 
         Keywords: 
        Last Used: 2022-04-13 15:28:48 +0000

    Raw mdls File Metadata
    ======================

    _kMDItemDisplayNameWithExtensions      = "Google Maps.app"
    kMDItemAlternateNames                  = (
        "Google Maps.app"
    )
    kMDItemAppStoreCategory                = "Developer Tools"
    kMDItemAppStoreCategoryType            = "public.app-category.developer-tools"
    kMDItemCFBundleIdentifier              = "com.webcatalog.juli.google-maps"
    kMDItemContentCreationDate             = 2022-04-13 15:21:53 +0000
    kMDItemContentCreationDate_Ranking     = 2022-04-13 00:00:00 +0000
    kMDItemContentModificationDate         = 2022-04-13 15:21:53 +0000
    kMDItemContentModificationDate_Ranking = 2022-04-13 00:00:00 +0000
    kMDItemContentType                     = "com.apple.application-bundle"
    kMDItemContentTypeTree                 = (
        "com.apple.application-bundle",
        "com.apple.application",
        "public.executable",
        "com.apple.localizable-name-bundle",
        "com.apple.bundle",
        "public.directory",
        "public.item",
        "com.apple.package"
    )
    kMDItemDateAdded                       = 2022-04-13 15:22:02 +0000
    kMDItemDateAdded_Ranking               = 2022-04-13 00:00:00 +0000
    kMDItemDisplayName                     = "Google Maps"
    kMDItemDocumentIdentifier              = 0
    kMDItemExecutableArchitectures         = (
        "x86_64"
    )
    kMDItemFSContentChangeDate             = 2022-04-13 15:21:53 +0000
    kMDItemFSCreationDate                  = 2022-04-13 15:21:53 +0000
    kMDItemFSCreatorCode                   = ""
    kMDItemFSFinderFlags                   = 0
    kMDItemFSHasCustomIcon                 = (null)
    kMDItemFSInvisible                     = 0
    kMDItemFSIsExtensionHidden             = 1
    kMDItemFSIsStationery                  = (null)
    kMDItemFSLabel                         = 0
    kMDItemFSName                          = "Google Maps.app"
    kMDItemFSNodeCount                     = 1
    kMDItemFSOwnerGroupID                  = 20
    kMDItemFSOwnerUserID                   = 501
    kMDItemFSSize                          = 226490055
    kMDItemFSTypeCode                      = ""
    kMDItemInterestingDate_Ranking         = 2022-04-13 00:00:00 +0000
    kMDItemKind                            = "Application"
    kMDItemLastUsedDate                    = 2022-04-13 15:28:48 +0000
    kMDItemLastUsedDate_Ranking            = 2022-04-13 00:00:00 +0000
    kMDItemLogicalSize                     = 226490055
    kMDItemPhysicalSize                    = 239296512
    kMDItemUseCount                        = 3
    kMDItemUsedDates                       = (
        "2022-04-12 21:00:00 +0000"
    )
    kMDItemVersion                         = "22.13.0"
     

     

  4. @Chris Messina could you check out the 'likes' keyword..the configuration seems to be different and it doesn't open up my likes (I'm using the Twitter for Mac app). I changed the config so that it chooses the Twitter app rather than the URL but now even more strangely it opens the twitter app but logged out, and it won't let me log in because that user is 'already logged in'?? Strange!

  5. Yes, that worked! That one step has got three workflows working for me again. Thanks again.

    6 minutes ago, vitor said:

    @kenanmike I can’t say with that information if you installed Python correctly, only that the link isn’t correct. Try this:

     

    rm /usr/local/bin/python
    ln -s "${HOME}/.pyenv/versions/2.7.18/bin/python2.7" "/usr/local/bin/python"

     

    If that doesn’t work, remove everything and try again.

     

    Make sure to copy and paste the commands exactly. That link isn’t possible if you follow the instructions, so it has to be something unrelated you did.

     

  6. On 3/23/2022 at 3:05 AM, vitor said:

    What’s the output of ls -la "${HOMEBREW_PREFIX}/bin/python"?

     

    Hi @vitor, I'm getting the same error on a few workflows but in my case the second query you wrote yields the following result:
     

    Quote

    eval "$(brew shellenv)"

    ls -la "${HOMEBREW_PREFIX}/bin/python"

    lrwxr-xr-x  1 root  admin  15 11 Apr 21:49 /usr/local/bin/python -> /usr/bin/python


    So am I right in thinking that means it has re-installed python 2 correctly but that it's in a location that the workflows aren't accessing? What can I do to correct this? 

  7. Hi @emmanuel & @deanishe, I'm still having trouble with the ESV Bible workflow despite the update. 
    I believed I've correctly installed Python 2 after the Monterey update:
    "ln: /usr/local/bin/python: File exists"

    But when I run the workflow I got the following debugging info...is it looking for python in the wrong place? I've been told not to mess around with changing python's location.
     

    [10:24:35.666] ESV Online Bible[Script Filter] Queuing argument 'j'

    [10:24:35.673] ESV Online Bible[Script Filter] Script with argv '(null)' finished

    [10:24:35.675] ERROR: ESV Online Bible[Script Filter] Code 127: /bin/bash: line 1: python: command not found

    [10:24:36.113] ESV Online Bible[Script Filter] Queuing argument 'jo'

    [10:24:36.195] ESV Online Bible[Script Filter] Script with argv '(null)' finished

    [10:24:36.200] ERROR: ESV Online Bible[Script Filter] Code 127: /bin/bash: line 1: python: command not found

    [10:24:36.352] ESV Online Bible[Script Filter] Queuing argument 'joh'

    [10:24:36.445] ESV Online Bible[Script Filter] Script with argv '(null)' finished

    [10:24:36.449] ERROR: ESV Online Bible[Script Filter] Code 127: /bin/bash: line 1: python: command not found

    [10:24:36.568] ESV Online Bible[Script Filter] Queuing argument 'john'

    [10:24:36.575] ESV Online Bible[Script Filter] Script with argv '(null)' finished

    [10:24:36.576] ERROR: ESV Online Bible[Script Filter] Code 127: /bin/bash: line 1: python: command not found

  8. D

    On 1/17/2021 at 6:05 PM, Александр said:

    Good afternoon, I still don't understand where to enter the openexchangerates.org API key and how to do it. Show by example please. I received the key after registering at openexchangerates.org. Thank you, I will wait for an answer.

    2016432789_2021-01-1718_03_08.png.5002ba10c83d48d4cdd2b3f59918aa5b.png

    Do you still need this?

  9. Thanks for your reply @vitor

    1 hour ago, vitor said:

     

    Added.

     

     

    That one isn’t simple to fix, because the Workflow programatically creates its own objects and it’s those which will need fixing. You’ll have to manually fix them or wait for a deeper fix to the Workflow itself.

    I just factory reset the dictionaries, re-installed the workflow, and added the 1 line of script mentioned and it's now all working. Thanks again

  10. Thanks very much for keeping this workflow functional with all the Monterey complications. One question I had was about showing Rotten Tomatoes results for TV shows..they don't come up at the moment. I assume this is because RT shows ratings for each season, but *not* for the tv show overall. Anyway to specify season when I search a TV show on this workflow? Or maybe get RT to simply show season 1 ratings for each show by default?

  11. There are various Universal Actions to which I want to assign a hotkey, so that:

    • When some text is highlighted, I can immediately save it as a new snippet rather than first having to bring up Universal Actions and then select 'Save as Snippet' 
    • When a file is selected, I can immediately action it with my hotkey rather than having open up Universal Actions and select the action manually.
       

    How can I do this?


    I've searched quite a lot but can't find an answer. The 'Action in Alfred' is really invaluable for coding noobs like me, but it only has 6 actions that can be selected and ofc Universal Actions isn't one of them. For a future development I think people like me would find it extremely useful for the 'Action in Alfred' option to allow you to select any Universal Action configured so that it doesn't require extra coding, at least any Universal Actions that are configured by default into Alfred. 

    image.thumb.png.bf6731a7d5b69738ba6b0d836bceaaa1.png

    image.thumb.png.f1aff2168f4d471c1fd6f8af2f2962c5.png

     

  12. Just now, deanishe said:

     

    I'm sorry, I have no idea what you're asking. What do you mean "pre-filled"? What are "these"?

    I have added the dynamic snippet {date} triggered by the keyword ::date. I'd like to be able to use the other date placeholders as snippets, including arithmetic dates (::date+1d, etc.). Do I have to add every single date snippet I want manually? So I click the + in the bottom right and add :date+1d, then another for date+2d, and on and on for all of the arithmetic dates I want to use? Or is there some setting I can enable or some collection I can download which when loaded will then list all these snippets in my collection so I can use it without adding them one by one manually?
    I'm guessing that dedicated text expanders have dynamic placeholders already loaded by default, so it just needs enabling for me to type, say, :{date} and have it expand to 14 Aug 2021. I'm asking if Alfred can do anything like that.

  13. 1 minute ago, deanishe said:

     

    Yes … sort of. Snippet contents can by dynamic; snippet keywords cannot.

     

    If you need more flexibility, there are snippet triggers, which you can use to insert arbitrary dates.

    Thanks again v much @deanishe
    Just to check my q is clear, I'm wondering whether it's possible to have a list of these already pre-filled or I have to add every single one like I've done with ::date & ::time at the bottom there. I don't mind too much the snippet keyword format. 

    image.thumb.png.ed3f99b4b335132c5d3527717ae66423.png

×
×
  • Create New...