It's a terminal operating system and there are more itterations to come kinda like linuxthe commands are listed in the editor inside a comment
Neue Funktionen
Version 3.0
A lot has changed come check it out
Was er macht
77 Aktionen-
Dictionary
-
CommentCustom commands: You need to find a diconary its the only one and just type in the name of your shortcut that its going to run also put run iLinux at the end of your custom cmd shortcuts Commands: Exit Restart Calculate:+/-/* Surf URL NeoFetch (Form…
-
Ask for InputTerminal
-
If
-
Stop This Shortcut
-
If
-
If
-
Wait
-
Run ShortcutLinux
-
If
-
If
-
Replace Text
-
Calculate Expression
-
Show Result
-
Run ShortcutLinux
-
If
-
If
-
Replace Text
-
URL
-
Show Web Page
-
If
-
If
-
Text
-
Show Alert
-
Run ShortcutLinux
-
If
-
If
-
Ask for InputSSH
-
Run Script Over SSH
-
If
-
If
-
Send Message
-
If
-
Get Dictionary Value
-
If
-
Run Shortcut
-
If
-
Get Dictionary Value
-
If
-
Run Shortcut
-
If
-
Get Dictionary Value
-
If
-
Run Shortcut
-
If
-
Get Dictionary Value
-
If
-
Run Shortcut
-
If
-
Get Dictionary Value
-
If
-
Run Shortcut
-
If
-
Get Dictionary Value
-
If
-
Run Shortcut
-
If
-
Get Dictionary Value
-
If
-
Run Shortcut
-
If
-
Dictionary
-
Get Dictionary Value
-
If
-
Run Shortcut
-
If
-
Select File
-
Choose from Menu…
-
Choose from MenuOpen
-
Show Result
-
Choose from MenuRename
-
Rename File
-
Choose from MenuMove
-
File Move
-
Choose from MenuDelete
-
Delete Files
-
Run ShortcutiLinux
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#include 'actions/web'
#include 'actions/text'
#define color darkgray
const CustomCmds = {
"1": "",
"10": "",
"2": "",
"3": "",
"4": "",
"5": "",
"6": "",
"7": "",
"8": "",
"9": ""
}
/*
Custom commands:
You need to find a diconary its the only one and just type in the name of your shortcut that its going to run also put run iLinux at the end of your custom cmd shortcuts
Commands:
Exit
Restart
Calculate:+/-/*
Surf URL
NeoFetch (Formerly About)
SSH
Files
APT:
Apt-Get:URL Install
Apt-Get:URL Install-Repo
Apt Install-Browse
Apt Install All
Apt Upgrade
*/
const AskForInput = prompt("Terminal")
if AskForInput == "Exit" {
stop()
} else {
if AskForInput == "Restart" {
wait(0)
runSelf(AskForInput)
} else {
if AskForInput contains "Calculate:" {
replaceText("Calculate:", "", AskForInput)
const CalculationResult =
show(CalculationResult)
runSelf(CalculationResult)
} else {
if AskForInput contains "Surf" {
const UpdatedText = replaceText("Surf ", "", AskForInput)
url(UpdatedText)
showWebpage()
} else {
if AskForInput == "NeoFetch" {
confirm()
runSelf()
} else {
if AskForInput == "SSH" {
prompt("SSH")
runSSHScript(, nil, Ask, Ask, Ask, "", Ask)
} else {
if AskForInput == "Update" {
sendMessage(, "Update.iLinux.Request")
} else {
const Cmd1 = getValue(CustomCmds, "1")
if AskForInput contains Cmd1 {
runSelf()
} else {
const Cmd2 = getValue(CustomCmds, "2")
if AskForInput == Cmd2 {
run(Cmd2, Cmd2)
} else {
const Cmd3 = getValue(CustomCmds, "3")
if AskForInput == Cmd3 {
run(Cmd3, Cmd3)
} else {
const Cmd4 = getValue(CustomCmds, "4")
if AskForInput == Cmd4 {
run(Cmd4, Cmd4)
} else {
const Cmd5 = getValue(CustomCmds, "5")
if AskForInput == Cmd5 {
run(Cmd5, Cmd5)
} else {
const Cmd6 = getValue(CustomCmds, "6")
if AskForInput == Cmd6 {
run(Cmd6, Cmd6)
} else {
const Cmd7 = getValue(CustomCmds, "7")
if AskForInput == Cmd7 {
run(Cmd7, Cmd7)
} else {
const Cmd8 = getValue(CustomCmds, "8")
if AskForInput == Cmd8 {
run(Cmd8, Cmd8)
} else {
const File = selectFile()
menu File {
item "Open":
show(File)
item "Rename":
rename(File, Ask)
item "Move":
rawAction("is.workflow.actions.file.move", {
"WFFile": "File",
"WFFolder": "Ask"
})
item "Delete":
deleteFiles(File)
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
runSelf(IfResult)
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Mehr von toxbytes
Das gefällt dir vielleicht auch
Werbung