coolness Posted April 1, 2006 Share Posted April 1, 2006 Here is the code, (autoitv3) Could someone please convert it to vb for me, thanks.; AutoIt Version: 3.0; Language: English; Platform: Win9x/NT; Author: Jonathan Bennett (jon@hiddensoft.com);; Script Function:; allows you to create a song.;; Prompt the user to run the script - use a Yes/No prompt (4 - see help file)$answer = MsgBox(4, "Lyricbuilderv1 (Read before clicking yes.)", "This script does hotkey commands. Run?"); Check the user's answer to the prompt (see the help file for MsgBox return values); If "No" was clicked (7) then exit the scriptIf $answer = 7 Then MsgBox(0, "AutoIt", "OK. Bye!") ExitEndIfrun("notepad.exe")Func _killprogram ()ExitEndFuncHotKeySet("{ESC}", "_Terminate")HotKeySet( "^a", "_line1")HotKeySet( "^b", "_line2")HotKeySet( "^c", "_line3")While 1sleep(10000)WendFunc _terminate ()HotKeySet("{ESC}", "_Terminate")ExitEndFunc;==>_OpenFunc _line1 ()send("CTRL_A did this.")sleep(50)send("{enter}")sleep(50)send("{enter}")sleep(50)send("{enter}")sleep(50)EndFunc;==>_OpenFunc _line2 ()send("CTLR_B did this.")sleep(50)send("{enter}")sleep(50)send("{enter}")sleep(50)send("{enter}")sleep(50)EndFunc;==>_OpenFunc _line3 ()send("CTRL_C did this.")sleep(50)send("{enter}")sleep(50)send("{enter}")sleep(50)send("{enter}")sleep(50)EndFunc;==>_Open Link to comment Share on other sites More sharing options...
cdkid Posted April 1, 2006 Share Posted April 1, 2006 (edited) Two things:1. No one is going to conver it for you.2. if it isn't broke, dont fix it.~cdkidPS:why do you want it in VB? Edited April 1, 2006 by cdkid AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide! Link to comment Share on other sites More sharing options...
coolness Posted April 2, 2006 Author Share Posted April 2, 2006 CTRL_A did this. Acually I just want the code, in VB, because I'm working with a vb program, that can create real aplications. And If I had that code, I could do it. Or at least a program that would acually convert it, aoutomatically, without having to manually do it. Link to comment Share on other sites More sharing options...
forger Posted April 2, 2006 Share Posted April 2, 2006 Real apps? AutoIT creates real apps. You right click on the .au3 file and click compile And visual basic programs sometimes need supporting dlls, whereas AutoITs compiled are standalone (one .exe, no dll needed to come with it) Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted April 2, 2006 Moderators Share Posted April 2, 2006 I must say this is a really "beginner" script. If you read the 5 or 6 options it uses in the help file, I don't see why you can't code (if any good) it in VB, why you don't just convert it yourself... should take like 5 minutes if that I would imagine. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now