Jump to content

cands

Member
  • Posts

    175
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by cands

  1. Feature request if you think more people than me could be interested, I would find it valuable that the date when the url was saved is added to each item (e.g. appending after each item today's date like "(2024-01-14)"), so it is easy to distinguish new links from old links directly from the Alfred search. This could be optional to not frustrate users who have no use for that info.

  2. On 6/23/2022 at 4:11 PM, cands said:

    This seems very useful, unfortunately it does not work for me on macOS 12.4 and Alfred 4.6.6 [1303]. Full Disk Access has been granted and Alfred has been restarted (also restarted the computer just in case). The debugger provides the following brief information: 

     

    ERROR: Mouseless Messenger[Script Filter] Code 1: /Users/***/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/A1EB22C3-A50D-427E-B2D8-2632031A2F76: execution error: Error: Error: Can't get object. (-1728)

     

    I opened an issue on GitHub.

    Resolved in version 1.0.1, thanks!

  3. This seems very useful, unfortunately it does not work for me on macOS 12.4 and Alfred 4.6.6 [1303]. Full Disk Access has been granted and Alfred has been restarted (also restarted the computer just in case). The debugger provides the following brief information: 

     

    ERROR: Mouseless Messenger[Script Filter] Code 1: /Users/***/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/A1EB22C3-A50D-427E-B2D8-2632031A2F76: execution error: Error: Error: Can't get object. (-1728)

     

    I opened an issue on GitHub.

  4. On 6/18/2022 at 4:56 PM, giovanni said:

    Ok, if I understand correctly, there was no auto pasting in the python 2 version? Of course it can be added, but I am trying to determine if the migration to python 3 is completed. 

     

    Thanks a lot for making this workflow functional again! It has been one of my most used workflows, saves a lot of time.

  5. 8 hours ago, andrei_says said:

    This no longer works on MacOS Monterey as Apple removed python 2 and replaced it with python 3. 

     

    Could you please look into the related github issue and respond? It would be useful to know your plans for this - even if you are unable to port to Python 3. This is a free open source project and we are all busy so no pressure.

     

    https://github.com/deanishe/alfred-pwgen/issues/12

     

     

     

    The new version kindly provided by @vitor here https://www.alfredforum.com/topic/17941-making-python-2-workflows-work-on-macos-monterey-123-and-above/ works great on my machine with Monterey macOS 12.3.1 - I recommend to try that.

  6. Thanks a lot for updating to work with python3, works great on macOS 12.3! I wonder would it be possible to add a feature to be able to search for strings anywhere in the filename (possibly fuzzy search as well)? Sometimes I don't find files because the string I'm searching for is not at the start of the filename, which seems to be required now.

  7. 52 minutes ago, vitor said:

     

    Again, you need to read and follow the top post. That error means you either did not download the updated version, or you did not (correctly?) reinstall Python 2. The top post explains all of this.

     

     

    Welcome @Mollib. That error is unrelated to the port, so you’ll have to ask the developer. Or consider a non-Python alternative.

     

     

    Added. But please let the developer know about the Python deprecation. If they don’t know, they can’t fix it. Informing the developer should always be the first step.

    Thank you very much! alfred-cheat is working again on macOS 12.3, very nice. (Agree that informing the developer should be the first step, I noted on the workflow repository that the developer is aware and therefore did not post here on Alfred forum.)

  8. Thanks for updating! Unfortunately I get the following error complaining about urllib3 missing:

     

    [08:37:55.789] Logging Started...
    [08:38:03.847] ERROR: Movie and TV Show Search[Script Filter] Code 1: Traceback (most recent call last):
      File "media.py", line 11, in <module>
        import requests
      File "/Users/***/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.A2EAA197-3267-406D-B42C-8F427B547486/requests/__init__.py", line 43, in <module>
        import urllib3
    ModuleNotFoundError: No module named 'urllib3'

     

  9. On 1/16/2022 at 11:23 AM, deanishe said:

     

    Thanks for the tip, that might work, but seems the file to edit is in a special php .phar package named "Alphred.phar". Could not find a simple way to edit, had very little time to look into this now though and I have no experience with php. Maybe the fix is simple with just a little bit experience, if I get more time later I will take a closer look.

  10. On 11/1/2021 at 3:15 AM, milopus said:

    hanks, I installed Homebrew and PHP as well as adding that text at the top of the Script filter.

     

    However, it still does not work, but I see this in the debugger.  Thanks in advance.

     

    This workflow has been so useful, it's a pity it does not work on Monterey, hopefully it can be fixed. I also installed php using homebrew in Monterey, seems to be running php correctly but seems there is code in the workflow being deprecated in newer versions of php. I paste the debugger information below when translating the string "Alfred is great". I'm on macOS 12.1 using Alfred version 4.6.1 and php 8.1.1. Errors about auto_detect_line_endings and JSON. Unfortunately I do not know anything about php so do not understand how to fix. As you can see from the debug info below the string is actually translated, so possibly just a few changes are needed to make the workflow working again. Anyone with needed skills that can assist?

     

    [10:46:58.566] STDERR: Translate API[Script Filter] PHP Deprecated:  auto_detect_line_endings is deprecated in phar:///Users/***/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.80D64116-6465-4CFF-B003-3F558C5495AB/Alphred.phar/Main.php on line 29
    [10:46:58.567] ERROR: Translate API[Script Filter] JSON error: JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0. in JSON:
    Deprecated: auto_detect_line_endings is deprecated in phar:///Users/***/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.80D64116-6465-4CFF-B003-3F558C5495AB/Alphred.phar/Main.php on line 29
    <?xml version="1.0" encoding="UTF-8"?>
    <items>
     <item valid="no">
      <title>Type to translate...</title>
     </item>
     <item autocomplete="› set language ›" valid="no">
      <title>Set Translation Languages</title>
      <subtitle>Currently translating to `English, Swedish`</subtitle>
     </item>
     <item arg="{&quot;action&quot;:&quot;set-api-key&quot;}" valid="yes">
      <title>Set Google Translate API Key</title>
      <subtitle>API Key is currently set to &quot;*****&quot;</subtitle>
     </item>
    </items>
    [10:47:01.331] STDERR: Translate API[Script Filter] PHP Deprecated:  auto_detect_line_endings is deprecated in phar:///Users/***/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.80D64116-6465-4CFF-B003-3F558C5495AB/Alphred.phar/Main.php on line 29
    [10:47:01.332] ERROR: Translate API[Script Filter] JSON error: JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0. in JSON:
    Deprecated: auto_detect_line_endings is deprecated in phar:///Users/***/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.80D64116-6465-4CFF-B003-3F558C5495AB/Alphred.phar/Main.php on line 29
    <?xml version="1.0" encoding="UTF-8"?>
    <items>
     <item arg="{&quot;action&quot;:&quot;translate&quot;,&quot;translation&quot;:&quot;Alfred is great&quot;,&quot;original&quot;:&quot;Alfred is great&quot;,&quot;code&quot;:&quot;en&quot;}" valid="yes">
      <title>Alfred is great</title>
      <subtitle>English: Alfred is great</subtitle>
      <icon>icons/en.png</icon>
      <subtitle mod="cmd">Open in Web Browser</subtitle>
     </item>
     <item arg="{&quot;action&quot;:&quot;translate&quot;,&quot;translation&quot;:&quot;Alfred \u00e4r j\u00e4ttebra&quot;,&quot;original&quot;:&quot;Alfred is great&quot;,&quot;code&quot;:&quot;sv&quot;}" valid="yes">
      <title>Alfred är jättebra</title>
      <subtitle>Swedish: Alfred is great</subtitle>
      <icon>icons/sv.png</icon>
      <subtitle mod="cmd">Open in Web Browser</subtitle>
     </item>
    </items>

     

  11. Thanks a lot for this awesome workflow. It has been reliable for several years, however, it stopped working for me when updating to TextSoap version 9. There is no information from debugging mode in Alfred, the workflow acts just as before and confirms that cleaning was performed, but the text is not transformed. Any ideas how to fix this?

     

    I'm using version 4.0 of the workflow on macOS 11.6 and Alfred version 4.6.1. I'm using the Setapp Edition of TextSoap version 9.0.5.

     

  12. Thanks for these great tips, very handy. I tried to use the same method to also trigger going back and forth in query history using my preferred shortcuts Ctrl+O and Ctrl+I to dispatch key combos Ctrl+↑ and Ctrl+↓, respectively, but this does not work, any suggestions? I'm using Alfred 4.5.1 on macOS 11.5.

     

  13. Hi again, I'm using this workflow a lot, and I have not experienced any problems after updating to macOS Big Sur. I have one feature request (besides autoupdate as asked before), would it be possible to optionally copy also the comment for a command (written as "# comment" above the command in the text files), .e.g. using another modifier such as the option key? I sometimes find a need to not only copy / paste the command itself but also the comment along with the command.

×
×
  • Create New...