# All Activity

1. Past hour
2. ## How to delete complied script from other computer.

My 2 cents here... As many many people have mentioned, make your script a trial version without a serial number (less headache). Trial lasts for 30 days, then stops running. Once the poor suckers, errr... I mean buyer purchases the software, then they will receive an email mentioning where to download their newly purchased program. Word of advise, rather forget that the user has the program.

14. ## printing without saving from an edit box

I suppose you could use the WMI Win32_Printer to list the printers in a GUI combo box, then set this printer as default, using rundll32.exe or use directly the printui.dll. Never tested it but I suppose it is doable.
15. ## Waiting for ERP cell activation

@rundak Happy to have helped

@FrancescoDiMuro I was not aware that exist such tool Thanks for letting me know. It seems to be very useful but I think I found a solution for my problem without sleep() function, using ControlGetText() and ControlGetFocus() functions. Full speed of entering data. For $i = 0 To UBound($aResult) - 1 For $j = 0 To UBound($aResult, 2) - 1 Send("{DELETE}") Send($aResult[$i][$j]) Local$sText = StringReplace(ControlGetText("[ACTIVE]", "", ControlGetFocus("[ACTIVE]")),".","","","") ; Variable which contains current value of cell If $sText <>$aResult[$i][$j] Then ; Checks if data was enterd from array to a cell in ERP system Do $sText = StringReplace(ControlGetText("[ACTIVE]", "", ControlGetFocus("[ACTIVE]")),".","","","") ; In this loop AutoIt Program "waits" for value appearing in ERP system Until$sText = $aResult[$i][$j] EndIf Send ("{TAB}") Next Next FYI: Before AutoIt automation this work took 4 hours. . Now it takes 5 minutes. Thank you for your help. 17. ## Username and Password Check DiYa, Firstly: Please stop posting the same question all over the forum - one thread per question is quite sufficient and you at least have an answer in this one. Secondly: This forum does not write code for you - we help you get your code working correctly. So you have 2 choices: either start learning about coding in AutoIt so that the multiple threads on the forum become understandable (and the one is as simple as they come) - or go and post on a site where coding is available for a price. I rather hope you choose the former - if you do then reading the Help file (at least the first few sections - Using AutoIt, Tutorials and the first couple of References) will help you enormously. You should also look at this excellent tutorial and download the really useful book you can find at M23 18. ## Username and Password Check Thanks! My task is to validate username and password of a desktop application. If username and password are incorrect it should return a message that credentials are wrong. Can you please give me code for this task? 19. ## How to delete complied script from other computer. An example that that has nothing to do with what you're asking for help with. 20. ## How to delete complied script from other computer. This is only for example. 21. ## Mouse click without movement? KDoc, Welcome to the AutoIt forums. If you look at MouseMove in the Help file (which should always be your first port of call) you will see the speed parameter which set to 0 will give you instantaneous movement. M23 22. ## How to delete complied script from other computer. The links I posted were about putting a serial number on your application, they had less than zero to do with what you are going on about - which you would have known if you had bothered to read them. 23. ## Mouse click without movement? Hi, I was wondering if there is way to move a mouse to a specific coordinate immediately instead of seeing the mouse actually move there. It takes about a second or so to see the mouse movement to the correct location which slows down the script. Thanks much. 24. ## Username and Password Check DiYa, What about the code do you find difficult to understand? M23 25. ## Serial Port /COM Port UDF Hi Alan, Thanks for replay, unfortunately it is not working 😕 I gott parse error ==> Unable to parse line.:$iRet = DllStructGetData($tBinData, 1)?$iRet = DllStructGetData(\$tBinData, 1)^ ERROR

Hi can you please explain the code?
27. ## _WinAPI_SetKeyboardState error

Thanks man! I don't know how to @ you, but i was wondering if you know what _WinAPI_SetKeyboardState() actually does? I want it to simulate those buttonpresses that were recorded with _WinAPI_GetKeyboardState(), but when i run the code it does nothing. I have checked for errors and any wierd characters in my .macro file i created but still it does nothing. I could not find anything useful online, maybe its not used that often, and i thought i might be using it wrong or making the wrong assumptions about its usage. Please tell me if i can use it to simulate keystrokes
×

• Wiki

• Back

• #### Beta

• Git
• FAQ
• Our Picks
×
• Create New...