Skip to content

Instantly share code, notes, and snippets.

@farukcan
Last active March 28, 2023 15:23
Show Gist options
  • Save farukcan/65ad160041838b7dea6d57d8f2d78340 to your computer and use it in GitHub Desktop.
Save farukcan/65ad160041838b7dea6d57d8f2d78340 to your computer and use it in GitHub Desktop.
VisualPS Test Dialog Types
{
"Name": "Test & Examples",
"Author": "farukcan",
"Website": "https://farukcan.net",
"Commands": [
{
"Name": "๐Ÿ–น Text Dialog",
"Scripts": [
"echo \"Your message is {text:Message}\""
]
},
{
"Name": "๐Ÿ“ƒ File Dialog",
"Scripts": [
"echo \"Selected file is {file:OpenFile}\""
]
},
{
"Name": "๐Ÿ’พ Save Dialog",
"Scripts": [
"echo \"Save file address is {save:SaveFile}\""
]
},
{
"Name": "๐Ÿ“ Folder Dialog",
"Scripts": [
"echo \"Selected path is {folder:SelectFolder}\""
]
},
{
"Name": "๐Ÿ’ฒ Variable Test",
"Scripts": [
"$v = \"{text:Value}\"",
"echo \"Value is $v\""
]
},
{
"Name": "๐Ÿ” Ping (Infinite Command)",
"Scripts": [
"ping {text:Domain or IP} -t"
]
},
{
"Name": "๐Ÿš€ Run Custom Command",
"Scripts": [
"{text:Enter PS Command}"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment