Professional Documents
Culture Documents
Londen Insurance: AS400 Macro Design - Custom Screen Pop
Londen Insurance: AS400 Macro Design - Custom Screen Pop
Londen Insurance: AS400 Macro Design - Custom Screen Pop
PhoneControl.SetWindowFocus "Session"
PhoneControl.SendKeysToWindow "1", "Session"
PhoneControl.SendKeysToWindow "{Enter}", "Session"
PhoneControl.SendKeysToWindow "{F4}", "Session"
PhoneControl.SendKeysToWindow "{F4}", "Session"
PhoneControl.SendKeysToWindow "{PGDN}", "Session"
PhoneControl.SendKeysToWindow "1", "Session"
PhoneControl.SendKeysToWindow "{Enter}", "Session"
PhoneControl.SendKeysToWindow PhoneControl.CLI, "Session"
PhoneControl.SendKeysToWindow "{Enter}", "Session"
e. Next, click Save.
4. Create Custom Button
a. Right click on the Call Banner icon on the side of your screen, and select Settings.
b. Under the Field Choice tab, in the right column titled Banner Buttons, check the Custom
Button box.
c. Click on the Custom Button icon.
d. In the Button tab, type the button text.
e. In the Action tab, select Run Macro from the Action drop down menu, and then select
the AS400 macro you created in Macro Selection drop down menu.
f. Click Save, and then Save again in the Button Toolbar Settings box.
5. Enable Macro
a. Right click Phone Manager icon in Taskbar, go to Settings, and click Application Settings.
Navigate to the Macros tab.
b. Check the box titled Enable Event Driven Macros
c. Copy the path in the Macro File Path box, and paste into Windows Explorer.
d. Copy the MacroConfig file and the most recent text file onto your network’s shared
drive.
e. Copy the new URL from the macro files’ network location and paste into the Macro File
Path box in the Phone Manager Application Settings box.
6. Test macro.