frix199 Posted May 17, 2007 Share 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! Link to comment Share on other sites More sharing options...
PaulIA Posted May 17, 2007 Share Posted May 17, 2007 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 Link to comment Share on other sites More sharing options...
November Posted May 17, 2007 Share Posted May 17, 2007 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] Link to comment Share on other sites More sharing options...
frix199 Posted May 17, 2007 Author Share Posted May 17, 2007 (edited) 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 Link to comment Share on other sites More sharing options...
herewasplato Posted May 17, 2007 Share Posted May 17, 2007 ,,,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 More sharing options...
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