Managing Notes via Applescript

  • 2
  • Idea
  • Updated 7 years ago
Hi, I'm using Mindjet for Mac (Version: 10.3.605).

I'm trying to write an applescript to converting MindMap to text.
I have a trouble to set / get "notes" property from a topic.

I can set a certain multibyte string to "notes" of a topic correctly, 
but I cannot get a same string from the "notes".
It seems to be some encoding problem.

I tested this applescript: 

tell application "Mindjet MindManager"
    set centralTopic to central topic of document 1

    set str1 to "ABCDEあいうえおFHG"
    set notes of centralTopic to str1
    set str2 to notes of centralTopic

    if str1 is not str2 then
         display dialog "str1 (" & str1 & ") is not equal to str2 (" & str2 & ")"
    end if

end tell

And the result is as an attached images.

What should I do to get a notes from topic without this encoding problem?


Photo of Katsuyuki Namba

Katsuyuki Namba

  • 1 Post
  • 0 Reply Likes
  • confused

Posted 7 years ago

  • 2
Photo of Terry Dalton

Terry Dalton

  • 304 Posts
  • 33 Reply Likes
Unfortunately, this is not currently supported.  I am going to switch this to an idea so our Product Manager can review this suggestion for a future release.