Escanea con tu iPhone para instalar
Ever wanted to type in text like coding instead of using blocks to create shortcuts well now you can
Credits:
Nacho_Libre/Cost_Internal (https://www.reddit.com/u/Cost_Internal) - Helped me remodified the shortcut, and added If, Show Notification, and Show Alert
Novedades
Versión 1.5
Bug Fixes
Qué hace
177 acciones-
Text
-
Text
-
Text
-
Split Text
-
Repeat with Each
-
If
-
Split Text
-
Get Item from List
-
Split Text
-
Get Item from List
-
Text
-
Run ShortcutCondensed Shortcuts Coding Language (ALPHA)
-
Get Item from List
-
If
-
Get Item from List
-
If
-
Get Item from List
-
Text
-
Run ShortcutCondensed Shortcuts Coding Language (ALPHA)
-
Split Text
-
Trim Whitespace
-
Get Item from List
-
Set VariableFunction
-
Count
-
If
-
Get Item from List
-
Set VariableCondition
-
If
-
Set VariableCondition
-
If
-
Get Item from List
-
Get Item from List
-
If
-
Show Notification…
-
If
-
Show Alert…
-
If
-
Get Item from List
-
If
-
Get Item from List
-
Get Item from List
-
If
-
Set Focus
-
If
-
If
-
Get Item from List
-
Get Item from List
-
If
-
Adjust Date
-
If
-
Adjust Date
-
Set Focus
-
If
-
Set Focus
-
If
-
Stop This Shortcut
-
If
-
If
-
Get Item from List
-
Wait
-
If
-
Wait
-
If
-
Wait to Return
-
If
-
Get Item from List
-
Number
-
If
-
Get Clipboard
-
If
-
Dismiss Siri
-
If
-
Scan QR/Barcode
-
If
-
Supportcom.apple.store.Jolly
-
If
-
Reset Cellular Data Statisticscom.apple.ShortcutsActions
-
If
-
Get Hotspot Password
-
If
-
Go to Home Screen
-
If
-
Lock Screen
-
If
-
Take Screenshot
-
If
-
Nothing
-
If
-
Get Orientationcom.apple.ShortcutsActions
-
If
-
Vibrate Device
-
If
-
A X Start Guided Accesscom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
If
-
A X Start Magnifiercom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
If
-
Get Current Focus
-
If
-
A X Start Remote Watch Screencom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
If
-
A X Start Speak Screencom.apple.AccessibilityUtilities.AXSettingsShortcuts
-
If
-
Workout End
-
If
-
Open Readercom.apple.Magnifier
-
If
-
C O S Get Current Gizmo Facecom.apple.PBBridgeSupport.BridgeIntents
-
If
-
Track Ordercom.apple.store.Jolly
-
If
-
Recommended I Phonecom.apple.store.Jolly
-
If
-
Compare I Phonecom.apple.store.Jolly
-
If
-
Open Sleep Schedulecom.apple.Health
-
If
-
Get Physical Activitycom.apple.ShortcutsActions
-
If
-
Refresh All Widgetsdk.simonbs.Scriptable
-
If
-
Add Quick Reminder
-
If
-
Get On-Screen Content
-
If
-
View Air Podscom.apple.store.Jolly
-
If
-
Upgrade I Phonecom.apple.store.Jolly
-
If
-
Get Item from List
-
If
-
Get Item from List
-
Run Shortcut
-
If
-
Run Shortcut
-
If
-
Posters Get
-
If
-
Posters Get
-
If
-
Get Item from List
-
If
-
Get Item from List
-
Get Item from List
-
If
-
Workout Start
-
If
-
If
-
Workout Start
-
If
-
Workout Start
-
If
-
Workout Start
-
If
-
Text
-
Quick Look
-
If
-
Get Item from List
-
Get Device Details
-
If
-
Get Item from List
-
Trim Whitespace
-
If
-
Get Item from List
-
Extract Text from Image
-
If
-
Get Item from List
-
Date
-
If
-
Text
-
Quick Look
-
If
-
Get Item from List
-
AirDrop
-
If
-
Get Item from List
-
Set AirDrop
-
Get Item from List
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#define mac false
#include 'actions/text'
#define color darkgray
const Text = "{ShortcutInput}"
const SplitText = splitText(Text)
for _ in SplitText {
if @RepeatItem beginsWith "If/" {
const SplitText1 = splitText(@RepeatItem, "/")
const ItemFromList = getListItem(SplitText1, 2)
const SplitText2 = splitText(ItemFromList, "-")
getRandomItem(SplitText2)
const Text1 = "{}"
const ShortcutResult = runSelf(Text1)
getLastItem(SplitText2)
if ShortcutResult contains {
getListItem(SplitText1, 3)
} else {
getListItem(SplitText1, 4)
}
const Text2 = "{}"
runSelf(Text2)
}
splitText(@RepeatItem, "-")
const UpdatedText = trimWhitespace()
getListItems(UpdatedText, 0, 0)
@Function
const Count = count(UpdatedText)
if Count > 1 {
getListItems(UpdatedText, 2, 0)
@Condition
} else {
@Condition = nil
}
if @Function == "Show Notification" || @Function == "Show Alert" {
const Title = getLastItem(@Condition)
const Message = getListItems(@Condition, 0, 0)
if @Function == "Show Notification" {
showNotification(Message, Title)
} else {
alert(Message, Title)
}
}
if @Function == "Text" {
getLastItem(@Condition)
}
if @Function == "Set Focus" {
const FocusName = getFirstItem(@Condition)
const Boolean = getListItem(@Condition, 2)
if Boolean == "Off" {
toggleFocusMode()
} else {
if Count > 3 {
const Duration = getListItem(@Condition, 3)
const HoursMinutes = getListItem(@Condition, 4)
if HoursMinutes == "Minutes" {
adjustDate(CurrentDate, "")
} else {
adjustDate(CurrentDate, "")
}
setFocusMode(, "Time")
} else {
toggleFocusMode()
}
}
}
if @Function == "Stop this shortcut" {
stop()
}
if @Function == "Wait" {
if @Condition {
const ItemFromList1 = getLastItem(@Condition)
wait(ItemFromList1)
} else {
wait(0)
}
}
if @Function == "Wait for return" {
waitToReturn()
}
if @Function == "Number" {
const ItemFromList2 = getFirstItem(@Condition)
}
if @Function == "Get clipboard" {
getClipboard()
}
if @Function == "Dismiss Siri and Continue" {
dismissSiri()
}
if @Function == "Scan QR or barcode" {
rawAction("is.workflow.actions.scanbarcode", {})
}
if @Function == "Get Support" {
rawAction("com.apple.store.Jolly.SupportIntent", {
"AppIntentDescriptor": ""
})
}
if @Function == "Reset the cellular data usage statistics" {
rawAction("com.apple.ShortcutsActions.ResetCellularDataStatisticsAction", {
"AppIntentDescriptor": ""
})
}
if @Function == "Get Personal Hotspot password" {
getHotspotPassword()
}
if @Function == "Go to Home Screen" {
returnToHomescreen()
}
if @Function == "Lock the screen" {
lockScreen()
}
if @Function == "Take Screenshot" {
takeScreenshot()
}
if @Function == "Nothing" {
}
if @Function == "Get Orientation" {
getOrientation()
}
if @Function == "Vibrate device" {
vibrate()
}
if @Function == "Start Guided Access" {
rawAction("com.apple.AccessibilityUtilities.AXSettingsShortcuts.AXStartGuidedAccessIntent", {})
}
if @Function == "Open Magnifier" {
rawAction("com.apple.AccessibilityUtilities.AXSettingsShortcuts.AXStartMagnifierIntent", {})
}
if @Function == "Get Current Focus" {
getFocusMode()
}
if @Function == "Start Apple Watch remote screen" {
rawAction("com.apple.AccessibilityUtilities.AXSettingsShortcuts.AXStartRemoteWatchScreenIntent", {})
}
if @Function == "Start Speak Screen" {
rawAction("com.apple.AccessibilityUtilities.AXSettingsShortcuts.AXStartSpeakScreenIntent", {})
}
if @Function == "End workout" {
rawAction("is.workflow.actions.workout.end", {
"IntentAppDefinition": ""
})
}
if @Function == "Open Reader" {
magnifierReader()
}
if @Function == "Get currently active face on Apple Watch" {
rawAction("com.apple.PBBridgeSupport.BridgeIntents.COSGetCurrentGizmoFaceIntent", {})
}
if @Function == "Track Order" {
rawAction("com.apple.store.Jolly.TrackOrderIntent", {
"AppIntentDescriptor": ""
})
}
if @Function == "Get iPhone Recommendation" {
rawAction("com.apple.store.Jolly.RecommendedIPhoneIntent", {
"AppIntentDescriptor": ""
})
}
if @Function == "Compare iPhones" {
rawAction("com.apple.store.Jolly.CompareIPhoneIntent", {
"AppIntentDescriptor": ""
})
}
if @Function == "Open Sleep Schedule" {
rawAction("com.apple.Health.OpenSleepScheduleIntent", {
"AppIntentDescriptor": ""
})
}
if @Function == "Get Physical Activity" {
rawAction("com.apple.ShortcutsActions.GetPhysicalActivity", {
"AppIntentDescriptor": ""
})
}
if @Function == "Refresh all widgets" {
rawAction("dk.simonbs.Scriptable.RefreshAllWidgetsIntent", {})
}
if @Function == "Show Quick Reminder" {
addQuickReminder()
}
if @Function == "Get what's on screen" {
getOnScreenContent()
}
if @Function == "View AirPods" {
rawAction("com.apple.store.Jolly.ViewAirPodsIntent", {
"AppIntentDescriptor": ""
})
}
if @Function == "Upgrade iPhone" {
rawAction("com.apple.store.Jolly.UpgradeIPhoneIntent", {
"AppIntentDescriptor": ""
})
}
if @Function == "Run Shortcut" {
const ShortcutName = getFirstItem(@Condition)
if Count > 2 {
const VariableInput = getRandomItem(@Condition)
run(ShortcutName, VariableInput)
} else {
run(ShortcutName, nil)
}
}
if @Function == "Get All wallpapers" {
getAllWallpapers()
}
if @Function == "Get Current wallpaper" {
getAllWallpapers()
}
if @Function == "Start Workout" {
const WorkoutType = getListItems(@Condition, 0, 0)
if Count > 2 {
const GoalDuration = getListItem(@Condition, 2)
const GoalValue = getListItem(@Condition, 3)
if GoalValue == "cal" {
rawAction("is.workflow.actions.workout.start", {
"IntentAppDefinition": "",
"WorkoutGoal": "",
"isOpenEnded": 0,
"workoutName": "WorkoutType"
})
} else {
if GoalValue == "min" {
rawAction("is.workflow.actions.workout.start", {
"IntentAppDefinition": "",
"WorkoutGoal": "",
"isOpenEnded": 0,
"workoutName": "WorkoutType"
})
} else {
rawAction("is.workflow.actions.workout.start", {
"IntentAppDefinition": "",
"WorkoutGoal": "",
"isOpenEnded": 0,
"workoutName": "WorkoutType"
})
}
}
} else {
rawAction("is.workflow.actions.workout.start", {
"IntentAppDefinition": "",
"WorkoutGoal": "",
"workoutName": "WorkoutType"
})
}
}
if @Function == "Credits" {
const Text3 = "Credits:\nNacho_Libre/Cost_Internal (https://www.reddit.com/u/Cost_Internal) - Remodified the shortcut, and added If, Show Notification, and Show Alert"
quicklook(Text3)
}
if @Function == "Get Device Details" {
const ItemFromList3 = getFirstItem(@Condition)
getDeviceDetail(ItemFromList3)
}
if @Function == "Trim whitespace from" {
getListItems(@Condition, 0, 0)
trimWhitespace()
}
if @Function == "Extract text from" {
const ItemFromList4 = getFirstItem(@Condition)
extractImageText(ItemFromList4)
}
if @Function == "Date of" {
const ItemFromList5 = getFirstItem(@Condition)
currentDate()
}
if @Function == "About" {
const Text4 = "Credits:\nNacho_Libre/Cost_Internal (https://www.reddit.com/u/Cost_Internal) - Helped me remodified the shortcut, and added If, Show Notification, and Show Alert"
quicklook(Text4)
}
if @Function == "AirDrop" {
const ItemFromList6 = getFirstItem(@Condition)
airdrop(ItemFromList6)
}
if @Function == "Set AirDrop Receiving to" {
const ItemFromList7 = getListItems(@Condition, 0, 0)
setAirdropReceiving(ItemFromList7)
}
}
getFirstItem(RepeatResults)
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
Más de coltensus
También te puede gustar
Publicidad