-
I am trying to open particular folders in the Finder, URLs and URL schemes based on a variable. It isn't working... I verified through logging that the variable was getting set, but it doesn't seem to be executing the item in the conditional based on that variable. Here's the code (with some name changes...)
I'm very new to this tool... hoping someone can help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
first, it looks like you're missing the
I think with the appropriate
Let me know if that helps. |
Beta Was this translation helpful? Give feedback.
first, it looks like you're missing the
end if
for those blocks. In that first block, you need to re-include Finder in each condition. It might actually work like you have it, with the file lines inside conditionals, but it wasn't designed that way and I can't be sure of that. Never actually tried it. What I'd recommend, though:I think with the appropriate
end if
on the other two blocks they should work as is. You could combine them all, though...