On Aug 28, 2009, at 23:16, Peter Rich wrote: > Has anyone been able to successfully install and use the DocInfo > script? I followed the instructions to download and install it. But > when I run the script from the scripts menu, nothing happens. I even > tried running it from script editor and I got a huge error that > forced me to force-close the editor. > > -- > Peter Rich, PhD > peter_rich [at] byu [dot] edu > Instructional Psychology & Technology > Brigham Young University > Provo, Ut 84602
That script has various bugs. First of all, it does not check whether any returned value (in particular related to selections) is valid, it may return "missing value". Another thing is that a rich text property (such as the docText variable) doesn't have a "length" property, it should be first coerced into type "text" (so: "length of (docText as text)" will work). And it is really annoying (buggy) that Script Editor does not truncate its messages. Christiaan ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Skim-app-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/skim-app-users
