قالب وردپرس درنا توس
Home / Tips and Tricks / Calculate Tips Faster on Your iPhone Using the Shortcuts App «iOS & iPhone :: Gadget Hacks

Calculate Tips Faster on Your iPhone Using the Shortcuts App «iOS & iPhone :: Gadget Hacks



When it's time to tip at a restaurant or bar, I'll try some math math, but sometimes I can quickly open the calculator from the control center on my iPhone and do a quick calculation. But with Apple's Shortcuts app, there's an even easier way, and you do not even have to leave your lock screen to get the results.

Before you focus on building your own iOS workflows on your iPhone, it's beneficial to learn how shortcuts work by using some that have already been created and are ready for you. A Tips Calculator is one of the simplest ready-made shortcuts available in the iOS 12 Shortcut app, though it may seem complicated to see how it works.

Note that you have not yet installed iOS 1

2 on your iPhone The following process works in the same way as the older workflow app, minus any Siri integration.

Step 1: Add the & # 39; Calculate Tip & # 39; – Shortcut

Open the keyboard shortcut, tap the Gallery tab, and then tap Find, then type calculate. If nothing is displayed, you can open the Calculate Tip preset shortcut directly in shortcuts.

Tap Calculate Tip, and then click Get Link. After downloading, tap the Library tab, tap the "Calculate tip" workflow with 3D Touch, or tap the ellipsis (•••) in the box.

Step 2: Test how well it works

Tap the Play button at the top to see how it works. This will display a pop-up asking "what's the bill?" Quantity, so enter that and tap OK. Then, in the next popup, choose between 12%, 15%, 18%, or 20% to see your tip amount and the new total amount. Tap "OK" to complete the process.

When you're satisfied, tap the "Done" label at the top, then exit the Shortcuts app.

Step 3: Add a Shortcuts Widget

There are two ways to add a widget for shortcuts to your Today view. First, you can simply use 3D Touch on the App shortcuts icon on your home screen and then tap "Add widget" in the displayed widget. Second, you can swipe right from the first Home screen, the lock screen, or the notification window, and then tap Edit at the bottom of the Show Today page. Touch the "+" symbol next to Shortcuts and then "Done".

Step 4: Calculating tips Faster over the lock screen

Now, if you have the tip for a To calculate an invoice quickly, swipe right from the lock screen, then tap Calculate tip in the Shortcuts widget. Tap "Show more" to expand the widget, enter the total and tap "OK". Lastly, choose the percentage of bets to use, and Shortcuts will tip you off the total and the new total.

Step 5: Faster Calculating Tips on the Home Screen

To access the same widget as above You can swipe right from the first home screen page or in the notification window. Follow the instructions in step 4 to use the widget in your Today view.

You can also access the tip calculator using the 3D Touch menu on the home screen. 3D only Tap on the app shortcuts icon and then on "Calculate Tip". This will lead you directly to the workflow in the app, similar to step 2 above.

Alternatively, you can add a Start Screen shortcut to the calculator in the app. Use the Library tab to directly return to the Calculate Hint workflow app. Now tap the settings icon at the top and then tap "Add to Home". This will open a link to the link in Safari, then simply add it to your home screen like any other web page.

Step 6: Create a Siri Join for It

This differentiates the old workflow app from the new Shortcuts app. Open the shortcut workflow again and then select the settings icon. You'll see a "Add to Siri" option, so tap. On the next screen, tap "Enter Phrase" and enter the phrase you want to use with Siri. Press "Done", then "Done" to save.

Now, if you want to use Siri to access the calculator, activate Siri the way you normally would, just say "calculate tip" or whatever you've chosen for a set. Siri opens the tip calculator directly in the Shortcuts app so you can enter an amount. For me it's easy to use the widget when I'm on the lock screen, but Siri could work better if you're busy in an app.

Step 7: Add your own tip amount

After you had the chance with the Play around tip calculator, you can play back in with the workflow of the linkage. This is a fairly basic workflow to learn from.

The first action box is "Ask for input," which is simply the question that pops up ("What is the bill?") ​​And the type of input ("Number") you do not need anything else.

The second action bar, "Choose from the menu," appears at the prompt after you enter the invoice amount "What's the Invoice?" Is displayed. It asks "How much do you want to tip?" Displayed.

If you want to add your own tip amount, tap "+ Add New" and then delete the text that will be inserted automatically with the new top percentage you want in the selection menu.

Under this action bar, you can see that each percentage line has its own line with its own action box underneath it, so to the original amount you type to tip 18% of the bill, it would be .18 It knows what to multiply later.

You'll notice, however, that there is no action bar below the new percentage you've added. You need to add it yourself, so tap on the "Actions" tab below and look for "Number" under Scripting .

Tap and hold the points to the right Then drag it to the right position below the new percentage line. Then tap on the "Number" box you've added and use your 0.XX multiplier, in my case 0.22 for 22%, then hit "Done" above the keyboard.

After the "Add Menu" line, the action button "Get Variable "is displayed. This is the amount you enter for the invoice amount.

The next Calculate action button selects the multiplication for the PercentTipping operand (the percentage you selected) and uses the invoice amount multiply by the typing percentage.

The actionbox after that, "Format Number", simply says to format the result with two decimal places (for cents)

There's another Calculate action box to add the last calculated number to the BillAmount operand

The next action box, another "Format Number", does the same thing as before – formatted the second calculated amount with two decimal places (for cents) [19659051] Calculate Tips Faster on Your iPhone Using the Shortcuts App ” width=”532″ height=”532″ style=”max-width:532px;height:auto;”/>

For the In the last action box, there's "Show Alert", which puts all the above things in a nice sentence: "Your tip is $ TipAmount and your total is $ TotalPrice." The $ TipAmount part is the number after the first one The "Format Number" action field is returned, and $ TotalPrice is the one after the second "Format Number" field.

Just tap Done in the top right corner and your new tip amount will be saved. Use either Step 4 or Step 5 to put your new tipping amount into action on your iPhone.

Hopefully, this gave you the opportunity to learn about editing shortcut workflows that will help you create your own unique shortcuts. We will continue to explore more ready-made abbreviations in other manuals and edit them to your liking. So take a look at our Collection Shortcuts 101.

Do not miss: Use this widget to open wikis. Sharing Faster Settings, Passwords and More on Your iPhone

Cover Picture, Screenshots and GIFs by Justin Meyers / Gadget Hacks

Source link