Jump to content

Recommended Posts

Posted

Hola ppl,

 

Does anyone out there in the big www have a solution to this?

 

A auto log off script to log off staff from sims after few mins of inactivity?....

 

If someone can provide some pointers?

 

Much obliged!

Posted

What Alt + F4? lol

 

Not sure I get what your trying to do, leaving a workstation logged in is almost just as bad as leaving it open with SIMS open.

Posted
What Alt + F4? lol

 

Not sure I get what your trying to do, leaving a workstation logged in is almost just as bad as leaving it open with SIMS open.

Corrected that for you. It's not just SIMS that can get your staff into trouble for Data Protection

  • Thanks 1
Posted

lol @ matt40k

 

 

CTRL+ W also works a treat!

 

how about this..

 

run this as a ahk script?

------------------

 

#Persistent

#WinActivateForce

#NoTrayIcon

AutoExec8:

SetTimer, AutoKill, 60000 ;check if idle every minute

;

AutoKill:

;

 

 

 

 

IfWinNotExist, SIMS .net:

Return

else

 

 

If A_TimeIdlePhysical > 300000

{

SetTitleMatchMode, 1

IfWinExist, SIMS .net:

WinActivate

msgbox, 4,, Your computer has been idle for more than 5 mins. SIMS will automatically close in 5 secs. (press no to continue using SIMS), 10

IfMsgBox Timeout

PostMessage, 0x112, 0xF060,,, SIMS .net: ; 0x112 = WM_SYSCOMMAND, 0xF060 = SC_CLOSE

Sleep, 1000

IfWinExist, SIMS .net, Are you sure you wish to close SIMS .net?

Send, {ENTER}

Sleep, 1000

IfWinExist, SIMS .net, Do you want to save your changes?

Send, {ENTER}

Sleep, 1000

IfWinExist, SIMS .net, Do you want to save the previous name into the previous name list

Send, {ENTER}

Sleep, 2000

Return

}

Return

Posted

I'm not a fan such scripts. Use the windows screensaver with a password.

 

It falls over when you, run a report that takes an age to run so you lock your workstation then head to the kitchen \ go to lunch and return to find it's closed SIMS. Like @elsiegee40 says, SIMS isn't the main worry, normally Excel is open with sensitive data. Also close SIMS would = problems. If Capita had a "lock" feature you could get away with it. But it doesn't.

  • Thanks 1
Posted

I'd like to chip in with the bad idea verdict as SIMS can run some very slow operations sometimes. Some operations such as Update Course Memberships, Apply Timetable and AMPARK Resource Imports can take a fair bit of time and shouldn't be interrupted. If your script kicks in during these processes (unlikely, but you never know with SIMS and slow systems), you could cause damage to the database. Locking the screen however means if a member of staff does disappear for a cuppa whilst these processes run, they will continue to run when it locks instead of shutting down SIMS.

 

Also consider a member of staff who may have spent ages entering marksheet data (or setting one up), become distracted and returns to find their data is lost!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...