On Feb 11, 2012, at 18:22, Christian Pleul wrote:
> Hi,
>
> I tried the script DocInfo from the skim wiki [1] and it returns an error
> when running in the applescript editor. Since I never used applescript
> before, could somebody please tell me how to correct the script, because I
> need to count selected text in a pdf.
>
> [1]
> http://sourceforge.net/apps/mediawiki/skim-app/index.php?title=AppleScript#User-Contributed_Scripts
>
>
> Thank you in advance,
> --
> Christian
>
>
> -Click. Boom. Amazing!-
>
> Steve Jobs, 2006
After the "set selText to..." line, add the following lines:
if docText is missing value then
set docText to ""
else
set docText to docText as text
end if
if selText is missing value then
set selText to ""
else
set selText to selText as text
end if
Christiaan
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users