Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/23/2020 in all areas

  1. You may have a look at : https://www.autoitscript.com/wiki/Setting_Styles#Multiple_Styles
    2 points
  2. About AutoIt-DD AutoIt-DD is an carbon copy of Laravels dd helper. DD stands for "Dump and DIE" and is a great tool for debugging AutoIt variables Features Get useful information about any AutoIt variable Nested Arrays and Scripting dictionaries Multi DIM arrays Great structure and colored output Example In Example.au3 you can run a fully featured example, but I also provided a print screen for you lazy people Dowonload
    1 point
  3. For “some reason”? The reason is as I stated originally: WinWait(), in this case, waits for the command window to appear, which apparently is long enough to let you capture the output. However, this is a risky strategy for the general case, for instance if the processing in the command window took any real-time, as opposed to “echo Hello World”, you would miss it. Either put it in a loop, or as Xman said, wait for the process close and get it all then. Otherwise, you are likely to be disappointed at some point.
    1 point
  4. I would recommend separating your FileRead call into it's own line and assigning the result to a variable. That way, you can examine the variable contents, check the value of @error, etc.
    1 point
  5. BitOR is safe but + may ruin the bits in its result. There are cases of such constants which have overlapping bits.
    1 point
  6. Searching the forum for “cursed fork” (as well as “wicked branch” , “sinister split” and “banned bifurcation”) returns little information. Can you provide more detail? Unless you deem it unwise
    1 point
  7. Hi, first setup image size in _GUIImageList_Create() Then load your png file with Local $hPng = _GDIPlus_ImageLoadFromFile("YourImg.png") Then create a bitmap handle for your image Local $hBmp = _GDIPlus_BitmapCreateHBITMAPFromBitmap($hPng) Then add the bitmap to your image list _GUIImageList_Add($hImage, $hBmp) For GDIPlus functions you need to include the UDF #include <GDIPlus.au3> Hope this helps! BR funkey
    1 point
  8. mLipok

    Printers Management UDF

    @jguinch I download your UDF from OP and chceck them ... little refactor to be compilant with: #AutoIt3Wrapper_Run_AU3Check=Y #AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 -w 7 There is one problem in: Func _PrintMgr_AddTCPIPPrinterPort($sPortName, $sPortIP, $sPortNumber) Local $oWMIService = ObjGet("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2") If Not IsObj($oWMIService) Then Return SetError(1, 0, 0) Local $oNewPort = $oWMIService.Get("Win32_TCPIPPrinterPort").SpawnInstance _ If Not IsObj($oNewPort) Then Return SetError(1, 0, 0) $oNewPort.Name = $sPortName $oNewPort.Protocol = 1 $oNewPort.HostAddress = $sPortIP $oNewPort.PortNumber = $sPortNumber $oNewPort.SNMPEnabled = True Local $ret = $oNewPort.Put_ #forceref $ret Return 1 EndFunc ;==>_PrintMgr_AddTCPIPPrinterPort Could you please check it ? EDIT: Here are my modifed/refactored/reviewed scripts: PrintMgr.au3 PrintMgr_Example.au3
    1 point
  9. I have used freelance.com in the past, but from the time I spent there, it is a lot more competitive and freelance.com takes fees for almost anything (for placing a sponsored bid, taking a skill test, to withdraw money etc.) I have had much greater success through Upwork, in my opinion it is better than freelancer, there is a fixed fee that you pay Upwork for money earned by a single client, you have payment protection as long as you follow the rules, so that means even if a client plays it dirty, you are still guaranteed to earn the original amount that you have agreed upon (read the about fixed price protection carefully). The fee is not too bad and is simple to follow: 20% for first $500 10% after >$500 5% after >$10,000 The fee is calculated by lifetime earnings from a single client, so if you have a long-term client who has paid more than $10,000 for your services, then you only cut 5% of the following earnings to Upwork. It depends on what your client is looking for, and if they are a programmer and are wanting to deal with the script. If you are having a hard time with a task, then I do recommend planning out what you need and make sure that your requirements are clear before approaching a freelancer. Upwork also offers client payment protection, so as long as the requirements are clear, you should be on the safe side, even if the freelancer does not have a good will. From my personal experience, I am working with a client who has very good understanding of all programming concepts and has worked on many complex software projects, but they instead chose to focus on their business instead of the intricacies in programming (which can often get overwhelming, especially when you are running a business alongside). So at the moment I am taking care of all the code while my client takes care of testing and the higher level design of the code I do not think many do actually, most of them do it as a hobby or as part of their already existing traditional job. There are a few I know who do take up freelance work now and then, I am one of them myself (if you haven't figured out that by now ). From on top of my head, both @Xandy and @Danyfirex are open to freelance work, not sure I remember any other members who are know to work freelance. It is actually not that hard to become one, as long as you have the right skill and knowledge, you can utilize it to work on related jobs. Always be persistent when looking for jobs, especially in the beginning. It might not pay your bills until a few months, as your reputation on the site grows (ratings, client feedback, ranking/status), you will start getting a lot more jobs, enough to make a living if you plan it out just right. It might be worth trying this if you are not living independently and have someone who can take care of your expenses until you get on your feet.
    1 point
  10. I strongly disagree. The full AutoIt documentation is already inline (and offline with all AutoIt installations). Having to maintain another doc format is just duplication of efforts with no benefit I can foresee.
    1 point
×
×
  • Create New...