Jump to content

Search the Community

Showing results for tags 'convert'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • Forum
  • AutoIt

Calendars

  • Community Calendar

Found 16 results

  1. Has anybody ever imported a VuGen recording into AutoIT? I like the recording cabability of VuGen and thought it would be great to use and then pull it into AutoIT to compile into an EXE. Jim
  2. Good evening I was looking around the forum if I could find a function that allows to convert a string into a 2 dimensional array... The first column of the array is always the same, but the rows could change... I have a pattern like: Column A|Column B Static Text 1|Data 1 Static Text 2|Data 2 Static Text 3|Data 3 Static Text 4|Data 4 Where, Static Text (1...4) will be always the same, and I don't want to change them... But, Data 1...4 are dynamic fields... So, I could have the pattern above AND I coould have the pattern I'm going to show you right below Column A|Column B Static Text 1|Data 1 Static Text 2|Data 2 Static Text 3|Data 3 Static Text 4|Data 4 Static Text 1|Data 5 Static Text 2|Data 6 Static Text 3|Data 7 Static Text 4|Data 8 How can I do in this case? Thanks for everyone's help
  3. Good morning guys I'd like to know if there is a way to convert a PDF in CSV or, eventually, in TXT, in order to read from it, like a database... I have a PDF and I think ( I dind't search a lot on the forum ) with AutoIt, but I'd like work with Excel styles... Does anyone know a good program which convert PDF to CSV? PS: the PDF file is 5 MB, and it contains 439 pages... Thanks everyone for the help
  4. Hi All, Trying to convert a number to binary zeros and ones but I'm getting a result I don't understand and looks more like hex than binary. Here's my basic code: $myNum = 11 $myNumBin = Binary($myNum) MsgBox(0, "Binary result", $myNumBin) What I want is "1011", what I get is 0x0B000000. Thanks!
  5. Hi, I have a binary string that I want to convert to octal, The string I want to convert is, 10001001010100000100111001000111000011010000101000011010 The String is read from a .txt file Once its converted it should read this, 4 2 2 5 0 1 1 6 2 1 6 0 6 4 1 2 0 6 10 which I want written to the .txt file to overwrite the original binary string. The 10 at the end should be ignored as there are not 3 digits to convert. I'm thinking it should read the string from left to right to get the next 3 digits before converting them to its oct value. would this be the best way to do this or is there a better way? If i'm on the right track can anyone give me an example of how to write this script please? I've looked at the StringLeft function & StringReplace but I'm not sure how to use them the correct way to accomplish what I'm trying to do. Thanks
  6. WKHtmkToX

    Version 1.0.0

    175 downloads

    Class using AutoItObject to generate PDF or image (JPG, BMP, GIF, PNG...) files from webpages or HTML files through wkhtmltopdf and wkhtmltoimage.
  7. Does anyone have a concrete way of converting/decoding REG_BINARY?
  8. Pic2Vector

    Version 1.0.1.4

    810 downloads

    Pic2Vector permit to easily convert bitmap Images to clean Vector Art and save it result to jpg, png, bmp or gif format. See Topic for more details and examples.
  9. Hello, I've created a script for a Bingo / Lottery kind of game in PHP. Now I want to make this a standalone application in AutoIT. I really dont know how to do that as i´m just a Autoit-beginner. Can you help me with it? In general I have the following files: data.csv - the "database" where the bingo-numbers are stored, together with the name of the candidate index.htm - to show the 'program' in a browser input.php - to take care of input results.php - to show the winners numbers.txt - the winning numbers to compare with I have the following files: Input.php: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <html><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style> body { font-family:Times New Roman, Verdana,Geneva; font-size:12px; color:#000000; margin-left:20px; background:#F7F5DF; width: 300px; } H2 { font-family:Times New Roman, Geneva; font-size:16pt; color:#840018; text-align:center; } </style> <link rel=stylesheet href="style.css" TYPE="text/css"> <title>Input</title> <?php $sepsign = '/;/'; $text = ''; $wnumbers = ''; $counter = 0; $filed = "data.csv"; $fileg = "numbers.txt"; $in_numbers = array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0); if ($_SERVER['REQUEST_METHOD'] == 'POST') { $name = $_POST['name']; $in_numbers = $_POST['$in_numbers']; } $fd = fopen($fileg,"r") or die ("Unable to open $file."); $text = fread($fd,filesize($fileg)); $wnumbers = preg_split($sepsign,$text); // wnumbers is an array with winning numbers Fclose($fd); for ($j = 0; $j < 10; $j++) { for ($i = 0; $i < 10; $i++) { if ($wnumbers[$i] == $in_numbers[$j]) { $counter++; } } } // $counter will contain the number of matches on the input # Append and write the line in a file <number of matches>;<name>;<number 1>;<number 2>; etc $fdb = fopen($filed,"a+"); fwrite($fdb,$counter . ";" . $name); for ($i = 0; $i < 10; $i++) { fwrite($fdb,";" . $in_numbers[$i]); } fwrite($fdb,"\r\n"); fclose($fdb); ?> <h2><br>Your input has been stored successfully!</h2> </body></html> Results.php: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <HTML><head> <meta http-equiv="Content-Type" content="text/HTML; charset=iso-8859-1"> <style> body { font-family:Times New Roman, Verdana,Geneva; font-size:12px; color:#000000; margin-left:20px; background:#F7F5DF; width: 300px; } H2 { font-family:Times New Roman, Geneva; font-size:16pt; color:#840018; text-align:center; } </style> <title>Result</title> </head><BODY> <h2>Result of the draw</h2><hr><br> <?php $sepsign = '/;/'; $text = ''; $filed = "data.csv"; $fileg = "numbers.txt"; $fd = fopen($filed,"r") or die ("unable to open $file."); $text = fread($fd,filesize($filed)); $lines = preg_split("/\r\n/",$text); // Will split the file data.csv in lines $count_reg = count($lines); fclose($fd); sort ($lines); reset($lines); for ($i = ($count_reg - 1); $i>($count_reg-4); $i--) { // The three highest scores are showed $collums = preg_split($sepsign,$lines[$i]); print "<b>Name: " . $collums[1] . "<br>"; print "Number of matches: " . $collums[0] . "</b><br>"; print "Input: "; for ($j = 2; $j < 12; $j++) { print $collums[$j]; if ($j <> 11 ) { print ", "; } // to prevent the "," to appear after the last number } print "<br><br>"; } $fd = fopen($fileg,"r") or die ("Unable to open $file."); $text = fread($fd,filesize($fileg)); $wnumbers = preg_split($sepsign,$text); Fclose($fd); print "<br><b>Bingo numbers</b><br><hr>"; for ($j = 0; $j < 11; $j++) { print $wnumbers[$j]; if ($j < 9 ) { print ", "; } // to prevent the "," to appear after the last number } ?> </body></html> Index.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <html><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style> body { font-family:Times New Roman, Verdana,Geneva; font-size:12px; color:#000000; margin-left:20px; background:#F7F5DF; width: 300px; } H2 { font-family:Times New Roman, Geneva; font-size:16pt; color:#840018; text-align:center; } </style> <title>Bingo game, input numbers.</title> </head><body> <form action="input.php" method="post" name="form"> <center> <h2>Input numbers</h2> lines &nbsp; <input type="text" name="lines" size=20 maxlength=50><br><br> Number &nbsp;1 &nbsp;<input type="text" name="$in_numbers[0]" size=4><br> Number &nbsp;2 &nbsp;<input type="text" name="$in_numbers[1]" size=4><br> Number &nbsp;3 &nbsp;<input type="text" name="$in_numbers[2]" size=4><br> Number &nbsp;4 &nbsp;<input type="text" name="$in_numbers[3]" size=4><br> Number &nbsp;5 &nbsp;<input type="text" name="$in_numbers[4]" size=4><br> Number &nbsp;6 &nbsp;<input type="text" name="$in_numbers[5]" size=4><br> Number &nbsp;7 &nbsp;<input type="text" name="$in_numbers[6]" size=4><br> Number &nbsp;8 &nbsp;<input type="text" name="$in_numbers[7]" size=4><br> Number &nbsp;9 &nbsp;<input type="text" name="$in_numbers[8]" size=4><br> Number 10&nbsp;<input type="text" name="$in_numbers[9]" size=4><br><br> <input type="submit" value="Submit..."></FORM> </center> <p />&nbsp;<p /> </body></html>
  10. May be some of you know the shareware VectorMagic who permit to easily convert bitmap Images to clean Vector Art ! Pic2Vector 1.0.1.4 is free, and can give similar effects ! I was interested by some effects added to a photo. I'm not using gdi for the vectorization, but 2 command line tools : Autotrace 0.27 with ILDA file support for converting bitmap to vector graphics Custom Version at : http://www.raycomposer.de/en/ressources/autotrace/ More general infos : http://autotrace.sourceforge.net/ GPL Ghostscript 9.07 use here for converting vector graphics to Jpeg. More infos : http://www.ghostscript.com/doc/9.07/Use.htm# example 1 example 2 example 3 example 4 example 5 example 6 example 7 example 8 Free to you to play with settings for see changes.(Infos with tooltip added to each type of setting) If UAC Enable, use right click, execute as Admin. Click on vectorized Pic for display it in fullscreen with Windows picture Viewer. You can save result to jpg, png, bmp or gif format. Changes Version 1.0.1.4 Settings can be saved by creating a profil. No more appcrash window for autotrace.exe. New buttons for display compatibility with xp. Externals files are embedded, no more downloads needed. Some minor improvements. Added new examples to topic. Tested with WinXp, Win7 and Win 8.1. previous downloads : 666 source and executable are available in the Download Section Hope you like it !
  11. VBS to AUTOIT Script

    Hello AutoIT Gurus/MVPs! Can someone convert my vbs script to autoit script please? Please check below: Option Explicit Dim Fso, Ws Set Fso = CreateObject("Scripting.FileSystemObject") If Fso.FileExists("error.log") Then Fso.DeleteFile("error.log") End If WScript.Sleep (500) Set Ws = CreateObject("WScript.Shell") WScript.Sleep (1000) Ws.Run "cmd /k validitor --dtd ""custom.dtd"" -c *.xml > error.log & exit", True MsgBox "Successful. Please refer to a log file." Thanks, Ray
  12. How can I convert system time to PST time? What functions should I use? This is needed, for instance, for telling current time in Canada. Thank you.
  13. Date to Day

    In a nut shell I have some excel files with data extracted from calendars and I am trying to get some statistics. One of the things I would like to do is compare on which days certain things happen. So I was curious if anyone had an easy way to convert a date in a format (something like XX/XX/XX) to a day Mon-Fri. Thanks!
  14. How to convert string that retrieved from inputbox into math equation. for example, if the user type a math equation like : 2x^2+3x-4 how to convert it into math equation so we can process the result?
  15. Title says it all. I'm trying to communicate with a server, where the first two bytes are an u16 of the length of the packet. But I have no idea how to go to u16...in order to send it over TCP... Anyone know how? Thanks in advance.
  16. TinyPicSharer

    Version 1.0.3.4

    1,670 downloads

    Capture Picture or window with Mouse Drag and upload it to 10 differents pic hosters. Or drop an Image on the little Frog for upload it directly ! for more details see :
×