This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Open a URL once a user is logged in | |
import webbrowser | |
new = 2 # open in a new tab, if possible | |
system_check = "https://proctorcaching.pearsonaccess.com/ems/systemCheck/systemCheck.jsp?acc=mn" | |
webbrowser.open(system_check,new=new) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Keystrokes | |
import win32api | |
import win32com.client | |
shell = win32com.client.Dispatch("WScript.Shell") | |
# Alt+Space+X or F11 makes it full screen | |
win32api.Sleep(2500) | |
# One or the other below should work depending on what browser is being used | |
#shell.SendKeys("% X") | |
shell.SendKeys("{F11}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Open a URL once a user is logged in | |
import webbrowser | |
new = 2 # open in a new tab, if possible | |
sample_test = "https://testnav.com/mnqc/ | |
webbrowser.open(system_check,new=new) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
click(1000,500) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Open the TestTaker app | |
osascript -e 'tell application "NWEA Lockdown Browser" | |
activate | |
end tell' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using terms from application "Mail" | |
on perform mail action with messages theMessages for rule theRule | |
tell application "Mail" | |
repeat with eachMessage in theMessages | |
set theName to extract name from sender of eachMessage | |
if exists reply to of eachMessage then | |
set theAddress to reply to of eachMessage | |
else | |
set theAddress to extract address from sender of eachMessage | |
end if |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Click username field | |
click -x 864 -y 546 | |
# Enter username | |
osascript -e 'tell application "System Events" | |
keystroke "I love Pearson" | |
end tell' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Modified from https://jamfnation.jamfsoftware.com/discussion.html?id=6489#responseChild49255 | |
# Java Plugin Location | |
javaPlugin="/Library/Internet Plug-Ins/JavaAppletPlugin.plugin" | |
# Config File Location | |
configFile="/Library/Application Support/Oracle/Java/Deployment/deployment.config" | |
# Properties File Location | |
propFile="/Library/Application Support/Oracle/Java/Deployment/deployment.properties" |