Jump to content
Sign in to follow this  
fireking300

Pop-up?

Recommended Posts

fireking300

I want to make a file that can only be run from the Desktop is there any way to make this happen. and a pop-up comes up if it isnt on the desktop and can;t run.

Edited by fireking300

Share this post


Link to post
Share on other sites
monoceres

If @ScriptDir<>@DesktopDir Then
MsgBox(16,"Error","Access denied")
Exit
EndIf

:)


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites
fireking300

ty alot this helped a bunch

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  

×