#638 Applescript broken

closed-fixed
None
4
2010-03-25
2010-02-20
Anonymous
No

The following script works in Skim 1.3.3 but not in Skim 1.3.4. An empty default note is created in the middle of the page.

tell application "Skim"
set pageBounds to bounds of page 1 of document 1
set noteBounds to {20, ((item 2 of pageBounds) - 20), 40, ((item 2 of pageBounds) - 40)}
make note with properties {type:text note, text:"MyText", bounds:noteBounds, line width:1} at end of notes of page 1 of document 1
save document 1
end tell

Discussion

    • priority: 5 --> 4
    • status: open --> open-fixed
     
  • This is already fixed for the next release. For now, it works when you set the properties explicitily rather than passing them in the "with properties" parameter (though not the "type").

     
    • assigned_to: nobody --> hofman
     
    • status: open-fixed --> closed-fixed