Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/29/2013 in all areas

  1. guinness

    How do I do this?

    No, look at the examples for GUIGetMsg and have the controlid in your switch statement. If selected then use GUICtrlRead.
    1 point
  2. Mat

    AutoIt in Windows 8 ?

    Works fine for me. I have a few scripts various people at work use, and they are now using 64 bit windows 8 laptops.
    1 point
  3. quoting the help file for function FileRead(): If a filename is given rather than a file handle - the file will be opened and closed during the function call - for parsing large text files this will be much slower than using filehandles. what i'm trying to say is that optimization very much depends on the specific task you are trying to accomplish. you'll have to adapt as you go. i doubt if there are any ground rules. note: you want optimization? comment everything! part of optimized code is when the coder knows what they're doing. otherwise you'll end-up with several functions doing the same thing, unused defined variables, etc. so far my opinion.
    1 point
  4. If you have a long path name, inside a label you can use either of the $DT_PATH_ELLIPSIS or $DT_END_ELLIPSIS style settings in the label. Just be aware, that the 2 values in the WindowsConstants.au3 file are set according to Microsoft documentation, but they work backwards, for example the Path_Ellipsis creates a path like this "C:Documents and Settings..." and the End_Ellipsis creates a path like this "C:Documents...Username", this is a problem with Windows and not AutoIt.
    1 point
×
×
  • Create New...