macros for beginners patrick armatis university of michigan-dearborn
Post on 22-Dec-2015
216 views
TRANSCRIPT
Macros for Beginners
Patrick ArmatisPatrick Armatis
University of Michigan-DearbornUniversity of Michigan-Dearborn
Macros for Beginners
Connecting to Innopac using PassportConnecting to Innopac using Passport Creating macrosCreating macros Running macrosRunning macros Assigning macros to function keysAssigning macros to function keys Editing/Deleting macrosEditing/Deleting macros Tips on using Passport with InnopacTips on using Passport with Innopac
Connecting to Innopac
From ‘Session’ select ‘Create’ From ‘Session’ select ‘Create’ Choose ‘No’ when prompted to use Choose ‘No’ when prompted to use
SessionGuideSessionGuide Terminal settingTerminal setting
set ‘Terminal Type’ to desired emulationset ‘Terminal Type’ to desired emulation set ‘History Rows’ to 0set ‘History Rows’ to 0
Connecting to Innopac
Communications settingCommunications setting create a link to Innopaccreate a link to Innopac
use TCP/IP for network connectionuse TCP/IP for network connection use Asynchronous for direct connectionuse Asynchronous for direct connection
Macros settingMacros setting use default settingsuse default settings
Connecting to Innopac
Display settingDisplay setting change screen colorschange screen colors select ‘size to fit window’ optionselect ‘size to fit window’ option select ‘block cursor’ optionselect ‘block cursor’ option
Keymap settingKeymap setting create file to store Innopac session keyboard create file to store Innopac session keyboard
assignments assignments ex. III macrosex. III macros
Connecting to Innopac
Export/Transfer settingExport/Transfer setting not applicablenot applicable
Click close and name sessionClick close and name session ex. III connectionex. III connection
To open session to InnopacTo open session to Innopac click ‘open’ under ‘session’click ‘open’ under ‘session’ double-click desired connectiondouble-click desired connection
Creating macros
From ‘Tools’ select ‘Macro’From ‘Tools’ select ‘Macro’ Create macro book to store Innopac macrosCreate macro book to store Innopac macros Record a macroRecord a macro
enter name in the ‘Macro Names’ fieldenter name in the ‘Macro Names’ field no spaces allowedno spaces allowed no more than 27 charactersno more than 27 characters
click ‘Record’ buttonclick ‘Record’ button choose yes to ‘record text received from host’choose yes to ‘record text received from host’
Creating macros
enter description of macroenter description of macro spaces are allowedspaces are allowed no character limitno character limit
macro toolbar will appearmacro toolbar will appear stop button - terminates record functionstop button - terminates record function pause button - suspends recording temporarilypause button - suspends recording temporarily
perform keystrokes to be recordedperform keystrokes to be recorded click ‘Stop’ button when finishedclick ‘Stop’ button when finished
Running macros
Connect to Innopac via PassportConnect to Innopac via Passport select session previously created, ie. III select session previously created, ie. III
connectionconnection Proceed to appropriate ‘start screen’Proceed to appropriate ‘start screen’ From ‘Tools’ select ‘Macro’From ‘Tools’ select ‘Macro’ Select appropriate macro bookSelect appropriate macro book Select macro from listSelect macro from list Click ‘Run’ buttonClick ‘Run’ button
Assigning macros to function keys
From ‘Tools’ select ‘Customize’From ‘Tools’ select ‘Customize’ Select keymap for Innopac sessionSelect keymap for Innopac session
ex. III macrosex. III macros Select ‘macros’ in ‘Category’ boxSelect ‘macros’ in ‘Category’ box Select macro from listSelect macro from list
description and current key assignment will be description and current key assignment will be displayed displayed
Assigning macros to function keys
Enter desired shortcut key in ‘New Shortcut Enter desired shortcut key in ‘New Shortcut Key’ fieldKey’ field warns if key is already assigned warns if key is already assigned
okay if assignments are in different keymap filesokay if assignments are in different keymap files
can assign more than one shortcut key to the can assign more than one shortcut key to the same macrosame macro
Click ‘Assign’ buttonClick ‘Assign’ button
Editing/Deleting macros
From ‘Tools’ select ‘Macro’From ‘Tools’ select ‘Macro’ Select appropriate macro bookSelect appropriate macro book Select macro from listSelect macro from list Click ‘Edit’ buttonClick ‘Edit’ button Make changesMake changes Click the ‘check’ box to verify and saveClick the ‘check’ box to verify and save
will let you know if there are any errorswill let you know if there are any errors Close macro editor windowClose macro editor window
Tips on using Passport with Innopac
Use macro books to organize your macros Use macro books to organize your macros by dept, library, person, etc.by dept, library, person, etc.
Make sure the correct macro book is Make sure the correct macro book is selected when creating macrosselected when creating macros
Do a dry run before creating macro to look Do a dry run before creating macro to look for possible problems (ie. Initials & for possible problems (ie. Initials & passwords, non-static values)passwords, non-static values)
Tips on using Passport with Innopac
Decide where macro will start (ie. Main Decide where macro will start (ie. Main menu, circ menu, etc.)menu, circ menu, etc.)
Be careful with including passwords in Be careful with including passwords in macros since they are not encryptedmacros since they are not encrypted
Some keyboard shortcuts (ie. Control-V) Some keyboard shortcuts (ie. Control-V) may be hard coded into the softwaremay be hard coded into the software
Use ‘organizer’ to copy & transfer macros Use ‘organizer’ to copy & transfer macros between macro booksbetween macro books
Tips on using Passport with Innopac
Passport has help available on the Passport Passport has help available on the Passport toolbartoolbar includes step-by-step instructions for creating includes step-by-step instructions for creating
macrosmacros explains all that macro programming language explains all that macro programming language
gibberishgibberish
Questions???
Patrick ArmatisPatrick Armatis
[email protected]@umd.umich.edu
Presentation available online at:Presentation available online at:
http://www.umd.umich.edu/lib/iughttp://www.umd.umich.edu/lib/iug