In HBN there was entries had a "next alias" property that could be accessed through AS. I couldn't find anything similar in Mori. Is there anyway to find the aliases of an entry?
Thanks
|
|
next alias
Submitted by BMEguy on Wed, 2006-02-08 18:54.
Tags ( AppleScript )
In HBN there was entries had a "next alias" property that could be accessed through AS. I couldn't find anything similar in Mori. Is there anyway to find the aliases of an entry? Thanks Thanks Jesse, that seems toSubmitted by BMEguy on Thu, 2006-02-09 04:17.
Thanks Jesse, that seems to work fine as a replacement. First thing to note (that ISubmitted by BMEguy on Sun, 2006-02-12 03:13.
First thing to note (that I found through trial and error) is that the above call has to be inside a "tell application "Mori"" block and not a "using terms from application "Mori"" block. Any idea as to why this: try set nextAlias to (call method "nextAlias" of currentEntry) on error results in: call method "nextAlias" of entry id "p3" of document "testNotebook.midoc" p19 is indeed the alias of p3, but as soon as I try to set the value of a varible to it, I get the error. Thanks, I think the problem is thisSubmitted by Jesse Grosjean on Sun, 2006-02-12 09:14.
I think the problem is this line: log "the next alias is " & nextAlias it's trying to coerce nextAlias (which is an entry) into a string, and that's what is causing the error. This works OK for me: tell application "Mori" Yes, that appears to be theSubmitted by BMEguy on Sun, 2006-02-12 13:25.
Yes, that appears to be the problem. It's working now, Thanks. |
I took this out because I
I took this out because I didn't realize anyone would use it. I'm adding back 'next alias' and 'previous alias' keys for the next release. In the meantime I think you can call method to do what you want. Try
set myNextAlias to call method "nextAlias" of myEntryData