Jump to content
Software FX Community

marco.shaw

Members
  • Posts

    249
  • Joined

  • Last visited

Everything posted by marco.shaw

  1. One thing that you must realize is that if you want to run the interactive gadget on another machine, you must have PowerGadgets installed there also. That being said, you can save your gadget to an image and pass that around (or copy to a server for viewing). I'm not up to speed on whether there are different pricing schemes for the product and whether they offer the Creator package, and a smaller lightweight "runtime only" install. The latter would only be able to show gadgets and provide the PowerShell cmdlets (without the Creator wizard UI). Email support AT powergadgets DOT com if you think you might want to inquire about different pricing schemes.
  2. Sorry for the delay. Are you looking at how to use/install PowerGadgets or are just looking at how to use the new gadget-based features in Windows Vista?
  3. I did look at this quickly. Unless I'm missing something, I can't see a way to add 2 values. I do see that you can make the max value something specific, but I can't see how to make 2 "pointers"... I'll look at this some more next week.
  4. OK, so that is likely a simple string returned. Hopefully you can give me a day. I had to change computers and no longer have PowerGadgets installed.
  5. You may not be able to provide the SQL script, but can you show how the values are retunrned? Just simply copy and paste how the values are outputted, and possibly add this to the end of your PowerShell command or script "|get-member". Using get-member allows me to see what kind of object is outputted. It is possibly a string, but could also be some kind of SMO object (Sql server Management Object). Marco
  6. Are you trying to do something from within PowerShell or from the PowerGadgets Creator? From the Creator, assuming you are using the Wizard, you should see a "Snapins" button if you're choosing "Use Windows PowerShell" as your data source.
  7. Found it. Check here: http://community.softwarefx.com/forums/t/9166.aspx
  8. This is by design, and has come up before. I can't remember how to override this behaviour, but I know there is a flag to do this. I'll keep looking...
  9. You can apply for a free (not-for-resale) license here: http://www.softwarefx.com/sfxTrial/isv.aspx
  10. A couple of approaches is to determine whether there's an "ODBC" interface to your DB. Another approach is to determine what kind of .NET functionality might be provided to access your DB (I just found this: http://sqlite.phxsoftware.com/). Are you willing to install any kind of 3rd party app if required? http://en.wikipedia.org/wiki/SQLlite says: "SQLite also has bindings for a large number of programming languages, including BASIC, C, C++, Common Lisp, Java, C#, Delphi, Curl, Lua, Tcl, R, PHP, Perl, Ruby, Objective-C (on Mac OS X), Python, newLisp and Smalltalk. There is also a COM (ActiveX) wrapper making SQLite accessible on Windows to scripted languages such as Javascript and VBScript. This adds database capabilities to HTML Applications (HTA).[3]" So, C# and COM support are probably good news for accessing these via PowerShell.
  11. Sorry, for the delay... Are you still looking for help?
  12. It had been a few months since I had last installed PG. I didn't remember about it getting a remote code to initialize the install. I discussed my plans directly with the PowerGadgets team, and it appears this would go against their EULA (well maybe not their EULA, but it wasn't considered to be a best practice), and I would very much prefer to keep my good relationship with them. Hence, I will not provide a complete script that would copy files at a low level, etc. I could look into creating something that would automate all of the keystrokes required to get the product reinstalled. Would that work for you? I understand this auto-install option is available from them, but only for large volume license sales. You may want to contact support AT powergadgets DOT com if you wish to discuss this directly with them. Sorry for the delay, and what I have to provide you for the long wait... Marco
  13. Sorry for the delay in anyone answering. I don't follow, can you provide more details?
  14. My time is up isn't it... Sorry, still haven't had time...
  15. BTW, what operating system are you using? I'll start with that one to test...
  16. Well, I can try to find the time to try documenting the install. There's some tools out there that may be able to log the installation process, then by creating a simple zip package and a simple install script, I'd think one could reproduce the installation "quietly". I'll take a look at it, but it could be 2 weeks... Sorry, that's the best I can do...
  17. As far as I know, there isn't a silent install option available. Can you provide details on why you would want this for your local computer? Are you testing this, and wanting to perhaps distribute it to a large number of remote systems?
  18. Check this complete thread out for some examples: http://community.softwarefx.com/forums/t/9094.aspx PowerGadgets will run on Vista and 2008. Post back if you have any more questions, and I can fire up my Exchange VM. Marco
  19. Check out my blog postings to see how you need to implement a script to get a refresh value: http://community.softwarefx.com/blogs/powergadgets_guest_blog/archive/tags/guest+blogger/default.aspx Now, you're looking at trying to read 2 values into out-gauge, so you'll actually need to create a more complicated object with your .ps1 script. Let me know if you're still interested. Sorry for the delay in replying... Marco
  20. This is a good usage scenario, but can require some intermediate/expert knowledge of PowerShell and PowerGadgets. If you are able to provide more information, I can try to help you, but can't guarantee how long it might take to make everything work. Please email me directly marco.shaw _@_ gmail.com (remove the spaces and underscores). Marco
  21. With the current PowerGadgets version you can't host the gadget inside some kind of Windows application. Now, you have a possible workaround like having a monitor with your background as the map, and then placing your gadgets that way. Now, as for inner gauges, it has been a while since I've looked at these, but you can definitely create multiple inner gauges and each can have a different data source. Don't hesitate to email support AT powergadgets.com. They may well have something new for you to possibly test.
  22. This is will be one way this should work... In your first script, you will need a way to write out $_.name to a .tmp file. Then your drilldown will have to be able to pull in the contents of the .tmp file so it can "reconstruct" $_.name basically. Now... It is possible that you'll be having more than one copy of the "first script" running at once? If so, the .tmp files could conflict when you try to drill down to more than once. I'm hope I'm making sense... I just realized though, that the .tmp file could be cleaned up as soon as it is read. So in other words, unless you do 2 drill downs at exactly the same time, the chances of having a tmp file conflict are very minimal. I'll try to come up with some working code...
  23. As I kind of suspected... Your $args is lost on refresh. I'll have to think about this a bit to see if there's another way. There is something else that I'd think wouldn't work with what you're doing. I don't think I can work on this today, so hopefully you aren't in a big hurry...
  24. Is there an issue with you posting your entire script? When you use refresh, there's something that happens in the background where your "gadget" basically detaches itself from the original gadget, so some things are just lost. There is definitely a work around where we might be able to "transfer" information via a temp file, but there might also be a way to use variables to help out...
  25. Here's a couple of examples: http://community.softwarefx.com/forums/t/9167.aspxhttp://community.softwarefx.com/forums/t/9132.aspx Something I also found on my computer: $val=Get-WmiObject win32_Processor|%{$_.loadpercentage}$val1=(get-wmiobject Win32_Process).countout-gauge -type digital -value $val -float -innergauges_add digital `-innergauges_0_digitalpanel_value $val1 I was almost sure I had either seen something with more details written up, but my memory is failing me. Let me know if the above gets you going... Marco
×
×
  • Create New...