Pr0t0n Posted October 7, 2006 Share Posted October 7, 2006 Heey, I'm trying to get along with the autoIt scripting, and I know how to make a startup register key and all but I don't how to associate file with the key so Windows could recognize it on his startup. Gr33tz, Pr0t0n Link to comment Share on other sites More sharing options...
Valik Posted October 7, 2006 Share Posted October 7, 2006 Then you don't know how to make a "startup register key" after all, do you? Link to comment Share on other sites More sharing options...
Pr0t0n Posted October 7, 2006 Author Share Posted October 7, 2006 Yeah of course I know how to make one smart ass I know the help file but you read the problem you know the answer or not? so I can go further? Link to comment Share on other sites More sharing options...
Pr0t0n Posted October 7, 2006 Author Share Posted October 7, 2006 probably not bye bye Link to comment Share on other sites More sharing options...
Valik Posted October 7, 2006 Share Posted October 7, 2006 Two things. First, if you knew how, you wouldn't be asking, therefore, you don't know how. Second, you're right, a developer of the language probably doesn't know how to do what you want. Link to comment Share on other sites More sharing options...
Valik Posted October 7, 2006 Share Posted October 7, 2006 Moved thread to correct forum. Link to comment Share on other sites More sharing options...
Pr0t0n Posted October 7, 2006 Author Share Posted October 7, 2006 (edited) Ok because I need the answer on this very hard, I'll explain it to you: I have done the research to know the path of the right register dir I searched in the help file to get the right commands but I don't know were I put the path to my script so windows know were the file is? Edit: I've opened a new topic in the right cat. Edited October 7, 2006 by Pr0t0n Link to comment Share on other sites More sharing options...
this-is-me Posted October 7, 2006 Share Posted October 7, 2006 I've opened a new topic in the right cat.<sarcasm><troll>Meow!</troll></sarcasm> Who else would I be? Link to comment Share on other sites More sharing options...
daremo Posted October 7, 2006 Share Posted October 7, 2006 you should probably just run regedit and look at the other start up keys, that will give you an idea of what you need to do. it's pretty obvious once you look at the other keys.Ok because I need the answer on this very hard, I'll explain it to you:I have done the research to know the path of the right register dir I searched in the help file to get the right commands but I don't know were I put the path to my script so windows know were the file is?Edit: I've opened a new topic in the right cat. Link to comment Share on other sites More sharing options...
cppman Posted October 7, 2006 Share Posted October 7, 2006 (edited) <sarcasm>You know. Its funny how helpful the autoit community can be.</sarcasm>RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run", "YourProgramName", "REG_SZ", "LocationToYourFile")How to use.Change YourProgramName for whatever the name of your program that you wish to startup is.Change LocationToYourFile to wherever your file is located, that you wish to startup.Simple as that Edited October 7, 2006 by CHRIS95219 Miva OS Project Link to comment Share on other sites More sharing options...
Uten Posted October 7, 2006 Share Posted October 7, 2006 Yeah of course I know how to make one smart ass I know the help file but you read the problem you know the answer or not?so I can go further?I don't think people understand what your after. I for one don't. So smart ass comments wont help you much.* Do you want to associate a file extension to your program (Like notepad is associated with *.txt files)?* Or do you want to start your program with (at the same time as) Explorer?* Or do you want something else like beeing able to write YourApp.exe in the Run dialog and have it start from there (As in ShellExecute in the latest beta)?* Or maybe something else? Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
Pr0t0n Posted October 7, 2006 Author Share Posted October 7, 2006 I don't think people understand what your after. I for one don't. So smart ass comments wont help you much.* Do you want to associate a file extension to your program (Like notepad is associated with *.txt files)?* Or do you want to start your program with (at the same time as) Explorer?* Or do you want something else like beeing able to write YourApp.exe in the Run dialog and have it start from there (As in ShellExecute in the latest beta)?* Or maybe something else?No I'm writing a fucking virus and CHRIS95219 thanks I don't know why but you are the only one with the right answer, and what I don't understand is why the autoIt support is so FUCKED UP and sorry for my language but I don't know how to say it else. Link to comment Share on other sites More sharing options...
theguy0000 Posted October 7, 2006 Share Posted October 7, 2006 pr0t0n, valik is an ass sometimes. he knows that, he will not change. just live with it. but really, I don't see why nobody could give this person a straight answer, except Chris. All he asked for was where to put the path to the file he wants to run on startup in the registry. Chris gave it to him just fine. Why was it so hard for anyone else? I've seen a lot of stuff like this recently...just give the people the answers they want! But everyone seems to make a big deal out of it... Just my opinion... The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
jvanegmond Posted October 7, 2006 Share Posted October 7, 2006 Ban ban ban ban! I want to see heads rolling! github.com/jvanegmond Link to comment Share on other sites More sharing options...
theguy0000 Posted October 7, 2006 Share Posted October 7, 2006 Ban ban ban ban! I want to see heads rolling! ban? lol The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
jvanegmond Posted October 7, 2006 Share Posted October 7, 2006 ban? lolSorry if I suggested you should be banned. I was referring to this part:and what I don't understand is why the autoIt support is so FUCKED UP and sorry for my language but I don't know how to say it else.Can i change my name to "Neutron"? github.com/jvanegmond Link to comment Share on other sites More sharing options...
AzKay Posted October 7, 2006 Share Posted October 7, 2006 (edited) pr0t0n, valik is an ass sometimes. he knows that, he will not change. just live with it. but really, I don't see why nobody could give this person a straight answer, except Chris. All he asked for was where to put the path to the file he wants to run on startup in the registry. Chris gave it to him just fine. Why was it so hard for anyone else?I've seen a lot of stuff like this recently...just give the people the answers they want! But everyone seems to make a big deal out of it...Just my opinion... Edited October 7, 2006 by AzKay # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
theguy0000 Posted October 7, 2006 Share Posted October 7, 2006 lol yes i was going to change that The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
Pr0t0n Posted October 7, 2006 Author Share Posted October 7, 2006 ban? lolYeah they can try to ban me but I've got enough skills to come back,and theguy0000 thanks owe you one, but now I saw that I've overlooked the answerof chris in the help file, but now I know that my real problem is not were to put thepath but the problem is that the dir not always the same is so I've to scriptsometime to get the dir of the script and put it on the right place in the scriptbut I think that's do able with strings.Gr33tz,Pr0t0n Link to comment Share on other sites More sharing options...
zcoacoaz Posted October 7, 2006 Share Posted October 7, 2006 Yeah they can try to ban me but I've got enough skills to come back,But you can't even use proper english? [font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font] 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