Jump to content

sr_navarre

Member
  • Content Count

    61
  • Joined

  • Last visited

About sr_navarre

  • Rank
    Member

Recent Profile Visitors

495 profile views
  1. Thanks for all of your good tips. I will try asking Claudia again and I will incorporate the information you requested in a future post.
  2. 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.
  3. 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!
  4. 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.
  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. 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.
  7. 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!
  8. sr_navarre

    Movie and TV Show Search

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

    Movie and TV Show Search

    Does anyone have a working download link for this workflow?
  10. 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.
  11. sr_navarre

    Google Search for Similar Images

    It works! Thanks again!
  12. 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.
  13. 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
  14. 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.
×