Back
Camera widget Any new photo. TRIGGERcmd Trigger Command.

Run TRIGGERcmd command when a new Camera photo is taken

Connect

How this automation works

Automatically run a custom TRIGGERcmd command whenever you take a new photo with the Camera widget. It activates the specified computer command each time the photo is captured through the IFTTT Camera tool. Ideal for users who want to automate desktop actions from their phone using IFTTT Camera integration. Note: Install the IFTTT app and add the Camera widget to your home screen.

If
Camera widget icon
Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you take any new photo via Do Camera.
TemporaryPublicPhotoURL PublicPhotoURL ShareURL Latitude Longitude LocationMapURL LocationMapImageURL OccurredAt Caption
Then
TRIGGERcmd icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will run a command on your computer.
command params

Services used in this Applet

Create your own TRIGGERcmd and Camera widget workflow

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.

9 triggers, queries, and actions

Any command

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when any command runs

Any new photo

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you take any new photo via Do Camera.

Any QR code scanned

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
Triggered when a new QR code is scanned using the Camera Widget

Any URL QR code scanned

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
Triggered when a new QR code that is a URL (http:// or https://) is scanned using the Camera Widget

QR code scanned - regular expression match

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
Triggered when a QR code is scanned, matching a "regular expression" search, using the Camera Widget.

QR code scanned - wildcard match

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
Triggered when a QR code is scanned, matching a wildcard search, using the Camera Widget. [See our help center for more information](https://help.ifttt.com/hc/en-us/articles/36961503432987-How-to-use-QR-codes-with-IFTTT).

Specific command

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger files when a command you choose is triggered.

Specific QR code scanned

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
Triggered when a specific QR code is scanned using the Camera Widget.

Trigger Command

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will run a command on your computer.

Any command

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when any command runs

Any new photo

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger fires every time you take any new photo via Do Camera.

Any QR code scanned

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
Triggered when a new QR code is scanned using the Camera Widget

Any URL QR code scanned

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
Triggered when a new QR code that is a URL (http:// or https://) is scanned using the Camera Widget

QR code scanned - regular expression match

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
Triggered when a QR code is scanned, matching a "regular expression" search, using the Camera Widget.

QR code scanned - wildcard match

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
Triggered when a QR code is scanned, matching a wildcard search, using the Camera Widget. [See our help center for more information](https://help.ifttt.com/hc/en-us/articles/36961503432987-How-to-use-QR-codes-with-IFTTT).

Specific command

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger files when a command you choose is triggered.

Specific QR code scanned

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
Triggered when a specific QR code is scanned using the Camera Widget.

Trigger Command

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will run a command on your computer.

Build an automation in seconds!

You can add delays, queries, and more actions in the next step!

More on TRIGGERcmd and Camera widget

About TRIGGERcmd

Run commands on your computers remotely

  • Go to triggercmd.com and create an account
  • Install an agent on your Windows, Mac, Linux, or Raspberry Pi computer
  • Setup commands you want to run on the computer

Trigger your commands via IFTTT

Explore TRIGGERcmd

More integrations with TRIGGERcmd

About Camera widget

The quickest way to save and share your photos. This service works with your phone's camera and creates widgets that you can use from your home screen.

Explore Camera widget

More integrations with Camera widget

IFTTT helps all your apps and devices work better together

Get started for free