Jump to content

RocketDock Script


Recommended Posts

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...