Guest Sypheron Posted November 17, 2004 Posted November 17, 2004 I'm trying to call a KiX script file to run in AutoIT, but every try results in an error message. Here's a piece of the code: Blockinput (1) Run("kix32.exe lotusnotes.kix", "", @SW_MAXIMIZE) Blockinput (0) Sleep (3000) Msgbox (48, "Installatie is voltooid!", "De installatie is succesvol voltooid!") It's an automated installation script for Lotus Notes, but when I try to use this file, it gives the following error in a DOS box: Error: Failed to find/open script! It continues to execute the AutoIT script though, and pops up the message box in the end. Any ideas would be more than welcome! Thank you in advance!
piccaso Posted November 17, 2004 Posted November 17, 2004 try using absolute pathnames... CoProc Multi Process Helper libraryTrashBin.nfshost.com store your AutoIt related files here!AutoIt User Map
Guest Sypheron Posted November 17, 2004 Posted November 17, 2004 You mean something like: "C:\install\kix32.exe lotusnotes.kix" ? I tried that and it's not working either
SlimShady Posted November 17, 2004 Posted November 17, 2004 (edited) If the AutoIt script is in the same folder as lotusnotes.kix use this: Blockinput (1) Run("C:\install\kix32.exe lotusnotes.kix", @ScriptDir, @SW_MAXIMIZE) Blockinput (0) Sleep (3000) Msgbox (48, "Installatie is voltooid!", "De installatie is succesvol voltooid!") Edited November 17, 2004 by SlimShady
Guest Sypheron Posted November 17, 2004 Posted November 17, 2004 Thank you, working perfectly fine! But now there's a new problem. Is there any way I can still give KiX script rights to use input devices? Because I only want to block the keyboard and mouse for the user, but not for the KiX script.
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