Jump to content
Sign in to follow this  
qazzyguy

RocketDock Script

Recommended Posts

qazzyguy

Hi, I'm working on a script that hides the start menu and taskbar. I got it all figured out but the only thing is I want to be able to put an icon on my rocketdock to be able to toggle it on and off. I have thought about having two programs, one that displays or hides the taskbar and the other that basically just presses the hotkey, but I want to be able to put it all into one script. I was wondering if there was a way to do something like this

if not exist (this program) then
  hide the taskbar
  set up hotkey
...
Else
  send hotkey
EndIf

now the thing is I could use: If ProcessExists("scriptname.exe") Then .....

but I want people to be able to rename the file if they want to.

So is there any way to check if there is already an instance of my script already running?

Thanx for the help

Share this post


Link to post
Share on other sites
Authenticity

_Singleton().

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.