• 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
Desktop printer files are really folders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Desktop printer files are really folders


  • Subject: Desktop printer files are really folders
  • From: Doug McNutt <email@hidden>
  • Date: Tue, 13 Aug 2002 04:02:20 -0600

I guess it makes sense. You can drag things into desktop printers.

But it sure messes things up when one is trying to step through all of the regular folders in a finder window. The class of a printer is item, not folder but folders in (contents of selection) picks them up anyway. Are there any other strange things like that?

-- Printer files are really folders
-- Select the desktop printers folder in the finder
-- and run this from the script editor
tell application "Finder"
set listOfFolders to get folders in (contents of selection) as list
repeat with theFolder in listOfFolders
set theClass to class of theFolder
display dialog (theClass as string) & ", " & (theFolder as string)
end repeat
end tell

--

Applescript syntax is like English spelling:
Roughly, but not thoroughly, thought through.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: What type is the finder selection? (From: Christopher Nebel <email@hidden>)
 >Re: What type is the finder selection? (From: Doug McNutt <email@hidden>)
 >Re: What type is the finder selection? (From: John Delacour <email@hidden>)

  • Prev by Date: Virtual Printer spooler
  • Next by Date: Re: What type is the finder selection?
  • Previous by thread: Re: What type is the finder selection?
  • Next by thread: Re: What type is the finder selection?
  • Index(es):
    • Date
    • Thread