ShareShortcuts
Fazer fork de “Paste to Jar”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que blue receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
44K
Salvo
1
Ações
10
Categoria
Productivity
Versão
1.0
Idioma
EN

Pré-visualização

Paste to Jar Shortcut

Transfer a set number of items from Paste to Data Jar.

PastetoJar

Requirements

This shortcut will transfer a set number of items from Paste to a Data Jar of your specification. You will also be asked to specify the default number of items upon installation.

It should function on both macOS and iOS.

Contact

Novidades

Versão 1.0

First release

Histórico de versões
1.0 11 de fev de 2022

First release

O que ele faz

10 ações
  1. Comment
    Transfer a set number of items from Paste to Data Jar. My contact information: Email: [email protected] Contact card: bit.ly/whoisdavidblue RoutineHub Profile: https://routinehub.co/user/blue GitHub: https://github.com/extratone/i Telegram: t.…
  2. Number
  3. Set Variable
    index
  4. Ask for Input
    Number of items to transfer.
  5. Repeat
  6. Get Variable
  7. Calculate
  8. Set Variable
    index
  9. Get Item At Index
    com.wiheads.paste
  10. Insert Value In Array
    dk.simonbs.DataJar

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#define color darkorange
#define glyph chainlink

/*
Transfer a set number of items from Paste to Data Jar.

My contact information:

Email: [email protected]
Contact card: bit.ly/whoisdavidblue
RoutineHub Profile: https://routinehub.co/user/blue
GitHub: https://github.com/extratone/i
Telegram: t.me/extratone
Twitter: twitter.com/NeoYokel
Reddit: reddit.com/u/asphaltapostle
Mastodon: mastodon.social/@DavidBlue
EVERYWHERE: bit.ly/dbrolodex
*/
@index = 0
const ProvidedInput = prompt("Number of items to transfer.", "Number")

repeat _ for ProvidedInput {
	// TODO: Get Variable not supported: Assign variable here to '@index'.
	@index = @index + 1
	rawAction("com.wiheads.paste.GetItemAtIndexIntent", {
		"index": "@index",
		"pinboard": ""
	})
	rawAction("dk.simonbs.DataJar.InsertValueInArrayIntent", {
		"keyPath": "paste",
		"valueConversionMode": "automatic",
		"values": "Content"
	})
}
Abrir no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Mais de blue

Ver tudo

Você também pode gostar

Ver tudo
Publicidade