• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Applescript Studio, telling finder.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Determining the Default Mail App
  • Next by Date: App scripts in system script menu
  • Previous by thread: Re: Determining the Default Mail App
  • Next by thread: App scripts in system script menu
  • Index(es):
    • Date
    • Thread