Jump to content

Recommended Posts

Posted

I have been asked to convert many of AutoIt programs to Java. I don't know much about Java, so that is why I am asking this question. Is it possible and is hard to do?

RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

Posted

Did you ask why? There are many cheap Java programmers out there once you find a way to get the programs moved to Java ;)

Spoiler

“Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.”

 

Posted

It think the answer will be as usual: It depends.

First I would ask some questions:

  • Why did you choose AutoIt to write the scripts in the first place?
  • What has changed so you want to convert them to Java?

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Posted

It think the answer will be as usual: It depends.

First I would ask some questions:

  • Why did you choose AutoIt to write the scripts in the first place?
  • What has changed so you want to convert them to Java?

Autoit was what the major programmer was using when I started working. It was a good place to start and really like it. It is quite powerful.

The company is having a shifted in management and they want more Java code coming out of the Shop. It works on more platforms and we are expanding a little. Basically more work with fewer people.

RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

Posted

Is it possible and is hard to do?

Possible: Yes

Hard to do: Depends on what the AutoIt code does. Pure AutoIt functions or a lot of UDFs?

The biggest advantage of AutoIt in my eyes is the big number of UDFs for all kind of automation tasks (Office, Web browsers, Active Directory ...). If you use a lot of them converting your scripts to Java can be a big task.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Posted

Thanks. Great, it doesn't sound like fun for me.

Anyone know of good books or websites for Java?

RUN . . . Slide . . . TAG . . . Your out . . . PAINTBALL !!!

Posted

I've been recommended to Head First: Java recently as I'm looking into Java programming for Android.

Spoiler

“Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.”

 

  • Moderators
Posted

I've been recommended to Head First: Java recently as I'm looking into Java programming for Android.

Just as an aside, I keep a copy of this exact book on my desk. They do an awesome job, and I find myself referring back to it often.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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
  • Recently Browsing   0 members

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