Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/23/2013 in all areas

  1. I've seen many questions around "how to do source versioning" and have tried to make it a little bit easier by incorporating SVN functionality into AutoIt3Wrapper. Would appreciate getting some feedback on: Is this working for you?Are there issues with this?Could it be improved?I have uploaded a separate beta version of Autoit3Wrapper to the Beta dir which also contains the helpfile page on how to install TortoiseSVN and Winmerge and use versioning. Download and install : AutoIt3Wrapper.* to %programfiles%Autoit3SciTEAutoIt3Wrapper*.properties to %programfiles%Autoit3SciTEpropertiescvsWrapper will be discontinued and isn't supported in this version any more. The internal functionality is exactly the same but now only supporting SVN. Updates made: 3/24/2013 - Fixed AutoIt3Wrapper issue when UAC is enabled and AutoIt3Wrapper not running in Admin mode, which made it fail to update AutoIt3Wrapper.ini with the proper settings. - Update the Documentation with instructions to select the installation of the Command Line tools for the TortoiseSVN installer and several suggestions from Melba23. - Updated SciTEConfig to allow for the generic Tools command selection. This is stored in the regular beta directory. Jos
    1 point
  2. @MattX A byte is 8 bits, a kilobyte is 1024 bytes. That's why I try to use the suffix with a "i" for the computer sizes such as kib, mib etc. Local $iMailqueSize = FileGetSize('C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\Queue\mail.que') If $iMailqueSize > 1024 * 1024 * 1024 * 20 Then ;1 kilo -> 1 mega -> 1 giga * 20 = 20 Gio ;1 * 1024 * 1024 * 1024 * 20 ; 1 byte -> 1 kilo etc. Run('c:\matt\mail_que_email_alert.exe', 'c:\matt') EndIfEdit: You understood that the size unity step is *1024. Br, FireFox.
    1 point
  3. You can just do that: $File = FileGetSize('C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\Queue\mail.que') / 1073741824 If $File > 20 Then Run('c:\matt\mail_que_email_alert.exe', 'c:\matt') EndIf Exit Hi!
    1 point
  4. FileGetSize returns Bytes so your calculation is somehow correct. To get more precise results you should either use 1000 or 1024 for your calculations.
    1 point
  5. Your ChrW could be something like this:
    1 point
  6. Nothing else to say ..... except maybe .... What a great job man Congrat!
    1 point
  7. All, The OP and I have had a longish conversation about this and I am satisfied that this is a reasonable request. His earlier thread about automating a game on this platform was, I believe, merely an example for testing and the apps mentioned above are perfectly acceptable. Please feel free to help if you can. M23
    1 point
  8. If programmer deliberately uses "Sleep" for one thing and "sleep" for completely different then he has bigger issues with his coding than case sensitivity. What you describe is typical case of code obfuscation, process of making code deliberately less readable. You render your main argument invalid by saying things like that. Ehh, right.
    1 point
  9. FireFox

    Change icon ...

    I would completely ignore you since you are asking in an impolite way... but there is still some gentle people here. This is not a "do it for me" forum. You need to show what you've already done by mainly posting a snippet. Br, FireFox.
    1 point
×
×
  • Create New...