ShareShortcuts
Создать форк «AirDrop Hacker»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы iovationz получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
17K
Сохранено
0
Действия
41
Категория
Utilities
Версия
1.0
Язык
EN

This shortcut lets you set your AirDrop receiving mode to ‘Everyone’ for longer than the default 10 minute limit.

It works by multiplying the number of minutes you enter by 60 to get the number of seconds, then dividing that by 600(10 minutes) to get the number of times it needs to repeat the action. Each time, it sets your AirDrop to ‘Everyone for 10 minutes’, waits 10 minutes, then repeats.

Connect with me @iOvationz on:

Reddit • Discord

RoutineHub • ShareShortcuts

If you find this shortcut helpful and want to support future updates or creations, please consider donating—every dollar helps a ton! And your generosity is truly appreciated.

Donate via:

PayPal: @UngoliantTower

Cash App: $DigitalNexusHoldings

Что нового

Версия 1.0

First release

История версий
1.0 8 фев 2025 г.

First release

Что делает

Действий: 41
  1. Comment
    This shortcut lets you set your AirDrop receiving mode to ‘Everyone’ for longer than the default 10 minute limit. It works by multiplying the number of minutes you enter by 60 to get the number of seconds, then dividing that by 600(10 minutes) to ge…
  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
    A VPN may disrupt your AirDrop session. Would you like to disable any VPN that may be enabled on your device?("Yes" will display your VPN's so that you may disable the currently active connection)("No" continues the shortcut)
  10. Choose from Menu
    Yes
  11. Vpn Set
  12. Choose from Menu
    No
  13. Nothing
  14. Text
  15. Choose from Menu
    …
  16. Choose from Menu
    Yes
  17. URL
    prefs:root=DISPLAY&path=AUTOLOCK
  18. Open URLs
  19. Wait to Return
  20. Choose from Menu
    No
  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
    How many minutes?
  29. Calculate
  30. Calculate
  31. Repeat
  32. Get Battery Level
  33. If
  34. Show Notification
    Your device's battery is running low, with less than 5% remaining. It's crucial to plug in your device now to prevent any interruption.
  35. If
  36. Nothing
  37. Set AirDrop
  38. Wait
  39. Set Wi-Fi
  40. Set Bluetooth
  41. Show Alert

Посмотреть как код
Бета

Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.

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

/*
This shortcut lets you set your AirDrop receiving mode to ‘Everyone’ for longer than the default 10 minute limit.

It works by multiplying the number of minutes you enter by 60 to get the number of seconds, then dividing that by 600(10 minutes) to get the number of times it needs to repeat the action. Each time, it sets your AirDrop to ‘Everyone for 10 minutes’, waits 10 minutes, then repeats. 
*/
/*
Find me @iOvationz on:

Reddit • Discord
RoutineHub • ShareShortcuts

Donations 
PayPal  @UngoliantTower
Cash App  $DigitalNexusHoldings
*/
alert("This shortcut lets you set 'AirDrop receiving to Everyone' for longer than the default 10 minute limit. Do you want to continue?", "")
const BatteryState = getBatteryLevel()

if BatteryState < 5 {
	alert("Your device's battery is currently below 5%, which may interrupt the file transfer process. To ensure a seamless experience, it is recommend you connect your device to a power source. Would you like to proceed?", "")
} else {
}

menu "A VPN may disrupt your AirDrop session. Would you like to disable any VPN that may be enabled on your device?(\"Yes\" will display your VPN's so that you may disable the currently active connection)(\"No\" continues the shortcut)" {
item "Yes":
	rawAction("is.workflow.actions.vpn.set", {
		"WFVPN": "Ask",
		"WFVPNOperation": "Disconnect"
	})
item "No":
}

menu  {
item "Yes":
	const URL = url("prefs:root=DISPLAY&path=AUTOLOCK")
	openURL(URL)
	waitToReturn()
item "No":
}
setLowPowerMode(0)
setWifi(0)
setBluetooth(0)
setHotspot(false)
setWifi(false)
setBluetooth(false)
const ProvidedInput = prompt("How many minutes?", "Number")
const CalculationResult = ProvidedInput * 60
const CalculationResult1 = CalculationResult / 600

repeat _ for CalculationResult1 {
	const BatteryState1 = getBatteryLevel()
	if BatteryState1 < 5 {
		showNotification("Your device's battery is running low, with less than 5% remaining. It's crucial to plug in your device now to prevent any interruption.", false, BatteryState)
	} else {
	}
	setAirdropReceiving()
	wait(600)
}
setWifi(0)
setBluetooth(0)
alert("The AirDrop Hacker Timer has expired and AirDrop receiving has been disabled.", "")
Открыть в Cherri Playground Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Пока нет отзывов. Поделись мнением первым!

Реклама

Ещё от iovationz

См. все

Вам также может понравиться

См. все
Реклама