Jump to content

Recommended Posts

Posted (edited)

How can I convert a AutoIt script to mine like this:

We have StringSplit($string, $split) and I want to make it $string.split($split) for easier working, what should I do?

And is there any thing like orient programming with class like javascript?

Example : $animals=new Animal("Chicken");

$animals.wings=2;

Thanks in advance!

Edited by nht3004

for(loop=0; loop<infinity; loop++) { alert('I love you'); }

Posted

Maybe «Creating COM objects without a need of DLL's» by @ptrex is somehow close to this (but not sure).

  Quote

I want to make it $string.split($split) for easier working

Easier? And why StringSplit($string, $split) is not easy, it's just a mater of habit :D

P.S

AutoIt have it's own unique syntax, i don't think it should be similar to other languages.

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted
  Quote

And is there any thing like orient programming with class like javascript?

No, not in AutoIt afaik.

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

  nht3004 said:

How can I convert a AutoIt script to mine like this:

We have StringSplit($string, $split) and I want to make it $string.split($split) for easier working, what should I do?

And is there any thing like orient programming with class like javascript?

Example : $animals=new Animal("Chicken");

$animals.wings=2;

Thanks in advance!

It is (currently) not possible, and I doubt it will be possible in future. AutoIt is basic-like language, but you can always use AutoItX to use some AutoIt commands in other programming languages (like Java :D )

I can do signature me.

Posted

Thanks guys, now I know what to do, I have to get used to it, 'cuz I'm very interested in AutoIt!

for(loop=0; loop<infinity; loop++) { alert('I love you'); }

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...