These are chat archives for Andy-Martin/blah

14th
Nov 2014
Andrew Peter Martin
@Andy-Martin
Nov 14 2014 16:04
tell application "Papers"
set selected mode of front library window to Reader Mode
set d to displayed publications of front library window
set OpenInReader to {}
set selected mode of front library window to Library Mode
tell front library window to set selected publications to OpenInReader
display dialog "Selected publications are open in reader: " & (count of OpenInReader) & linefeed & linefeed & "To create a new collection for these papers, choose 'File > New Collection > Collection from Selection'." buttons {"OK"} default button "OK" with icon 1
end tell
```tell application "Papers"
set selected mode of front library window to Reader Mode
set d to displayed publications of front library window
set OpenInReader to {}
set selected mode of front library window to Library Mode
tell front library window to set selected publications to OpenInReader
display dialog "Selected publications are open in reader: " & (count of OpenInReader) & linefeed & linefeed & "To create a new collection for these papers, choose 'File > New Collection > Collection from Selection'." buttons {"OK"} default button "OK" with icon 1
end tell
tell application "Papers"
set selected mode of front library window to Reader Mode
set d to displayed publications of front library window
set OpenInReader to {}
set selected mode of front library window to Library Mode
tell front library window to set selected publications to OpenInReader
display dialog "Selected publications are open in reader: " & (count of OpenInReader) & linefeed & linefeed & "To create a new collection for these papers, choose 'File > New Collection > Collection from Selection'." buttons {"OK"} default button "OK" with icon 1
end tell
--tell application "Papers"
set selected mode of front library window to Reader Mode
set d to displayed publications of front library window
set OpenInReader to {}
set selected mode of front library window to Library Mode
tell front library window to set selected publications to OpenInReader
display dialog "Selected publications are open in reader: " & (count of OpenInReader) & linefeed & linefeed & "To create a new collection for these papers, choose 'File > New Collection > Collection from Selection'." buttons {"OK"} default button "OK" with icon 1
end tell
`tell application "Papers"
set selected mode of front library window to Reader Mode
set d to displayed publications of front library window
set OpenInReader to {}
set selected mode of front library window to Library Mode
tell front library window to set selected publications to OpenInReader
display dialog "Selected publications are open in reader: " & (count of OpenInReader) & linefeed & linefeed & "To create a new collection for these papers, choose 'File > New Collection > Collection from Selection'." buttons {"OK"} default button "OK" with icon 1
end tell
` tell application "Papers"
set selected mode of front library window to Reader Mode
set d to displayed publications of front library window
set OpenInReader to {}
set selected mode of front library window to Library Mode
tell front library window to set selected publications to OpenInReader
display dialog "Selected publications are open in reader: " & (count of OpenInReader) & linefeed & linefeed & "To create a new collection for these papers, choose 'File > New Collection > Collection from Selection'." buttons {"OK"} default button "OK" with icon 1
end tell
*tell application "Papers"
set selected mode of front library window to Reader Mode
set d to displayed publications of front library window
set OpenInReader to {}
set selected mode of front library window to Library Mode
tell front library window to set selected publications to OpenInReader
display dialog "Selected publications are open in reader: " & (count of OpenInReader) & linefeed & linefeed & "To create a new collection for these papers, choose 'File > New Collection > Collection from Selection'." buttons {"OK"} default button "OK" with icon 1
end tell
{tell application "Papers"
set selected mode of front library window to Reader Mode
set d to displayed publications of front library window
set OpenInReader to {}
set selected mode of front library window to Library Mode
tell front library window to set selected publications to OpenInReader
display dialog "Selected publications are open in reader: " & (count of OpenInReader) & linefeed & linefeed & "To create a new collection for these papers, choose 'File > New Collection > Collection from Selection'." buttons {"OK"} default button "OK" with icon 1
end tell}
<code>tell application "Papers"
set selected mode of front library window to Reader Mode
set d to displayed publications of front library window
set OpenInReader to {}
set selected mode of front library window to Library Mode
tell front library window to set selected publications to OpenInReader
display dialog "Selected publications are open in reader: " & (count of OpenInReader) & linefeed & linefeed & "To create a new collection for these papers, choose 'File > New Collection > Collection from Selection'." buttons {"OK"} default button "OK" with icon 1
end tell</code>
tell application "Papers"
    set selected mode of front library window to Reader Mode
    set d to displayed publications of front library window
    set OpenInReader to {}
    set selected mode of front library window to Library Mode
    tell front library window to set selected publications to OpenInReader
    display dialog "Selected publications are open in reader: " & (count of OpenInReader) & linefeed & linefeed & "To create a new collection for these papers, choose 'File > New Collection > Collection from Selection'." buttons {"OK"} default button "OK" with icon 1
end tell