
frontmill
Active Members-
Posts
92 -
Joined
-
Last visited
Everything posted by frontmill
-
Download Image (Ie.au3 & Inetget)
frontmill replied to frontmill's topic in AutoIt General Help and Support
The first parameter of _IEcreate is a url, not a number :S -
Download Image (Ie.au3 & Inetget)
frontmill replied to frontmill's topic in AutoIt General Help and Support
Thank you very much! I forgot to mention though, I need the IE window to be hidden. Is there any way to do such a thing with a hidden browser instance? -
Hello! I am trying to save/download an image from a website. But before being able to download the image, you need to be logged in. Since I have been told that Inetget uses IE cookies I tried downloading it with Inetget. But the image-file turns out being 0 bytes (empty) everytime I download it. I tried the following: #include <IE.au3> $oIE = _IECreate() _IENavigate($oIe, "http://www.......") $oImg = _IEImgGetCollection ($oIE,0) $oImgUrl = $oImg.src InetGet($oImgUrl,"cache/image.jpg",1,0) Any ideas on how to solve this or doing it another way? Thanks!
-
Hello. I was wondering if there is any possibility to send headers with an Inetget request. Because I would like to use Inetget to download images from a website which requires login. Thank you
-
Would there be any way to scan all the internet-explorer (and maybe all) internet traffic, so certain actions can be taken when a word like p0rn is in the traffic?
-
The colour actually was white (16777215). Can you explain me how to calculate that value to Hexidecimal? I decided to try fixing it myself first, but help is actually eqasier
-
I was wondering how the shade variation thing in pixelsearch is done. Assume i have decimal colour value as returned by the pixelgetcolor function. And I have another colour code for example yellow. Is there any way to check if the color returned by pixelgetcolor is within a certain shade range of the " yellow color" i was just talking about. (not pixelsearch function!) Thanks in advance
-
A while ago i found this program: http://www.soft32.com/download_505.html It allos you to shutdown computers over the network. After you "perform the action" the target-computer gets a window with the program's icon in the topleft corner, so i assume it does not use the windows built-in function. Also, this program manages to shutdown a computer where the "windows built-in function" would tell you that you're not allowed to do so. Does anyone have any idea how this is done?
-
I think this is a bug, not sure though. The complications occur when using the following command: RunWait(@ComSpec & " /c " & $DosCommand, @SW_HIDE) This command works fine, until i add the @SW_HIDE part. I tested it several times and it worked every single time when I was not using @SW_HIDE. It says: "mapnaam ongeldig" which is dutch for: "Directory is invalid" and: "Unable to execute the external program"
-
:">
-
I am pretty sure the image has to be an .ico file. I don't think it works with a .gif file. Try converting it with thumbsplus: http://www.cerious.com/
-
I am using the http.au3 udf. I am trying to connect and login to rapidshare.com, but when i run this script i get a 302 response. Which is "Moved temporarily". This is the response i received: I hope someone can help me solving this! Thanks in advance! #include <Http.au3> $host = "ssl.rapidshare.com" $page = "/cgi-bin/premiumzone.cgi" $vars = "login=******&password=******" $vars = _HTTPEncodeString($vars) ConsoleWrite(@CRLF&@CRLF&"Example POST Request:"&@CRLF) $socket = _HTTPConnect("ssl.rapidshare.com",443) ConsoleWrite("Socket Created: "&$socket&@CRLF) $get = _HTTPPost($host, $page, $socket, $vars) ConsoleWrite("Bytes sent: "&$get&@CRLF) $recv = _HTTPRead($socket,1) If @error Then ConsoleWrite("_HTTPRead Error: "&@error&@CRLF) ConsoleWrite("_HTTPRead Return Value: "&$recv &@CRLF) Else ConsoleWrite("HTTP Return Code: "&$recv[0]&@CRLF) ConsoleWrite("HTTP Return Response: "&$recv[1]&@CRLF) ConsoleWrite("Number of headers: "&UBound($recv[3])&@CRLF) ConsoleWrite("Size of data downloaded: "&StringLen($recv[4])&" bytes"&@CRLF) ConsoleWrite("Page downloaded: "&@CRLF&$recv[4]&@CRLF) EndIf _HTTPClose($socket)
-
File association with own application
frontmill replied to frontmill's topic in AutoIt General Help and Support
Thank you very much. Stupid that i wasnt able to find this myself. -
I would like to associate a file with a self-written application (i think I know how to do this, or I at least should be able to find it). Thats not the problem. MY question is: Is there anyway to do this with an autoit-application? Since the explanation above isnt very clear, i am gonna try to clear it up with an example: I associate the extension .frt with one of my applications. When someone clicks a file with a .frt extension, I want the following to happen: I want autoit to get the location of the file. Just the path, like fileopen dialog would return it. My english is not excellent :Pm as you might have noticed. I hope you understood what i am trying to do. Thanks in advance!
-
I created a text label. But it's being anti-aliased. IS there any way to turn unti-aliasing off in autoit?
-
I want to enable a few of my friends to download a certain amount of files through my rapidshare account from rapidshare.com. BUT i dont want them to be able to read the content of the cookie, so i was thinking of way to do this. This is what i came up with: I want the program, to create a cookie in IE and then start the download with inetget, after that, immediatly delete the cookie again. The first part is the problem. Can anyone tell me if there is a way to create an IE cookie with some function from the IE.au3 library or maybe another way? Thanks in advance!
-
no.. i dont think that will work... why i want it? it can be used for so many things.. extending trial periods without doing anything illegal, fooling games in which time decides your score.. etc..
-
hey all, i was wondering if anyone knows a way to manipulate the time on your pc. I mean like making it run slower, that for example 1 second lasts 5 seconds or the opposite, making the time fly... by making 5 seconds pass in only a few milliseconds... This would be a great help to me.. thanks in advance
-
I often download things from the site rapidshare.com. I am a registered user for this site, which means i have an ability to do direct-download (only when i'm logged inm otherwise you have to go through several pages and a code to verify that you're a human. But since i am a premium user i don't have to do all this, and i just can download directly if i go to a link. Now, i want to make like an autodownloader, to download several files from RS automatically. but as you may understand i have to be logged in to do this. So my question: is it possible to make the inetget function use a certain cookie or something? Or is there another way to do this? PS: you cant login with: user:pass@domain.com
-
ow ok.. thanks gonna try to find another dll then, its just for practice, im not trying to make something particular.
-
hey guys, im trying to work with dll's for the first time, but i cant get it to work, this is what the helpfile says, but thats voor VB i think: Can you tell me how to do this in autoit? thanks in advance!
-
diffrent hexidecimal key codes
frontmill replied to frontmill's topic in AutoIt General Help and Support
These are hex key codes: http://api.farmanager.com/en/winapi/virtualkeycodes.html -
Just one simple question: Can hex key codes be diffrent on diffrent pc's.. because my laptop doesnt seem to use the regular ones... thnaks in advance
-
two dimensional array question
frontmill replied to frontmill's topic in AutoIt General Help and Support
yeah i already read that, but i still don't get it. The help file only speaks of a way to give a value to variable right away, like this: Dim $Grid[4][4]=[["Paul", "Jim", "Richard", "Louis"], [485.44, 160.68, 275.16, 320.00]] but it doesnt say anything about what im trying to do.