I am a newbie so sorry for a simple question. I am writing a script to load servers for students however often they make the mistake of hitting the capslock key and or it is already hit before they start the script. This causes them to get locked out after multiple attempts. I would like to add to the script to make sure the capslock is off. Is this possible and if so how?
Thanks,
Jerry
Browser: Internet Explorer 5.23
Operating System: Mac OS X (10.4)
If you’re a newbie, you probably won’t want to mess with key mapping plists or uControl. If you’re scripting the mounts, you’ll be able to tell if their authentication fails and then display a dialog asking them to check the caps lock key, no?
You say that you are on 10.4 already? I thought the caps lock was going to be ignored there. Could just be for the initial logon to the workstation.
how would i add to the script if it fails to prompt to ask if the caps lock is on?
Here is the script.
tell application “Finder”
mount volume “SHARE1 on MARK3” on server “MARK3” as user name “EnterYourName” with password “”
activate application “Microsoft Word”
end tell
repeat
tell application “Finder”
“delay 60”
tell application “Finder” to set exists_ to exists process “Microsoft Word”
if exists_ is false then
tell application “Finder” to eject disk “Share1 on Mark3”
exit repeat
tell me to quit
end if
end tell
end repeat