Jump to content
Sign in to follow this  
frix199

script path (exe or au3)

Recommended Posts

frix199

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! :)

Share this post


Link to post
Share on other sites
PaulIA

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

Share this post


Link to post
Share on other sites
November

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]

Share this post


Link to post
Share on other sites
frix199

Hi,

Use @scriptdir

Cheers

yaarr thats it, thanks a lot :D

have a nice dayy

edit: oohhh i 4got 2 thank paulIA, i only saw november's post :D

thanks again :)

Edited by frix199

Share this post


Link to post
Share on other sites
herewasplato

,,,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]

Share this post


Link to post
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
Sign in to follow this  

×