Vladi243 Posted April 26, 2008 Share Posted April 26, 2008 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? Link to comment Share on other sites More sharing options...
ProgAndy Posted April 26, 2008 Share Posted April 26, 2008 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 Link to comment Share on other sites More sharing options...
Vladi243 Posted April 26, 2008 Author Share Posted April 26, 2008 Thanks, but I have to know how to browse another site while the browser opend. Link to comment Share on other sites More sharing options...
monoceres Posted April 26, 2008 Share Posted April 26, 2008 (edited) 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 April 26, 2008 by monoceres Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
Vladi243 Posted April 26, 2008 Author Share Posted April 26, 2008 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. Link to comment Share on other sites More sharing options...
Achilles Posted April 26, 2008 Share Posted April 26, 2008 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] Link to comment Share on other sites More sharing options...
Vladi243 Posted April 26, 2008 Author Share Posted April 26, 2008 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? Link to comment Share on other sites More sharing options...
flip209 Posted April 26, 2008 Share Posted April 26, 2008 $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 Link to comment Share on other sites More sharing options...
Vladi243 Posted April 26, 2008 Author Share Posted April 26, 2008 Ohhh... Thanks. It's unbelievable how much can I learn just by asking some questions. Link to comment Share on other sites More sharing options...
Vladi243 Posted April 26, 2008 Author Share Posted April 26, 2008 $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 = $zSorry 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? Link to comment Share on other sites More sharing options...
ProgAndy Posted April 26, 2008 Share Posted April 26, 2008 Look at the GUICreate an GUICtrl... Functions in the HelpFile *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 Link to comment Share on other sites More sharing options...
Vladi243 Posted April 26, 2008 Author Share Posted April 26, 2008 Look at the GUICreate an GUICtrl... Functions in the HelpFile 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. Link to comment Share on other sites More sharing options...
Swift Posted April 26, 2008 Share Posted April 26, 2008 You mean, with GUICtrlCreateButton? You can set the buttons width/height Link to comment Share on other sites More sharing options...
Vladi243 Posted April 26, 2008 Author Share Posted April 26, 2008 You mean, with GUICtrlCreateButton? You can set the buttons width/heightYeah, I know, but I have to be accurate in order to set the path. Is there another way? Link to comment Share on other sites More sharing options...
Swift Posted April 26, 2008 Share Posted April 26, 2008 Koda Form Designer. Link to comment Share on other sites More sharing options...
Vladi243 Posted April 26, 2008 Author Share Posted April 26, 2008 Koda Form Designer.That's what I looked for:) Link to comment Share on other sites More sharing options...
Toffen Posted May 5, 2008 Share Posted May 5, 2008 Instead of the tab Macro you can just send("{f6}") and you will be in the adress field Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now