Ok, I included some images from debug window where those messed paths are visible and attached the log with errors.
Hm, actually it's true, if I did my script, I wouldn't use relative paths if it's possible because it's more complicated to know where specific file is stored.
Edit:
I was checking available functions and found ObjText_SetSyntacticAnalysis which interested me, "Allows or prevents checking for the existence of bracket tags (such as line break or ruby text) within the text for this object.". For now, the only tag I know is [r] which is a line-break. I tried to find that ruby text one but didn't find anything. So, where I could check available text tags?
Upd: why it always happens to me that as soon as I ask something, I manage to find the answer myself, even though I spent some time to find it before that. Ruby tag is used for super/subscripting, [ruby rb=\"Main Text\" rt=\"Superscript\"] (why it's called ruby?). After checking exe file, I found one more which wasn't mentioned on official website, font. Probably it uses clear and size words like rb and rt for ruby tag if I get those lines correctly so I guess it can change font and size of the selected text or something like that.
Please keep your edits/new posts in 1 post if there are no replies --Hele