Jump to content

bo8ster

Active Members
  • Posts

    1,159
  • Joined

  • Last visited

About bo8ster

  • Birthday 12/02/1981

Profile Information

  • Location
    Adelaide, Australia
  • Interests
    Music, Relaxing, not working
    Test Engineering, CM

Recent Profile Visitors

862 profile views

bo8ster's Achievements

Universalist

Universalist (7/7)

5

Reputation

  1. Don't use WinWaitActive or use WinActivate to force the window to become active.
  2. Opt("WinWaitDelay",100) Opt("WinDetectHiddenText",1) Opt("MouseCoordMode",0) Run('C:\Users\John\Desktop\objectdock\ObjectDock.Plus.v2.0.50727.Setup.exe') WinWaitActivate("ObjectDock Plus 2 - InstallAware Wizard","") ; the '_' is not required at the start of the function. That is not a standard autoit function, WinWaitActive is. ; it will pause here waiting for the window to become active. This function has a return that you can look at to see if it fails. MouseClick("left",356,350,1) MouseClick("left",166,307,1) MouseClick("left",348,352,1) MouseClick("left",343,346,1) MouseClick("left",210,232,1) MouseClick("left",339,354,1)
  3. You are not sending HANDLE as a string. Try something like AU3_ControlClick("", "", "[HANDLE:" + hCtrl + "]"") or (depending on the language) AU3_ControlClick("", "", '[HANDLE:" + hCtrl + "]"')
  4. I am guessing here but it would look like it is constrained to an int. The Java version specifies: public int AU3_WinWaitActive(String szTitle, String szText, int nTimeout); public int AU3_WinActive(String szTitle, String szText); Something like this should be declared with the language you are using.
  5. Yes, it was a verbose answer.Cost, no licensing issues, portability, current skill set and existing frameworks is why I would choose Java over C# when using Windows. If that proves my point too much then so be it.
  6. I guess you are not to familiar with JavaEE and other Java extensions such as Spring, Hibernate, Jasper and OpenTaps. Although the learning curve is larger, Java provides a world or enterprise class software for free. This allows programmers who have a clue to write a large information system at the fraction of the price as no licensing is required for the software or for the development tools. I know of many private companies and government departments that use an Oracle/Java solution over a .Net solution. The last government department I was at have been using Java extensively for the last 10 years running an eCommerce application - all running on Windows boxes. They leverage the new and updated technology such as Hudsons, JUnit, EJB, SoapUI, Hibernate and Selenium. ALso, the fact that I can run NetBeans and Eclipse, an Application Server and everything else I need from a portable hard drive (no installation required) and time I want to, makes Java very powerful and great for consulting and doing demos. I don't know if .Net has this portable capability or if I can easily download and add any extension to my portable hard drive having it running within 5 minutes, however I do know that with Java I can do that as many times as I wish and I don't have licensing restrictions. Its like carrying a free complete dev env in your pocket - sooo good. Just a few reasons why I choose Java over .Net regardless of the platform. @Info: C++ in itself is platform interdependent, the exes of a compiled C++ program is not - they are platform specific. Google can explain in detail.
  7. This will help. Shows lots of examples. Found using the forum search, very useful.
  8. This works fine for me, not sure of the issue Global $trackData[99][2] $trackData[1][1] = 5 ConsoleWrite($trackData[1][1])
  9. There was no valid reasons and that had happened a number of times. Different people working on it at different times, no documentation and the declarations in different files, it took the author of the modification in the peer review 30 minutes to figure out and explain why - his argument for not fixing it in the first place - it works though.
  10. The code in your screen shot. It make take skill to create it however, it is not something to be encouraged. I once saw in an embedded C program #defining a #define. Something like #define RED 0x05 #define RED_COLOUR RED #define REDCOlOUR 0x05 It was messy as different people had used different names. The fact it was release day (and it and been through testing) was the only reason it was allowed to pass.
  11. That is some really bad code, reminds me of the How to Write Unmaintainable Code article.
  12. I generally use Pseudocode to describe what I want to do before I get into the detail for a complex method or class. I find I use A3 paper and a pacer more then then the computer to do it though.
  13. um... I'll rest with what I said in post #51 and use the GetWindowThreadProcessId function as an example.
  14. I don't mind what language it is in - any would be nice. I was using the C# code as an example only. I guess the question could be asked like this - "Is it MSDN's responsibility to provide code examples?" I can see an argument for "No", either way (and back to my original gripe) it would make it easier to learn and understand.
×
×
  • Create New...