![ifttt](https://i-blog.csdnimg.cn/blog_migrate/36c0188b059b7dcd32715ce05bff8201.png)
ifttt
![](https://i-blog.csdnimg.cn/blog_migrate/8148b77a23953bad9a68a81076e44b10.png)
IFTTT lets you automate a ton of your favorite web services, but you can also create convenient home screen shortcuts for a whole host of different tasks. Here’s how to set them up.
IFTTT使您可以自动化大量您喜欢的Web服务 ,但是您也可以为许多不同的任务创建方便的主屏幕快捷方式。 设置方法如下。
In addition to applying rules that work automatically in the background, like most IFTTT applets, IFTTT also has “button widgets” that streamline applets into a single button press. You can put these butotns on the front page of the mobile app, in your iPhone’s Notification Center, or right on the home screen on your Android device.
除了应用像大多数IFTTT小程序一样在后台自动运行的规则之外,IFTTT还具有“按钮小部件”,可将小程序简化为单个按钮。 您可以将这些按钮放在移动应用程序的首页上,iPhone的通知中心中,或放在Android设备的主屏幕上。
In the past, IFTTT had a separate app for this, called DO, but the functionality is now built right into the main IFTTT app. And though these button widgets are still slightly limited compared to what you can do with IFTTT as a whole, the convenience of accessing the applets from a single location can’t be overstated. Here’s how to set up these widgets.
过去,IFTTT为此有一个单独的应用程序,称为DO,但是现在该功能已内置在主要的IFTTT应用程序中。 而且,尽管与整个IFTTT相比,这些按钮小部件仍然受到一些限制,但是从单个位置访问applet的便利性并不过分。 这是设置这些小部件的方法。
如何在iPhone上设置IFTTT按钮小部件 (How to Set Up IFTTT Button Widgets on the iPhone)
Start off by opening up the IFTTT app and tapping on the “My Applets” tab down in the bottom-right corner of the screen.
首先,打开IFTTT应用程序,然后点击屏幕右下角的“我的小程序”选项卡。
![](https://i-blog.csdnimg.cn/blog_migrate/3fff231e747bcd3ccdc2b805fece1f2b.png)
Tap on the settings gear icon in the top-left corner.
点击左上角的设置齿轮图标。
![](https://i-blog.csdnimg.cn/blog_migrate/ed4e922ae66da90439d01fa637df03ee.png)
Select “Widgets” from the list.
从列表中选择“小部件”。
![](https://i-blog.csdnimg.cn/blog_migrate/9c238b7a5f6fdd18ce6b6db613b1a9fe.png)
Tap on “Get Widgets”.
点击“获取小部件”。
![](https://i-blog.csdnimg.cn/blog_migrate/9a44225566655ee9de52991b852977ee.png)
Next, scroll through the nearly infinite widgets that you can enable. Unfortunately, though, there’s no search function and no way to create your own custom widget. However, the widgets that appear are based on IFTTT services that you have enabled.
接下来,滚动浏览几乎可以启用的无限小部件。 但是,不幸的是,没有搜索功能,也没有办法创建自己的自定义窗口小部件。 但是,显示的窗口小部件基于您已启用的IFTTT服务。
![](https://i-blog.csdnimg.cn/blog_migrate/0044651c5eedfba67d44efac403013da.png)
Once you find a widget that you want to to enable, tap on it and then tap “Turn On”.
找到要启用的窗口小部件后,点击它,然后点击“打开”。
![](https://i-blog.csdnimg.cn/blog_migrate/ba4b4b18c663bcf5b41568724ba3b280.png)
Next, you’ll likely need to configure the widget. In this case, we need to select which Belkin WeMo switch we want to be able to control, so tap on the dropdown menu at the bottom.
接下来,您可能需要配置小部件。 在这种情况下,我们需要选择我们希望能够控制的Belkin WeMo开关,因此请点击底部的下拉菜单。
![](https://i-blog.csdnimg.cn/blog_migrate/de8bc4a81ab9cb28a99e2bfe94d70fac.png)
Select which switch you want the widget to control and then hit “Done”.
选择您希望小部件控制的开关,然后点击“完成”。
![](https://i-blog.csdnimg.cn/blog_migrate/4af3ad4f900f0499fd7567fbd7cb81bd.png)
Hit “Save” in the top-right corner.
点击右上角的“保存”。
![](https://i-blog.csdnimg.cn/blog_migrate/aca596ffccbce7305e717023aa392365.png)
Next, a pop-up will appear at the bottom. Tap on “Go” within that pop-up.
接下来,将在底部显示一个弹出窗口。 在该弹出窗口中点击“开始”。
![](https://i-blog.csdnimg.cn/blog_migrate/625c3a380e9f34515a34ff0aa307a08d.png)
Tap on the widget that you just created.
点击您刚刚创建的小部件。
![](https://i-blog.csdnimg.cn/blog_migrate/861e957005c0458a902e9814fcc9705d.png)
From here, you can choose where you want the widget to appear on your iPhone. You can even add a home screen icon that will take you to the widget in the IFTTT app.
从这里,您可以选择小部件在iPhone上的显示位置。 您甚至可以添加一个主屏幕图标,将您带到IFTTT应用程序中的小部件。
![](https://i-blog.csdnimg.cn/blog_migrate/9cb18229d5af3d4441b9944aa885a460.png)
However, if you want widgets to appear in the Notification Center, you still need to enable the IFTTT iOS widget. To do this, swipe down from the top of the screen to bring up the Notification Center, and then swipe to the right to show the widget screen.
但是,如果希望窗口小部件出现在通知中心中,则仍需要启用IFTTT iOS小部件。 为此,请从屏幕顶部向下滑动以显示通知中心,然后向右滑动以显示小部件屏幕。
![](https://i-blog.csdnimg.cn/blog_migrate/456174087d35cd0aed7badbbcc45c8da.png)
Scroll down and tap on “Edit” at the bottom.
向下滚动并点击底部的“编辑”。
![](https://i-blog.csdnimg.cn/blog_migrate/fe6ee494ac6bac667c54d41d21bca3ef.png)
Find the IFTTT iOS widget and hit the green “+” button next to it.
找到IFTTT iOS小部件,然后单击它旁边的绿色“ +”按钮。
![](https://i-blog.csdnimg.cn/blog_migrate/10b15c9699dfc056e297cfb6f1ae6264.png)
Scroll back up to the top and the widget will now be in the list of active widgets. You can hold down on the move icon to the right to change where you want the widget located. It’s default location will be at the bottom. Tap “Done” in the top-right corner when finished.
向上滚动回到顶部,该小部件现在将在活动小部件的列表中。 您可以按住右侧的移动图标来更改您希望小部件位于的位置。 默认位置在底部。 完成后,点击右上角的“完成”。
![](https://i-blog.csdnimg.cn/blog_migrate/f11bb488151f0df1981c72058a17b976.png)
Your IFTTT button widget will now appear in your Notification Center, giving you quick access to it whenever you want.
现在,您的IFTTT按钮小部件将出现在“通知中心”中,可让您随时随地快速访问它。
![](https://i-blog.csdnimg.cn/blog_migrate/b226bf7fb7e557e7a4bae736142a09a1.png)
如何在Android上设置IFTTT按钮小部件 (How to Set Up IFTTT Button Widgets on Android)
On Android, the process is largely the same, with just a few minor differences. Start by opening the IFTTT app and tap on “My Applets” in the bottom-right corner.
在Android上,过程基本相同,只是有一些细微的差异。 首先打开IFTTT应用程序,然后点击右下角的“我的小程序”。
![](https://i-blog.csdnimg.cn/blog_migrate/f78389a4912f6c3088bb095f6a27d7d3.png)
Tap on the settings icon in the top-right corner of the screen.
点击屏幕右上角的设置图标。
![](https://i-blog.csdnimg.cn/blog_migrate/623434184104002191371d915e4348ad.png)
Tap “Widgets” in the list.
在列表中点击“窗口小部件”。
![](https://i-blog.csdnimg.cn/blog_migrate/0bdf5e25c1abd65e633978083e770dee.png)
If you have any applets that can be used to create widgets, you’ll see them in this list. You can also tap the + icon to find a list of applets that can be triggered with widgets. Once you’ve found an applet you like, tap on it.
如果您有任何可用于创建小部件的小程序,则将在此列表中看到它们。 您也可以点击+图标,找到可以用小部件触发的小程序列表。 找到喜欢的小程序后,点击它。
![](https://i-blog.csdnimg.cn/blog_migrate/93adc14351c53ac4c34206ecbf2cc8b2.png)
![](https://i-blog.csdnimg.cn/blog_migrate/8dd59bf4afd070bb36b96b7c2e09a63a.png)
Tap the large toggle in the middle of the screen to turn the applet on.
点击屏幕中间的大开关以打开小程序。
![](https://i-blog.csdnimg.cn/blog_migrate/2fa64ded0ac114e1c8cf951474117412.png)
You may need to configure your applet before you use it. To do so, tap the gear icon at the top of the screen.
在使用小程序之前,可能需要对其进行配置。 为此,请点击屏幕顶部的齿轮图标。
![](https://i-blog.csdnimg.cn/blog_migrate/ee04276b246665b02d8516fa51a53f3a.png)
Tweak the settings on the applet’s page—in this example, you can change the “Quick add text” box—and tap the checkmark button at the top of the screen when you’re finished.
调整小程序页面上的设置(在此示例中,您可以更改“快速添加文本”框),并在完成后点击屏幕顶部的复选标记按钮。
![](https://i-blog.csdnimg.cn/blog_migrate/e73d90c4a5e72b7d365077cc7b1aaed3.png)
Once you finish adding the IFTTT applet to your account, you’ll need to add the widget to your home screen. You can do this the same way you add any other widget on Android. This process may be slightly different depending on your phone, though.
将IFTTT小程序添加到帐户后,需要将小部件添加到主屏幕。 您可以使用与在Android上添加任何其他小部件相同的方式来执行此操作。 但是,此过程可能会略有不同,具体取决于您的手机。
First, go to your home screen and long-press an empty space where you’d like to add a widget. Then, tap Widgets.
首先,进入主屏幕,长按一个空白处,您要在其中添加小部件。 然后,点击小部件。
![](https://i-blog.csdnimg.cn/blog_migrate/3bc64610b1bb7c73831e46e8e53699de.png)
Scroll down the list of widgets and find IFTTT. The small widget will take up one icon space on your home screen, and it will only run one applet. You can also choose the large widget which will take up three spaces, but you can tap up and down arrows to cycle through every available widget-compatible applet you saw in the list within the IFTTT app a few steps ago. For this example, we’ll use the small widget.
向下滚动小部件列表,然后找到IFTTT。 这个小部件将在您的主屏幕上占用一个图标空间,并且仅运行一个applet。 您还可以选择将占用三个空格的大窗口小部件,但是可以点击向上和向下箭头以循环浏览几步前在IFTTT应用程序列表中看到的每个可用的窗口小部件兼容小程序。 在此示例中,我们将使用小部件。
![](https://i-blog.csdnimg.cn/blog_migrate/10cfe1418d0adc5ecc7890e5cd485287.png)
Once you drop the small widget, you’ll need to pick which applet you want to run when you tap the widget. Choose one from the list. In this example we’re using “Quickly block off the next hour as Do Not Disturb” Google Calendar applet.
放下小窗口小部件后,您需要选择在点击窗口小部件时要运行的小程序。 从列表中选择一个。 在此示例中,我们使用“请勿打扰下一个小时快速阻止” Google日历小程序。
![](https://i-blog.csdnimg.cn/blog_migrate/b73d05acb7ec0e8397d64889ebfc6ea2.png)
Now your widget will sit on your home screen. You can drag it around like any other Android app shortcut or widget, and activate your IFTTT applet with a single tap.
现在,您的小部件将位于您的主屏幕上。 您可以像其他任何Android应用程序快捷方式或小部件一样将其拖动,然后单击即可激活IFTTT小程序。
翻译自: https://www.howtogeek.com/220838/how-to-apply-ifttt-recipes-using-the-do-button-for-ios/
ifttt