NISUS Archives

March 2010

NISUS@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Þorvarður Davíðsson <[log in to unmask]>
Reply To:
Date:
Sun, 14 Mar 2010 23:40:46 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (49 lines)
On 14.03.2010, at 21:36, Michael Cass wrote:

> Make the selection in your document. Then Nisus Writer Pro >  
> Services > New Nisus Document with Selection. (...)
>
>> How can I save a document on the desktop with a macro using a text  
>> selection from the document?


Hello Michael,

this is something different. What I wanted to do was NOT to make a  
new document from a selection but to *save* the document using a  
selection in the document. Let me explain …

1) I copy , for example, a long text from a web page using Safari
2) then I switch to NWP, create a new document and paste the text
3) If I now press Command + S the first few words in the document  
will be suggested as a title. Now suppose I don't want the first few  
words to be used as a title but words that are somewhere else in the  
document. So I select those words, and now I need a macro that can  
use the selection and save the document *automatically* using the  
selection as title. Most people would just select the text, then  
press Command + S and finally manually paste the text into the "Save  
As" field. What I want to do is to skip the last step!

Example:

I paste this text into NWP…

--BEGINN OF TEXT
original name Józef Teodor Konrad Korzeniowski, English novelist and  
short-story writer of Polish descent, whose works include the novels  
Lord Jim (1900), Nostromo (1904), and The Secret Agent (1907) and the  
short story “Heart of Darkness” (1902). During his lifetime Conrad  
was admired for the richness of his prose and his renderings of  
dangerous life at sea and in exotic places.
--END OF TEXT

I want to select the word (or name) "Conrad", press a menu key and  
automatically save the document with the title "Conrad".


Ţorvarđur
OS X 10.4.11
Power Mac G4

P.S. Since we are at it, any Joseph Conrad fans here?

ATOM RSS1 RSS2