Pass command line parameters
Thursday, September 20, 2007 by KoolCamel | Discussion: DesktopX
Hello all,
I have created a menu system widget that uses a text file to generate shortcuts I want to appear on the users desktop. The text file is located on a network share so I can easily modify any items I want displayed on their desktops. The issue is I want to use this for different groups which all have different application needs. Is it possible to launch a widget and have it interpret and pass an argument that tells the widget which text file to use. I could then set group policy to autostart the application with the appropriate menu system. For example "run c:\scripts\wksmenu.exe P:\wksmenu\scripts\hourly.txt"
I have come up with some workarounds, but at the cost of some flexibilty. Any suggestions???
Reply #2 Friday, September 21, 2007 10:17 AM
As a side note, if things shake out with sales, I have decided to just read the machines OU membership inside my main script and call which file to read based off of that.
Reply #3 Friday, September 21, 2007 10:23 AM
I don't mean to scare you away and I really don't know if it's an issue. Best to make sure early though, right?
Reply #4 Friday, September 21, 2007 10:58 AM
Reply #5 Friday, September 21, 2007 4:55 PM
Are you building/deploying a gadget to distribute to each user?
If the answer is yes than you're fine.
If you're loading desktopX onto more than one system with out an enterprise license than obviously it's a violation.
Reply #6 Saturday, September 22, 2007 6:12 PM
See here:
https://www.stardock.com/products/desktopx/documentation/DX-sbs-5.asp
Then you could get the gadget itself to call the correct file as options.
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!







Reply #1 Thursday, September 20, 2007 9:51 PM