Ah - sorry. I overlooked running mj:install, thanks. That appeared to complete successfully. [EDIT: I also ran "mj:find mjolnir", and a popup alerted me that the command had been set in the workflow ] -- but after doing that, I restarted the mjolnir app (which I have in /Applications/Mjolnir.app), and now the lua console pops open with this error :
-- Loading ~/.mjolnir/init.lua
/Users/rarnold/.mjolnir/init.lua:20: module 'mjolnir._asm.hydra.applescript' not found:
no field package.preload['mjolnir._asm.hydra.applescript']
no file '/usr/local/share/lua/5.2/mjolnir/_asm/hydra/applescript.lua'
no file '/usr/local/share/lua/5.2/mjolnir/_asm/hydra/applescript/init.lua'
no file '/usr/local/lib/lua/5.2/mjolnir/_asm/hydra/applescript.lua'
no file '/usr/local/lib/lua/5.2/mjolnir/_asm/hydra/applescript/init.lua'
no file './mjolnir/_asm/hydra/applescript.lua'
no file '/usr/local/lib/lua/5.2/mjolnir/_asm/hydra/applescript.so'
no file '/usr/local/lib/lua/5.2/loadall.so'
no file './mjolnir/_asm/hydra/applescript.so'
no file '/usr/local/lib/lua/5.2/mjolnir.so'
no file '/usr/local/lib/lua/5.2/loadall.so'
no file './mjolnir.so'
stack traceback:
[C]: in function 'require'
/Users/rarnold/.mjolnir/init.lua:20: in main chunk
[C]: in function 'xpcall'
/Applications/Mjolnir.app/Contents/Resources/setup.lua:73: in main chunk
...I thought maybe I needed to install the "mjolnir._asm.hydra" rock, so I ran "luarocks install mjolnir._asm.hydra", but that produced this error:
Installing http://rocks.moonscript.org/mjolnir._asm.hydra-0.2-1.macosx-x86_64.rock...
stat: cannot read file system information for ‘%A’: No such file or directory
chmod: invalid mode: ‘ File: "/usr/local/lib/luarocks/rocks/mjolnir._asm.hydra/0.2-1/lua/mjolnir/_asm/hydra/init.lua"’
Try 'chmod --help' for more information.
stat: cannot read file system information for ‘%A’: No such file or directory
chmod: invalid mode: ‘ File: "/usr/local/lib/luarocks/rocks/mjolnir._asm.hydra/0.2-1/lib/mjolnir/_asm/hydra/internal.so"’
Try 'chmod --help' for more information.
Updating manifest for /usr/local/lib/luarocks/rocks
Double Jeopardy! I'm new to lua, so any further tips are welcomed and appreciated :^)
Also - I tried running a few of the window movement commands, and I get the following in Alfred's debug window:
INFO: alfred.workflow.input.keyword] Processing output 'alfred.workflow.action.script' with arg ''
[INFO: alfred.workflow.input.keyword] Processing output 'alfred.workflow.action.script' with arg ''