Giter VIP home page Giter VIP logo

progressscreen's Introduction

ProgressScreen

This is a full screen application that uses a web view to display information to the user. This is intended to show information to the end user during builds using JAMF’s Casper, though you may find other uses for it. This application was inspired by IBM’s build process shown at JAMFs user conference in 2015.

The web view can either be embedded or set via scripting. Embedding the HTML will require you to recompile the application.

The application monitors the jamf.log and in conjunction with optional waypoints an estimated time displays a progessbar to the user. When the last package is installed, the application quits. The user can quit the screen any time with Command-Q.

Usage:

  • Create and Set your own HTML Content. Pages can continually be changed via scripting if desired.
  • Set the estimated build time, this will allow the progress bar to display a more accurate estimated completion time.
  • Update the progess bar by editing currentTime via scripting along side an optional waypoint method.

NEW! Applescript / JavaScript Support!

You can now setup ProgressScreen through scripting, no more coding needed.

Check out the Wiki for more information.

Examples:

Set HTML Content:


tell application "ProgressScreen"
set htmlURL of every configuration to "/Users/username/Documents/TestHTML/index.html"
end tell

Set Progress Bar Total Time: (in seconds)


tell application "ProgressScreen"
set buildTime of every configuration to 2000
end tell 

Set the current progress time: (in Seconds)


tell application "ProgressScreen"
set currentTime of every configuration to 1000
end tell 

Configure FullScreen Mode: (FullScreen default)

tell application "ProgressScreen"
set fullscreen of every configuration to true
end tell

Show / Hide the Quit Button on the Screen: (Shows by default)

tell application "ProgressScreen"
	set hideQuitButton of every configuration to true
end tell

Waypoints: You can enable the waypoint method to help position the progress bar display a more accurate completion time. You MUST know the order in which your packages will be delivered for this to work. There are four waypoints which will adjust the progress bar in the following order: 1/4, 1/2, 3/4, and completion.

Example Script:


tell application "ProgressScreen"
	set useWayPointMethod of every configuration to true
	set wayPointOne of every configuration to "Chrome.pkg"
	set wayPointTwo of every configuration to "FireFox.pkg"
	set wayPointThree of every configuration to "Office.pkg"
	set wayPointFour of every configuration to "CyberDuck.pkg"
end tell

alt tag

progressscreen's People

Contributors

jason-tratta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

progressscreen's Issues

Write up of how to deploy

I am having trouble figuring out how to use this via my DEP workflow. Do you have an example of your dep workflow?

License

There's no license on this project. If you're undecided, could I suggest Apache 2.0?

Unable to build new version

Hi there,

I'm working getting ProgressScreen customized for our DEP deployment, however I'm unable to build a signed version of the app because of this error after updating it to the latest stable version of
Swift 3 and Xcode 8.3.3.

screen shot 2017-06-12 at 2 56 54 pm

I have no clue about app development so I'm not even sure how to go about fixing that error.
Any help would be great!
Thanks!
Chris

Unable to compile

I consistently get an error of "Cannot invoke initializer for type 'NSString?' with no arguments.
screen shot 2018-03-01 at 1 55 44 pm

Dock

If there is a policy or a profile the dock appears and overlays the ProgressScreen until the process is killed. Any idea how to prevent this behaviour?

Won't Always Run Full Screen

On my test Macs running 10.12.6, I cannot get the script to run reliably in full screen. This happens whether not I add an additional line to force it into full screen. Most of the time, a window about 1/4 the size of the screen is displayed in the upper right quadrant of the display.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.