Can't do screen capture !!

Asked by shareef

When I start the application then press on "tack screenshot" button, the application will just closed and no still in the TaskManager as "javaw.exe" .

what should I do ?

I am sorry for my bad English :(

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
shareef
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1
Revision history for this message
shareef (mn9-com) said :
#2

THANK U prof. RaiMan

SOLVED :)

Revision history for this message
shareef (mn9-com) said :
#3

the problem was in :

setlocal
PATH=%ProgramFiles%\Sikuli X\libs;%ProgramFiles%\Java\jre6\bin;%PATH%
set SIKULI_HOME=%ProgramFiles%\Sikuli X\
set JAVA_HOME=%ProgramFiles%\Java\jre6
set JPARM=-Xms64M -Xmx512M -Dfile.encoding=UTF-8
>>>rem following must be on one line
"%JAVA_HOME%\bin\java.exe" %JPARM% -Dpython.path="%SIKULI_HOME%sikuli-script.jar/" -jar "%SIKULI_HOME%sikuli-ide.jar" %*
>>>rem end of on one line
endlocal

those two lines must be deleted

Revision history for this message
RaiMan (raimund-hocke) said :
#4

Thanks for finding.

I have revised faq 2220, so the 2 lines are no longer needed.

Revision history for this message
shareef (mn9-com) said :
#5

good positive dealing with my problem ..

Thank you from the heart :)

Revision history for this message
RaiMan (raimund-hocke) said :
#6

All the best.