On Sep 19, 2014, at 22:05, Jan David Hauck wrote:
> Hello list,
>
> I recently came across an issue when using the "Set color of notes" script
> which I downloaded from the wiki. It works fine when I have only one pdf
> open. However, when I have multiple pdf's open no matter if I chose "Front"
> or "All" in the dialogue asking me for the document that I want to update
> then it doesn't work.
>
> When I open it in Apple Script and run if from there I get the errors:
>
> error "Can’t get text returned of {button returned:\"All\"}." number -1728
> from text returned of {button returned:"All"}
>
> or
>
> error "Can’t get text returned of {button returned:\"Front\"}." number -1728
> from text returned of {button returned:"Front"}
>
> respectively.
>
> Any idea what could be the issue?
>
> Thanks for help!
>
> Jan
Probably Apple's StandardEditions have changed the return value of a dialog. If
you edit the script and replace "set theAnwer to text returned of the result"
with "set theAnwer to button returned of the result" this should be fixed.
Christiaan
------------------------------------------------------------------------------
Slashdot TV. Video for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users