Hi everyone, i am new to scripts and i was wondering how i can write a script to open a file… what i am doin is letting another program use this script to open garageband audio that i saved and say something when my bluetooth phone is within proximity of the computer… kind of a prank thing… i got this off of the following website… thanks for your help…
http://www.maclife.com/article/feature/10_os_x_pranks_reign_supreme_over_your_coworkers
Moved the topic to the appropriate forum
Try this…
set theFile to choose file without invisibles
tell application "Finder" to open theFile
say "The file is open!"