-
Posts
7,103 -
Joined
-
Days Won
88
Content Type
Forums
Downloads
Forum Articles
Events
Everything posted by TheDcoder
-
I think you are looking for StringFormat StringFormat
-
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
-
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.
-
@Xwolf You cannot modify server configuration from client side
-
@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
-
@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.
-
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
-
How to remove HTML from internet explorer ?
TheDcoder replied to naru's topic in AutoIt General Help and Support
$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 -
How to remove HTML from internet explorer ?
TheDcoder replied to naru's topic in AutoIt General Help and Support
; Maybe try this: _IEAction($oHtmlElement, "delete") -
@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
-
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
-
Download and upload on google drive
TheDcoder replied to Belini's topic in AutoIt General Help and Support
Maybe you can use this software as an FTP bridge to google: https://github.com/andresoviedo/google-drive-ftp-adapter -
Download and upload on google drive
TheDcoder replied to Belini's topic in AutoIt General Help and Support
I don't think Google Drive allow FTP access -
Shorten repeated SEND keystrokes
TheDcoder replied to hutralospi's topic in AutoIt General Help and Support
@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 -
Shorten repeated SEND keystrokes
TheDcoder replied to hutralospi's topic in AutoIt General Help and Support
You might want to use Loops -
MustDeclareVars.When and Why should I use it?
TheDcoder replied to Au3Builder's topic in AutoIt General Help and Support
Not to mention that it can be used to enforce variable declaration (a good practice) in projects with multiple contributors. -
I would definitely recommend reporting the problem with Maps, Jon & co. will fix it when they have time.
-
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
-
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.