How to Get a Rule Sequence to Work?

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Re: How to Get a Rule Sequence to Work? Wed Jun 26, 2013 10:01 pm • by rafarc21
Hi, thanks once again.

Hazel didn't accepted this:
sjk wrote:Try changing the Shell: field to /usr/bin/bash -l and removing #!/bin/.bash_profile -l from the embedded script text. The intention is to force bash to read .bash_profile by invoking it (bash) with the "-l" option. I haven't tested if the Shell: field for an embedded script processes any options.

(the "Shell: field" was red and wouldnt run)

On your 2nd suggestion, this is what I did:
Image
*The part that triggered Mail did work, but as it is not the primary function of this script, I removed it so we can focus on the creation of the .torrent.

This was my result:
Code: Select all
6/26/13 10:55:50 PM   [0x0-0x18018].com.noodlesoft.HazelHelper[171]   ERROR    Bad tracker URL '/Users/rafarc21/Music/Seed Box/My Uploads/Rips/Organizing/Otto - Condom Black (2001)/Otto - Condom Black (2001) [320]', or unknown alias!


Heres is the complete log: http://cl.ly/2z3j223O3I3y

At first I thought It was referring the torrent tracker address. I've tried multiple variations of that but the error was the same.

Thanks guys, you're awesome for helping me getting this far! :)
rafarc21
 
Posts: 10
Joined: Mon Jun 10, 2013 9:26 pm

Re: How to Get a Rule Sequence to Work? Thu Jun 27, 2013 12:50 pm • by Mr_Noodle
Actually, there's no need to specify the -l argument as that is done for you now. Also, arguments don't (or at least shouldn't) work in the shell field. Putting /bin/bash should be sufficient.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: How to Get a Rule Sequence to Work? Wed Jul 03, 2013 7:52 pm • by rafarc21
Hmm still not working. I created this spreadsheet so we lay the tryouts and keep track of it:

https://docs.google.com/spreadsheet/ccc?key=0AhtgmXoPk6v4dGlDaGM1V2hiTGNLQVptc0Nxd0hEa3c#gid=0

Just add your suggestions there and I'll test it out.

Thanks! :)
rafarc21
 
Posts: 10
Joined: Mon Jun 10, 2013 9:26 pm

Re: How to Get a Rule Sequence to Work? Fri Jul 05, 2013 3:18 pm • by Mr_Noodle
Another thing to note in the script is that you aren't quoting $1 so if the path has spaces, things may not work.
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: How to Get a Rule Sequence to Work? Sat May 10, 2014 5:25 pm • by rarum
A bit late, but I second xor2000's request for a more flexible way of chaining actions.

Most of my workflows include a series of steps and I regularly struggle with this kind of problem.

Any updates on the development status of this feature?
rarum
 
Posts: 5
Joined: Sat Apr 26, 2014 4:37 am

Re: How to Get a Rule Sequence to Work? Mon May 12, 2014 3:23 pm • by Mr_Noodle
I think you meant to reply in another thread?
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: How to Get a Rule Sequence to Work? Mon May 12, 2014 3:37 pm • by rarum
No, I'm referring to a reply by xor2000 in this thread.
rarum
 
Posts: 5
Joined: Sat Apr 26, 2014 4:37 am

Re: How to Get a Rule Sequence to Work? Tue May 13, 2014 3:23 pm • by Mr_Noodle
Oh whoops. Didn't realize that there were multiple pages in this thread. In any case, if you really want this feature, then it's not enough just to say you want it. Please check out this thread and provide the information asked for there: viewtopic.php?f=2&t=3227
Mr_Noodle
Site Admin
 
Posts: 11255
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Previous

Return to Support