What's wrong with this "if"?
Posted
by Gurzo
on Stack Overflow
See other posts from Stack Overflow
or by Gurzo
Published on 2010-06-13T13:58:09Z
Indexed on
2010/06/13
14:02 UTC
Read the original article
Hit count: 147
applescript
Hello,
I'm currently trying to make an AppleScript which should recognize the selected file in Finder and do the relative command in Terminal.
Everything was going fine since I reached the part where it should define the language of the selected file: it just doesn't check the ifs. I checked if it writes fileExtension correctly (via return) and it does.
Here is the Gist with the code, any help would be appreciated.
Thanks
© Stack Overflow or respective owner