Jump to content

TheDcoder

Active Members
  • Posts

    7,103
  • Joined

  • Days Won

    88

Everything posted by TheDcoder

  1. I think you are looking for StringFormat StringFormat
  2. I have not looked your post but you can try ExitLoop which will end the loop. While True ; Infinite Sleep(1000) ExitLoop Wend
  3. Great program @Xandy, would certainly be useful for those who want to do some tile extraction from games @TheSaint has stolen words out of my mouth
  4. Well, modifying it from the browser is different from doing it via an SQL connection If the value on the server side is greater than what you want, then it is enough, you don't have to modify anything on the client side to make this work. However, seeing how the server is still disconnecting, there might be some other setting or 3rd party software on the server which is preventing the connection transfer large amounts of data. I recommend you check the server and see if everything is in place, look for configurations which might be over-riding the 1 GB limit.
  5. @Xwolf You cannot modify server configuration from client side
  6. @dphuc I recommend you start by looking at the documentation for the GUICtrlSetReszing function and it's example (available in the help file or the linked page). This should get you started on making resizable GUIs, there are also several topics and pages about this concept in the forum and wiki. DuckDuckGo is your best friend
  7. @Chimp That would work great . Even though it doesn't exactly address my actual issue. The problem was that I was testing with only text editors and the repeating actions wasn't there, so I assumed it would be equal to a single press. But I was proven wrong once I tried {UP down} in an application which does not actually care about repeating action. It worked perfect so there isn't an issue for me really. This was an interesting topic, thanks to everyone who participated in it P.S Thanks to @Jos for telling me that the keyboard is responsible for repeating action, after taking that fact in I tried it with something which doesn't depend on repeating action.
  8. @BrewManNH That would work, but it would block the execution of the script, maybe using Adlib is a work around. I am still looking for ways to emulate it using some API though, not just sending the UP arrow in a loop.
  9. @Jos Ah! I see... but there is a setting in windows which can control the rate of the key is repeated when it is held down, am I right? Doesn't this mean that Windows is responsible for repeating action? @water We learn something new everyday
  10. "To hold a key down": https://www.autoitscript.com/autoit3/docs/appendix/SendKeys.htm In the example the letter a is used but I tried using the {UP} key, not sure if it is supported though.
  11. Hello everyone, long time since I made a post in the H&S sub-forum I am working on a project where in a situation I would have to hold down an arrow key and release it in another statement/command, however when I wrote the code it isn't working exactly like I thought it would. Here is an example: Send("{UP down}") Sleep(10000) Send("{UP up}") This should hold the up arrow key for 10 seconds before releasing it again, but when I run this code the cursor in SciTE moves up only once If I hold the up arrow manually for 10 seconds it "repeats" and the cursor moves up several times until I release the key... Is this a known limitation of Send? Is there any other way I can accomplish this? Thanks for all the help and feedback in advance! TD
  12. $oHtmlElement = _IEGetObjById($oIE, "Element's ID Here") ; Not all HTML Elements have IDs, so you will have to find another way to target your desired elements
  13. ; Maybe try this: _IEAction($oHtmlElement, "delete")
  14. @zone97 No, it is a wrapper for the Scripting.Dictionary object or simply a dictionary variable. You can access the values inside a dictionary by using the Json_ObjGet and Json_ObjPut functions, you should see the examples and read the code for those functions so you could understand better
  15. Well 6 seconds is reasonable for parsing a 900 MB JSON file. And you might want to consider using Json_ObjPut and Json_ObjGet directly since they are faster than using Json_Get/Put
  16. Do you also have this posted at any other place? Something like GitHub's Gist so I can easy keep track by starring the snippet
  17. Maybe you can use this software as an FTP bridge to google: https://github.com/andresoviedo/google-drive-ftp-adapter
  18. I don't think Google Drive allow FTP access
  19. @hutralospi There is no way to do something like that with Send unfortunately. Using a For loop is the best we can do. P.S The Step keyword in a For loop is optional and is 1 by default
  20. You might want to use Loops
  21. Not to mention that it can be used to enforce variable declaration (a good practice) in projects with multiple contributors.
  22. I would definitely recommend reporting the problem with Maps, Jon & co. will fix it when they have time.
  23. I don't really understand what you mean by special functions but the Call function is certainly a though nut to crack Can't really complain, Au3Check is a wonderful program and a complex beast, one can expect it to have some quirks here and there.
  24. I think I have figured it out, Au3Check was using the new call to GUI_BridgeHandler as a reference to the syntax instead of the Func declaration so it might have thought the 1 argument may have been required. I managed to fix the error by using Call to call the function . Is this some kind of bug? Can anything be done to improve the situation? I would like to know @Jos's opinion on this
  25. Hello, just stumbled across this behaviour while I was working on my project. I am getting a "<function> called with wrong number of args" on a GUICtrlSetOnEvent line, the <function> as far as I can see accepts only 1 optional argument so it would just work fine with a GUICtrlSetOnEvent callback. The error surfaced when I add code which called the <function> with a single argument... it was working without any errors before that. Here is the actual code (you can download the repository as zip and run it out of the box to get the error), the <function> is GUI_BridgeHandler and this is my SciTE Output: >"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /run /prod /ErrorStdOut /in "E:\Projects\AutoIt\ProxAllium\ProxAllium.au3" /UserParams +>18:53:37 Starting AutoIt3Wrapper v.17.224.935.0 SciTE v.3.7.3.0 Keyboard:00000409 OS:WIN_81/ CPU:X64 OS:X64 Environment(Language:0809) CodePage:0 utf8.auto.check:4 +> SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE UserDir => C:\Users\TheDcoder\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper SCITE_USERHOME => C:\Users\TheDcoder\AppData\Local\AutoIt v3\SciTE >Running AU3Check (3.3.14.3) from:C:\Program Files (x86)\AutoIt3 input:E:\Projects\AutoIt\ProxAllium\ProxAllium.au3 "E:\Projects\AutoIt\ProxAllium\ProxAllium.au3"(127,43) : error: GUI_BridgeHandler() called with wrong number of args. GUICtrlSetOnEvent(-1, "GUI_BridgeHandler") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "E:\Projects\AutoIt\ProxAllium\ProxAllium.au3"(103,42) : REF: definition of GUI_BridgeHandler(). GUI_BridgeHandler($g_idTrayOptionBridges) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ E:\Projects\AutoIt\ProxAllium\ProxAllium.au3 - 1 error(s), 0 warning(s) !>18:53:37 AU3Check ended. Press F4 to jump to next error.rc:2 +>18:53:38 AutoIt3Wrapper Finished. >Exit code: 2 Time: 1.273 Needless to say it works fine when I run it directly without Au3Check Thanks for the responses in advance! P.S Sorry for the thread's title, couldn't think of anything else.
×
×
  • Create New...