Dopus and Ambient screen
  • Butterfly
    Butterfly
    AKiLL
    Posts: 91 from 2006/3/6
    From: Naples, Italy
    Hi All!

    Since I installed Ambient 1.43 nightly build, Ambient screen always opens as front screen while Directory Opus (which I set up to automatically run after Morphos boot) own screen doesn't open on front anymore...
    Any suggest?

    --
    AKiLL
  • »08.07.07 - 18:31
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    antibike
    Posts: 112 from 2003/3/5
    From: Germany / Sachsen
    you start dopus using wbstartup?
  • »09.07.07 - 01:36
    Profile
  • Butterfly
    Butterfly
    AKiLL
    Posts: 91 from 2006/3/6
    From: Naples, Italy
    @antibike

    No! I run DOpus from user-startup...
  • »09.07.07 - 12:18
    Profile
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    antibike
    Posts: 112 from 2003/3/5
    From: Germany / Sachsen
    than try it from wbstartup. because this way ambient is allready loaded and dopus should bring his screen to front.
  • »09.07.07 - 12:43
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    DoctorMorbius_FP
    Posts: 315 from 2004/2/14
    From: Naples - Italy
    @ AKiLL

    Alternatively you can put a "Wait x" command in the user-startup just before the line that runs DOpus. You should find the minimal time x in seconds by trial and error.
    Powered by PegasosII-G4, MacMini, PowerMac MDD.
  • »09.07.07 - 17:35
    Profile Visit Website
  • Butterfly
    Butterfly
    AKiLL
    Posts: 91 from 2006/3/6
    From: Naples, Italy
    Just tried with your trick, Doctor! Still no way to get dopus screen be in front after boot :(
  • »10.07.07 - 19:27
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Toto
    Posts: 268 from 2003/4/20
    @AKiLL
    Did you try to start it from wbstartup? Just tried it myself and it works for me, Dopus in front.

    ~toto
  • »10.07.07 - 22:11
    Profile
  • MorphOS Developer
    itix
    Posts: 1520 from 2003/2/24
    From: Finland
    Maybe not to user-startup because it would delay Ambient (LoadWB command) too cancelling effect. Maybe run DOpus from WBStartup using small script where it waits second or two and then starts DOpus.
    1 + 1 = 3 with very large values of 1
  • »10.07.07 - 22:13
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    DoctorMorbius_FP
    Posts: 315 from 2004/2/14
    From: Naples - Italy
    @ AKiLL

    > Maybe not to user-startup because it would delay
    > Ambient (LoadWB command) too cancelling effect.
    > Maybe run DOpus from WBStartup using small script
    > where it waits second or two and then starts DOpus.

    Or just insert the line

    Run <>NIL: Execute S:DOpus-startup

    within your user-startup in place of the line that directly runs DOpus. Put the removed line in DOpus-startup script, just after a "Wait x" (the minimum number of seconds x must be found by trial and error). DOpus-startup is like the script suggested by Itix, but must be put in S: (sorry, I hate WbStartup :-D).

    In such a way (thanks to the Run command) DOpus-startup is executed soon in a non-blocking way. So, while DOpus-startup expects its inner "Wait x" command, the final part of the user-startup is executed, control returns to the startup-sequence, and Ambient loads. When the "Wait x" in DOpus-startup expires, DOpus starts and will be in front of the Ambient screen.

    [ Edited by DoctorMorbius_FP on 2007/7/11 19:10 ]
    Powered by PegasosII-G4, MacMini, PowerMac MDD.
  • »11.07.07 - 15:51
    Profile Visit Website
  • Butterfly
    Butterfly
    AKiLL
    Posts: 91 from 2006/3/6
    From: Naples, Italy
    Tnx Doctor! The trick you suggested worked.
    Btw! I set value 1 for Wait command.
  • »15.07.07 - 13:45
    Profile