This content has been marked as final. Show 4 replies
It would be helpful to know what the error is that you are getting. My
guess is that you are getting an error saying Script Error: String
Expected. If that is the case, then the problem is that many of the
baCpuInfo commands return an integer. You can not set the .text of a
member to an integer, as text fields need to be strings. Som try this
on mouseUp me
set CPU_type = baCpuInfo( "type" )
member("CPU_type").text = string(CPU_type)
Yeh - that was the error - have converted to strings and it works fine
One thing to be careful of is that the BuddyAPI documentation came out a
year and a half ago, and though the command baCpuInfo("type") will work
properly, you may get results that are not covered in the manual. For
instance, I just noticed that when I run it,
I am running an AMD Athlon64 X2. You will probably need to come up with
some way of translating the newer processor types. Or you may want to
send Gary (the fellow that made the xtra) an email asking for a more up
to date list. His contact info is on the BudAPI website.
Great, I will do that.
Thanks for pointing it out.