Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/19/2011 in all areas

  1. water

    Active Directory UDF

    I have converted and extended the adfunctions.au3 written by Jonathan Clelland to a full AutoIt UDF including help file, examples, ScITE integration etc. The example scripts should run fine without changes. 2016-08-18: Version: 1.4.6.0 As always: Please test before using in production! KNOWN BUGS: (Last changed: ) None AD 1.4.6.0.zip For AutoIt >= 3.3.12.0 AD 1.4.0.0.zip other versions of AutoIt
    1 point
  2. Ups - You ment this point?Scripts or programs that violate the license agreement for software. If a program explicitly says no automation, do not discuss automation of that software here. Sorry, I didn't read the rules, shame on me! I'll do that, thank you! All right, I will try:As a field service technician I get my new orders when I'm "on tour". So I'll have to power on the notebook, log into the first application, start the mobile phone bluetooth connection, after that the extranet-Dialup has to be started and the password and the gridcard-values have to be typed in. After that the main program has to be started, again with password. This is very dangerous if you have to do that all by driving because I simply don't have the time for parking the car to do that all, maybe ten times a day. Sad but true, but my boss would say goodbye to me. If I had a script at least to automate the extranet-login (long password) and the gridcard-thing I would be a more nonhazardous road user. ;-) The first information about the new orders (customer's address, machine type) are sent by mobile phone SMS/E-Mail, but the details are sent by SAP so I must log in. Each time I visit a customer I have to power down the notebook (or standby) which is making the BT and SAP connection loose. So I would say: I only try to make that whole procedure a lot more easier and I could concentrate on traffic much better... By the way it would be a great easement for me, too. And I wouldn't see any fault in it: it's my laptop, my account, my gridcard and my password. Without the initial password for the first step nobody could use the script to log into the extranet, furthermore the main application also is password protected.
    1 point
  3. Place your code AFTER my code
    1 point
  4. Waiting for Internet: While Not Ping("google.de") WEnd
    1 point
  5. You call that an example? Now this is an example. #include <File.au3> Global $aArray Global $sResult = "" _FileReadToArray("MrVietA2File.txt", $aArray) $RandomLine = Random(2, $aArray[0], 1) ; Starting random line somewhere between line 2 and last line of text file. $sResult = "Starting at line number " & $RandomLine & ". :-" & @LF & @LF For $i = $RandomLine To $aArray[0] $sResult &= $aArray[$i] & @LF Next MsgBox(0, "result", $sResult)
    1 point
  6. Just alter "Random" expression to get the results you want.
    1 point
  7. Easy, look here: #Include <File.au3> Global $text Global $result = "" _FileReadToArray("your file here", $text) $RandomLine = Random(1, $text[0], 1) For $i = $RandomLine To $text[0] $result &= $text[$i] Next MsgBox(0, "result", $result)
    1 point
  8. Grimster, Your code in the OP does indeed match what Windows properties tells me about the size of my drives and I suggest you open a Trac ticket to report your findings and see what the Devs have to say about it. However, if you want a sympathetic hearing, I would strongly suggest that you take a rather less accusatory tone when you write the ticket. And it would not hurt your cause if you renamed this thread either - perhaps to "Possible error in DriveSpaceTotal". Just edit the first post and use the "Full Editor" option - you can then access the title. M23
    1 point
×
×
  • Create New...