Jcoder Posted February 21, 2022 Posted February 21, 2022 (edited) Ao abrir uma url no Autoit ele pede redirecionamento de página, como ir direto para a página sem passar por isso? Como proceder ??? Trans: When opening a url in Autoit it asks for page redirection, how to go straight to the page without going through this? How to proceed ??? Edited February 21, 2022 by Melba23 Reduced font size and added trans
Moderators Melba23 Posted February 21, 2022 Moderators Posted February 21, 2022 Jcoder, Welcome to the AutoIt forums. This is an English speaking forum - please use a translation site when posting, as I have have just done for you above. I suggest you post the code you are trying to use (see here how to do it) so we can try to understand your problem in more detail. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Jcoder Posted February 21, 2022 Author Posted February 21, 2022 $url = InputBox ( "Auto Click Matrix - Jean Coder", "Informe um Link.: ") ShellExecute ( $url )
Jcoder Posted February 21, 2022 Author Posted February 21, 2022 20 minutes ago, Jcoder said: $url = InputBox ( "Auto Click Matrix - Jean Coder", "Informe um Link.: ") ShellExecute ( $url ) I would also like to insert the number of pages to be opened from the same site, through inpubox.
ad777 Posted February 21, 2022 Posted February 21, 2022 @Jcoder just type:www.yoursite.com-numberofpagetobeopened ex:www.google.com-3;it will open 3 page's $url = InputBox("Auto Click Matrix - Jean Coder", "Informe um Link.: ");"www.google.com-numberofpage" For $i = 0 To StringMid($url, StringInStr($url, "-") + 1, -1) ShellExecute(StringReplace(StringReplace($url, "-", ""), StringMid($url, StringInStr($url, "-") + 1, -1), "")) Next none
Jcoder Posted February 21, 2022 Author Posted February 21, 2022 5 minutes ago, ad777 said: @Jcoder just type:www.yoursite.com-numberofpagetobeopened ex:www.google.com-3;it will open 3 page's $url = InputBox("Auto Click Matrix - Jean Coder", "Informe um Link.: ");"www.google.com-numberofpage" For $i = 0 To StringMid($url, StringInStr($url, "-") + 1, -1) ShellExecute(StringReplace(StringReplace($url, "-", ""), StringMid($url, StringInStr($url, "-") + 1, -1), "")) Next This page is not working If the problem persists, contact the site owner. HTTP ERROR 400
Jcoder Posted February 21, 2022 Author Posted February 21, 2022 Just now, Jcoder said: This page is not working If the problem persists, contact the site owner. HTTP ERROR 400 $url = InputBox("Auto Click Matrix - Jean Coder", "Informe um Link.: ");"www.google.com-2" For $i = 0 To StringMid($url, StringInStr($url, "-") + 1, -1) ShellExecute(StringReplace(StringReplace($url, "-", ""), StringMid($url, StringInStr($url, "-") + 1, -1), "")) Next $url = InputBox("Auto Click Matrix - Jean Coder", "Informe um Link.: ");"www.google.com-2" For $i = 0 To StringMid($url, StringInStr($url, "-") + 1, -1) ShellExecute(StringReplace(StringReplace($url, "-", ""), StringMid($url, StringInStr($url, "-") + 1, -1), "")) Next
ad777 Posted February 21, 2022 Posted February 21, 2022 (edited) @Jcoder https://www.howtogeek.com/359267/what-is-a-400-bad-request-error-and-how-can-i-fix-it/#:~:text=Many websites (including Google and,you're trying to open. also you might want to replace: For $i = 0 To StringMid($url, StringInStr($url, "-") + 1, -1) with For $i = 1 To StringMid($url, StringInStr($url, "-") + 1, -1) Edited February 21, 2022 by ad777 none
Jcoder Posted February 21, 2022 Author Posted February 21, 2022 15 minutes ago, ad777 said: @Jcoder https://www.howtogeek.com/359267/what-is-a-400-bad-request-error-and-how-can-i-fix-it/#:~:text=Many websites (including Google and,you're trying to open. also you might want to replace: For $i = 0 To StringMid($url, StringInStr($url, "-") + 1, -1) with For $i = 1 To StringMid($url, StringInStr($url, "-") + 1, -1) $url = InputBox("Auto Click Matrix - Jean Coder", "Informe um Link.: ");"www.google.com-2" For $i = 0 To StringMid($url, StringInStr($url, "-") + 1, -1 ShellExecute(StringReplace(StringReplace($url, "-", ""), StringMid($url, StringInStr($url, "-") + 1, -1), "")) Next does not open the page
ad777 Posted February 21, 2022 Posted February 21, 2022 @Jcoder First:do you have chrome Or Firefox or Any Brower installed! Secound:dose any of above browser set to Default Browser Third:did above link fix your problem Fourth:did you type it correctly when using script:www.google.com-3 none
Jcoder Posted February 21, 2022 Author Posted February 21, 2022 12 minutes ago, ad777 said: @Jcoder First:do you have chrome Or Firefox or Any Brower installed! Secound:dose any of above browser set to Default Browser Third:did above link fix your problem Fourth:did you type it correctly when using script:www.google.com-3 the link was copied from google and is complete
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