Jump to content

Recommended Posts

Posted (edited)

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.
Posted (edited)

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

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
  • Administrators
Posted

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


 

Posted

i can write a simple script for removing all '$' from all autoit scripts. or maybe someone else will do it in some minutes only.

Enjoy the complexity.Feel the power of simplicity.
Posted

$ 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
Posted

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

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
×
×
  • Create New...