2) Might not help, but could you try:
a) Create an identical script from within AutoKey, but named "myscript"
(no blanks in name)
b) Try it using a hotkey, etc. to make sure it runs.
c) cd '/home/david/.config/autokey/data/Daves misc/open a file/'
(change to the directory where the new script was saved)
d) autokey-run -s myscript
This will test the process without any blanks in path names anywhere to
cause problems. This might not be what's causing the problem, but it
would be good to eliminate it this way just to be sure.
Blanks in path names are allowed in Linux, but they can cause all sorts
of problems for bash scripts (or things entered on the command line) if
the scripts are not coded carefully to handle them.
Joe
Well that's straight forward (and too easy - I was stuck in the mind set of thinning about the files) - nice feature!
Thanks,
Dave
srikant ~/.config/autokey/data $ autokey-run -s Insert\ Date.py
org.freedesktop.DBus.Python.Exception: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/lib/python2.7/dist-packages/autokey/common.py", line 60, in run_script
self.app.service.run_script(name)
File "/usr/lib/python2.7/dist-packages/autokey/service.py", line 223, in run_script
script = self.__findItem(name, model.Script, "script")
File "/usr/lib/python2.7/dist-packages/autokey/service.py", line 231, in __findItem
raise Exception("No %s found with name '%s'" % (typeDescription, name))
Exception: No script found with name 'Insert Date.py