Pennsylvania State University Experiment with VBScript and Javascript Report

User Generated

juewftzy321

Programming

Pennsylvania State University Penn State Main Campus

Description

Assignment

  • Experiment with VBScript, AppleScript and Bat files (Individual)
  • Use the examples in the ppt as a starting point
  • As a team:
    • Develop a practical use case for using either VBScript, AppleScript or Bat files.
    • Expand on the previous examples to perform a series of tasks that relate to your use case
    • Document your findings
    • In MS Word, Create a report and include the following:
      • Cover Page
      • Table of Contents
      • Executive Summary ( high level overview)
      • Use Cases (1 per team member)
      • Approach – how you plan to either use Bat Files, AppleScript or VBScript to satisfy the use case (1 per team member)
      • Findings – Use your choice of script to satisfy the Use Case, include screen shots and explain your results (1 per team member)
      • Conclusion

Unformatted Attachment Preview

Microsoft Word • Word Processing • Word Processing is the production, storage, and manipulation of text on a computer or word processor. • Examples: • • • • Apple Pages Microsoft Word Open Office KingSoft Writer. 1 Microsoft Word • Brief Review • • • • Any questions on APA Formatting Anything on utilizing Table of Contents Anything on creating the Table of Figures? Questions on Headings vs Captions? 2 Reminder - APA Style Basics • • • • • Documents following the APA guidelines should be left aligned and double spaced The Font Type and Size should be Times New Roman and 12 point Paragraphs should be indented ½ inch Page headers are required and should be consistent throughout the report Always give credit in your reports – Utilize in text citations • All in text citations should have a corresponding entry in the bibliography • APA the Easy Way (Second Edition) is an excellent resource for standards, how to references and citation examples. • Here is another good reference for the AP Standard 3 Text Editors • A text editor is program that allows you to open, view, and edit plain text files. • Text editors do not add formatting to the text, instead focusing on editing functions for plain text. • Used by a wide variety of people, for many purposes. • Software programmers and web developers use text editors to write and edit in programming and markup languages. • This is one of the primary purposes of text editors, and many of the features of text editing software are built to help these users read and write code. • However, text editors are ideal tools for anyone who needs to write quickly and simply, read source code, or create text files. 4 Text Editors • Examples: • Notepad, Notepad ++ • Ultra Edit • Sublime Text • Side Note • Has anyone played with or manipulated file extensions? • For what purpose? • Why would this come in handy? 5 Text Editors • Other practical uses • VBScript via Internet Explorer • • A general-purpose, lightweight and active scripting language developed by Microsoft that is modeled on Visual Basic. Should have a general understanding of Visual Basic to utilize VBScript 6 Text Editors • Example: 7 Text Editors • Example Notes: • • • • • Create the example in a text file. Save for easy editing Make sure your code is correct and free of errors Once complete, save your file as an html file Right click your .html file, open with internet explorer When Internet Explorer opens, you will get a security warning… click to enable • See your code work! 8 Text Editors • Other practical uses • VBScript via the Desktop 9 Text Editors • Example Notes: • • • • • Create the example in a text file. Save for easy editing Make sure your code is correct and free of errors Once complete, save your file as a vbs file Double click on the .vbs file and watch the program run! Try modifying / adding to the code to see what you can do! 10 Text Editors • Other practical uses • Bat Files • • • • A DOS batch file used to execute commands with the Windows Command Prompt Contains a series of line commands that typically might be entered at the DOS command prompt. Most commonly used to start programs and run maintenance utilities within Windows Avoid opening unknown BAT files since they may contain viruses or other malicious code. • Examples? 11 Text Editors 12 Text Editors • Example Notes: • @Echo will be similar to a code comment… it will echo what you enter into your code. • A timeout is similar to a pause… will pause the code for the amount of time you specified. • Test your bat file code in dos to ensure it works. • Add the timeout code into your bat file so you can see your code working, otherwise the DOS file will just flash and disappear. 13 AppleScript 14 AppleScript • Script Notes: • Launch Script Editor in /Applications/Utilities/ • • • Press Command-N or select File > New. Create new script Click the Compile button • Beginners Guide: • https://computers.tutsplus.com/tutorials/the-ultimatebeginners-guide-to-applescript--mac-3436 • Command Listing • https://developer.apple.com/library/archive/documentation/Ap pleScript/Conceptual/AppleScriptLangGuide/reference/ASLR_cm ds.html 15 Assignment • Experiment with VBScript and Bat files (Individual) • • Use the examples in the ppt as a starting point As a team: • • • Develop a practical use case for using either VBScript or Bat files. Expand on the previous examples to perform a series of tasks that relate to your use case Document your findings • In MS Word, Create a report and include the following: • Cover Page • Table of Contents • Executive Summary ( high level overview) • Use Cases (1 per team member) • Approach – how you plan to either use Bat Files or VBScript to satisfy the use case • Findings – Use your choice of script to satisfy the Use Case, include screen shots • Conclusion 16
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Hello check the solution in the document. In case of a comment informThank you for your time

Experiment with VBScript
Student’s Name
Course Title
October 23, 2020

Table of Contents
Executive Summary....................................................................................................................................... 3
Use Case ..........................................................................................................................


Anonymous
Very useful material for studying!

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags