On Feb 17, 2012, at 18:28, Artemio González López wrote:

> On Feb 17, 2012, at 3:25 PM, [email protected] 
> wrote:
> 
>> On Feb 17, 2012, at 15:09, Artemio Gonz?lez L?pez wrote:
>> 
>>> Hi everybody,
>>> 
>>> I've tested Skim (1.3.19) with the recently released Mountain Lion, and 
>>> found that displayline (and hence forward search) is totally broken. More 
>>> precisely, trying to invoke forward search under Emacs.app does precisely 
>>> nothing, whereas directly executing the appropriate command in Terminal, 
>>> i.e.,
>>> 
>>> displayline 742 MC.pdf chap2.tex
>>> 
>>> fails with the following cryptic error
>>> 
>>> 102:160: execution error: Can?t get item 1 of {}. (-1728)
>>> 
>>> Does anybody have any idea of what could be the problem?
>>> 
>>> Thanks in advance,
>>> 
>>> Artemio
>>> 
>>> Artemio Gonz?lez L?pez
>>> [email protected]
>>> 
>> 
>> AppleScript sucks, every OS release introduces its own set of bugs. There is 
>> no enumeration in the displayline script, so I don't see how this particular 
>> error could come from that.
>> 
>> Have you tried to use AppleScript directly?
>> 
>> Christiaan
> 
> Christian,
> 
> I've tried running the following script in AppleScript Editor:
> 
> set theFile to POSIX file "/Users/artemio/Desktop/Apuntes/MC.pdf"
> set theSource to POSIX file "/Users/artemio/Desktop/Apuntes/MC.tex"
> tell application "Skim"
>       activate
>       open theFile
>       tell front document
>               go to TeX line 1000 from theSource
>       end tell
> end tell
> 
> The result is that Skim is immediately activated and the document's window is 
> brought to the front, but the line number command is totally disregarded (if 
> the document was closed, it opens in the first page, otherwise it just stays 
> where it was). I seem to remember that when Lion was released there was a 
> very similar problem. The only difference is that now the script produces no 
> errors or timeouts, it's just that the "go to TeX line ..." command is 
> entirely disregarded.
> 
> Any ideas as to what may be going on?
> 
> Thanks again,
> 
> Artemio
> 
> 
> Artemio González López
> [email protected]
> 
> 

No idea. Have you looked in the Console logs?

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

Reply via email to