Jump to content
Sign in to follow this  
cohen

Opening website on application load

Recommended Posts

cohen

Im not sure how to do this, which is why im asking for help here.

I know the code in C#, which is

private void Form1_Load(object sender, EventArgs e)
        {
            Process.Start("www.procrackers.net/forum");
        }

I just need help doing something like this in AutoIt, thanks to whoever can do this

Share this post


Link to post
Share on other sites
bluerein

example..

#include <IE.au3>
$site="http://www.google.co.uk/"

while 1
if ProcessExists("notepad.exe")  then
_IECreate ($site ,0,1)
Exit
endif
wend

waits for notepad.exe to exist then opens page

Share this post


Link to post
Share on other sites
cohen

example..

#include <IE.au3>
$site="http://www.google.co.uk/"

while 1
if ProcessExists("notepad.exe")  then
_IECreate ($site ,0,1)
Exit
endif
wend

waits for notepad.exe to exist then opens page

Im making this for a wow program im making. Would I change notepad.exe to wow.exe or would I have to use the full directory link?("c:/Program Files/World of Warcraft/wow.exe")

Also, i was meaning when this application starts, to open up a website.

Share this post


Link to post
Share on other sites
bluerein

you need the full path ..thats correct...

Also, i was meaning when this application starts, to open up a website.

you mean when wow starts to open a webpage??

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  

×