{"id":1682,"date":"2013-07-19T11:40:12","date_gmt":"2013-07-19T11:40:12","guid":{"rendered":"http:\/\/blog.designed79.co.uk\/?p=1682"},"modified":"2013-07-19T11:40:12","modified_gmt":"2013-07-19T11:40:12","slug":"jamfhelper-options","status":"publish","type":"post","link":"https:\/\/blog.designed79.co.uk\/?p=1682","title":{"rendered":"JamfHelper Options"},"content":{"rendered":"<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;height:300px;\"><div class=\"text codecolorer\">JAMF Helper Help Page<br \/>\n<br \/>\nUsage: jamfHelper -windowType [-windowPostion] [-title] [-heading] [-description] [-icon] [-button1] [-button2] [-defualtButton] [-cancelButton] [-showDelayOptions] [-alignDescription] [-alignHeading] [-alignCountdown] [-timeout] [-countdown] [-iconSize] [-lockHUD] [-startLaunchd] [-fullScreenIcon] [-kill]<br \/>\n<br \/>\n-windowType [hud | utility | fs]<br \/>\n&nbsp; &nbsp; hud: creates an Apple &quot;Heads Up Display&quot; style window<br \/>\n&nbsp; &nbsp; utility: creates an Apple &quot;Utility&quot; style window<br \/>\n&nbsp; &nbsp; fs: creates a full screen window the restricts all user input<br \/>\n&nbsp; &nbsp; &nbsp; &nbsp; WARNING: Remote access must be used to unlock machines in this mode<br \/>\n<br \/>\n-windowPosition [ul | ll | ur | lr]<br \/>\n&nbsp; &nbsp; Positions window in the upper right, upper left, lower right or lower left of the user's screen<br \/>\n&nbsp; &nbsp; If no input is given, the window defaults to the center of the screen<br \/>\n<br \/>\n-title &quot;string&quot;<br \/>\n&nbsp; &nbsp; Sets the window's title to the specified string<br \/>\n<br \/>\n-heading &quot;string&quot;<br \/>\n&nbsp; &nbsp; Sets the heading of the window to the specified string<br \/>\n<br \/>\n-description &quot;string&quot;<br \/>\n&nbsp; &nbsp; Sets the main contents of the window to the specified string<br \/>\n<br \/>\n-icon path<br \/>\n&nbsp; &nbsp; Sets the windows image filed to the image located at the specified path<br \/>\n<br \/>\n-button1 &quot;string&quot;<br \/>\n&nbsp; &nbsp; Creates a button with the specified label<br \/>\n<br \/>\n-button2 &quot;string&quot;<br \/>\n&nbsp; &nbsp; Creates a second button with the specified label<br \/>\n<br \/>\n-defaultButton [1 | 2]<br \/>\n&nbsp; &nbsp; Sets the defualt button of the window to the specified button. The Default Button will respond to &quot;return&quot;<br \/>\n<br \/>\n-cancelButton [1 | 2]<br \/>\n&nbsp; &nbsp; Sets the cancel button of the window to the specified button. The Cancel Button will respond to &quot;escape&quot;<br \/>\n<br \/>\n-showDelayOptions &quot;int, int, int,...&quot;<br \/>\n&nbsp; &nbsp; Enables the &quot;Delay Options Mode&quot;. The window will display a dropdown with the values passed through the string<br \/>\n<br \/>\n-alignDescription [right | left | center | justified | natural]<br \/>\n&nbsp; &nbsp; Aligns the description to the specified alignment<br \/>\n<br \/>\n-alignHeading [right | left | center | justified | natural]<br \/>\n&nbsp; &nbsp; Aligns the heading to the specified alignment<br \/>\n<br \/>\n-alignCountdown [right | left | center | justified | natural]<br \/>\n&nbsp; &nbsp; Aligns the countdown to the specified alignment<br \/>\n<br \/>\n-timeout int<br \/>\n&nbsp; &nbsp; Causes the window to timeout after the specified amount of seconds<br \/>\n&nbsp; &nbsp; Note: The timeout will cause the the defualt button, button 1 or button 2 to be selected (in that order)<br \/>\n<br \/>\n-countdown<br \/>\n&nbsp; &nbsp; Displays a string notifying the user when the window will time out<br \/>\n<br \/>\n-iconSize pixels<br \/>\n&nbsp; &nbsp; Changes the image frame to the specified pixel size<br \/>\n<br \/>\n-lockHUD<br \/>\n&nbsp; &nbsp; Removes the ability to exit the HUD by selecting the close button<br \/>\n-startlaunchd<br \/>\n&nbsp; &nbsp; Starts the JAMF Helper as a launchd process<br \/>\n-kill<br \/>\n&nbsp; &nbsp; Kills the JAMF Helper when it has been started with launchd<br \/>\n-fullScreenIcon<br \/>\n&nbsp; &nbsp; Scales the &quot;icon&quot; to the full size of the window<br \/>\n&nbsp; &nbsp; Note: Only available in full screen mode<br \/>\n<br \/>\n<br \/>\nReturn Values: The JAMF Helper will print the following return values to stdout...<br \/>\n&nbsp; &nbsp; 0 - Button 1 was clicked<br \/>\n&nbsp; &nbsp; 1 - The Jamf Helper was unable to launch<br \/>\n&nbsp; &nbsp; 2 - Button 2 was clicked<br \/>\n&nbsp; &nbsp; 3 - Process was started as a launchd task<br \/>\n&nbsp; &nbsp; XX1 - Button 1 was clicked with a value of XX seconds selected in the drop-down<br \/>\n&nbsp; &nbsp; XX2 - Button 2 was clicked with a value of XX seconds selected in the drop-down<br \/>\n&nbsp; &nbsp; 239 - The exit button was clicked<br \/>\n&nbsp; &nbsp; 240 - The &quot;ProductVersion&quot; in sw_vers did not return 10.5.X, 10.6.X or 10.7.X<br \/>\n&nbsp; &nbsp; 243 - The window timed-out with no buttons on the screen<br \/>\n&nbsp; &nbsp; 250 - Bad &quot;-windowType&quot;<br \/>\n&nbsp; &nbsp; 254 - Cancel button was select with delay option present<br \/>\n&nbsp; &nbsp; 255 - No &quot;-windowType&quot;<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>JAMF Helper Help Page Usage: jamfHelper -windowType [-windowPostion] [-title] [-heading] [-description] [-icon] [-button1] [-button2] [-defualtButton] [-cancelButton] [-showDelayOptions] [-alignDescription] [-alignHeading] [-alignCountdown] [-timeout] [-countdown] [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1682","post","type-post","status-publish","format-standard","hentry","category-info-on-tech"],"_links":{"self":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1682","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1682"}],"version-history":[{"count":0,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1682\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}