View Single Post
So, you've got the part that puts a priority on the beginning:
Quote:
set name of actionName to actionPrepend & name of actionName --I don't quite understand how this line is working
I don't understand what your shell script is for. If that's to detect the priority already existing, you need to move it *before* the line that puts the new priority on. Otherwise, you'll be sticking a new priority on and then taking it back off again!

In pseudocode:
Quote:
if the name starts with a priority
remove the priority
end if
add a new priority