Hey there,
I'm trying to figure out how to get back to a command's HTML window after the command has finished. What I currently have works fine:
#!/usr/bin/env ruby18
require "#{ENV['TM_SUPPORT_PATH']}/lib/tm/executor"
ENV['EDITOR'] = 'mate --wait' TextMate::Executor.run("eyaml", "edit", "#{ENV['TM_FILEPATH']}")
I have Output set to show in a new HTML window and I do get the output there. I'm just wondering if there's a way to get TM to automatically return to the HTML window after I've closed the modified eyaml (so I don't miss any error output for example).
Thanks, George
On 15 Jul 2020, at 10:27, George McGinley Smith wrote:
I have Output set to show in a new HTML window and I do get the output there. I'm just wondering if there's a way to get TM to automatically return to the HTML window after I've closed the modified eyaml (so I don't miss any error output for example).
I don’t follow this: You want window focus to go to a (stale?) HTML output window when closing a document (text edit window)?
Yes, but it's not stale, the window has any output from the command – eyaml edit only outputse after the edit window is closed.
On Thu, 6 Aug 2020 at 11:36, Allan Odgaard mailinglist@textmate.org wrote:
On 15 Jul 2020, at 10:27, George McGinley Smith wrote:
I have Output set to show in a new HTML window and I do get the output there. I'm just wondering if there's a way to get TM to automatically return to the HTML window after I've closed the modified eyaml (so I don't miss any error output for example).
I don’t follow this: You want window focus to go to a (stale?) HTML output window when closing a document (text edit window)? _______________________________________________ TextMate mailing list -- textmate@lists.macromates.com To unsubscribe send an email to textmate-leave@lists.macromates.com