Revision: 30147
Updated Code
at August 9, 2010 08:50 by supermauerbros
Updated Code
set dash_ to (ASCII character 45) set d to text item delimiters set text item delimiters to "/" set f to (POSIX path of (path to me))'s text 1 thru text item -3 & "/" set text item delimiters to d do shell script ("cd /" & quoted form of f & "; sass " & dash_ & dash_ & "watch style.scss:style.css")
Revision: 30146
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 9, 2010 07:08 by supermauerbros
Initial Code
set dash_ to (ASCII character 45) set d to text item delimiters set text item delimiters to "/" set f to (POSIX path of (path to me))'s text 1 thru text item -3 & "/" set text item delimiters to d --do shell script (f & "sass " & dash_ & dash_ & "watch style.scss:style.css") display dialog (f) do shell script ("cd /" & f & "; sass " & dash_ & dash_ & "watch style.scss:style.css")
Initial URL
http://macscripter.net/viewtopic.php?id=16755
Initial Description
Initial Title
Run terminal/script/shell command in the script\'s parent folder
Initial Tags
script, directory, terminal
Initial Language
AppleScript