Jump to content
Software FX Community

dijikul

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About dijikul

  • Rank
    Newbie
  1. I guess the forum parsed out the XML... Here's that tag, without the brackets: (Data.PropertyCount)1(/Data.PropertyCount) (Data.Property0)appearance_color(/Data.Property0) (Data.Property0ScriptBlock)$_.Color(/Data.Property0ScriptBlock)
  2. We purchased PowerGadgets via ConnectSMART, and with it came a bunch of pre-populated gadgets. In some of these gadgets, there are dynamic color-changing PowerShell if statements that write out to the Color property of the PowerGadget object. In order for this to work, however, the following code is required for this to function _without_ piping the data to out-gauge.... I find this method cleaner and requiring less files, however I can'f find any documentation anywhere on what the namespace should be for these XML tags. currently, when creating new gadgets, I need to copy and paste the
  3. I've managed to make this work, but it depends. How are you creating your gadgets? With the PowerGadget creator I have, it doesn't write the proper XML tags required for it to pickup the Color property you feed it with PowerShell, however I have some older gadgets that I've been copy and pasting the code with. It basically works like this: You create an object in PowerShell that you store the gadget's properties in. I use basic digital gauges that have the Stat, and the Color. You first pull your data with PowerShell, then run it through some if statements to determine what you w
×
×
  • Create New...