Open QnA GUI as root - Mac OS X
0 Votes |
Description
Property Details
20469 | |
Alpha - Code that was just developed | |
Open QnA GUI as root - Mac OS X | |
BESC | |
Internal | |
5/6/2016 12:00:00 AM | |
True | |
jgstew on 5/6/2016 4:53:28 PM | |
jgstew on 5/6/2016 4:53:28 PM | |
3725 Views / 77 Downloads | |
![]() ![]() ![]() ![]() ![]() |
Relevance

mac of operating system
Used in 1 fixlet | * Results in a true/false |

exists files "QnA GUI" of folders "Contents/MacOS" of folders "QnA GUI.app" of (it; folders "Utilities" of it; folders "Documents/code/QnAGUI/Releases" of folders of folders "/Users") of folders "/Applications"
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
parameter "PathnameQnAgui" = "{ (tuple string item 0 of it | it) of concatenations "," of pathnames of files "QnA GUI" of folders "Contents/MacOS" of folders "QnA GUI.app" of (it; folders "Utilities" of it; folders "Documents/code/QnAGUI/Releases" of folders of folders "/Users") of folders "/Applications" }"
// Options that didn't work, or didn't work the way I wanted:
// run open "{parameter "PathnameQnAgui"}"
// run open -a QnA\ GUI
// run osascript -e 'tell application "QnA GUI" to activate'
delete __createfile
createfile until END_OF_FILE
#!/bin/sh
open -a "{parameter "PathnameQnAgui"}"
END_OF_FILE
delete _open_QnA.sh
copy __createfile _open_QnA.sh
wait chmod u+x _open_QnA.sh
run ./_open_QnA.sh
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |