Jump to content

Rewriting AutoIt GUI applications so they are cross-platform


philw
 Share

Recommended Posts

Hi,

I have a text editor I created using AutoIt, but I'd like to rewrite it so that it can be compiled for operating systems other than Windows. I was wondering if anyone had done something similar, and if so which programming language they used. What would involve the least amount of work? And could the resulting application be run from a data stick?

Thanks.

Phil

Link to comment
Share on other sites

Learning the new language? Although he shouldn't be porting it without prior experience of the language and OS's right?

Learning a new language could be hard, but that's not what I meant. If you're using a platform independent language together will platform independent libraries uoi automatically get cross -platform. The point is that you do not need to have experience with the OS before. Example, making a game in Python and PyGame automatically makes your game available on pretty much any platform you can imagine.

Broken link? PM me and I'll send you the file!

Link to comment
Share on other sites

So philw would want to write the program, compile it and the run from stick on any platform.

How could Java (or similar) be used for that? Could someone explain?

Writing in e.g. Java doesn't mean that automatically you will be able to run your program on any platform. It only means you could run your program on any platform. There is a big (huge) difference. You need VM.

♡♡♡

.

eMyvnE

Link to comment
Share on other sites

So philw would want to write the program, compile it and the run from stick on any platform.

How could Java (or similar) be used for that? Could someone explain?

Writing in e.g. Java doesn't mean that automatically you will be able to run your program on any platform. It only means you could run your program on any platform. There is a big (huge) difference. You need VM.

Java and Python (for example) does not compile into machine code. They compile into byte code that runs within the Java/Python VM. Therefore if you write your code in Java/Python you can ship a single file to all platforms and it will work the same on all.

Of course this implies that Java/Python is available on specific platform but that's not your problem.

Broken link? PM me and I'll send you the file!

Link to comment
Share on other sites

Thanks very much for the advice. I'm actually using Ubuntu now - hence the need for a cross-platform version (running under Wine doesn't quite work) - and Python is already installed. Just out of interest, if a program is written in Python, can it be compiled for Windows into a double-clickable .exe file?

Link to comment
Share on other sites

Thanks very much for the advice. I'm actually using Ubuntu now - hence the need for a cross-platform version (running under Wine doesn't quite work) - and Python is already installed. Just out of interest, if a program is written in Python, can it be compiled for Windows into a double-clickable .exe file?

How do I make my python scripts executable Edited by JamesBrooks
Link to comment
Share on other sites

Java and Python (for example) does not compile into machine code. They compile into byte code that runs within the Java/Python VM. Therefore if you write your code in Java/Python you can ship a single file to all platforms and it will work the same on all.

Of course this implies that Java/Python is available on specific platform but that's not your problem.

Where do you see C# compared to Java in 10 years?

♡♡♡

.

eMyvnE

Link to comment
Share on other sites

Where do you see C# compared to Java in 10 years?

About the same. Microsoft will never spend time on releasing stuff for competing platforms and the open source implementations will never be better than the existing solutions (java, python etc.).

Broken link? PM me and I'll send you the file!

Link to comment
Share on other sites

About the same. Microsoft will never spend time on releasing stuff for competing platforms and the open source implementations will never be better than the existing solutions (java, python etc.).

There is one new player coming to scene that will eventually cause lots of changes. Mark my words.

♡♡♡

.

eMyvnE

Link to comment
Share on other sites

Aah. I'm not totally convinced that everything belong in the sky just yet. Maybe they can win me over.

Oh you will adopt. But the beauty about programmers like you is that you will always have C3 on return. Other will just return with no understanding on how it's done.

@JamesBrooks, of course.

♡♡♡

.

eMyvnE

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...