- Posts: 73
PTGen-Window stealing window focus
- solarjoe
- Topic Author
        Less
        More
        
            
    
        
            
        
                06 Dec 2012 00:31                #1061
        by solarjoe
    
    
            
            
            
            
            
                                
    
                                                
    
        PTGen-Window stealing window focus was created by solarjoe            
    
        Hello,
I have another question and hope that you can help me.
During parametric runs the PTGen Optimization window
is always stealing the window focus, which is slightly annoying
Is there a way to prevent this?
Kind regards,
Joe
    I have another question and hope that you can help me.
During parametric runs the PTGen Optimization window
is always stealing the window focus, which is slightly annoying

Is there a way to prevent this?
Kind regards,
Joe
Please Log in or Create an account to join the conversation.
- Paul Gilman
        Less
        More
        
            
    
        - Posts: 5665
            
        
                06 Dec 2012 09:49                #1062
        by Paul Gilman
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by Paul Gilman on topic PTGen-Window stealing window focus            
    
        Hi Joe,
As you observed, when you run PTGen from a SamUL script using the PtOptimize() function, the Command window takes focus for the few seconds that PTGen is running and displays itself on top of other windows that are open on your desktop.
That can be annoying if your script takes a long time to run and you want to use other programs on your computer while it is running.
For now, there is not a way to change this behavior.
Thanks,
Paul.
    
    As you observed, when you run PTGen from a SamUL script using the PtOptimize() function, the Command window takes focus for the few seconds that PTGen is running and displays itself on top of other windows that are open on your desktop.
That can be annoying if your script takes a long time to run and you want to use other programs on your computer while it is running.
For now, there is not a way to change this behavior.
Thanks,
Paul.
Please Log in or Create an account to join the conversation.
- solarjoe
- Topic Author
        Less
        More
        
            
    
        - Posts: 73
            
        
                10 Dec 2012 02:49                #1063
        by solarjoe
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by solarjoe on topic PTGen-Window stealing window focus            
    
        Hello Paul,
ok, thanks for your quick reply.
Yes, my scripts take quite a long time, as I am running
parametric calculations of 2 variables on Solar Tower plants.
Maybe a solution could be provided sometime.
Kind regards,
Joe
    ok, thanks for your quick reply.
Yes, my scripts take quite a long time, as I am running
parametric calculations of 2 variables on Solar Tower plants.
Maybe a solution could be provided sometime.
Kind regards,
Joe
Please Log in or Create an account to join the conversation.
- solarjoe
- Topic Author
        Less
        More
        
            
    
        - Posts: 73
            
        
                18 Dec 2012 07:00                #1064
        by solarjoe
    
    
            
            
            
            
            
                                
    
                                                
    
        Replied by solarjoe on topic PTGen-Window stealing window focus            
    
        Hello,
just one more comment on this:
I banished SAM into my virtual machine ( www.virtualbox.org ), so far
this works like a charm and I can minimize it
Kind regards,
Joe
    just one more comment on this:
I banished SAM into my virtual machine ( www.virtualbox.org ), so far
this works like a charm and I can minimize it

Kind regards,
Joe
Please Log in or Create an account to join the conversation.
        Moderators: Paul Gilman    
 
  
 















