Jump to content
Sign in to follow this  
Vladi243

Runnig www.xxxxxxxx.com

Recommended Posts

Vladi243

How can I browse a site like www.xxxxxx.com while firefox is opened?

Till now I wrote macro of {TAB} to get the address in order to browse a site. How can I do it shortly.

another question. Which command does changes the language of the windows?

Share this post


Link to post
Share on other sites
ProgAndy

You should use Shellexecute. This opens the address in the default browser.


*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Share this post


Link to post
Share on other sites
Vladi243

Thanks, but I have to know how to browse another site while the browser opend.

Share this post


Link to post
Share on other sites
monoceres

Try this (if you have the adress and firefox is active)

Dim $adress="www.autoitscript.com"
Send("^t")
Sleep(300)
Send($adress)
Send("{ENTER}")
Edited by monoceres

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

Share this post


Link to post
Share on other sites
Vladi243

Try this (if you have the adress and firefox is active)

Dim $adress="www.autoitscript.com"
Send("^t")
Sleep(300)
Send($adress)
Send("{ENTER}")
It opens a new tab in firefox. I need to browse other site in the same tab/window.

Share this post


Link to post
Share on other sites
Achilles

I'm not really sure what you're trying to achieve but try the _IE functions in the helpfile. There's lots of stuff for navigating websites and whatnot. If you want a simple example look at my Daily Comics script (search Example Scripts)... The IE version just redirects and IE object to the link of the specified comic.


My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]

Share this post


Link to post
Share on other sites
Vladi243

I'm not really sure what you're trying to achieve but try the _IE functions in the helpfile. There's lots of stuff for navigating websites and whatnot. If you want a simple example look at my Daily Comics script (search Example Scripts)... The IE version just redirects and IE object to the link of the specified comic.

I have already solved that. Can you help me with other issue?

I wrote commands like these:

$i=0
do; 
$i=$i+1
Send ("X")
Sleep (Y)
until $i=Z

I want that the X, Y, Z will be values in an input box, that I'm changing as I want.

Can you help me with it?

Share this post


Link to post
Share on other sites
flip209

$i = 0

$x = InputBox ( "title", "Prompt" [, "Default" [, "password char" [, Width, Height [, Left, Top [, TimeOut]]]]]

$y = InputBox ( "title", "Prompt" [, "Default" [, "password char" [, Width, Height [, Left, Top [, TimeOut]]]]]

$z = InputBox ( "title", "Prompt" [, "Default" [, "password char" [, Width, Height [, Left, Top [, TimeOut]]]]]

do

;code

send($x)

sleep($y)

until $i = $z


" I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln

Share this post


Link to post
Share on other sites
Vladi243

Ohhh... Thanks.

It's unbelievable how much can I learn just by asking some questions.

Share this post


Link to post
Share on other sites
Vladi243

$i = 0

$x = InputBox ( "title", "Prompt" [, "Default" [, "password char" [, Width, Height [, Left, Top [, TimeOut]]]]]

$y = InputBox ( "title", "Prompt" [, "Default" [, "password char" [, Width, Height [, Left, Top [, TimeOut]]]]]

$z = InputBox ( "title", "Prompt" [, "Default" [, "password char" [, Width, Height [, Left, Top [, TimeOut]]]]]

do

;code

send($x)

sleep($y)

until $i = $z

Sorry that I'm bumping. I have another problem with the same issue.

This script opens one inputbox for each value. I need one window, in which I can put The all X, Y and Z values.

How can I do it?

Share this post


Link to post
Share on other sites
ProgAndy

Look at the GUICreate an GUICtrl... Functions in the HelpFile :D


*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Share this post


Link to post
Share on other sites
Vladi243

Look at the GUICreate an GUICtrl... Functions in the HelpFile :D

Tnx man, I have found it by self. As always I have another problem.

Is there a way to set the size of the buttons without messing with every pixel? It's freaking me out.

Share this post


Link to post
Share on other sites
Swift

You mean, with GUICtrlCreateButton? You can set the buttons width/height

Share this post


Link to post
Share on other sites
Vladi243

You mean, with GUICtrlCreateButton? You can set the buttons width/height

Yeah, I know, but I have to be accurate in order to set the path. Is there another way?

Share this post


Link to post
Share on other sites
Vladi243

Koda Form Designer.

That's what I looked for:)

Share this post


Link to post
Share on other sites
Toffen

Instead of the tab Macro you can just send("{f6}") and you will be in the adress field

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.