I've lost my recent documents shortcut

32 views
Skip to first unread message

Nick

unread,
Sep 10, 2009, 9:52:53 AM9/10/09
to Blacktree: Quicksilver
Before upgrading to snow leopard, I used to use QS to open recently
used documents for certain apps. For example. If I wanted a recently
used Pages document, I would invoke QS, type "P" for pages, then use
the right and down arrows to quickly select which recent Pages doc I
would like to open.

I've lost the capability to do this, and I can't figure out how to get
it back. Applications don't have the little arrow next to them like
they used to in QS. Folders I am running B56a7. Can anyone tell me
what I'm missing here? I really miss this option.

Chris Cairns

unread,
Sep 13, 2009, 11:37:12 AM9/13/09
to Blacktree: Quicksilver

> what I'm missing here?  I really miss this option.
I don't have a solution but this I use wrote this script instead of
using Quicksilver:
This script will not work with all applications but it will work with
many applications including Pages. I have assigned this script a
shortcut Option+O. You can assign a suitable hotkey.
try
set thelist to {}
tell application "System Events"
set {name:theApp, bundle identifier:theIdentifier} to (get 1st
application process whose frontmost is true)
end tell

repeat with i from 2 to 10

set documentRecords to (do shell script "defaults read " &
theIdentifier & " NSRecentDocumentRecords")


set {TID, text item delimiters} to {text item delimiters, "<"}

try
set alis to text item i of documentRecords
end try
set text item delimiters to ">"

set alis to text item 1 of alis

set text item delimiters to space
set alis to text items of alis
set text item delimiters to ""
try
set alis to (run script "«data alis" & (alis as text) & "»")
end try
set text item delimiters to TID
set alis to alis as text

set end of thelist to alis

end repeat
tell me to activate
set chooseFile to (choose from list thelist with title "Open Recent"
with prompt "Choose File(s):" with multiple selections allowed)

set theresult to the result
if theresult is not false then
repeat with aitem in theresult
tell application theApp
activate
open aitem
end tell
end repeat
end if

on error e
tell me to activate
display dialog e
end try
tell application theApp to activate
---needed when nothing is chosen from list

Chris Cairns

unread,
Sep 13, 2009, 11:39:06 AM9/13/09
to Blacktree: Quicksilver
instead of copying the script from above, download it from here so
that you don't have to adjust line breaks
http://rapidshare.com/files/279541351/Open_Recent_multiple_items_.scpt.html
Reply all
Reply to author
Forward
0 new messages