Re: [Sikuli-driver] [Question #693662]: VNCScreen.capture doesnt work

2020-11-16 Thread Ben weiss
Question #693662 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693662

Ben weiss posted a new comment:
Thanks for the input Jeff; however, im trying to screenshot the VNC
session which is a screen coming from over the network (im also running
java).

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #693662]: VNCScreen.capture doesnt work

2020-11-14 Thread Jeff_Vallis
Question #693662 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693662

Jeff_Vallis posted a new comment:
May or May not help
My Screen Shot Function - please don't Laugh

def 
Screen_Shot_Set_and_Copy_Procedure(v_Dir,Screen_Shot_File,Need_a_Copy,x,y,w,h):
screenshotsDir = Get_Location(v_Dir)
import shutil
import os
print "Screen_Shot_Set_and_Copy",x,y,w,h
setRect(x,y,w,h)
some_region = SCREEN # for whole screen
someRegion = App.focusedWindow() # for the frontmost windo
img = capture(some_region)
my_file = Screen_Shot_File
print "Sub_Take_Screen_Shot_and_Copy() "+screenshotsDir + my_file + ".png" 
localtime = time.localtime(time.time())
timestring = time.strftime ('%m%d%H%M%S')
my_file = my_file + ".png"
shutil.move(img, os.path.join(screenshotsDir, my_file))
if Need_a_Copy == 1:
my_copy = my_file + " copy " + timestring + ".png"
shutil.copy(os.path.join(screenshotsDir, my_file), 
os.path.join(screenshotsDir, my_copy))
print "Sub_Take_Screen_Shot_and_Copy() ",screenshotsDir, my_copy

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #693662]: VNCScreen.capture doesnt work

2020-10-27 Thread Ben weiss
Question #693662 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693662

Ben weiss posted a new comment:
no, its over an internal network. i verified that the VNC connection is
healthy and can be used in a normal config (i can use vncviewer over
default port 5900 and specific ip). The picture that SikuliX takes from
java is of the first second that the VNC screen is connected.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #693662]: VNCScreen.capture doesnt work

2020-10-27 Thread RaiMan
Question #693662 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693662

RaiMan proposed the following answer:
ok. thanks.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #693662]: VNCScreen.capture doesnt work

2020-10-27 Thread RaiMan
Question #693662 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693662

RaiMan requested more information:
Are you running the TigerVNC server on the same machine as the SikuliX
program?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #693662]: VNCScreen.capture doesnt work

2020-10-27 Thread Ben weiss
Question #693662 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693662

Ben weiss posted a new comment:
no worries. thanks for the response.

im on a centos distro and run sikuli from a java program. TigerVNC is
installed and works accordingly on my machine.

I cant give away more detailed descriptions because of the work
environment im in but i will gladly answer questions and assist in this
issue if you find anything that could possibly be a solution.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #693662]: VNCScreen.capture doesnt work

2020-10-27 Thread RaiMan
Question #693662 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693662

Status: Open => Answered

RaiMan proposed the following answer:
Sorry for ignoring your other question, that meanwhile expired.

The VNC support is not my priority and the implementation is based on a
contribution 3 years ago.

I will setup a test configuration again, to finally decide how to deal
with the VNC support in the future.

A detailed description of you setup would surely help.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp