@Russ Neat. Saves googling! Must try
Best posts made by Steve Lee
RE: New AI Script Assistant feature for subscribers
RE: Multiple voice commands
@Russ I've been thinking of using alexa routines, to simplify my command collection. As far as I can see they can't take parameters though, so you need to create multiple similar named routines.
Also, as pointed out its a million clicks as they only provide a gui interface, not a nice text based one. Thank goodness TRIGGERcmd has a text file!
Latest posts made by Steve Lee
RE: I'm trying to run a console application I created using make.com's TriggerCmd.
@HeeHang I know nothing about Make.com but TRIGGER cmd runs windows cmd commands and Windows has the parts to make it possible. Basically you probably want to add something like the following to a cmd/bat file and run that from TRIGGERcmd
start "" app.exe /s timeout /t 5 taskkill /im app.exe /f
- start runs app.exe in a new process
- timeout waits a few seconds before returning
- taskkill /im kills task by name - assuming it is only one
If you have a script rather than an exe the run: cmd /c "my.cmd"
Hope that helps
RE: Demo of TRIGGERcmd with Alexa and Song Master
@Russ Good idea, thanks!
I've yet to explore routines. They do increases the number of places to configure though. And no nice text file way with Alexa!
I did try adding words to created a new command
- mac setlist ...
- mac setlist next
But it doesn't work due to the way Alexa always matches the first one
So I'd have to add multiple 3 word items. Yuck Shame we can add out own lexicon
I was going to use Routines for repeat timers but on reading the docs they don't take parameters which really limits them for all applications
RE: How open triggercmd gui with command
@Mauro There used to be a way to access non hidden tray icon menus with autohotkey but looking now it might have been broken in Windows 10 or 11. The only other option I can think of is using UIA but that's really low level coding.
RE: "FN + Page Up"
é possível criar um comando no arquivo .bat para executar essa função do teclado? "FN + Page Up"
Some programs like AutoHotkey can be called to simulate key presses.
However FN keys are usually invisible to Windows and used by the manufacturer to do hardware specific things. Maybe check if AutoHotkey can simulate the FN key.
extending the smart home skill
One limitation I soon hit is that the smart home predefined language model of alexa only supports: on, off a number, a percentage or a colour.
reading the skill docs I see modes are supported, ie one of a set of named values. This or similar use of custom words in utterances would be really useful in my application. You can also provide alias for words like set.
It would be great if the commands file had a field where you provide list of words and the allowable values for each. Or other lists of words for the controls that support them.
The spoken option could be passed as an argument to the command field. I guess it would need to be encoded as a name,value pair.
Just an idea.