Welcome to Our Community

Some features disabled for guests. Register Today.

OpenBuilds Control AutoRun AutoFocus

Discussion in 'Control Software' started by KaosCNC, Feb 13, 2021.

  1. KaosCNC

    KaosCNC Well-Known
    Builder

    Joined:
    May 16, 2017
    Messages:
    94
    Likes Received:
    27
    @Peter Van Der Walt
    s there a way to set OpenBuilds Control on a Windows 10 machine to run at the time of start up and also have it it complete full screen focus ?

    I'm searching but have not found how to do it or if that is even an option.
     
  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    14,750
    Likes Received:
    4,265
    It runs on boot, but sits in the tray.
    Add a startup script that runs it a second time, that'll bring up the GUI
     
  3. KaosCNC

    KaosCNC Well-Known
    Builder

    Joined:
    May 16, 2017
    Messages:
    94
    Likes Received:
    27
    when I install it on a PC - it never starts on boot

    I did move a shortcut to starts up and now it appears in the sys tray.

    However, does not come to focus.

    So you are saying with this script the GUI will be in focus? Will it be maxed to screen size ?
     
  4. KaosCNC

    KaosCNC Well-Known
    Builder

    Joined:
    May 16, 2017
    Messages:
    94
    Likes Received:
    27
    I have it now where it will run and be up when I login.

    cannot get the maximized to work.

    In the properties I have it set to maximized
     

    Attached Files:

  5. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,448
    Maybe try putting this in a javascript macro and set it to run at startup.

    Code:
    window.moveTo(0, 0);
    window.resizeTo(screen.width, screen.height)
    
     
  6. KaosCNC

    KaosCNC Well-Known
    Builder

    Joined:
    May 16, 2017
    Messages:
    94
    Likes Received:
    27
    Will give that a try.. not sure how to do a javascript macro but will search.
     
  7. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,448
    In control, go into macros tab. Add a new macro. Be sure to click on javascript side tab. Paste code in the box. Put a check on "run at startup".
     
  8. KaosCNC

    KaosCNC Well-Known
    Builder

    Joined:
    May 16, 2017
    Messages:
    94
    Likes Received:
    27
    Bingo... all good now... thank you
     
    sharmstr likes this.
  9. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,448
    How? I have mine starting up just fine, but how did you get it "up".
     
  10. KaosCNC

    KaosCNC Well-Known
    Builder

    Joined:
    May 16, 2017
    Messages:
    94
    Likes Received:
    27
    I have it in the scheduler as to run when a user logs in. After I did the javascript and rebooted when I typed my pin in to login it OBC was up and full screen.
     
    sharmstr likes this.
  11. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,448
    Awesome. I didnt even know I wanted this. My Dad is going to be happy about this. :)
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice