Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/keenwrite.git

Updated UI demo scripts

AuthorDaveJarvis <email>
Date2020-07-13 00:19:41 GMT-0700
Commit76c85e3b52c7a24ea9c88b1af610b31c5c00b600
Parentfd6f1b7
Delta10 lines added, 3 lines removed, 7-line increase
scripts/editor.sikuli/editor.py
from os.path import expanduser
-home = expanduser( "~" )
-app_home = home + "/bin"
+dir_home = expanduser( "~" )
+app_home = dir_home + "/bin"
app_bin = app_home + "/scrivenvar.jar"
type( c )
random_wait()
+
+# -----------------------------------------------------------------------------
+# Type a line of text followed by typing the ENTER key.
+# -----------------------------------------------------------------------------
+def typeln( text ):
+ typer( text )
+ enter()
# -----------------------------------------------------------------------------
# Writes a heading to the document using the given text value as the content.
# -----------------------------------------------------------------------------
-def header( text ):
+def heading( text ):
typer( "# " + text )
paragraph()
scripts/03.sikuli/1594592396134.png
Binary files differ
scripts/03.sikuli/1594593710440.png
Binary files differ
scripts/03.sikuli/1594593794335.png
Binary files differ
scripts/03.sikuli/1594594984108.png
Binary files differ
scripts/03.sikuli/1594595370191.png
Binary files differ