frix199 Posted May 17, 2007 Posted May 17, 2007 hey im new here! not new to autoit scripting tho 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 thanks!
PaulIA Posted May 17, 2007 Posted May 17, 2007 frix199 said: heyim new here! not new to autoit scripting tho 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 thanks! @ScriptDir or @ScriptFullPath Auto3Lib: A library of over 1200 functions for AutoIt
November Posted May 17, 2007 Posted May 17, 2007 frix199 said: heyim new here! not new to autoit scripting tho 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 thanks! Hi,Use @scriptdirCheers 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]
frix199 Posted May 17, 2007 Author Posted May 17, 2007 (edited) november said: Hi,Use @scriptdirCheersyaarr thats it, thanks a lot have a nice dayyedit: oohhh i 4got 2 thank paulIA, i only saw november's post thanks again Edited May 17, 2007 by frix199
herewasplato Posted May 17, 2007 Posted May 17, 2007 frix199 said: ,,,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]
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now