Cha0sBG Posted July 23, 2008 Share Posted July 23, 2008 (edited) Ok so here is my question: Is it posible to make a program execute only if it's executed by an othere program muttley Hope it's posible and someone tell me how to do that ty in advance Regards: ~Cha0sBG Edited July 23, 2008 by Cha0sBG Have Questions About GUI (Graphical User Interface) ? Post Them Here :GUI Help And Support ForumHave Questions About General AutoIt ? Post Them Here : General Help And Support ForumNew To AutoIt ? Be Shure To Check Out The FaQ's (Frequently Asked Questions) Or FaQ ¹ There You May Find Great Help That Will Guide You True The Wonderful Programming Language AutoItOthere Good Place To Get Some Knolage Of AutoIt Is The Example Script ForumNotice A Bug ? Please Go And Report it At Bug Report Section And Help The Devolepers Of AutoIt Update And Fix The Programming LanguageWant To Thank The People For This Great Forum And Programming Language ? Then DonateWhen You Found The Answer Your Looking For Please Add [Resolved] To The Thread's Name That Will Show Otheres That You Have Found What Your Looking For And They Whount Have To Enter The Thread. Link to comment Share on other sites More sharing options...
Andreik Posted July 23, 2008 Share Posted July 23, 2008 Ok so here is my question:Is it posible to make a program execute only if it's executed by an othere program muttleyHope it's posible and someone tell me how to do that ty in advanceRegards:~Cha0sBGIf you use $CmdLine. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
Cha0sBG Posted July 23, 2008 Author Share Posted July 23, 2008 umm never used it can u give an example ? the program i wanna run with othere program is called InFo and the fist program with wich i'm going to run the second one is called Easy Maneger Have Questions About GUI (Graphical User Interface) ? Post Them Here :GUI Help And Support ForumHave Questions About General AutoIt ? Post Them Here : General Help And Support ForumNew To AutoIt ? Be Shure To Check Out The FaQ's (Frequently Asked Questions) Or FaQ ¹ There You May Find Great Help That Will Guide You True The Wonderful Programming Language AutoItOthere Good Place To Get Some Knolage Of AutoIt Is The Example Script ForumNotice A Bug ? Please Go And Report it At Bug Report Section And Help The Devolepers Of AutoIt Update And Fix The Programming LanguageWant To Thank The People For This Great Forum And Programming Language ? Then DonateWhen You Found The Answer Your Looking For Please Add [Resolved] To The Thread's Name That Will Show Otheres That You Have Found What Your Looking For And They Whount Have To Enter The Thread. Link to comment Share on other sites More sharing options...
Andreik Posted July 23, 2008 Share Posted July 23, 2008 umm never used it can u give an example ? the program i wanna run with othere program is called InFo and the fist program with wich i'm going to run the second one is called Easy Maneger Put this at start of InFo script. If $CmdLine[0] = 1 Then If $CmdLine[1] <> "PASSWORD" Then Exit Else Exit EndIf ;~ Your script... And when you want to call second script from EasyManager use: ShellExecute( "InFo.exe", "PASSWORD") When the words fail... music speaks. Link to comment Share on other sites More sharing options...
Cha0sBG Posted July 23, 2008 Author Share Posted July 23, 2008 thanks muttley Have Questions About GUI (Graphical User Interface) ? Post Them Here :GUI Help And Support ForumHave Questions About General AutoIt ? Post Them Here : General Help And Support ForumNew To AutoIt ? Be Shure To Check Out The FaQ's (Frequently Asked Questions) Or FaQ ¹ There You May Find Great Help That Will Guide You True The Wonderful Programming Language AutoItOthere Good Place To Get Some Knolage Of AutoIt Is The Example Script ForumNotice A Bug ? Please Go And Report it At Bug Report Section And Help The Devolepers Of AutoIt Update And Fix The Programming LanguageWant To Thank The People For This Great Forum And Programming Language ? Then DonateWhen You Found The Answer Your Looking For Please Add [Resolved] To The Thread's Name That Will Show Otheres That You Have Found What Your Looking For And They Whount Have To Enter The Thread. 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