Desktop printer files are really folders
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.