| Author | 
         | 
         
      
        
         
         jeffw_00 Super User 
          
 
  Joined: June 30 2007
 Online Status: Offline Posts: 935
          | 
        
         
          
           | Posted: December 08 2007 at 17:40 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
If you're wondering, I -do- try to crack the manual before I post 8-}
 
 can I display the value of a global variable in a CC button?
 thanks
 /j
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         TonyNo Moderator Group 
          
  
  Joined: December 05 2001 Location: United States
 Online Status: Offline Posts: 2889
          | 
        
         
          
           | Posted: December 08 2007 at 18:15 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Yup, you can. This line sets text object 10 on the AUDIO tab to the contents of my GV, "WINAMP PLAYING"...
 
 ph_setccobjtext ( "AUDIO", 10, "{WINAMP PLAYING}" )
 
  Edited by TonyNo - December 08 2007 at 18:17
         | 
       
       
        | Back to Top | 
         
          
          
         | 
       
       
       
        |   | 
      
        
         
         jeffw_00 Super User 
          
 
  Joined: June 30 2007
 Online Status: Offline Posts: 935
          | 
        
         
          
           | Posted: December 08 2007 at 18:17 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
thx
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         TonyNo Moderator Group 
          
  
  Joined: December 05 2001 Location: United States
 Online Status: Offline Posts: 2889
          | 
        
         
          
           | Posted: December 08 2007 at 18:17 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
Updated my response!    
         | 
       
       
        | Back to Top | 
         
          
          
         | 
       
       
       
        |   | 
      
        
         
         jeffw_00 Super User 
          
 
  Joined: June 30 2007
 Online Status: Offline Posts: 935
          | 
        
         
          
           | Posted: December 08 2007 at 18:38 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
works,
 thanks
 
 
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         dhoward Admin Group 
          
  
  Joined: June 29 2001 Location: United States
 Online Status: Offline Posts: 4447
          | 
        
         
          
           | Posted: December 09 2007 at 11:56 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
.13 should have the ability to display a global directly on the CC without having to use the ph_setcc functions.
 
 Dave.
 
         | 
       
       
        | Back to Top | 
         
          
          
         | 
       
       
       
        |   | 
      
        
         
         jeffw_00 Super User 
          
 
  Joined: June 30 2007
 Online Status: Offline Posts: 935
          | 
        
         
          
           | Posted: December 09 2007 at 11:59 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
don't sweat it dave, I have no problem using a function
         | 
       
       
        | Back to Top | 
         
          
         | 
       
       
       
        |   | 
      
        
         
         TonyNo Moderator Group 
          
  
  Joined: December 05 2001 Location: United States
 Online Status: Offline Posts: 2889
          | 
        
         
          
           | Posted: December 09 2007 at 15:12 | IP Logged
		     | 
                    
            		  
           | 
           
          
           
  | 
           
          
It will be nice to not have to manually update the CC!    
         | 
       
       
        | Back to Top | 
         
          
          
         | 
       
       
       
        |   |