Jump to content

script path (exe or au3)


Recommended Posts

hey

im new here! not new to autoit scripting tho :D

so, i got a question. i wanna make my app run each time windows start, that means reg entry in current version\run, u all know that.

i can use regwrite, but how do i get the scripts path? like the vb.net command "application.executablepath" or application.startuppath, both could do the job.

i just dont know were to find it in autoit :D

thanks! :)

Link to comment
Share on other sites

hey

im new here! not new to autoit scripting tho :D

so, i got a question. i wanna make my app run each time windows start, that means reg entry in current version\run, u all know that.

i can use regwrite, but how do i get the scripts path? like the vb.net command "application.executablepath" or application.startuppath, both could do the job.

i just dont know were to find it in autoit :D

thanks! :)

@ScriptDir or @ScriptFullPath
Auto3Lib: A library of over 1200 functions for AutoIt
Link to comment
Share on other sites

hey

im new here! not new to autoit scripting tho :D

so, i got a question. i wanna make my app run each time windows start, that means reg entry in current version\run, u all know that.

i can use regwrite, but how do i get the scripts path? like the vb.net command "application.executablepath" or application.startuppath, both could do the job.

i just dont know were to find it in autoit :D

thanks! :)

Hi,

Use @scriptdir

Cheers

Old Scriptology

Visual Ping 1.8 - Mass Ping Program with export to txt delimited.

Desktop 2 RGB and YMCK - Pick a color in the desktop and get the RGB and YMCK code.

Desktop 2 RGB - Pick a color in the desktop and get the RGB code.

ShootIT 1.0 - Screen Capture full and partial screen

[font="'Arial Black';"]Remember Remember The Fifth of November.[/font]

Link to comment
Share on other sites

,,,i wanna make my app run each time windows start, that means reg entry in current version\run, u all know that...

...but you do not have to use the registry entry method, you could run the script as a service or start it other ways. See FAQ #4 and #11: http://www.autoitscript.com/forum/index.ph...st&p=253174

[size="1"][font="Arial"].[u].[/u][/font][/size]

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