ShareShortcuts

BTC to USD

Get the value of your Bitcoin

blackhatteam
Fork “BTC to USD”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så blackhatteam får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
36K
Gemt
0
Handlinger
27
Kategori
Beregninger
Version
2.0
Sprog
EN

Get the value of your Bitcoin.

Do you acquire Satoshi in various amounts and want a way to determine the value without having to use a search engine?

Do you simply want to see the value of your Bitcoin?

BTC to USD may be the tool you need.

Simply enter the amount of Bitcoin (Satoshi) to see the value in USD. The value can then be saved to a file to view as an archive.

The shortcut gets the answer from Bing search on the web and uses ChatGPT to display the result.

*The shortcut now requires the ChatGPT app.

*If you get an error with ChatGPT, go to the app and delete your chat history.

Nyheder

Version 2.0

- added the ChatGPT app

Versionshistorik
2.0 20. jun. 2023

- added the ChatGPT app

1.3 20. jun. 2023

- added Bing search on the web

1.2 24. jan. 2023

Bug fix...

1.1 24. jan. 2023

Fix for iOS 16.3

1.0 18. jan. 2023

First release

Hvad den gør

27 handlinger
  1. Get File
  2. If
  3. Create Folder
  4. Show Alert
  5. Open URLs
  6. Wait
  7. Text
  8. Close Tab
    com.apple.mobilesafari
  9. Show Alert
  10. Choose from Menu
  11. Choose from Menu
    Get Bitcoin Value
  12. Ask for Input
    Enter amount of Bitcoin
  13. URL
    https://www.bing.com/search?q=…BTC to USD
  14. Get Contents of Web Page
  15. Ask ChatGPT
  16. Text
  17. Show Result
  18. Ask for Input
    Enter Bitcoin Value $
  19. Append to Text File
  20. Run Shortcut
    BTC to USD
  21. Choose from Menu
    View Saved Values
  22. If
  23. Show Alert
  24. If
  25. Open File
  26. Choose from Menu
    Quit Shortcut
  27. Stop This Shortcut

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#include 'actions/web'
#include 'actions/documents'
#define color green
#define glyph bitcoin

const File = getFileFromFolder(, "Bitcoin", false)

if !File {
	createFolder("Bitcoin")
	confirm("Run Initial Setup? ")
	openURL("http://www.blackhatteams.com/p/bitcoin.html")
	wait(6)
	const Text = "Bitcoin"
	rawAction("com.apple.mobilesafari.CloseTab", {
		"AppIntentDescriptor": "",
		"target": "Text"
	})
	confirm("Setup Complete! Run Shortcut? ")
}

menu nil {
item "Get Bitcoin Value":
	prompt("Enter amount of Bitcoin", "Number")
	url("https://www.bing.com/search?q={}BTC to USD")
	getWebpageContents()
	rawAction("com.openai.chat.AskIntent", {
		"AppIntentDescriptor": "",
		"ShowWhenRun": false,
		"newChat": true,
		"prompt": "Generate a summary using this page: \\\"{}\\\""
	})
	show()
	const ProvidedInput = prompt("Enter Bitcoin Value $", "Number")
	appendToFile("Bitcoin/values.txt", "{CurrentDate} - {} BTC is ${ProvidedInput}")
	runSelf(ProvidedInput)
item "View Saved Values ":
	if !File['Contents'] {
		alert("You have not added any values! ", "")
	} else {
		openFile()
	}
item "Quit Shortcut":
	stop()
}
Åbn i Cherri Playground Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.

Bedømmelser og anmeldelser

Skriv en anmeldelse
–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ingen anmeldelser endnu. Vær den første!

Annonce

Mere fra blackhatteam

Se alle

Du vil måske også kunne lide

Se alle
Annonce