Jump to content

A idea to make AutoIt better


Cw2K1
 Share

Recommended Posts

i know there are some UDF but adding these to include files will help many people who asks for it. is it not good?

#MakeMeService ; with documents in help file
#RunAsServices
#include <Service.au3>
;etc

if anyone know the code to make a app as service (without rebooting) under NT / Win2k than share it with me.

Edited by Cw2K1
Enjoy the complexity.Feel the power of simplicity.
Link to comment
Share on other sites

also i think '$' should be removed as this

For i = 1 To listview1.listitems.Count
   'determine existence of /
    If InStr(listview1.listitems(i), "/") > 0 Then
        'convert
    End If
Next

there is no '$' in it. it's a VB code i used for example. it will make autoit code easy and fast

A = "100"
b = @ScriptDir
P = "Path"
MsgBox(0, P, B, A)

converted with variables

$a = "100"
$b = @ScriptDir
$P = "Path"
MsgBox(0, $P, $B, $A)
Edited by Cw2K1
Enjoy the complexity.Feel the power of simplicity.
Link to comment
Share on other sites

i know there are some UDF but adding these to include files will help many people who asks for it. is it not good?

#MakeMeService; with documents in help file
#RunAsServices
#include <Service.au3>
;etc

if anyone know the code to make a app as service (without rebooting) under NT / Win2k than share it with me.

This topic has been covered thoroughly already. The idea of achieving it with just a compiler flag is silly because it doesn't provide the many parameters required to properly configure a service.

also i think '$' should be removed as this

For i = 1 To listview1.listitems.Count
   'determine existence of /
    If InStr(listview1.listitems(i), "/") > 0 Then
        'convert
    End If
Next

there is no '$' in it. it's a VB code i used for example. it will make autoit code easy and fast

a = "100"

b = @ScriptDir

P = "Path"

MsgBox(P, B, A)

I personally dislike the VB convention of variables without a delimiter very much, and hope your idea is never adopted.

:mellow:

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

  • Administrators

$ and @ were used in the beginning because my skill at writing an interpreter was low. But now it's in the language there is no way it will be removed - it would break a gazillion scripts. I get in enough trouble for changing a single function as it is...

Link to comment
Share on other sites

$ and @ were used in the beginning because my skill at writing an interpreter was low. But now it's in the language there is no way it will be removed - it would break a gazillion scripts. I get in enough trouble for changing a single function as it is...

yep

change

#include<GUIconstants.au3>

and there were 100 posts saying MY SCRIPT DOESN'T WORK!!!

lol

code
Link to comment
Share on other sites

yep

change

#include<GUIconstants.au3>

and there were 100 posts saying MY SCRIPT DOESN'T WORK!!!

lol

there are some cool scripts in 'Example Scripts' for removing unneeded and adding needs includes. :mellow:
Enjoy the complexity.Feel the power of simplicity.
Link to comment
Share on other sites

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