@Russ This is amazing and so useful. I will be getting the new Mac in a couple of weeks and I was wondering already how I get my commands backed up! Perfect timing.
Posts made by Mike
-
RE: Share your best command
-
Share your best command
I have a Mac and have already created several commands. I love TriggerCMD but I am running out of ideas what else I can do with it.
Wouldn't it be great if you share your best ideas and commands in this thread?
Excited to see what your best commands are.
Cheers... -
RE: Command RUN / Turn on and Smart Home
Hi Igo, you can create a routine in the Alexa app.
The wake word for Trigger CMD is "Alexa, ask Trigger CMD to run DOTA", with routines you can shorten it.Go to the Alexa App.
Go to Routines.
Add new Routine.
Enter routine name: Call it DOTA (or whatever you like)
When this happens: Select Voice > enter "Run DOTA"
Add Action: Custom > enter "ask Trigger CMD to run DOTA"So when you say "Alexa, Run DOTA", it will run DOTA.
-
How to unlock your screen (not from sleep mode)
Hi, I wrote an applescript that allows you to unlock your screen.
Use on your own risk.tell application "System Events" keystroke return delay 2 keystroke "YOUR_PASSWORD" keystroke return end tell
You call the command on TriggerCMD via osascript.
This only works when you wake up your Mac from Screensaver, not from Sleep Mode. -
RE: How to pass parameters on Mac?
@Russ all good, I had to do a chmod 700 of the .sh file to convert it to an Unix executable. and added #!/bin/bash to the script. Now it works beautifully!
-
RE: How to pass parameters on Mac?
@Russ Thank you. Just to clarify. cat google.sh is to call script?
This goes to the .sh file? > open "https://google.com/search?q=$1"
What do I enter in the TriggerCMD GUI Command Editor?
Sorry, I am a total noob when it comes to bash, I only know applescript. -
Facetime Audio with predefined contact person
Hi, just created a Facetime audio applescript that is triggered by TriggerCMD via osascript.
This only works with Big Sur as the script is using the GUI.open location "facetime-audio://MOBILENUMBER" delay 5 tell application "System Events" to tell process "Notification Center" click UI element "Call" of group 1 of UI element 1 of scroll area 1 of windows end tell
Just replace the MOBILENUMBER with a number you want to call. Have fun!
-
How to pass parameters on Mac?
Hi Russ, I saw your youtube video how you pass parameters with a batch file on Windows.
You used the following script.start https://google.com/search?q=%1
I want to do the same for Mac but I am stuck with the parameter part in Applescript
on run {location, parameters} tell application "Google Chrome" to activate open location "https://www.google.com/search?q={param1}" end run
Can you help me out?