← Back to team overview

sikuli-driver team mailing list archive

[Bug 1228536] Re: Not able to run xxx.Sikuli Script by command

 

** Changed in: sikuli
       Status: New => Opinion

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1228536

Title:
  Not able to run xxx.Sikuli Script by command

Status in Sikuli:
  Opinion

Bug description:
  Hello,

  I am using sikuli 1.000.

  i am not able to run the sikuli script by command.

  i have copied Sikuli in the E drive. Ex:  E:\Sikuli-IDE-1.0.0-Win64

  I have added new vaiable in the environment. Ex:
   
  SIKULI_HOME : E:\Sikuli-IDE-1.0.0-Win64

  also i have added the information the path variable.
  Ex:  E:\Sikuli-IDE-1.0.0-Win64\sikuli-ide.cmd

  Steps which i used to run sikuli script:

  1. Open Command prompt and change the location to sikuli script:
  Ex:    "E:\Sikuli"
  2. enter the following command 
  3. %SIKULI_HOME%\sikuli-ide.cmd -r focus.sikuli

  Result: It will open SIKULI GUI window, but the focus.sikuli script
  will not bee loaded.

  Expected: The focus.sikuli script should run after running the
  command.

  Please help me out.

  
  The content of  focus.sikuli are:

  App.focus("Notepad++")
  wait(3)
  print "The notepad++ window has been focused"

  Regards,
  Brijesh

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1228536/+subscriptions


References