Skip to content

Instantly share code, notes, and snippets.

@farukcan
Last active March 28, 2023 15:23
Show Gist options
  • Select an option

  • Save farukcan/65ad160041838b7dea6d57d8f2d78340 to your computer and use it in GitHub Desktop.

Select an option

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