Sign in to follow this  
Followers 0
Rabbitman

Autoit to Visual Studio?

12 posts in this topic

Heyyy I was wondering if I could convert my script in Autoit to Visual Studio Ultimate 2010? It would be soo helpful.

Off topic: Is VS C++??

Share this post


Link to post
Share on other sites



Heyyy I was wondering if I could convert my script in Autoit to Visual Studio Ultimate 2010? It would be soo helpful.

Off topic: Is VS C++??

Do you mean Visual Basic? There is no language called Visual Studio Ultimate 2010, that is a software package.

shanet


[font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS:
%programfiles%/AutoIt3/autoit3.chm

Share this post


Link to post
Share on other sites

I use visual studio... That's why I was asking if it was C++

Share this post


Link to post
Share on other sites

Don't know if you can convert your script - do you know C++? :P

If you're looking for a tool that does it, i'm guessing nope. Would be neat though :x

Share this post


Link to post
Share on other sites

I use visual studio... That's why I was asking if it was C++

Yes, you use VS, however it is not a language, so you can not convert it.

What language do you program in with VS?


[font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS:
%programfiles%/AutoIt3/autoit3.chm

Share this post


Link to post
Share on other sites

It won't happen because AutoIt is dynamically typed, whereas C++ is statically typed. Conversion from C++ to AutoIt may be possible (easy even, although the output would be a tad untidy), but the other way would mean there would be circumstances where the type changes in AutoIt and you will be bending C++ into something it doesn't really want to be. I'm not saying impossible, I'm saying it's not really of any use. AutoIt and C are too different to make it feasible.

Share this post


Link to post
Share on other sites

Also, why would you want to, what practical application would this serve?


Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic]

Share this post


Link to post
Share on other sites

It won't happen because AutoIt is dynamically typed, whereas C++ is statically typed. Conversion from C++ to AutoIt may be possible (easy even, although the output would be a tad untidy), but the other way would mean there would be circumstances where the type changes in AutoIt and you will be bending C++ into something it doesn't really want to be. I'm not saying impossible, I'm saying it's not really of any use. AutoIt and C are too different to make it feasible.

At the risk of sounding an idiot, what is the difference between static and dynamic?

Yes I know a bit of C++ (I can do command prompt applications), however i do not know the diff?

thx


[font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS:
%programfiles%/AutoIt3/autoit3.chm

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

It's when the data type of a variable is set upon its declaration, as in C, as opposed to a variable whose data type is determined upon access, as in AutoIt.

EDIT: Typo

Edited by omikron48

Share this post


Link to post
Share on other sites

Ah. OK, Thanks omikron48!


[font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS:
%programfiles%/AutoIt3/autoit3.chm

Share this post


Link to post
Share on other sites

C++ can have dynamic types. What do you think AutoIt was written in?

Share this post


Link to post
Share on other sites

C++ can have dynamic types. What do you think AutoIt was written in?

Yes I found that you can get C++ source codes.


[font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS:
%programfiles%/AutoIt3/autoit3.chm

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0