-
Posts
23 -
Joined
-
Last visited
Everything posted by Neocortex
-
By replacing this line ;_GDIPlus_ImageSaveToFile($hClone, $newImg) With this $iJPGQual = 99 $sCLSID = _GDIPlus_EncodersGetCLSID("JPG") $tParams = _GDIPlus_ParamInit(1) $tData = DllStructCreate("int Quality") DllStructSetData($tData, "Quality", $iJPGQual) $pData = DllStructGetPtr($tData) _GDIPlus_ParamAdd($tParams, $GDIP_EPGQUALITY, 1, $GDIP_EPTLONG, $pData) $pParams = DllStructGetPtr($tParams) _GDIPlus_ImageSaveToFileEx($hClone, $newImg, $sCLSID, $pParams) The JPG quality can be changed, also the generated PDF-s are smaller than expected, I think because its built with 72 dpi, the paper size have to be increased accordingly for print jobs
-
Hello! Is it possible to improve the image quality? It's converting my 240MB PNGs to 14MB, and the quality drop is visible
-
Yes, I was sure it won't work. But it can be filled while in focus if you type fast enough In Firefox and Opera too Thanks!
-
Hi! I have an address feed, like this (on my server): First Name: Johhny Last Name: Bravo Address 1: 123451 62nd ave e City: New York Postcode: 12345 Region / State: New York Region / State Code: NY Country:United States And I haveto complete a HTML form to fill this data on another webserver. It would be easy to generate an AU3 SEND script with PHP like this: Johhny{TAB}Bravo{TAB}1321 62nd ave e{TAB} etc.... But the form on that site contain a dropdown select list too for Country input. Any1 have a good idea how to select the dropdown's value with Autoit? Thanks!
-
HotKeySet() and Send() keyboard map f**kup
Neocortex replied to Neocortex's topic in AutoIt General Help and Support
Thanks somdcomputerguy! Solved the issue -
HotKeySet() and Send() keyboard map f**kup
Neocortex replied to Neocortex's topic in AutoIt General Help and Support
yes :/ HotKeySet("^b", "insert") func insert() HotKeySet("^b") ;unset Send("kurva anyad bbd dsa") sleep(800) ; wait for real Ctrl up Send("^{LCTRL}{RCTRL}{CTRL}{CTRLUP}") ; simulate Ctrl HotKeySet("^b", "insert") ;reset endfunc while 1 sleep(100) wend Same problem -
HotKeySet() and Send() keyboard map f**kup
Neocortex replied to Neocortex's topic in AutoIt General Help and Support
True, Ctrl itself fixes it. But i cannot make it work with Send(). Tried "{LCTRL}{RCTRL}{CTRL}^". Thanks, but i need a button combination :/ It's way too hard to push both of them in the same microsecond It would be possible with an _IsKeyDown() like function. -
Hi! If i execute insert() by the Hotkey (Ctrl+B ) it fuck up the whole keyboard map, buttons send mouse clicks and so. (Ctrl+C fix it but its not acceptable for my purposes {Send(^c) doesn't fix the problem btw}) HotKeySet("^b", "insert") func insert() Send("kurva anyad bbd dsa") endfunc while 1 sleep(100) wend It only occur if there is a "b" character in the string, i guess it retrigger the HotKeySet. So i tried to temporary disable the hotkeyset like this: HotKeySet("^b", "insert") func insert() HotKeySet("^b") ;unset Send("kurva anyad bbd dsa") HotKeySet("^b", "insert") ;reset endfunc while 1 sleep(100) wend Still no luck
-
any alternatives for InetGet
Neocortex replied to BOUNCER's topic in AutoIt General Help and Support
Because the cursor's loading indicator is flashing on berserker speed while InetGet/InetRead functions are called non-stop, even if the program is running in the background. This is not acceptable with a "download manager like" project :/ -
Get window title by processname
Neocortex replied to Neocortex's topic in AutoIt General Help and Support
Problem solved with memory reading -
Hi! The process generate 2 random named window (1 console window and a fullscreen game), i want to detect these window's title. I don't want to do any maleficent program with this, working on this admin tool btw the classname is also random
-
nvm, figured out i gotta point into directories to store directories
-
Need some help I want to add files to a new archive, but place them in separate directories. ZIP/dir_inside_zip/my_file I can only add files into the root directory (ZIP/my_file) This is how i tried it: _7ZIPADD(0, "data\" & ($biggest_commit + 1) & ".zip", "..\"&$FileList[$i], 0, 9, 1) $FileList[$i] is "some_dir\another_dir\file.txt" It adds the file to the archive successfully, but drops all the folders and place it into the root of the zip Thanks
-
Hi! I recive a blank MsgBox with this script, however it should list some ports instead. What's wrong with it? #include <CommMG.au3> MsgBox("", _CommListPorts(), _CommListPorts()) the dll is in the same dir as the executable, tried it on 32bit win7 and XP.
- 680 replies
-
- serial port
- virtual port
-
(and 2 more)
Tagged with:
-
Man... this is working. #include <NomadMemory.au3> $process = _MemoryOpen(ProcessExists("NG.exe")) If @Error == 0 then MsgBox(0,"","Successful open") elseif @Error == 1 then MsgBox(0,"","Invalid Process ID.") elseif @Error == 2 then MsgBox(0,"","Failed to open Kernel32.dll.") elseif @Error == 3 then MsgBox(0,"","Failed to open the specified process.") endif _MemoryWrite(0x00DD1FA0, $process, 50) MsgBox(0,"","Write Error:"& @Error) MsgBox(0,"",_MemoryRead(0x00DD1FA0, $process)) MsgBox(0,"","Read Error:"& @Error) _MemoryClose($process) Starcraft's memory probably locked, i tried it on a noname game and it works perfectly. p.s: Your script is also good, i just tested it on an over-protected application.
-
Tried on the 3rd computer, it's not working. Im going try different methods then NomadMemory.au3, i'll report back if i find a working solution Thanks for the help anyway!
-
Tried on other computer, no change. However it is contains completely the same hardwares as mine. I'll try it on a different one soon.
-
Thanks. Tried it on WinXP and Vista too. The result was the same on both: Momory reading: 00000000 Maybe some dependency missing? dll, .net framework or something blocks memory reading? I can read everything with Cheat Engine, so i don't know wtf is going on :/
-
Nothing changed... strange. Maybe something wrong with my environment, can you post your compiled exe too, to let me check it please?
-
I tried it with calc and starcraft too, it does the same result with both. Can you post your NomadMemory.au3 please?
-
No luck Memory reading: 00000000
-
Hai! If i execute the following script it should display the available minerals from starcraft by a MsgBox. Line 10 returns with @Error = 0, i think its works fine Line 24's _MemoryRead should return with 64, but it is 0. Line 25 @Error is also 0. What's wrong with it? (Sorry for bad english)
-
Hello! I searched a lot but couldn't find any solution for this. I want to simulate this: - hold down right click. - move mouse from x1y1 to x2y2. (hardest part) - release right click. Like MouseClickDrag(), inside an inactive window. Without moving the real cursor. I hope it is possibe and someone can help me Thanks