1. #1
    Ext JS Premium Member
    Join Date
    Aug 2009
    Location
    Sydney
    Posts
    65
    Vote Rating
    1
    dougboyd is on a distinguished road

      0  

    Default Publish CMD Window Close

    Publish CMD Window Close


    Hi All

    A minor inconvenience, yet a right pain in the backside...whenever the Publish button is pressed (on a Windows install), a command window is opened; after the action has been completed, the window stays open and requires a manual click to close it. Not a drama with one or two Publish actions, but a real wrist killer (type either exit or move the mouse and click) when one is in a RAD cycle.

    My question - any way to simply amend an 'exit' to that script and close the window?

    ta

    Doug

  2. #2
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,907
    Vote Rating
    62
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    Yeah the goal is to have a console that shows up docked to the bottom. I understand your frustration with the current process.
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  3. #3
    Ext JS Premium Member
    Join Date
    Aug 2009
    Location
    Sydney
    Posts
    65
    Vote Rating
    1
    dougboyd is on a distinguished road

      0  

    Default Thanks...

    Thanks...


    Hi Phil

    Thanks for the reply...I'll wait for the new version with baited breath.

    Cheers

    Doug

  4. #4
    Sencha Premium Member
    Join Date
    Nov 2012
    Posts
    29
    Vote Rating
    1
    yoann.colleaux is on a distinguished road

      0  

    Default


    Take a look at 2.2 behaviour : http://www.sencha.com/forum/showthre...nnot-be-closed.

    @Doug : Just let SA open CMD windows. Then CloseAll (Right-click on task bar button in Windows)
    @Phil : the docked console would have been really nice

  5. #5
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,907
    Vote Rating
    62
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      0  

    Default


    Yeah I know yoann.colleaux but time did not permit.

    I'm looking into the closing issue this is clearly a bug that will be fixed. Does Esc work for you or that's not working either?
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team

  6. #6
    Sencha Premium Member
    Join Date
    Nov 2012
    Posts
    29
    Vote Rating
    1
    yoann.colleaux is on a distinguished road

      0  

    Default


    Yep, ESC works. thanks!

  7. #7
    Ext JS Premium Member tangix's Avatar
    Join Date
    Mar 2010
    Location
    Stockholm, Sweden
    Posts
    550
    Vote Rating
    50
    tangix is a jewel in the rough tangix is a jewel in the rough tangix is a jewel in the rough

      1  

    Default


    A nosy question - why do you use Publish. For my RAD I have the SA project catalogue inside of my web-root so I just save and then refresh in the browser - saves you some mousing

  8. #8
    Sencha Premium Member BinaryCrash's Avatar
    Join Date
    Nov 2011
    Posts
    4
    Vote Rating
    1
    BinaryCrash is on a distinguished road

      1  

    Smile


    I made a program to run it in background.
    http://binarycrash.net/members/index...ivo=cmd_sa.rar
    md5sum: 262effd75ea433bb4d68cf0d78de0ca3

    Inside the RAR you have the cmd.exe and it's source code.
    You can compile it in free pascal if you like, or use the one i already compiled.

    Extract cmd.exe to where you instaled Sencha Architect.
    For example i installed mine at: W:\SENCHA\SenchaArchitect\

    When i click "Publish" button it execute my program and my program executes the cmd from windows system directory passing the received params.
    Last edited by BinaryCrash; 14 Mar 2013 at 1:27 PM. Reason: added md5sum

  9. #9
    Ext JS Premium Member
    Join Date
    Aug 2009
    Location
    Sydney
    Posts
    65
    Vote Rating
    1
    dougboyd is on a distinguished road

      1  

    Default


    Tangix - you legend. Such an obvious solution...I'm implementing now.

  10. #10
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,907
    Vote Rating
    62
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      1  

    Default


    Very clever BinaryCrash. Wondering what this solves so perhaps we can improve our process.

    2.3 will include some serious deploy upgrades.
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team