Reply to topic  [ 2 posts ] 
Run selection as macro behaviour 
Author Message

Joined: 2007-04-12 14:59:36
Posts: 229
In beta 2 The "open filepath" macro executes as expected: it opens the file on that path. But if you run a selection "open filepath" thru the 'Run selection as macro' command, the behaviour in beta 2 is different: The file is opend in the background. In beta 1 it was opened in the foreground. Why has this been changed?

(I used these "open filepath" lines of text to navigate thru documents: Let's say you have an open file and you would like to insert a link to another file you wrote earlier. Now you simply open that other file and use a macro that checks it's path, then closes it so that your original file is on top again, and have that macro enter the words "open" plus the filepath it had looked up, maybe marking that line with a dedicated color. Afterwards all you have to do is selecting it and use the 'Run selection as macro' command which of course should get an shortcut like cd-RR. It's very efficient, but now it does not work any more.)


2007-06-11 03:55:04
Profile
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
js wrote:
The file is opend in the background. In beta 1 it was opened in the foreground. Why has this been changed?

It was not explicitly changed, however this is a side effect of us changing the behavior of the menu Run Selection as Macro. Now the document the selection rests in hidden at the start of the macro so the macro can affect whatever other document may be open. When the macro finishes the original document is shown again (which brings it to the foreground).

I will file a bug that any documents opened by a macro should stay on top of the original macro document.


2007-06-11 16:05:56
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 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