Vladi243 Posted April 26, 2008 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?
ProgAndy Posted April 26, 2008 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
Vladi243 Posted April 26, 2008 Author Posted April 26, 2008 Thanks, but I have to know how to browse another site while the browser opend.
monoceres Posted April 26, 2008 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!
Vladi243 Posted April 26, 2008 Author Posted April 26, 2008 monoceres said: 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.
Achilles Posted April 26, 2008 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]
Vladi243 Posted April 26, 2008 Author Posted April 26, 2008 Achilles said: 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?
flip209 Posted April 26, 2008 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
Vladi243 Posted April 26, 2008 Author Posted April 26, 2008 Ohhh... Thanks. It's unbelievable how much can I learn just by asking some questions.
Vladi243 Posted April 26, 2008 Author Posted April 26, 2008 flip209 said: $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?
ProgAndy Posted April 26, 2008 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
Vladi243 Posted April 26, 2008 Author Posted April 26, 2008 ProgAndy said: 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.
Swift Posted April 26, 2008 Posted April 26, 2008 You mean, with GUICtrlCreateButton? You can set the buttons width/height
Vladi243 Posted April 26, 2008 Author Posted April 26, 2008 Swift said: 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?
Vladi243 Posted April 26, 2008 Author Posted April 26, 2008 Swift said: Koda Form Designer.That's what I looked for:)
Toffen Posted May 5, 2008 Posted May 5, 2008 Instead of the tab Macro you can just send("{f6}") and you will be in the adress field
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