Jump to content

sr_navarre

Member
  • Content count

    59
  • Joined

  • Last visited

  1. 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!
  2. Hey claui, This is fantastic. Thanks so much for tackling this. This stuff is obviously way over my head, but I think this will be a very useful workflow. Is there a way to make it work with subfolders? Thanks again for the work.
  3. 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?
  4. sr_navarre

    IMDB Search Suggest

    @xilopaint Thanks so much. I did not upgrade Alfred recently, so I'm not sure what the problem was, but the workflow at your link works perfectly.
  5. sr_navarre

    Movie and TV Show Search

    @vitor You're right, it's the network I'm on that's blocking Github. Oh, well. I'll try it when I get home. Thanks!
  6. sr_navarre

    Movie and TV Show Search

    @vitor Thanks, but when I click any of the Github links I get "Failed to open page."
  7. sr_navarre

    Movie and TV Show Search

    Does anyone have a working download link for this workflow?
  8. sr_navarre

    IMDB Search Suggest

    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.
  9. sr_navarre

    Google Search for Similar Images

    It works! Thanks again!
  10. sr_navarre

    Google Search for Similar Images

    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 Hope that helps.
  11. sr_navarre

    Google Search for Similar Images

    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
  12. sr_navarre

    Google Search for Similar Images

    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.
  13. sr_navarre

    Google Search for Similar Images

    I use this workflow all the time, but since I updated to the new version of Alfred and High Sierra, it pulls up the workflow folder in Finder instead of searching Google. Is there any chance you could update the workflow? Thanks!
  14. This workflow sounds great, but I don't understand how to use it. Could someone explain?
×