Jump to content

sr_navarre

Member
  • Content Count

    62
  • Joined

  • Last visited

Posts posted by sr_navarre


  1. Hi,

     

    This is probably my most used workflow, so thanks! Recently I've been having some trouble with it, though. Instead of presenting me with a list of search suggestions, I just get the top line "Search IMDB for {my query}" and the second line displays the last name I searched for when the workflow was still working normally. I'm attaching a picture to demonstrate what happens when I search for "the godfather."

     

    1566457277_ScreenShot2019-04-09at5_57_49PM.thumb.png.d1347eba9a4d49b0aa755de947cb6824.png

     

    I'm using the latest stable version of the Mac OS , and nothing has changed as far as I know. Do you have any ideas?

     

    Thanks!


  2. A while back, a user named Claui created a workflow for me that randomly selects a specified number of files from one folder and copies them into another. I would be so grateful if anyone could make this work with subfolders.

     

    That is, say I have a folder called Folder. It's got subfolders called 1, 2, and 3. Each of those has files called 1a, 1b, 2a, 2b, 3a, 3b, etc. This workflow, when pointed at "Folder" would ideally choose randomly from files in all of the subfolders, so it might choose 1a and 3b.

     

    Here is the GitHub link for Claui's version: https://github.com/claui/alfred-random_file_picker

     

    I know some of you will remember this request from before, and I apologize if it's annoying. It's just that this would make my workflow unbelievably more efficient, and I have no idea how to do it myself. 

     

    Thanks for taking the time.


  3. A while back, a user named Claui created this workflow for me. I absolutely appreciate her attempt, but it never quite did what I needed and now it doesn't seem to work at all. Could some kind soul who knows how to do this kind of thing take another stab at it, maybe using Claui's work as a jumping-off point? 

     

    Here's what I need to do.

     

    Say I have a folder with 1,534 files. Some are videos, some are pictures, some might be other formats. I want a workflow where I can activate it (either through a keyword or a file action) and have it ask me how many of each file type I want. 

     

    So, let's say I want 12 videos and 45 images. I pop these numbers into the workflow and it copies 12 random videos and 45 random images into another folder. Then, I can run the workflow again with totally different numbers and get a whole different set of files.

     

    A big caveat here is that this workflow must support subfolders. So the files it selects could come from the top-level folder or any one of however many subfolders there may be.

     

    Can anyone build this for me? I'll owe you something. I can't code, but if there's anything I can do in return,  I'm your guy.

     

    Thanks so much.


  4. A couple of months ago, user Claui created a workflow for me called Random File Picker. It randomly chooses a specified number of files from a specified folder and copies them somewhere else. 

     

    It does not, however, include files within subfolders of the specified folder. If anyone could edit it to add this functionality, I would be in your debt!


  5. I would like to create a workflow that will take a folder of, say, 1000 files and choose a certain number of them at random, which it will then copy into a second folder. Could someone point me in the right direction?

     

    To make things more complicated... what if I wanted to select two different numbers of two different file types? For example, I might want to point Alfred to a folder containing 3,000 files of all different types and have it randomly choose 10 videos and 100 pictures, which it would then copy to another folder.

     

    Is any of this possible?


  6. Does anyone who uses this workflow look at this topic? If so, did it stop working for you in the last few days? I reached out to the developer but he supposedly hasn't used this site in years. Can anyone take a crack at fixing it? I would, but I have no idea how to code.


  7. Thanks for all your work on this. Here's the debug info for v2.0.1; I attached the image I searched for this time.

     

    Starting debug for 'Google Similar Images'

    [2017-09-28 13:13:52][ERROR: action.script] uploading u'/Users/MYNAME/Pictures/Backgrounds/kgm58S7.jpg' to Google ...
    cmd=['/usr/bin/curl', '--include', '--silent', '--user-agent', 'alfred-similiar-image-search 0.1 ()', '--form', 'image_url=', '--form', 'filename=', '--form', 'h1=en', '--form', 'bih=179', '--form', 'biw=1600', '--form', 'encoded_image=@/Users/MYNAME/Pictures/Backgrounds/kgm58S7.jpg', 'https://www.google.com/searchbyimage/upload']
    [response] HTTP/2 302 
    [response] location: https://www.google.com/search?tbs=sbi:AMhZZiuf4HqV0Q8qcUIY7HIlG5icYpS2sk04vgdcuPnoutrZz0Ya2xHH-mU1Krau_1irKW5Z6wEiXLB9r_1hgxdBdWbMLN4cKDwEUIG4-Ic32omifoEcE8Kiznh46SszXdq-RhB0RNVYjWAFnEAnALR1hqpGD3koYlz8y9oIetKGIBNHQyL814ekwJTLvUEM748_1DGDcVC2qIu6V2NIvwcleg4OWLPfmQilnWHu6l3ul1hjqISh3r8M5wXpgqOO-QqsR23aTxJTSOqTREz5ySs4WUrL3rXexQ8Rdss7JrMIF-vpfSJjUkXEVK5BGo0Tqij3xhz9BQmgQCCCqD9EgWiqF4eeYwr9zS4Tg&h1=en&bih=179&biw=1600
    [response] cache-control: public, max-age=21600
    [response] date: Thu, 28 Sep 2017 17:13:58 GMT
    [response] expires: Thu, 28 Sep 2017 23:13:58 GMT
    [response] content-type: text/html; charset=UTF-8
    [response] x-content-type-options: nosniff
    [response] server: quimby_frontend
    [response] content-length: 627
    [response] x-xss-protection: 1; mode=block
    [response] x-frame-options: SAMEORIGIN
    [response] alt-svc: quic=":443"; ma=2592000; v="39,38,37,35"
    [response] 
    [response] <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
    [response] <TITLE>302 Moved</TITLE></HEAD><BODY>
    [response] <H1>302 Moved</H1>
    [response] The document has moved
    [response] <A HREF="https://www.google.com/search?tbs=sbi:AMhZZiuf4HqV0Q8qcUIY7HIlG5icYpS2sk04vgdcuPnoutrZz0Ya2xHH-mU1Krau_1irKW5Z6wEiXLB9r_1hgxdBdWbMLN4cKDwEUIG4-Ic32omifoEcE8Kiznh46SszXdq-RhB0RNVYjWAFnEAnALR1hqpGD3koYlz8y9oIetKGIBNHQyL814ekwJTLvUEM748_1DGDcVC2qIu6V2NIvwcleg4OWLPfmQilnWHu6l3ul1hjqISh3r8M5wXpgqOO-QqsR23aTxJTSOqTREz5ySs4WUrL3rXexQ8Rdss7JrMIF-vpfSJjUkXEVK5BGo0Tqij3xhz9BQmgQCCCqD9EgWiqF4eeYwr9zS4Tg&amp;h1=en&amp;bih=179&amp;biw=1600">here</A>.
    [response] </BODY></HTML>
    [response] 
    Traceback (most recent call last):
      File "url_for_image.py", line 95, in <module>
        sys.exit(main())
      File "url_for_image.py", line 90, in main
        raise ValueError("Couldn't understand server response")
    ValueError: Couldn't understand server response

     

    kgm58S7.thumb.jpg.56f33ff2783a0fdaf4415182434ddc5c.jpg

     

    Hope that helps.


  8. I've just tried again with v2.0, and I'm still getting the same response (opening the finder to the folder I mentioned above). This time I tried to search for the image I attached to this reply, and I got the following message in the debugger:

     

    [2017-09-28 11:23:24][ERROR: action.script] Traceback (most recent call last):
      File "url_for_image.py", line 85, in <module>
        sys.exit(main())
      File "url_for_image.py", line 80, in main
        raise ValueError("Couldn't understand server response")
    ValueError: Couldn't understand server response

     

     

    caramelo.thumb.jpg.5623aecbf9d9e9301cd1d5bde63676bb.jpg


  9. Here's what the debugger puts out when I run the workflow:

     

    [2017-09-28 08:42:44][ERROR: action.script] Traceback (most recent call last):
      File "url_for_image.py", line 85, in <module>
        sys.exit(main())
      File "url_for_image.py", line 80, in main
        raise ValueError("Couldn't understand server response")
    ValueError: Couldn't understand server response

     

     

    When I double-tap 'command' with an image selected in finder, and select 'Search For Similar Images' in the file action list, instead of searching Google the workflow opens '/Users/MY_NAME/Dropbox/Alfred.alfredpreferences/workflows/user.workflow.4DEF597C-7E7E-4A83-B859-E1627D4C7939' in finder.

     

    Is there any other useful information I could provide? Thanks for looking at this.


  10. Sorry -- I realized that I hadn't really provided any useful information a little later!

     

    Anyway, I'm also having the issue with Python processes that people are talking about, and the temporary fix didn't seem to help, so I suppose I will just wait until there is an update to the workflow.

     

    EDIT: I just tried Fixum again and now my Pocket workflow works. So, thanks for that!


  11. Are you the Numi developer?

     

    I see that you are the developer. It's a great little app. I emailed you with some suggestions.

     

    I can't seem to get the Alfred workflow to work; I'm getting the error "Failed to connect to localhost port 15055: Connection refused."

     

     


  12. IMDb has a feature whereby you can find all of the projects that two people worked on together. I would love it if someone could put together an Alfred workflow that would allow me to do the same. I imagine it would have to look up each actor's "nmXXXXX" designation on IMDb and then put that into a URL to get to the search page.

     

    I wouldn't have any idea where to begin with this, but if anyone thinks they can tackle it, I'd really appreciate it.

     

    Thanks!

×
×
  • Create New...