Bugs item #1899031, was opened at 2008-02-21 19:56 Message generated for change (Comment added) made by lebert You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1899031&group_id=11005
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Program Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Bert Wesarg (lebert) Assigned to: Nobody/Anonymous (nobody) Summary: 'nc -do "new()"' opens rarly on the current desktop Initial Comment: two scenarios: 1st: * start nedit on desktop 1 => new Untitled * switch to desktop 2 * execute 'nc -do "new()"' => new Untitled_1 in window from desktop 1 2nd: * start nedit on desktop 1 => new Untitled * switch to desktop 2 * execute 'nc' => new Untitled_1 in window from desktop 2 * switch to desktop 1 * modify Untitled * execute 'nc' => new Untitled_2 in window from desktop 1 * switch to desktop 2 * execute 'nc -do "new()"' => new Untitled_3 in window from desktop 1 Note: it doesn't matter, if you focus the window on the current window (if any), the -do macro is always executed from the last created document (I assume) ---------------------------------------------------------------------- >Comment By: Bert Wesarg (lebert) Date: 2008-02-21 20:00 Message: Logged In: YES user_id=122956 Originator: YES here is one idea to solve this: add a -desktop option to nedit/nc, and try to do all things on this desktop with the commands from the command line. nc can scan the command line and cann add a -desktop option with the current desktop if the option is missing ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1899031&group_id=11005 -- NEdit Develop mailing list - [email protected] http://www.nedit.org/mailman/listinfo/develop
