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.
Nouveautés
- added the ChatGPT app
Ce qu’il fait
27 actions-
Get File
-
If
-
Create Folder
-
Show Alert
-
Open URLs
-
Wait
-
Text
-
Close Tabcom.apple.mobilesafari
-
Show Alert
-
Choose from Menu
-
Choose from MenuGet Bitcoin Value
-
Ask for InputEnter amount of Bitcoin
-
URLhttps://www.bing.com/search?q=…BTC to USD
-
Get Contents of Web Page
-
Ask ChatGPT
-
Text
-
Show Result
-
Ask for InputEnter Bitcoin Value $
-
Append to Text File
-
Run ShortcutBTC to USD
-
Choose from MenuView Saved Values
-
If
-
Show Alert
-
If
-
Open File
-
Choose from MenuQuit Shortcut
-
Stop This Shortcut
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#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()
}
Notes et avis
Écrire un avisAucun avis pour le moment. Sois le premier à partager ton avis !