Jump to content
Sign in to follow this  
liten

Really basic, Question so to say.

Recommended Posts

liten

Yes, this is really basic and i know you guys are going to say RTFM buy i just have 1 final and last question to ask before i finish my program, and write a guide to help all others, lost '

1. how do i make a Button, (Exit Button) That after it shuts down the program it go to a website.

2, would something like this be correct(NON RELATED TO #1)

Func F1()  
    SetPrivilege("SeDebugPrivilege", 1)
    $ID = _MemoryOpen(ProcessExists("XX.exe"))
    $Addy2 = _MemoryRead($Addy, $ID)
    $Addy2 = GuiCtrlRead($Slider1)
     While 1
         F1()
     WEnd
      _MemoryClose($ID) 
  EndFunc

To make what ever the slider is the value contained in $addy will always equal it(aka making my slider control a external value)

and how do i change the icon, you know remove the "A" in all auto it programs and replace it with my own icon,

Edited by liten

My UDF:Freeze.au3-Freeze values like CE, ML, ETC[i][/i][u][/u]

Share this post


Link to post
Share on other sites
BrettF

RTFM

1. Create your button

2. Set an even for it (OnEvent or using GUIGetMsg)

3. Use the following to open a website, and close the program.

ShellExecute("http://www.google.com.au")
Exit

Wasn't that hard :D

Cheers,

Brett

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.