Applescript Studio, telling finder.
Applescript Studio, telling finder.
- Subject: Applescript Studio, telling finder.
- From: Kim Hunter <email@hidden>
- Date: Mon, 6 Feb 2006 12:42:28 +1000
Hi All,
I can't seem to get this to work in applescript studio
but it does work in script editor.
on getDiskNames()
set theResult to {}
tell application "Finder"
repeat with eachDisk in list disks
if (format of disk eachDisk as string) contains "MS-DOS" then
set theResult to theResult & eachDisk
end if
end repeat
return theResult as list
end tell
end getDiskNames
getDiskNames()
I havern't done much with studio.
thanks in advance.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden