Search the Community
Showing results for tags 'URL'.
-
_FileGetShortcutEx This UDF will return shortcut (.LNK) file information for more advanced shortcuts that AutoIt's built-in FileGetShortcut() chokes on. The following types of shortcuts can be retrieved using this function: MSI Advertised Shortcuts URL (website) Shortcuts that are embedded (rather than put in a .URL file) Special GUID Shell Item Shortcuts. This is only one level deep at the moment, so it will only read the base Folder GUID (For example: shortcuts to 'My Computer', 'Recycle Bin' return fine) UNC Shortcuts ("PCNAME"). This is also only one level deep currently, so "PCNAMEF
- 9 replies
-
- FileGetShortcut
- LNK
-
(and 3 more)
Tagged with:
-
I have a script that seems to launch perfectly fine with IECreate, however, I want to launch the Browser and a specific URL with the RunAs command. I fairly new to AutoIT and wanted to know if someone can point me in the right direction. Local $surl = "http://somewebsite.com/DODA/admin/job.aspx" Local $oIE = _IECreate($sURL) The above launches the website correctly with the correct URL, however, I have tried the below and this fails to load and browser? #include <AutoItConstants.au3> ;======================== $oSleep = "200" Local $surl = "http://somewebsite.
-
hello sirs please i want to use the WinHttp to get the google drive file title using the api i searched in the forom but i didn't found any Google drive api UDF for that i liked to ask you for that i had read the google drive api documentation but i couldn't do it please help me here is the api doc note i've got the apikey and i have the file id what i want is to get the title of the file (the file name) because i want to download the files from the google drive using the autoit please help me for that am sorry because i didn't gave you an
-
hello sirs i've some questions about StringRegExpReplace i hope you can help me i tried to make a function that give me the host of the url and other give me the url with out host for example i've this link https://www.example.com/vb/result.php i need the first give me the example.com and the other give me /vb/result.php i find that $s_source = "https://www.google.com/vb/index.php" Local $s_Host = StringRegExpReplace($s_Source, '.*://(.*?)/.*', '\1') Local $s_Page = StringRegExpReplace($s_source, '.*://.*
- 15 replies
-
- stringregexpreplace
- replace
-
(and 2 more)
Tagged with:
-
I created an application to catch keyboard programmed keys. Some of the keys open URL's via ShellExecute and then they open in the default browser. The problem I am having is that when the browser is opened in this manner 3rd party applications such as Logitech Setpoint for Logitech mouse and keyboards and programs like auto password form filling stop working with the browser. In the mouse specific situation the Cruise Up and Cruise Down buttons, normally back and forward, do not work. If I open the browser manually via the browsers icon and then press the keyboard buttons to open the web
- 2 replies
-
- web browsers
- shellexecute
-
(and 1 more)
Tagged with:
-
I apologize for my poor coding skills, but only on occasion do I have a need to automate a repetitious task to save time. In a nutshell the following code is supposed to go to a website, save the site using Scrapbook (a plugin used by an older version of Firefox), rename the folder in Windows Explorer that Scrapbook assigns a random name for and then moves on to the next website, of which there are hundreds. Everything works, except after the address bar gets populated with the URL, it's like the ENTER key never gets pushed. The weird thing is, this worked yesterday before I left to go home
-
I've finally come up with a simple solution for dragging & dropping a URL. It's not perfect, but it does the job. Mostly just a tweak of some Help file examples. Thanks also to AutoBert, for his StringRegExp and example that set me on the right path. I have seen this requested for many times, so enjoy! It goes without saying, that any improvements are welcome. Dropbox For URLs.au3 #include <GUIConstantsEx.au3> #include <GuiRichEdit.au3> #include <MsgBoxConstants.au3> #include <WindowsConstants.au3> Global $hGui, $g_hRichEdit Examp
-
Hey fellas, I'm looking for an easy way to get an URL from an active browser. Now, I know about chrome and IE includes but the script I'm writing will be used by users with different browsers, obviously. I can imagine have both IE and Chrome includes in the script, identifying what browser the user uses etc but I was wondering if there is any other easier way. Thanks Seminko
-
Hello, i was wondering how i would go about opening a random URL from a predefined list? i am trying to create a small game for the kids, where they have a question and they have to find out the answer (finish the story) from the pages that open...but i need all the pages to be at random, so they need to work out which part comes first, second, third...etc. the code i use to open the URL is and to close the browser: shellexecute("THE URL") If ProcessExists("firefox.exe") Then ProcessClose("firefox.exe") endif is it possible to creaet like a shellexecute("$random") and then ad
-
Internet Shortcut Sanitizer With the newest Firefox and IE browsers, there's a bit of an issue with Internet Shortcuts created, which have been traditionally saved in a .URL file on Windows (an INI-structured file). Firefox now adds Icon information to the file which points it at a location within %localappdata%MozillaProfiles. This to me is annoying and unnecessary. While it may reflect the favicon of a website, its got a few problems: When the cache is cleared or the bookmark is moved to another computer or put on a fresh install, that icon isn't there anymore. These shortcuts contai
-
Hello I want to crack a URL by using the _WinHttpCrackUrl() function located in >winhttp UDF It goes well for some URL's but for other URL's it gives error and sets the @error to 1 the URL and my example #include "WinHttp.au3" #include <Array.au3> $url = "http://www.domain.com/dm/r.php?r=m%7C%23%23%7Cgh-oiv_%2Cf8t%2Cxg4%7C%23%23%7CWINbf%7C%23%23%7CCz1ytu9w%200%2F19%20%5C%5CMIDOOOcc%7C%7CccFt22%20Cz1ytu9w%200%2F19%20M5%2Czzzcc%7C%7CccUv9w%200%2F19%20M5%2Czcc%7C%7CccWzw3vu%2Fu5z0%20%2F-u5s9%20z0%20N9uBTbT-y5yb%7BfAjljEgBcFFnhcjAgncAkfCcjAhemfmElBAn%7D%20%28nninihCnnnnf%29cc%
- 7 replies
-
- winhttp
- winhttpcrackurl
-
(and 1 more)
Tagged with:
-
I created this little script: HotKeySet("!g", "searchgoogle") While 1 Sleep(10000) WEnd Func searchgoogle() Sleep(500) Send( "^c" ) Sleep(500) $ClipB2 = ClipGet() $url = "http://www.google.com/search?q=" & $ClipB2 Sleep(300) MsgBox(0,"",$url) EndFunc I just select a word and invoke the hotkey. More than an hour I try to change the Sleep values but something still does not work: When I invoke the 1st time the hotkey, almost always it returns the correct url, but when I reuse the hotkey a few times it doesn't copy any more and the url is constructed wit
-
Hi guys, i have a little problem with a $var of this script, i don't know how to make it: #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <ProgressConstants.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <Constants.au3> #include <String.au3> #include <File.au3> Global $image $GUI = GUICreate("Test GUI", 466, 360, -1, -1) $InfoButton = GUICtrlCreateButton("Info", 14, 312, 123, 25) $WebPic = GUICtrlCreatePic(_GetURLImage('"' & $image & '"'), 16, 216,
-
Hi all, I'm using an embedded IE object to fill in a form and submit it. The form uses the POST method and has a Javascript function which runs when the form is submitted and changes some values according to what is entered into the form and generates a nonce, etc. When the form is submitted a file download is triggered. How could I deal with this because at the minute the file download dialog is appearing? The only way I can think of is to send a keypress when the file download window becomes active but I have seen that this is not reliable. Thanks in advance
-
Can some expert with regular expression help me to obtain expected data from a string like that: What I try to get is the name, detected & result. Something like: CLEAN MX false clean site Any idea?
- 9 replies
-
- VirusTotal
- scan
-
(and 2 more)
Tagged with:
-
Task : If Java.exe opens and it's parent process is a browser, get the URL of the web page it has open (hopefully the URL that started java). I would love a way to do it remotely, but can live with having to run a monitor on the local machine. What I have now is a function that uses WMI to query win32_process and get the processes and parent process id, searches that for Java and puts that info into a report. I want to include the URL of the webpage that launched java. What I have so far is below, but it doesn't let me tie the Process ID to the window I get the URL from. It also wil
-
Hello, this is an example script to convert a relative path uri to absolute path uri. This is found in html and someone who wants to parse the URL will find this useful. [EDIT 1] Modified the code to handle certain boundary conditions. [EDIT 2] Modified the code to meet certain conditions. abrel.au3
- 4 replies
-
- Relative Path
- Absolute Path
-
(and 1 more)
Tagged with: