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.)
Get help using and writing Nisus Writer Pro macros.
2 posts • Page 1 of 1
- Official Nisus Person
- Posts: 4288
- Joined: 2002-07-11 17:14:10
- Location: San Diego, CA
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).js wrote:The file is opend in the background. In beta 1 it was opened in the foreground. Why has this been changed?
I will file a bug that any documents opened by a macro should stay on top of the original macro document.