Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: display a global variable in a CC button Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: December 08 2007 at 17:40 | IP Logged Quote jeffw_00

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 View jeffw_00's Profile Search for other posts by jeffw_00
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: December 08 2007 at 18:15 | IP Logged Quote TonyNo

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 View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: December 08 2007 at 18:17 | IP Logged Quote jeffw_00

thx
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: December 08 2007 at 18:17 | IP Logged Quote TonyNo

Updated my response!
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: December 08 2007 at 18:38 | IP Logged Quote jeffw_00

works,
thanks

Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: December 09 2007 at 11:56 | IP Logged Quote dhoward

.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 View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
jeffw_00
Super User
Super User


Joined: June 30 2007
Online Status: Offline
Posts: 929
Posted: December 09 2007 at 11:59 | IP Logged Quote jeffw_00

don't sweat it dave, I have no problem using a function
Back to Top View jeffw_00's Profile Search for other posts by jeffw_00
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: December 09 2007 at 15:12 | IP Logged Quote TonyNo

It will be nice to not have to manually update the CC!
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum