AppleScript: Keys Pressed test?
Thanks
Note: Apologies that Apple 21st century forum technologies do not preserve formatting, indentation etc...
on run
tell application "Finder"
activate
make new Finder window
if (keys pressed) contains "Shift" then
set bounds of Finder window 1 to {15, 34, 1520, 585}
else
set bounds of Finder window 1 to {15, 616, 1520, 1210}
end if
set current view of Finder window 1 to column view
end tell
end run
on reopen
run
end reopen
G5 dual 2GHz, 4.5GB RAM, Mac OS X (10.4.11), ( London, UK )