Options

Comile objects automatically

pijnappelpijnappel Member Posts: 6
Hi,

I'm trying to find a solution to compile a single object or all objects at once without any user interaction (e.g. from a codeunit).
Does anyone know if that's possible?

thanks in adv.

Timo Pijnappel

Comments

  • Options
    kinekine Member Posts: 12,562
    You can use only Scripting Host to send apropriate keys into the keyboard queue... see examples how to "send" hotkeys within C/AL
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • Options
    pijnappelpijnappel Member Posts: 6
    Thaks, I already thought about that.
    There is only one question left about sending the keys. What happens if the window loses focus, e.g. by a popup of another window?
    Will these keys be exclusively send to Navision or to the Window that is currently active?
  • Options
    kinekine Member Posts: 12,562
    I am not sure, but I think that it insert keyboard messages into the system queue and it means that the event goes to the active window in time of processing. And which window it will be it depend on speed of processing the queue...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.