Home > General Navigation Package, MD Package, Nursing Package, StoreyQuickNotes Update > Navigate the IMPAC schedule with ease!!

Navigate the IMPAC schedule with ease!!


Well today I’ve rolled my new favorite shortcut.

Backing up, last week I worked on integrating a few common tasks shortcuts into StoreyQuickNotes and today, I’ve rolled those packages out.  The results are pretty impressive with me using the Schedule Navigation shortcut around 30 times in the morning alone.

Basically, the shortcuts allow you to use the arrow keys to toggle which schedule you are viewing and to alter the days.

It is a small quick addition to the coding side but on the user side, it is now something that I’m going to rely on many times throughout the day.

HOW TO HAVE IT FUNCTION  IN YOUR CLINIC:

You must customize the 3 schedule names to match the names of the schedule in your Impac version.  I messed with trying to get this into a configure screen but it wouldn’t fly with Impac, so you are going to have to edit the code.

  • Replace the names of my 3 schedules with the names of your three schedules
  • Go in alphabetical order from your own personal list.
  • If you have trouble, you might add a slight delay like I had to for my sim schedule

Here is a snipet of the AutoHotkey code:

; ***************************
; Toggle Schedule - shared
; ***************************
ToggleSchedule(state)
{
	if (state<0)
		state=2
	else if (state>2)
		state=0	
	
	if (!state)
	{
		Send {tab 9}
		Send 21a-nlr    ; Customize '21a-nlr'
		Sleep 50            
		Send {tab}
	}	
	else if (state=1)
	{
		Send {tab 9}
		Send nlr-nurses station ; Customize
		Send {tab}
	}
	else if (state=2)
	{
		Send {tab 9}
		Send nlr-simulation ; Customize
		Send {tab}
	}
	
	return state	
}

#Up::
count_c:=count_c+1
count_total:=count_total+1
state:=state-1
state:=ToggleSchedule(state)
return

#Down::
count_c:=count_c+1
count_total:=count_total+1
state:=state+1
state:=ToggleSchedule(state)
return

#Left::
count_c:=count_c+1
count_total:=count_total+1
Send {tab 6}{enter}
return

#Right::
count_c:=count_c+1
count_total:=count_total+1
Send {tab 8}{enter}
return
Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: