You know how you press the right keyboard arrow to show all the subfolders of the folders that are selected? I need to know how to do that in a applescript. Below is what I have
tell application “Finder”
activate
make new Finder window to folder “testfolder” of folder “Desktop” of folder “robroqe” of folder “Users” of startup disk
set current view of Finder windows to list view
select items of folder “testfolder”
end tell
If you are running Panther, or if you’ve installed System Events 1.2 [d/l] in Jaguar, something like this might work.
tell application "Finder"
activate
make new Finder window to folder "testfolder" of folder "Desktop" of folder "rjj" of folder "Users" of startup disk
set current view of Finder windows to list view
select items of folder "testfolder"
end tell
tell application "System Events" to keystroke (ASCII character 29)
Hopefully this will help to maintain the “best” rating for the contributors of this BBS. 8)