sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Losing focus on window

    Scheduled Pinned Locked Moved Developers' Forum
    2 Posts 2 Posters 526 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      ArunYoganandan
      last edited by

      Hi All,

      As some of you might know, I'm building an immersive version of Sketchup. Since the user would not have access to a real keyboard, I'm simulating keyboard events via 3D menus and using AutoIt to mimic the selection as a keyboard press.
      This is particularly needed for things like setting the number of sides of a polygon or in making n number of copies etc.

      Where I'm facing difficulty is that sometimes SU seems to lose focus on the current window. This happens on the most unexpected SU operations (setting timers or undo or commit operations), after which none of my AutoIt inputs get conveyed as keypresses. Has anyone faced a similar issue of losing focus on current window with SU calls? Also, is there a solution to the same (like directly talking to the status bar without having to mimic a keyboard press)?

      Any help would be very much appreciated.

      Thanks,
      Arun

      1 Reply Last reply Reply Quote 0
      • thomthomT Offline
        thomthom
        last edited by

        Some times the toolwindows get the focus. Say if you undo a change where you edited a material in the Material Editor - SU will send the focus back to that window. Annoying.

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement