hungtano Posted October 24, 2007 Share Posted October 24, 2007 Hi everybody,Here is my script :; Run the unikey ( Vietnamese keyboard for WinXP)Run("Uk40RC1ntSetup.exe"); Welcome screenWinWaitActive("Unikey 4.0 NT Setup","&Next >")Send("!n");License agreementWinWaitActive("Unikey 4.0 NT Setup","I &Agree")Send("!a"); Choose locationWinWaitActive("Unikey 4.0 NT Setup","&Next >")Send("!n"); install optionWinWaitActive("Unikey 4.0 NT Setup","&Install")Send("!i"); FinishWinWaitActive("Unikey 4.0 NT Setup","&Finish")Send("!f")But Script paused at line 2 (Run("Uk40RC1ntSetup.exe")).I can't find error.Please help me ! Thank in advance.Vietnamese keyboard for WinXP :http://prdownloads.sourceforge.net/unikey/Uk40RC1ntSetup.exe Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 24, 2007 Moderators Share Posted October 24, 2007 (edited) "Unikey 4.0 NT Setup" does't exist yet or isn't active... (maybe try without the text part in the 2nd parameter if you are sure the first parameter is spelled correctly. Edited October 24, 2007 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
hungtano Posted October 25, 2007 Author Share Posted October 25, 2007 "Unikey 4.0 NT Setup" does't exist yet or isn't active... (maybe try without the text part in the 2nd parameter if you are sure the first parameter is spelled correctly. Hi Smoke N,Thanks ! but when I run script, the welcome screen appears and stop. That 's all.Any ideas ? Link to comment Share on other sites More sharing options...
Zedna Posted October 25, 2007 Share Posted October 25, 2007 (edited) Hi Smoke N, Thanks ! but when I run script, the welcome screen appears and stop. That 's all. Any ideas ? Use Opt("TrayIconDebug", 1) to see where is your script hanging. EDIT: try Run(@scriptdir & "\Uk40RC1ntSetup.exe") Edited October 25, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Zedna Posted October 25, 2007 Share Posted October 25, 2007 Hi Smoke N, Thanks ! but when I run script, the welcome screen appears and stop. That 's all. Any ideas ? Also try: Run("Uk40RC1ntSetup.exe") ; Welcome screen WinWait("Unikey 4.0 NT Setup","&Next >") WinActivate("Unikey 4.0 NT Setup","&Next >") WinWaitActive("Unikey 4.0 NT Setup","&Next >") Send("!n") Resources UDF ResourcesEx UDF AutoIt Forum Search 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