Command line arguments?

Monday, September 1, 2008 by SpeckledJim | Discussion: DesktopX

Hi,

I'm looking for a way to access command line parameters in my gadgets (have DesktopX Pro v3.2), but so far have come up completely empty handed. Since this is such a basic feature, I'm a bit stunned that there seems to be no info about that and it might not even be implemented. I'm thankful for any input on this. I know there are ways around that (like putting parameters into a text file and reading that), but that's very inelegant and hacky.

Thanks in advance!

ZubaZ
Reply #1 Monday, September 1, 2008 10:35 AM
There are no command lines for DX.  Using an external file or registry entries is available and very effective.
SirSmiley
Reply #2 Monday, September 1, 2008 12:57 PM
Could you clarify what you're looking for?

Because if you mean accessing the DesktopX api then I don't think this should be openly accessible via the command line for obvious reasons. If you mean to pass arguments than someone posted a work-a-round using WSH somewhere in the forums.
da_zman20
Reply #3 Monday, September 1, 2008 1:27 PM
you could try making batch files for those command line parameters, and that should suffice, just make it a text file, oh yeah when you are done you have to save the file with an extension of ".BAT" put the commands in the order you want to run them, you may want to look at some old dos help. because you can put each command into one file and using the "IF ERRORLEVEL" command you can you use the one batch file for each command... what do you think, does it sound plausible?

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01