Sign in to follow this  
Followers 0
AzKay

Hmm, something wrong here?

7 posts in this topic

#1 ·  Posted (edited)

First is "Hello World" the second is this, and i need help, ive looked at some other scripts, and picked up abit, not much but abit... im trying to make an autoposter

If $MsgBoxResult = 1 Then
Run("C:\Program Files\Mozilla Firefox\firefox.exe")
Sleep ( 2000 )
Send("{ALT}, {ENTER}, {L}, {ENTER}")
Send("http://www.gaiaonline.com/guilds/viewtopic.php?t=3186421")
Send("{ENTER}")
EndIf

Well...So here it is, a newbie asking a question...

When i run this, it opens up firefox, but i dont know why, instead of alt enter l enter, it goes to CTRL + F ( Find )

then types it in there, instead of the address bar... help?

Thanks,

-AzKay

Edit--

And how do i make it TAB 15 times?

thanks

Edited by AzKay

# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites



I do not have Firefox but I am sure you do not need commas between the keys you are sending.

send("{TAB 15}") for your second question



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

I do not have Firefox but I am sure you do not need commas between the keys you are sending.

send("{TAB 15}") for your second question

Thanks muchly, ill try that ^^

# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Thanks muchly, ill try that ^^

This should work:

Send("^l")
Send("http://www.gaiaonline.com/guilds/viewtopic.php?t=3186421")
Send("{ENTER}")
Edited by big_daddy

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

First is "Hello World" the second is this, and i need help, ive looked at some other scripts, and picked up abit, not much but abit... im trying to make an autoposter

If $MsgBoxResult = 1 Then
Run("C:\Program Files\Mozilla Firefox\firefox.exe")
Sleep ( 2000 )
Send("{ALT}, {ENTER}, {L}, {ENTER}")
Send("http://www.gaiaonline.com/guilds/viewtopic.php?t=3186421")
Send("{ENTER}")
EndIf

Well...So here it is, a newbie asking a question...

When i run this, it opens up firefox, but i dont know why, instead of alt enter l enter, it goes to CTRL + F ( Find )

then types it in there, instead of the address bar... help?

Thanks,

-AzKay

Edit--

And how do i make it TAB 15 times?

thanks

why alt enter L enter? :) plus your Send sytnax is incorrect :D

If $MsgBoxResult = 1 Then
Run("C:\Program Files\Mozilla Firefox\firefox.exe")
Sleep(2000)
Send("{ALT+T}")
Send("http://www.gaiaonline.com/guilds/viewtopic.php?t=3186421")
Send("{ENTER}")
EndIf

maybe try that? it will open a new tab which by default has the cursor in the address bar :(

and to send "TAB" fifteen times do this

Send("{TAB 15}")

-edit-

jeez lol i got out - "responded" LOL

Edited by 4gotn1

Share this post


Link to post
Share on other sites

Wow, so much help in five minutes, i love you guys xD ( not in a dodgy way )

much better than other scripting/coding forums. keep up the good work


# MY LOVE FOR YOU... IS LIKE A TRUCK- #

Share this post


Link to post
Share on other sites

Wow, so much help in five minutes, i love you guys xD ( not in a dodgy way )

much better than other scripting/coding forums. keep up the good work

ive tryed all those suggestions, but the same problem, is it just my computer? ^^; it keeps just going to Firefox's "Find" option, which is CTRL F, weird...

# MY LOVE FOR YOU... IS LIKE A TRUCK- #

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  
Followers 0