[OPEN-ILS-GENERAL] Self Check login

Tom Giuffreda tomg at adamslibrary.org
Thu Feb 13 21:30:50 EST 2020


Hi Millissa,

I spent some time in December setting up a self-checkout kiosk. It's been a
little while since I last fiddled with this project, and I don't consider
it fully complete, but I hope I can provide a little help!

We are on Evergreen version 3.3.5, and our kiosk computer uses Windows 10,
set up to auto login after boot. I wrote a little script in autohotkey,
that I converted to a stand-alone exe that runs on startup. The script
opens chrome, with flags enabling incognito, kiosk mode, and kiosk
printing. It accesses our self checkout page, passing the workstation name
and staff account credentials in the URL.
I found that I needed to login to Evergreen once the normal, non-incognito
way, and register the workstation that would be used for the self-checkout
before the script would work. I have Workstation Required set to True in
our Library Settings as well.
I noticed that it was having strange issues where the page would become
unresponsive after a while without interaction, so I added a routine that
performs a hard reload every 5 minutes, provided there hasn't been any user
interaction in the last minute.

It works most of the time, I still haven't fully worked out some minor
issues affecting printing receipts, but I'm pretty happy with it on the
whole. Especially since we don't have to pay for a self-checkout solution
from a third party!

I've attached the script I wrote as a text file so you can have a look at
how it's all set up. If you're not familiar with autohotkey, it is a
windows scripting language that is great for automating little things such
as a self-checkout kiosk. I didn't know anything about AHK before starting
this project, but I found that their documentation provides excellent help
for beginners.

All of that said, I'm sure there are many possible ways to automate an
Evergreen self-checkout kiosk, and I'm interested to see what solutions
other Evergreen users have come up with!

-Tom


On Thu, Feb 13, 2020 at 8:09 PM Millissa Macomber <
millissam at burlingtonwa.gov> wrote:

> We are using the Evergreen self check. We have two touchscreen computers
> that we are running in kiosk mode with the Edge browser. They auto start
> and auto login to Windows. Unfortunately, they also still need us to type
> in the login and password for Evergreen. Does anyone know a way to
> eliminate the login screen? Or is there a way to have it auto login? My aim
> is to not need to have a keyboard/mouse with the computer.
>
>
>
> I tried to set the Workstation Required setting under
> Administration/Library setting to False but that didn’t seem to change it.
>
>
>
> Thanks in advance for any suggestions.
>
>
>
> *Millissa Macomber*
>
> *Technical Services Coordinator*
>
> Burlington Public Library
>
> 820 E. Washington Ave.,
>
> Burlington, WA 98233
>
> millissam at burlingtonwa.gov
>
> 360-755-0760
>
>
>
> [image: resized for email signature line]
>
>
>


-- 
Tom Giuffreda
Computer Systems Manager
Adams County Library System
140 Baltimore Street
Gettysburg, PA 17325
Cell: 717-357-9152
Office: 717-334-5716 ext. 228
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20200213/9fecc756/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 14906 bytes
Desc: not available
URL: <http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20200213/9fecc756/attachment-0001.png>
-------------- next part --------------
;============================== Start Auto-Execution Section ==============================

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
;Opens chrome in kiosk mode, incognito, with kiosk printing enabled
;Accesses Evergreen selfcheckout, passing staff login credentials & workstation name through URL
;Open chrome in non-incognito first and register workstation that will be used
;Set Workstation Required = True in Evergreen Library Settings
;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

#Persistent

Run, "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "https://YOUR_EVERGREEN/eg/circ/selfcheck/main?ws=WORKSTATION_NAME&username=STAFF_USERNAME_FOR_SC&password=STAFF_PASSWORD"  --incognito --kiosk --kiosk-printing
SetTimer, ReloadSCO, 300000
return


;Check to make sure station has been idle for one minute before refreshing page
ReloadSCO:
if (A_TimeIdle < 60000)
	return
Send +^r
return

; CTRL+ALT+Q will exit
^!q::ExitApp


More information about the Open-ils-general mailing list