Finder: Selecting a file in HD Root (Newbie)

Hi Everyone –
I’m trying to select a specific file in the root of the HD using finder.
The only way I’ve thus far been able to do this successfully is via this method:

tell application "Finder"
	set selectPath to "Macintosh HD:" & saveName & ".mp3"
	activate
	select file selectPath
	set theSelection to selection
end tell

I want to find a way to make this work on macs where the Harddrive has been renamed.

This seems like a simple thing to do, but I’m new to applescript and I haven’t hit upon the right keywords yet.

Thanks in advance for any help.

– Adam

Try something like this:

set thePath to ((path to startup disk as text) & saveName & ".mp3") as alias

tell application "Finder"
	activate
	select file thePath
end tell