Jump to content
Sign in to follow this  
BigDaddyO

Detect Launch Via DblClick or commandline

Recommended Posts

BigDaddyO

Every so often i write a script that will be used mainly in the background and launched via scheduled tasks or startup. and on rare ocassions i need to make some modifications to the setup.

I am wondering if there is some way (not using $cmdline) to have the script detect if it was launched via a Double Click from the Windows GUI or if it was launched via some other method.

For the current script I'm working on, it would run it's normal processes when added to the scheduled tasks and or the Windows Startup. If I have to walk a user through double clicking on it, it would only be to modify some settings so I would need it to display my Edit gui instead of just running through the app.

Thanks,

Mike


Share this post


Link to post
Share on other sites
youknowwho4eva

What about adding a right click menu with a properties button?


Giggity

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.