[Grok-dev] Restarting Zope 3 with a single click/keystroke in Komodo (Edit/Ide)

Sebastian Ware sebastian at urbantalk.se
Sun Jun 24 10:35:29 EDT 2007


One needs to add a delay...

// Macro recorded on Tue Jun 19 2007 21:08:09 GMT+0200 (CEST)
komodo.assertMacroVersion(2);
ko.run.output.kill(-1);
if (komodo.view) { komodo.view.setFocus() };
timer = setTimeout("ko.run.runEncodedCommand(window, '/path/to/parts/ 
instance/bin/runzope');",500)


Mvh Sebastian

24 jun 2007 kl. 15.49 skrev Sebastian Ware:

> I know there is at least one other Komodo user on this list. This  
> macro restarts the zope 3 server with a single click (you can bind  
> it to a key of course).
>
> // Macro recorded on Tue Jun 19 2007 21:08:09 GMT+0200 (CEST)
> komodo.assertMacroVersion(2);
> ko.run.output.kill(-1);
> if (komodo.view) { komodo.view.setFocus() };
> ko.run.runEncodedCommand(window, '/the/path/to/parts/instance/bin/ 
> runzope');
>
> Mvh Sebastian
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> http://mail.zope.org/mailman/listinfo/grok-dev



More information about the Grok-dev mailing list