Problems with new Applescript dictionary and selecting references

Users asking other users for AppleScripts that work with Bookends.
Post Reply
kseggleton
Posts: 39
Joined: Fri Jan 01, 2016 6:47 am

Problems with new Applescript dictionary and selecting references

Post by kseggleton »

I have been using the new Applescript dictionary but have occasionally come across some unusual behaviour. Every so often I have a reference that is selected and yet when I return the id of that reference a completely different id is returned. In the example below I can confirm that there is only one reference selected in Bookends and yet a different id is returned when I use the new Applescript dictionary compared to using the old Applescript events. This happens for about 1 in 20 references - can't work it out.
Attachments
Screen Shot 2019-05-07 at 8.03.00 PM.png
Screen Shot 2019-05-07 at 8.03.00 PM.png (237.25 KiB) Viewed 4130 times

Jon
Site Admin
Posts: 8818
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Problems with new Applescript dictionary and selecting references

Post by Jon »

Did you try Rebuilding the library?

Jon
Sonny Software

kseggleton
Posts: 39
Joined: Fri Jan 01, 2016 6:47 am

Re: Problems with new Applescript dictionary and selecting references

Post by kseggleton »

I had verified the library and repaired it but not rebuilt it. Now that I have this has seemed to have solved the problem. Thanks

Post Reply