Re: [Sikuli-driver] [Question #679030]: user.home error

2019-03-08 Thread jeffrey
Question #679030 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679030

Status: Answered => Solved

jeffrey confirmed that the question is solved:
I've found what was the problem, we had right together!

Despite the impersonnation to current user seems working fine (a
"whoami" command to verify output before launch java), i've compared
varenv (with "set" just after "whoami") and it was not same values!

So the execution of sikuli tried to work with
"c:\windows\system32\config\systemprofile\", but current user was unable
to create files/folders directly in, cause of UAC.

Solution:

Just navigate in this directory at once a accept UAC validation.
Restart the service, it works!

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 #679030]: user.home error

2019-03-07 Thread jeffrey
Question #679030 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679030

Status: Answered => Open

jeffrey is still having a problem:
At the boot of OS, this service (C# coded) start (so is started before
the login screen), it's waiting for a user open his session, and when it
(the service) discover a logon session, it takes the session token of
the user and start the .bat file which contains the java command to
start sikuli.

This trick works fine with my "myswing.jar" (in the same folder as
sikulix.jar, it's just a JFrame in a main()), so the java process is
runned by the current user, like if it was really him that make action
(scenario).

I thought about a context (varenv, java vars, i'm not very familiar with
windows) problem.

-- 
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 #679030]: user.home error

2019-03-07 Thread jeffrey
Question #679030 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679030

Description changed to:
Hi,

Firstly, thank you for this usefull project !

I've created scenario with IDE, it works fine.
Now, i would like start it automatically after user logged in (i'm already to 
do it with a simple swing application, works fine).

But when the service start sikuli from command line, error appears
immediately:

[ERROR] RunIDE: JavaSystemProperty::user.home not valid:
C:\Users\jeffrey


I don't understand, this directory exists, it's my current user's home directory


I don't want to use startup menu because i want to hide (via a wrapper) the 
back and white msdos console while running.


It works fine from an other VM, both VMs are up to date
sikulix.jar 1.1.4
Windows 7 pro SP1
JDK 11.0.2

Perhaps i've forgotten something, any idea?

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


[Sikuli-driver] [Question #679030]: user.home error

2019-03-07 Thread jeffrey
New question #679030 on Sikuli:
https://answers.launchpad.net/sikuli/+question/679030

Hi,

Firstly, thank you for this usefull project !

I've created scenario with IDE, it works fine.
Now, i would like start it automatically after user logged in (i'm already to 
do it with a simple swing application, works fine).

But when the service start sikuli from command line, error appears immediately:

[ERROR] RunIDE: JavaSystemProperty::user.home not valid: C:\Users\jeffrey


I don't understand, this directory exists, it's my current user's home directory


I don't want to use startup menu because i want to hide (via a wrapper) the 
back and white msdos console while running.


It works fine from an other VM, both VMs are up to date
Windows 7 pro SP1
JDK 11.0.2

Perhaps i've forgotten something, any idea?

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 #230125]: Region Within a Region

2013-06-04 Thread Jeffrey Corpuz
Question #230125 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/230125

Status: Answered = Solved

Jeffrey Corpuz confirmed that the question is solved:
?

What I want to know how to create a region within a region

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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


[Sikuli-driver] [Question #230125]: Region Within a Region

2013-06-03 Thread Jeffrey Corpuz
New question #230125 on Sikuli:
https://answers.launchpad.net/sikuli/+question/230125

Hello, so I am testing out something with the new Java API (1.0.0) and I would 
enjoy help in selecting a region within a region?

How does one go about it, I recently updated it and ScreenRegion does not exist 
anymore.

Thank you

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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