nisus.com
https://www.nisus.com/forum/

getting the path of the front document
https://www.nisus.com/forum/viewtopic.php?f=17&t=2238
Page 1 of 1

Author:  js [ 2007-05-16 03:21:37 ]
Post subject:  getting the path of the front document

I think Nisus macro language can't return a docment path. So I tried it with an Applescript
Code:
tell application "Nisus Writer Pro public beta"
   set the clipboard to (path of document 1 as text)
end tell

Why does this not work?

Author:  martin [ 2007-05-16 14:41:19 ]
Post subject: 

I don't have any advice on AppleScript macros, but you can get the document path using Nisus Macros:
Code:
$path = Document Property “file path”
Write Clipboard $path

Author:  js [ 2007-05-17 01:37:01 ]
Post subject: 

martin wrote:
I don't have any advice on AppleScript macros, but you can get the document path using Nisus Macros:
Code:
$path = Document Property “file path”
Write Clipboard $path


Thanks. That was helpful, as always. And it's a fine command to have for a macro that inserts links to other files.

Just wondering: I haven't seen this command so far. Is it documented? Is there a list of the complete set of commands available in the actual beta of NW Pro?

Author:  rmark [ 2007-05-17 13:17:54 ]
Post subject: 

Such a list should (we've done all we could to limit the creation of new commands), be in the next version of the beta manual. This should get posted sometime on May 17.

Author:  rmark [ 2007-05-17 14:46:28 ]
Post subject: 

Oops.

Sorry for raising expectations here.

It turns out that the version that's got all the new macro commands is not a public beta ("not ready for prime time"). And, therefore the manual that goes with it is not public either.

I'm afraid you'll simply have to be patient as we smooth out all the kinks.

Thank you for sticking with us.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/