| Author | 
         | 
         
      
        
         
         RichardL Senior Member 
          
 
  Joined: December 29 2008 Location: United States
 Online Status: Offline Posts: 165
          | 
        
         
          
           | Posted: April 15 2009 at 12:05 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Is there a "startup script" in Powerhome?
 
 I want to define certain global variables upon PH startup.  
 
 If there is no startup script, how else can I be positive a global variable is defined with a specific value each time PH starts?
 
 Thank you,
 
 Richard
 
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         nadler Super User 
          
 
  Joined: February 25 2006 Location: United States
 Online Status: Offline Posts: 354
          | 
        
         
          
           | Posted: April 15 2009 at 12:17 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Define a Trigger as Trigger Type 'System Process' and 
 Trigger Id as 'Startup'.  Every time PH is started 
 whatever Action and Action Type you define will be run.  
 It can be a macro, formula, raw formula etc.
 
 If you need more detailed info just ask.
 
 Noel
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         RichardL Senior Member 
          
 
  Joined: December 29 2008 Location: United States
 Online Status: Offline Posts: 165
          | 
        
         
          
           | Posted: April 15 2009 at 12:52 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Beautiful!     
 
 I set it up and it is perfect!  I also noticed the ability to execute at "reinitialize" and "shutdown".
 
 The Reinitialize and Startup are both in place and identical.
 
 Now that I have the variable dependable, I am continuing testing/tweaking my latest KeyPadLinc dependency issue.
 
 You may see that on another post real soon!
 
 Thank you!
 
 Richard
 
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   |