A andonin macrumors newbie Original poster Dec 9, 2008 7 0 Dec 12, 2008 #1 i cant figure out whats wrong with this line can some one help! tell application "System Preferences" to log off thank you
i cant figure out whats wrong with this line can some one help! tell application "System Preferences" to log off thank you
wrldwzrd89 macrumors G5 Jun 6, 2003 12,110 77 Solon, OH Dec 12, 2008 #2 You're telling the wrong application. System Preferences doesn't understand the log off command, but Finder does.
You're telling the wrong application. System Preferences doesn't understand the log off command, but Finder does.
A andonin macrumors newbie Original poster Dec 9, 2008 7 0 Dec 12, 2008 #3 really? huh, thanks ill try that
A andonin macrumors newbie Original poster Dec 9, 2008 7 0 Dec 12, 2008 #4 nope... it says that the variable is not defined and highlights off same with out thats no different then System Preferences, and I also know what ever program it is is "System something"
nope... it says that the variable is not defined and highlights off same with out thats no different then System Preferences, and I also know what ever program it is is "System something"
A andonin macrumors newbie Original poster Dec 9, 2008 7 0 Dec 12, 2008 #5 One Problem down, one to go OK! i just figured out its system events i.e. tell application "System Events" to log out now i need some thing that will automatically hit the button log out, so that they cant hit cancel any help some one can offer?
One Problem down, one to go OK! i just figured out its system events i.e. tell application "System Events" to log out now i need some thing that will automatically hit the button log out, so that they cant hit cancel any help some one can offer?