ShareShortcuts
Fork “AirDrop黑客”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so iovationz gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
17K
Saved
0
Actions
42
Category
Utilities
Version
1.0
Language
EN

此快捷方式允许您将“隔空投送”接收模式设置为“所有人”,时间超过默认的10分钟限制。

它的工作原理是将您输入的分钟数乘以60以得到秒数,然后将其除以600(10分钟)以得到重复操作所需的次数。每次,它都会将您的AirDrop设置为“每个人10分钟”,等待10分钟,然后重复。

What's New

Version 1.0

First release

Version History
1.0 Feb 8, 2025

First release

What it does

42 actions
  1. Comment
    此快捷方式允许您将“隔空投送”接收模式设置为“所有人”,时间超过默认的10分钟限制。 它的工作原理是将您输入的分钟数乘以60以得到秒数,然后将其除以600(10分钟)以得到重复操作所需的次数。每次,它都会将您的AirDrop设置为“每个人10分钟”,等待10分钟,然后重复。 …
  2. Comment
    Find me @iOvationz on: Reddit • Discord RoutineHub • ShareShortcuts Donations PayPal @UngoliantTower Cash App $DigitalNexusHoldings
  3. Show Alert
  4. Get Battery Level
  5. If
  6. Show Alert
  7. If
  8. Nothing
  9. Choose from Menu
    VPN可能会扰乱您的隔空投送会话。您想禁用您设备上可能启用的任何VPN吗?(““是”将显示您的VPN,以便您可以禁用当前活跃的连接)(“否”继续快捷方式)
  10. Choose from Menu
    是
  11. Vpn Set
  12. Choose from Menu
    不是
  13. Nothing
  14. Text
  15. Choose from Menu
    …
  16. Choose from Menu
    是
  17. URL
    prefs:root=DISPLAY&path=AUTOLOCK
  18. Open URLs
  19. Wait to Return
  20. Choose from Menu
    不是
  21. Nothing
  22. Set Low Power Mode
  23. Set Wi-Fi
  24. Set Bluetooth
  25. Set Personal Hotspot
  26. Set Wi-Fi
  27. Set Bluetooth
  28. Ask for Input
    多少分钟?
  29. Calculate
  30. Calculate
  31. Repeat
  32. Get Battery Level
  33. If
  34. Show Notification
    您的设备电池电量不足,还剩不到5%。现在插入您的设备至关重要,以防止任何中断。
  35. If
  36. Nothing
  37. Set AirDrop
  38. Wait
  39. Set Wi-Fi
  40. Set Bluetooth
  41. Show Alert
  42. Stop This Shortcut

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#define mac false
#include 'actions/device'
#define color blue
#define glyph airdrop

/*
此快捷方式允许您将“隔空投送”接收模式设置为“所有人”,时间超过默认的10分钟限制。

它的工作原理是将您输入的分钟数乘以60以得到秒数,然后将其除以600(10分钟)以得到重复操作所需的次数。每次,它都会将您的AirDrop设置为“每个人10分钟”,等待10分钟,然后重复。

由@iOvations制作:
www.ShareShortcuts.com
www.RoutineHub.com
www.ShortcutsGallery.com
*/
/*
Find me @iOvationz on:

Reddit • Discord
RoutineHub • ShareShortcuts

Donations 
PayPal  @UngoliantTower
Cash App  $DigitalNexusHoldings
*/
alert("此快捷方式允许您将“隔空投送接收到所有人”设置为超过默认的10分钟限制。你想继续吗?", "")
const BatteryState = getBatteryLevel()

if BatteryState < 5 {
	alert("您设备的电池电量目前低于5%,这可能会中断文件传输过程。为了确保无缝体验,建议您将设备连接到电源。你想继续吗?", "")
} else {
}

menu "VPN可能会扰乱您的隔空投送会话。您想禁用您设备上可能启用的任何VPN吗?(““是”将显示您的VPN,以便您可以禁用当前活跃的连接)(“否”继续快捷方式)" {
item "是":
	rawAction("is.workflow.actions.vpn.set", {
		"WFVPN": "Ask",
		"WFVPNOperation": "Disconnect"
	})
item "不是":
}

menu  {
item "是":
	const URL = url("prefs:root=DISPLAY&path=AUTOLOCK")
	openURL(URL)
	waitToReturn()
item "不是":
}
setLowPowerMode(0)
setWifi(0)
setBluetooth(0)
setHotspot(false)
setWifi(false)
setBluetooth(false)
const ProvidedInput = prompt("多少分钟?", "Number")
const CalculationResult = ProvidedInput * 60
const CalculationResult1 = CalculationResult / 600

repeat _ for CalculationResult1 {
	const BatteryState1 = getBatteryLevel()
	if BatteryState1 < 5 {
		showNotification("您的设备电池电量不足,还剩不到5%。现在插入您的设备至关重要,以防止任何中断。", false, BatteryState)
	} else {
	}
	setAirdropReceiving()
	wait(600)
}
setWifi(0)
setBluetooth(0)
alert("AirDrop黑客计时器已过期,AirDrop接收已被禁用。", "")
stop()
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by iovationz

See All

You Might Also Like

See All
Advertisement