get label index using osascript in specs
use osascript instead of rb-appscript as apple made rb-appscript useless in 10.8, no rb-appscript mac_alias, mac_file_url, mac_finder_alias and mac_finder_file_url
v3.0.0 have to switch to osascript