← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #121539]: openApp parameter support

 

Question #121539 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/121539

NMANOS requested for more information:
Thanks!
So I made this function:

def launchWinApp(command):
	type("r", KEY_WIN)
	wait(1)
	App.focus('Run')
	paste(r'%s' % command)
	type(Key.ENTER)
	wait(2)
	return App.focusedWindow()

But now there's something else - when I run the function, it ignores the
" r " option, and converts the "\t" (after "Settings") into space:

myApp = launchWinApp('C:\WINDOWS\SYSTEM32\msiexec.exe /i "C:\Documents
and Settings\test\Local Settings\Temp\My_Install.msi"')

-->

C:\WINDOWS\SYSTEM32\msiexec.exe /i "C:\Documents and Settings
est\Local Settings\Temp\Manual Install
Files\ATT_Connect_Participant.msi"

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.