Reply to topic  [ 5 posts ] 
getting the path of the front document 
Author Message

Joined: 2007-04-12 14:59:36
Posts: 192
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?


2007-05-16 03:21:37
Profile
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 3636
Location: San Diego, CA
Post 
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


2007-05-16 14:41:19
Profile WWW

Joined: 2007-04-12 14:59:36
Posts: 192
Post 
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?


2007-05-17 01:37:01
Profile
Official Nisus Person
User avatar

Joined: 2003-02-11 10:49:05
Posts: 426
Location: Solana Beach, CA
Post 
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.

_________________
`//rite On!
,\\ark Hurvitz
Nisus Software Inc.


2007-05-17 13:17:54
Profile ICQ
Official Nisus Person
User avatar

Joined: 2003-02-11 10:49:05
Posts: 426
Location: Solana Beach, CA
Post 
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.

_________________
`//rite On!
,\\ark Hurvitz
Nisus Software Inc.


2007-05-17 14:46:28
Profile ICQ
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software