home *** CD-ROM | disk | FTP | other *** search
INI File | 1993-11-20 | 51.7 KB | 2,612 lines |
- [ver]
- 4
- [sty]
- ~cdefaul.sty
- [files]
- [charset]
- 82
- CHINESEGB2312 (Windows)
- [revisions]
- 0
- [prn]
- PostScript Printer
- [lang]
- 1
- [desc]
- Customize menus by adding new menu items for Ami Pro functions and macros. Assign shortcut key sequences to com
- Lotus Word Processing D
- Advanced
- Define, AddMenu
-
- 753831048
- 57
- 668987187
- 900
- 20
- 0
- 0
- 0
- 0
-
-
-
-
-
-
- 0
- [fopts]
- 0
- 1
- 0
- 0
- [lnopts]
- 2
- Body Text
- 1
- [docopts]
- 5
- 2
- [tag]
- Body Text
- 9
- [fnt]
- ╧╕╦╬╠σ
- 240
- 0
- 49152
- [algn]
- 1
- 2
- 0
- 0
- 0
- [spc]
- 17
- 0
- 2
- 0
- 0
- 2
- 100
- [brk]
- 4
- [line]
- 8
- 0
- 2
- 0
- 1
- 1
- 1
- 10
- 10
- 2
- [spec]
- 0
- 0
-
- 0
- 2
- 0
- 0
- 0
- 0
- 0
- [nfmt]
- 24
- 1
- 2
- .
- ,
- úñ
- Body Text
- 0
- 0
- [l1]
- Standard
- [pg]
- 20
- 41 0 5 512 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 76 0 17 512 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 112 0 54 0 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 153 0 44 0 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 174 0 17 512 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 202 0 17 512 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 243 0 8 0 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 278 0 75 0 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 312 0 17 512 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 353 0 17 512 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 376 0 17 512 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 404 0 17 512 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 428 0 5 512 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 467 0 57 0 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 482 0 6 512 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 522 0 17 512 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 556 0 17 512 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 587 0 5 512 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 633 0 0 0 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- 669 0 10 1025 0 0 0 65535 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0
- [edoc]
- ' CustMenu - Allow the user to add and delete menu item.sdeclare InitCombo(p1);
-
-
- ' Now some handy defines for window messages.
-
- define MF_BYPOSITION 0x400
-
- define CB_SETCURSEL 0x40E
-
- define CB_GETCURSEL 0x407
-
-
- ' Define Macros to actually make the Windows calls.
-
-
- define GetActiveWindow()
-
- DllCall("user,GetActiveWindow,H")
-
- define GetMenu(hWnd)
-
- DllCall("user,GetMenu,HH", %1)
-
- define GetMenuString(hMenu, offset, namep, max, flag)
-
- DllCall("user,GetMenuString,HHHFHH", %1, %2, %3, %4, %5)
-
- define GetMenuItemCount(hMenu)
-
- DllCall("user,GetMenuItemCount,HH", %1)
-
- define GetParent(hWnd)
-
- DllCall("user,GetParent,HH", %1)
-
- define GetSubMenu(hMenu, pos)
-
- DllCall("user,GetSubMenu,HHH", %1, %2)
-
- Define Dllname "User"
-
- ' Now functions we call
-
- declare ComboCallBack(p1, p2, p3);
-
- declare LocateHmenu(p1);
-
- Declare FindMenu(p1, p2)
-
- declare LoadTheBox(p1, p2)
-
- declare FindAutoExec();
-
- declare AddAccelStuff(p1, p2);
-
- declare ShowAccel(p1);
-
- declare DetermineAccel();
-
- <:>declare AddAccelerator<:>(amifuncnt, amifuns, menuids)
-
- declare LoadMenus(p1)
-
- declare LoadAmiFuns(p1, p2)
-
- declare GetAmiPro(p1, p2)
-
- declare GetMacro()
-
- <:><:>declare AddToAutoexec(p1, p2, p3, p4, p5, p6, p7)
-
- declare AddItem(p1, p2, p3, p4, p5, p6)
-
- declare DelMenu(p1)
-
-
- <:p<* >>
-
- <:#302,9025><:ZCustMenu>FUNCTION CustMenu<:Z~CustMenu>()
-
- <:#302,9025>'singlestep(0)
-
- <:#302,9025>dim menus(20) ' Where to store the standard menu names
-
- <:#302,9025>dim amifuns(100) ' Where to store ami function names
-
- <:#302,9025>dim menuids(100) ' and there corresponding menuids
-
- <:#302,9025><:><:>menucnt = LoadMenus(&menus) ' Get the menu names
-
- <:#302,9025>amifuncnt = LoadAmiFuns(&amifuns, &menuids) ' And the amipro functions
-
- <:#302,9025>StatusBarMsg("")
-
- <:#302,9025>defstr stat;
-
- <:#604,9025>FillEdit(8000, &menus) ' Load the list box with the menus for them to choose
-
- <:#604,9025>While (1 << Assign(&stat, DialogBox("." "PickMenu"))) 'Loop here until OK or Cancel
-
- <:#302,9025> menuname = GetDialogField$(9000)
-
- <:#604,9025> if ("" != menuname) 'Make sure they picked something
-
- <:#302,9025> ' Now determine which button caused the box to close.
-
- <:#302,9025> switch stat
-
- <:#302,9025> case 5
-
- <:#302,9025><:><:><:><:> hourglass(1)
-
- <:#604,9025> AddItem(menuname, amifuncnt, &amifuns, &menuids, menucnt, &menus)
-
- <:#302,9025><:><:><:><:> hourglass(0)
-
- <:#302,9025> break
-
- <:#302,9025> case 6
-
- <:#302,9025><:><:><:><:> hourglass(1)
-
- <:#302,9025> DelMenu(menuname)
-
- <:#302,9025><:><:><:><:> hourglass(0)
-
- <:#302,9025> break;
-
- <:#302,9025> case 7
-
- <:#302,9025><:><:><:><:> hourglass(1)
-
- <:#302,9025> AddAccelerator(amifuncnt, &amifuns, &menuids)
-
- <:#302,9025><:><:><:><:> hourglass(0)
-
- <:#302,9025> break;
-
- <:#302,9025> endswitch
-
- <:#302,9025> endif
-
- <:#302,9025><:><:><:><:> FillEdit(8000, &menus) ' Reload the box for next goround
-
- <:#302,9025><:><:><:><:>wend
-
- END FUNCTION<:p<* >>
-
- <:#604,9025>' AddItem - This macro will add either an AmiPro function or macro to any of the standard
-
- <:#604,9025>' menus. Because we can not pass anything to our callback routines we will keep
-
- <:#302,9025>' the information in global variables.
-
- <:#302,9025>define POSVAR "Cust1" ' Currently selected position
-
- <:#302,9025>define GHMENU "Cust2" ' Handle the menu in question.
-
- <:#302,9025>
-
- <:#302,9025><:ZAddItem>FUNCTION AddItem<:Z~AddItem>(menuname, amifuncnt, amifuns, menuids, menucnt, menus)
-
- <:#302,9025>menuid = 0 ' initialize all our variables
-
- <:#302,9025>macroname = ""
-
- <:#302,9025>itemname = ""
-
- <:#302,9025>action = ""
-
- <:#302,9025>Helptext = ""
-
- <:#302,9025>temp = ""
-
- <:#302,9025>itemnum = 0
-
- <:#302,9025>pos = 0
-
- <:#302,9025>accel = 0
-
- <:#302,9025>hmenu = 0;
-
- <:#302,9025>AllocGlobalVar(POSVAR, 1)
-
- <:#302,9025>AllocGlobalVar(GHMENU, 1)
-
- <:#604,9025>SetGlobalVar(POSVAR, 0) ' Position 0 indicates none selected (add to end)
-
- <:#302,9025>SetGlobalVar(GHMENU, LocateHmenu(menuname)); ' get hMenu and save
-
- <:#604,9025>stat = 2 ' Set stat so we execute dlgbox at least once
-
- <:#604,9025>while (stat != 0 and stat != 1) ' Do this till they cancel or ok it.
-
- <:#302,9025> FillEdit(1003, menuname) ' Show em what we know so far.
-
- <:#302,9025> FillEdit(1005, action)
-
- <:#302,9025> FillEdit(8000, itemname)
-
- <:#302,9025> FillEdit(8001, helptext)
-
- <:#302,9025> FillEdit(8002, pos)
-
- <:#302,9025> ShowAccel(accel)
-
- <:#604,9025> ' For the "Insert Before Item" we really want to know what position on the menu to
-
- <:#604,9025> ' insert the new item. We use a call back to simply determine which item was
-
- <:#604,9025> ' selected. We dont sort the box so the CB_GETCURSEL will return the position
-
- <:#604,9025> ' we are intereted in. Also we will use the special callback id == 0 to load this box.
-
- <:#302,9025> SetDlgCallBack(0, strcat$(GetRunningMacroFile$(), "!InitCombo"))
-
- <:#604,9025><:><:> SetDlgCallBack(9500, strcat$(GetRunningMacroFile$(),"!ComboCallback"))
-
- if (0 != Assign(&stat, DialogBox(".", "additem")))
-
- <:#302,9025> itemname = GetDialogField$(8000) ' extract the item
-
- <:#302,9025> helptext = GetDialogField$(8001) ' and help text
-
- <:#604,9025> pos = GetGlobalVar$(POSVAR) ' get position from the global var
-
- <:#302,9025> accel = DetermineAccel()
-
- <:#302,9025> endif
-
- <:#302,9025> ' Now determine which button they pushed.
-
- <:#302,9025> switch stat
-
- <:#302,9025> case 4 ' Select macro
-
- <:#604,9025> if ("" != Assign(&temp, GetMacro())) ' Pick a macro
-
- <:#302,9025> macroname = temp ' yes update it
-
- <:#302,9025> action = macroname
-
- <:#302,9025> menuid = 0 ' And zero the menuid
-
- <:#302,9025> endif
-
- <:#302,9025> case 3 ' AmiPro Function
-
- <:#604,9025> if (0 != Assign(&itemnum, GetAmiPro(&amifuns, amifuncnt)))
-
- <:#302,9025> macro = ""
-
- <:#302,9025> menuid = *menuids(itemnum)
-
- <:#302,9025> action = *amifuns(itemnum)
-
- <:#302,9025> endif
-
- <:#302,9025> endswitch
-
- <:#302,9025>wend
-
- <:#302,9025>FreeGlobalVar(POSVAR);
-
- <:#302,9025>FreeGlobalVar(GHMENU);
-
- <:#604,9025>' If they have entered all information, make it take effect, then see if they want to make
-
- <:#302,9025>' it permanent.
-
- <:#302,9025>'
-
- <:#302,9025>if ((stat) and (menuname != "") and ((menuid != 0) or (macroname != "")))
-
- <:#604,9025> if (accel) ' if they made this an accelerator, add it to the itemname
-
- <:#302,9025> itemname = AddAccelStuff(itemname, accel)
-
- <:#302,9025> endif
-
- <:#302,9025> if (menuid != 0) ' AmiPro Functoin?
-
- <:#302,9025> if (0 = pos)
-
- <:#302,9025> AddMenuItem(1, menuname, itemname, menuid)
-
- <:#302,9025> else
-
- <:#302,9025> InsertMenuItem(1, menuname, pos - 1, itemname, menuid)
-
- <:#302,9025> endif
-
- <:#302,9025> if (accel)
-
- <:#302,9025> if getopenfilecount() << 1
-
- <:#302,9025> new("~default.sty", 0, 0)
-
- <:#302,9025> endif
-
- Onkey(accel, menuid, "")
-
- <:#302,9025> endif
-
- <:#302,9025> else
-
- <:#302,9025> if (0 = pos)
-
- <:#302,9025> AddMenuItem(1, menuname, itemname, macroname, helptext)
-
- <:#302,9025> else
-
- <:#604,9025> InsertMenuItem(1, menuname, pos - 1, itemname, macroname, helptext)
-
- <:#302,9025> endif
-
- <:#302,9025> if (accel)
-
- <:#302,9025> if getopenfilecount() << 1
-
- <:#302,9025> new("~default.sty", 0, 0)
-
- <:#302,9025> endif
-
- <:#302,9025> OnKey(accel, 0, macroname)
-
- <:#302,9025> endif
-
- <:#302,9025> endif
-
- <:#302,9025> if (Decide("Keep settings for next session?"))
-
- <:#604,9025><:><:><:><:> AddToAutoexec(menuname, itemname, menuid, macroname, helptext, pos, accel)
-
- <:#302,9025> endif
-
- <:#302,9025>elseif (1 = stat) ' did they say ok but not specify enough stuff
-
- <:#302,9025> Message("Not all necessary information found")
-
- <:#302,9025>endif
-
- END FUNCTION<:p<* >>
-
- <:#604,9025>' ComboCallBack - This gets called when the user has selected an item from the combo box.
-
- <:#604,9025>' we simply ask the combo box which one got selected, then we save that offset into
-
- <:#302,9025>' our global array.
-
- <:#302,9025><:ZComboCallBack>FUNCTION ComboCallBack(hDlg, id, text)<:Z~ComboCallBack>
-
- <:#604,9025>hCtrl = GetDlgItem(hDlg, id) ' Need HWND of the combo box
-
- <:#302,9025>off= AppSendMessage(hCtrl, CB_GETCURSEL, 0, 0) ' Ask him
-
- <:#302,9025>SetGlobalVar(POSVAR, off) ' Save it
-
- <:#302,9025>END FUNCTION
-
- <:#302,9025>'
-
- <:#604,9025>' InitCombo - this is called before the dialog box is pulled up (SetDlgCallBack(0, InitCombo))
-
- <:#604,9025>' We get the menu handle from the global variale, then using windows calls, load the
-
- <:#302,9025>' combo box with items from that menu.
-
- <:#302,9025><:ZInitCombo>FUNCTION InitCombo(hDlg)<:Z~InitCombo>
-
- <:#302,9025><:><:>defstr menuname;
-
- <:#302,9025>hMenu = GetGlobalVar$(GHMENU) ' Retrieve the handle to menu
-
- <:#302,9025>SetDlgItemtext(hDlg, 9500, "") ' Set a blank one at top
-
- <:#302,9025>menucnt = GetMenuItemCount(hMenu) ' Determin how many are on the menu
-
- <:#302,9025>for i = 0 to menucnt - 1
-
- <:#302,9025> GetMenuString(hMenu, i, &menuname, 80, MF_BYPOSITION)
-
- <:#302,9025> if (0 << len(menuname))
-
- <:#302,9025> SetDlgItemText(hDlg, 9500, menuname)
-
- <:#302,9025> else
-
- <:#604,9025> SetDlgItemText(hDlg, 9500, "------------------------------------")
-
- <:#302,9025> endif
-
- <:#302,9025>next
-
- <:#302,9025>' finally select one by position.
-
- <:#604,9025>AppSendMessage(GetDlgItem(hDlg, 9500), CB_SETCURSEL, GetGlobalVar$(POSVAR), 0)
-
- END FUNCTION<:p<* >>
-
- <:#302,9025>
-
- <:#604,9025>' AddAccelerator - Get either an amipro function or macro, and a key then make it an
-
- <:#302,9025>' accelerator.
-
- <:#302,9025>'
-
- <:#302,9025><:>FUNCTION <:ZAddAccelerator>AddAccelerator<:Z~AddAccelerator><:>(amifuncnt, amifuns, menuids)
-
- <:#302,9025>menuid = 0
-
- <:#302,9025>macroname = ""
-
- <:#302,9025>action = ""
-
- <:#302,9025>itemnum = 0
-
- <:#302,9025>accel = 0
-
- <:#302,9025>temp = ""
-
- <:#302,9025>stat = 2
-
- <:#604,9025>while (stat != 0 and stat != 1) ' Do this till they cancel or ok it.
-
- <:#302,9025> FillEdit(1005, action)
-
- <:#302,9025><:><:> ShowAccel(accel)
-
- <:#302,9025> if (0 != Assign(&stat, DialogBox(".", "addaccel")))
-
- <:#302,9025><:><:> accel = DetermineAccel()
-
- <:#302,9025> endif
-
- <:#302,9025> switch stat
-
- <:#604,9025> case 4 ' They push the select macro
-
- <:#604,9025> if ("" != Assign(&temp, GetMacro())) ' Pick a macro
-
- <:#302,9025> macroname = temp ' yes update it
-
- <:#302,9025> action = macroname
-
- <:#302,9025> menuid = 0 ' And zero the menuid
-
- <:#302,9025> endif
-
- <:#302,9025> case 3 ' AmiPro Function
-
- <:#604,9025> if (0 != Assign(&itemnum, GetAmiPro(&amifuns, amifuncnt)))
-
- <:#302,9025> macro = ""
-
- <:#302,9025> menuid = *menuids(itemnum)
-
- <:#302,9025> action = *amifuns(itemnum)
-
- <:#302,9025> endif
-
- <:#302,9025> endswitch
-
- <:#302,9025>wend
-
- <:#302,9025>
-
- <:#302,9025>if ((stat) and (accel != 0) and ((menuid != 0) or (macroname != "")))
-
- <:#302,9025> if getopenfilecount() << 1
-
- <:#302,9025> new("~default.sty", 0, 0)
-
- <:#302,9025> endif
-
- <:#302,9025> if (menuid != 0)
-
- <:#302,9025> Onkey(accel, menuid, "")
-
- else
-
- <:#302,9025> OnKey(accel, 0, macroname)
-
- <:#302,9025> endif
-
- <:#302,9025> if (Decide("Make this permanent?"))
-
- <:#302,9025><:><:><:><:><:><:> AddToAutoexec(0, 0, menuid, macroname, 0, 0, accel)
-
- <:#302,9025> endif
-
- <:#302,9025>elseif (1 = stat) ' did they say ok but not specify enough stuff
-
- <:#302,9025> Message("Not all necessary information found")
-
- <:#302,9025>endif
-
- <:#302,9025>END FUNCTION
-
- <:#302,9025>
-
- <:#604,9025>' DetermineAccel - turn the letter and the shift state check boxes into a number.
-
- <:#302,9025>
-
- <:#302,9025><:ZDetermineAccel>FUNCTION DetermineAccel()<:Z~DetermineAccel>
-
- <:#302,9025>defstr fkey;
-
- <:#302,9025>accel = 0 ' Assume they did not hit any thing
-
- <:#302,9025>key = GetDialogField$(8003) ' Get the letter
-
- <:#302,9025>if ("" != key) ' they type something?
-
- <:#302,9025> if (1 = len(key)) ' Single letter?
-
- <:#604,9025> ' The UCase is necessary because what
-
- <:#604,9025> ' we really want is the virtual key.
-
- <:#604,9025> accel = asc(UCase$(Left$(key, 1))); ' Yes, turn it into a virtual key
-
- <:#302,9025> else
-
- <:#604,9025> ' We only accept function keys here, they must be of the form "Fx" where the
-
- <:#604,9025> ' x is 1 - 12. So first make sure that the first letter is a F.
-
- <:#604,9025> ' Then make sure the rest of it is numeric. While we have it use assign to
-
- <:#302,9025> ' set fkey to that value.
-
- <:#302,9025> if ("F" = UCase$(Left$(key, 1)))
-
- <:#302,9025> AND IsNumeric(Assign(&fkey, Right$(key, Len(key) - 1)))
-
- <:#604,9025> ' Set accel to the virtual key F0. NOTE the BracketsToBin is
-
- <:#604,9025> ' necessary because asc returns the value of the first character of its
-
- <:#604,9025> ' input. Since there is no F0, assign it to F1 then subtract 1.
-
- <:#302,9025> accel = asc(BracketsToBin("<[>F1]")) - 1
-
- <:#604,9025> accel = accel + fkey; ' Bump it up to the proper value
-
- <:#302,9025> else
-
- Message("Invalid key. It must be A - Z or F1 to F12");
-
- <:#302,9025> return 0;
-
- <:#302,9025> endif
-
- <:#302,9025> endif
-
- <:#302,9025> if (GetDialogField$(21)) ' Now add in the shift states.
-
- <:#302,9025> accel = accel | 0x4000;
-
- <:#302,9025> endif
-
- <:#302,9025> if (GetDialogField$(22))
-
- <:#302,9025> accel = accel | 0x1000;
-
- <:#302,9025> endif
-
- <:#302,9025> if (GetDialogField$(23))
-
- <:#302,9025> accel = accel | 0x2000;
-
- <:#302,9025> endif
-
- <:#302,9025>endif
-
- <:#302,9025>
-
- <:#302,9025>return accel;
-
- <:#302,9025>END FUNCTION
-
- <:#302,9025>'
-
- <:#302,9025>' ShowAccel - given the accelerate prime the dialog box.
-
- <:#302,9025>
-
- <:#302,9025><:ZShowAccel>FUNCTION ShowAccel(accel)<:Z~ShowAccel>
-
- <:#302,9025>if (0 != accel)
-
- <:#604,9025> FillEdit(21, accel & 0x4000); ' Set the check boxes for ctrl, shift and alt
-
- <:#302,9025> FillEdit(22, accel & 0x1000);
-
- <:#302,9025> FillEdit(23, accel & 0x2000);
-
- <:#302,9025> accel = accel & 0xff; ' Strip off the shift states.
-
- <:#302,9025> lowf = asc(BracketsToBin("<[>f1]")) ' Get virtual key for F1.
-
- <:#302,9025> if (lowf <<= accel AND accel <<= (lowf + 12))
-
- <:#302,9025> ' Create the "Fx" using strcat$.
-
- <:#302,9025> FillEdit(8003, strcat$("F", chr$(0x31 + (accel - lowf))))
-
- <:#302,9025> else
-
- <:#302,9025> FillEdit(8003, chr$(accel))
-
- <:#302,9025> endif
-
- <:#302,9025>endif
-
- END FUNCTION<:p<* >>
-
- <:#302,9025>
-
- <:#604,9025>' AddAccelStuff - given the itemname (what will show on the menu) add in a accelerator
-
- <:#302,9025>' key of the form CTRL+Z or ALT+F4
-
- <:#302,9025>
-
- <:#302,9025><:ZAddAccelStuff>FUNCTION AddAccelStuff(itemname, accel)<:Z~AddAccelStuff>
-
- <:#302,9025>shift = "";
-
- <:#302,9025>if (accel & 0x4000)
-
- <:#302,9025> shift = strcat$(shift, "Ctrl+")
-
- <:#302,9025>endif
-
- <:#302,9025>if (accel & 0x1000)
-
- <:#302,9025> shift = strcat$(shift, "Shift+");
-
- <:#302,9025>endif
-
- <:#302,9025>if (accel & 0x2000)
-
- <:#302,9025> shift = strcat$(shift, "Alt+");
-
- <:#302,9025>endif
-
- <:#302,9025>accel = accel & 0xff; ' Strip off the shift states.
-
- <:#302,9025>lowf = asc(BracketsToBin("<[>f1]")) ' Get virtual key for F1.
-
- <:#302,9025>if (lowf <<= accel AND accel <<= (lowf + 12))
-
- <:#302,9025> ' Create the "Fx" using strcat$.
-
- <:#302,9025> text = strcat$("F", chr$(0x31 + (accel - lowf)))
-
- <:#302,9025>else
-
- <:#302,9025> text = chr$(accel)
-
- <:#302,9025>endif
-
- <:#302,9025>shift = strcat$(shift, text);
-
- <:#302,9025>return strcat$(itemname, " ", shift);
-
- <:#302,9025>END FUNCTION
-
- <:#302,9025>
-
- <:#302,9025>' :LoadMenus - fill the callers array with top level menu names
-
- <:#302,9025>'
-
- <:#302,9025>FUNCTION <:ZLoadMenus>LoadMenus<:Z~LoadMenus>(menus)
-
- <:#302,9025>
-
- <:#302,9025>*menus(1) = "╬─╝■(&F)";
-
- <:#302,9025>*menus(2) = "▒α╝¡(&E)";
-
- <:#302,9025>*menus(3) = "▓Θ┐┤(&V)";
-
- <:#302,9025>*menus(4) = "╬─╫╓(&T)";
-
- <:#302,9025>*menus(5) = "╤∙╩╜(&S)";
-
- <:#302,9025>*menus(6) = "░µ├µ(&P)";
-
- <:#302,9025>*menus(7) = "═╝╬─┐≥(&R)";
-
- <:#302,9025>*menus(8) = "╣ñ╛▀(&L)";
-
- <:#302,9025>return 8
-
- END FUNCTION<:p<* >>
-
- <:#302,9025>'
-
- <:#604,9025>' GetMacro - put up the macro list dialog box, and let the user pick a macro.
-
- <:#302,9025>' Return the macroname or a null string if they canceled out.
-
- <:#302,9025><:><:ZGetMacro>Function GetMacro<:Z~GetMacro><:>()
-
- <:#302,9025>onerror endit
-
- <:#302,9025>oncancel endit
-
- <:#302,9025>StatusBarMsg("One moment please...")
-
- <:#604,9025>DOSchdir(GetMacPath$()) ' Change to macro directory before the dialogbox
-
- <:#302,9025>FillEdit(9001, "*.smm")
-
- <:#302,9025>StatusBarMsg("")
-
- <:#302,9025>if (1 = DialogBox(".", "macrolst"))
-
- <:#302,9025>
-
- <:#604,9025> ' GetDialogField will only return the filename, we want the entire path, so
-
- <:#604,9025> ' concatenate it with the current directory (the dialog box may have changed it)
-
- <:#604,9025> ' then lowercase everything so it looks better in the top level dialog box.
-
- <:#302,9025> macname = lcase$(strcat$(GetCurrentDir$(), GetDialogField$(8001)));
-
- <:#302,9025>else
-
- <:#302,9025> macname = "" ' cancel return null string.
-
- <:#302,9025>endif
-
- <:#302,9025>endit:
-
- <:#302,9025>return macname;
-
- <:#302,9025>StatusBarMsg("")
-
- END FUNCTION<:p<* >>
-
- <:#302,9025>' LoadAmiFuns - open the control file and load the two arrays.
-
- <:#604,9025>' This control file contains one line entries, each havig two fields. The first is a
-
- <:#302,9025>' description of the function, the next it the MenuId.
-
- <:#302,9025>'
-
- <:#302,9025><:ZLoadAmiFuns>FUNCTION LoadAmiFuns<:Z~LoadAmiFuns>(names, menuids)
-
- <:#302,9025>onerror endit
-
- <:#302,9025>oncancel endit
-
- <:#302,9025>StatusBarMsg("Loading control files...") ' Tell en to wait
-
- <:#302,9025>cnt = 0
-
- <:#302,9025>hourglass(1)
-
- <:#302,9025>defstr line. fid, line;
-
- <:#604,9025>if (0 != Assign(&fid, fopen(strcat$(GetMacPath$(),"amifuns"), "r"))) ' File open ok?
-
- <:#302,9025> while (-1 != Assign(&line, fgets$(fid))) ' Read till end of file
-
- <:#302,9025> cnt = cnt + 1 ' bump the count
-
- <:#302,9025> name = StrField$(line, 1, "`") ' grab out the
-
- <:#302,9025> num = StrField$(line, 2, "`"); ' name and number
-
- <:#302,9025> *names(cnt) = name; ' and stuff the arrays
-
- <:#302,9025> *menuids(cnt) = num;
-
- <:#302,9025> wend
-
- <:#302,9025> fclose(fid)
-
- <:#302,9025>else
-
- <:#302,9025> Message("Failed to open function file AMIFUNS")
-
- <:#302,9025>endif
-
- <:#302,9025>endit:
-
- <:#302,9025>hourglass(0)
-
- <:#302,9025>StatusBarMsg("")
-
- <:#302,9025>return cnt
-
- END FUNCTION<:p<* >>
-
- <:#302,9025>'
-
- <:#302,9025>' GetAmiPro - let them pick an AmiPro function from the passed list
-
- <:#302,9025>' Return the index into the passed array or 0 if the user canceled.
-
- <:#302,9025><:><:ZGetAmiPro>FUNCTION GetAmiPro<:Z~GetAmiPro><:>(names, cnt)
-
- <:#302,9025>onerror endit
-
- <:#302,9025>oncancel endit
-
- <:#302,9025>StatusBarMsg("One moment please...")
-
- <:#302,9025>hourglass(1)
-
- <:#302,9025>FillEdit(8000, &names)
-
- <:#302,9025>hourglass(0)
-
- <:#302,9025>endit:
-
- <:#302,9025>StatusBarMsg("")
-
- <:#302,9025>i = 0 ' set default return status
-
- <:#302,9025>if 1 = DialogBox(".", "funclst") ' They hit OK?
-
- <:#302,9025> selected = GetDialogField$(9000) ' Yes, get the text
-
- <:#302,9025> for i = 1 to cnt ' Now run through the array
-
- <:#302,9025> if selected = *names(i) ' to find the index
-
- <:#302,9025> break
-
- <:#302,9025> endif
-
- <:#302,9025> next
-
- <:#302,9025>endif
-
- <:#302,9025>return i
-
- <:#302,9025>END FUNCTION
-
- <:p<* >>
-
- <:#302,9025>'
-
- <:#604,9025>' AddToAutoExec - Add lines to the autoexec.smm file that will add a new menu item
-
- <:#302,9025>'
-
- <:#604,9025><:ZAddToAutoExec>FUNCTION AddToAutoexec<:Z~AddToAutoExec>(menuname, itemname, menuid, macroname, helptext, pos, accel)
-
- <:#302,9025>declare OpenAutoExec()
-
- <:#302,9025><:><:>OpenAutoExec() ' open autoexec.smm and position
-
- <:#302,9025>
-
- <:#302,9025>if (accel != 0) ' This one have an accelerator?
-
- <:#302,9025> type("accel = {accel}<[>enter]")
-
- <:#302,9025> type("menuid = {menuid}<[>enter]")
-
- <:#302,9025> type("macroname = ""{macroname}""<[>enter]")
-
- <:#302,9025> type("OnKey(accel, menuid, macroname)")
-
- <:#302,9025>endif
-
- <:#302,9025>if (0 != menuname)
-
- <:#302,9025> type("menuname = ""{menuname}""<[>enter]") ' make variable assignments
-
- <:#604,9025> type("itemname = ""{itemname}""<[>enter]") ' so the AddmenuItem line wont be to long.
-
- <:#302,9025> if (0 != menuid) ' We adding an AmiPro Function?
-
- <:#302,9025> type("menuid = {menuid}<[>enter]") ' Yes
-
- <:#302,9025> if (0 = pos)
-
- <:#604,9025> type("AddmenuItem(1, {{menuname}, {{itemname}, {{menuid})")
-
- <:#302,9025> else
-
- <:#302,9025> pos = pos - 1;
-
- <:#302,9025> type("pos = {pos}<[>enter]")
-
- <:#604,9025> type("InsertMenuItem(1, {{menuname}, {{pos}, {{itemname}, {{menuid})")
-
- <:#302,9025> endif
-
- <:#302,9025> else
-
- <:#604,9025> type("macroname = ""{macroname}""<[>enter]") ' its a macro.
-
- <:#302,9025> type("helptext = ""{helptext}""<[>enter]")
-
- <:#302,9025> if (0 = pos)
-
- <:#604,9025> type("AddmenuItem(1, {{menuname}, {{itemname}, {{macroname}, {{helptext})")
-
- <:#302,9025> else
-
- <:#302,9025> pos = pos - 1;
-
- <:#302,9025> type("pos = {pos}<[>enter]");
-
- <:#302,9025> type("InsertMenuItem(1, {{menuname}, {{pos},");
-
- <:#302,9025> type(" {{itemname}, {{macroname}, {{helptext})");
-
- <:#302,9025> endif
-
- <:#302,9025> endif
-
- <:#302,9025>endif
-
- Save() ' and save it
-
- <:#302,9025>FileClose() ' and close it
-
- <:#302,9025>END FUNCTION
-
- <:#302,9025>
-
- <:#302,9025>' DelFromAutoExec - Add lines in the autoexec to delete a menu item.
-
- <:#302,9025>
-
- <:#302,9025><:ZDelFromAutoExec>FUNCTION DelFromAutoexec(<:Z~DelFromAutoExec>menuname, itemname)
-
- <:#302,9025>declare OpenAutoExec()
-
- <:#302,9025>OpenAutoExec() ' open autoexec.smm and position
-
- <:#302,9025>type("menuname = ""{menuname}""<[>enter]") ' make variable assignments
-
- <:#604,9025>type("itemname = ""{itemname}""<[>enter]") ' so the AddmenuItem statement wont be to long.
-
- <:#302,9025>type("DeleteMenuItem(1, {{menuname}, {{itemname})")
-
- <:#302,9025>Save() ' and save it
-
- <:#302,9025>FileClose() ' and close it
-
- <:#302,9025>END FUNCTION
-
- '<:p<* >>
-
- <:#604,9025>' OpenAutoExec - Open-Create the autoexec.smm then position the insertion point just before
-
- <:#302,9025>' the first END FUNCTION
-
- <:#302,9025>'
-
- <:#302,9025><:ZOpenAutoExec>FUNCTION OpenAutoExec(<:Z~OpenAutoExec>)
-
- <:#302,9025>defstr fid;
-
- <:#302,9025><:ZMACUTEMP><:Z~MACUTEMP>auto = FindAutoExec(); ' Determine where the autoexec is
-
- <:#302,9025>if (0 = Assign(&fid, fopen(auto, "r"))) ' Does it exist?
-
- <:#302,9025> new("~default.sty", 0, 0) ' No let ami create it.
-
- <:#302,9025> type("FUNCTION auto()<[>enter]") ' And fill in an empty
-
- <:#302,9025> type("END FUNCTION<[>enter]") ' Function - End Function Pait
-
- <:#302,9025> type("<[>ctrlhome]") ' Position at top of file
-
- <:#302,9025> saveas(auto, 32,"", "") ' Create it.
-
- <:#302,9025>else
-
- <:#302,9025> fclose(fid) ' it existed. so close this
-
- <:#302,9025> FileOpen(auto, 1, "") ' let ami open
-
- <:#302,9025>endif
-
- <:#302,9025>Replace(0, 0, 24576, "End function", "") ' position at first end function
-
- <:#302,9025>type("<[>home]") ' before the End
-
- <:#302,9025>type("<[>enter]") ' create a line
-
- <:#302,9025>type("<[>up]") ' position on that line
-
- <:#302,9025>END FUNCTION ' that all folks
-
- <:#302,9025>'
-
- <:#604,9025>' FindAutoExec - determine where the autoexec.smm file is. If we can find it in the macro
-
- <:#302,9025>' directory or the docs directory, return the amipro directory.
-
- <:#302,9025>'
-
- <:#302,9025><:ZFindAutoExec>FUNCTION FindAutoExec()<:Z~FindAutoExec>
-
- <:#302,9025>defstr fid;
-
- <:#302,9025>auto = strcat$(GetMacPath$(), "autoexec.smm") ' check macro dir first
-
- <:#302,9025>if (0 = Assign(&fid, fopen(auto, "r"))) ' Does it exist?
-
- <:#302,9025> auto = strcat$(GetDocPath$(), "autoexec.smm") ' Now the docs dir
-
- <:#302,9025> if (0 = Assign(&fid, fopen(auto, "r"))) ' Does it exist?
-
- <:#604,9025> auto = strcat$(GetAmiDirectory$(), "autoexec.smm") ' lastly amipro dir
-
- <:#302,9025> else
-
- <:#302,9025> fclose(fid)
-
- <:#302,9025> endif
-
- <:#302,9025>else
-
- <:#302,9025> fclose(fid)
-
- <:#302,9025>endif
-
- <:#302,9025>return auto
-
- END FUNCTION<:p<* >>
-
- <:#604,9025>' LocateHmenu Given a menuname (File, Edit etc) return the handle to that menu.
-
- <:#302,9025>
-
- <:#302,9025><:ZLocateHmenu>FUNCTION LocateHmenu(menu)<:Z~LocateHmenu>
-
- <:#302,9025>hWnd = GetActiveWindow() ' Who is active
-
- <:#302,9025>hPrevWnd = hWnd;
-
- <:#604,9025>while 0 != Assign(&hWnd, GetParent(hWnd)) ' Go til we find a window with no parent
-
- <:#302,9025> hPrevWnd = hWnd;
-
- <:#302,9025>wend
-
- <:#302,9025>hWnd = hPrevWnd;
-
- <:#302,9025>hMenu = GetMenu(hWnd) ' Get the hMenu for the menu bar
-
- <:#302,9025><:><:><:><:><:><:>return FindMenu(hMenu, Menu) ' Find the menu
-
- <:#302,9025>END FUNCTION
-
- <:#302,9025>
-
- <:#604,9025>' DelMenu - pass us a menu name (File, Edit etc) and we will display a list box with all items
-
- <:#302,9025>' From that menu and let the user delete one.
-
- <:#302,9025>FUNCTION <:ZDelMenu>DelMenu<:Z~DelMenu>(Menu)
-
- <:#302,9025>hWnd = GetActiveWindow()
-
- <:#302,9025>hPrevWnd = hWnd;
-
- <:#302,9025>while 0 != Assign(&hWnd, GetParent(hWnd))
-
- <:#302,9025> hPrevWnd = hWnd;
-
- <:#302,9025>wend
-
- <:#302,9025>hWnd = hPrevWnd;
-
- <:#302,9025>hMenu = GetMenu(hWnd)
-
- <:#302,9025><:><:><:><:><:><:>if (0 != Assign(&hMenu, FindMenu(hMenu, Menu))) ' If we can find that menu
-
- <:#302,9025><:><:><:><:> LoadTheBox(hMenu, 9000); ' Load the list box
-
- <:#302,9025> if (1 = DialogBox(".", "DelMenu")) ' Let em pick one
-
- <:#302,9025> item = GetDialogField$(9000)
-
- <:#302,9025> DeleteMenuItem(1, menu, item) ' Delete it
-
- <:#302,9025> if (Decide("Make this permanent?"))
-
- <:#302,9025> DelFromAutoExec(menu, item)
-
- <:#302,9025> endif
-
- <:#302,9025> endif
-
- <:#302,9025>endif
-
- END FUNCTION<:p<* >>
-
- <:#604,9025>' LoadTheBox - given a hMenu and id load it with all menu items, includeing seiarators.
-
- <:#302,9025>'
-
- <:#302,9025>FUNCTION <:ZLoadTheBox>LoadTheBox<:Z~LoadTheBox>(hMenu, id)
-
- <:#302,9025>defstr menuname;
-
- <:#302,9025>menucnt = GetMenuItemCount(hMenu) 'Find out how many
-
- <:#302,9025>for i = 0 to menucnt - 1
-
- <:#302,9025> GetMenuString(hMenu, i, &menuname, 80, MF_BYPOSITION) ' Get one
-
- <:#302,9025> if (0 << len(menuname))
-
- <:#302,9025> FillEdit(id, menuname)
-
- <:#302,9025> else
-
- <:#302,9025> FillEdit(id, "------------------------------------")
-
- <:#302,9025> endif
-
- <:#302,9025>next
-
- <:#302,9025>
-
- <:#302,9025>END FUNCTION
-
- <:#302,9025>'
-
- <:#302,9025>' FindMenu - Given a hMenu and name, return a handle that that menu.
-
- <:#302,9025>FUNCTION <:ZFindMenu>FindMenu<:Z~FindMenu>(hMenu, Name)
-
- <:#302,9025>defstr menuname;
-
- <:#302,9025>menucnt = GetMenuItemCount(hMenu) ' How many
-
- <:#302,9025>for i = 0 to menucnt - 1
-
- <:#302,9025> GetMenuString(hMenu, i, &menuname, 80, MF_BYPOSITION)
-
- <:#302,9025> if (Name = menuname) ' Match?
-
- <:#302,9025> hMenu = GetSubMenu(hMenu, i); ' Yes, get its handle.
-
- <:#302,9025> return hMenu;
-
- <:#302,9025> endif
-
- <:#302,9025>next
-
- <:#302,9025>return 0
-
- <:#302,9025>END FUNCTION
-
- <:#302,9025>
-
- <:p<* >>
-
- <:#302,9025>
-
- <:#302,9025>DIALOG DelMenu
-
- <:#302,9025>-2134376448 4 134 38 132 86 "" "" "Delete Menu Item"
-
- <:#288,9025>FONT 12 "System"
-
- <:#302,9025>86 4 40 14 1 1342242817 "button" "OK" 0
-
- <:#302,9025>86 20 40 14 2 1342242816 "button" "Cancel" 0
-
- <:#302,9025>6 40 120 42 9000 1352728577 "listbox" "" 0
-
- <:#302,9025>6 30 56 8 1000 1342177280 "static" "&Menu items:" 0
-
- <:#302,9025>END DIALOG
-
- <:#302,9025>
-
- <:#302,9025>DIALOG PickMenu
-
- <:#302,9025>-2134376448 6 146 34 131 74 "" "" "Customize Menus"
-
- <:#288,9025>FONT 12 "System"
-
- <:#302,9025>5 14 56 54 9000 1352728579 "listbox" "" 0
-
- <:#302,9025>67 4 58 14 2 1342242816 "button" "Done" 0
-
- <:#302,9025>67 20 58 14 5 1342242816 "button" "&Add..." 0
-
- <:#302,9025>67 36 58 14 6 1342242816 "button" "&Delete..." 0
-
- <:#302,9025>5 4 56 8 1000 1342177280 "static" "&Menus:" 0
-
- <:#302,9025>67 52 58 14 7 1342242816 "button" "A&ccelerators..." 0
-
- <:#302,9025>END DIALOG
-
- <:#302,9025>
-
- <:#302,9025><:>DIALOG AddItem
-
- <:#302,9025>-2134376448 20 51 26 242 104 "" "" "Add Menu Item"
-
- <:#288,9025>FONT 12 "System"
-
- <:#302,9025>6 16 82 8 1000 1342177282 "static" "Name for Menu:" 0
-
- <:#302,9025>90 14 84 12 8000 1350631552 "edit" "" 0
-
- <:#302,9025>6 30 82 8 1006 1342177282 "static" "Insert before:" 0
-
- <:#302,9025>96 76 40 8 1001 1342177280 "static" "Help text:" 0
-
- <:#302,9025>178 38 58 14 3 1342242816 "button" "Add Function..." 0
-
- <:#302,9025>178 54 58 14 4 1342242816 "button" "Add Macro..." 0
-
- <:#302,9025>96 84 138 12 8001 1350631552 "edit" "" 0
-
- <:#302,9025>10 74 18 12 8003 1350631552 "edit" "" 0
-
- <:#302,9025>6 52 86 44 20 1342177287 "button" "Accelerator" 0
-
- <:#302,9025>50 64 38 10 21 1342242819 "button" "Control" 0
-
- <:#302,9025>50 74 38 10 22 1342242819 "button" "Shift" 0
-
- <:#302,9025>50 84 38 10 23 1342242819 "button" "Alt" 0
-
- <:#302,9025>6 4 82 8 1002 1342177282 "static" "Add to menu:" 0
-
- <:#302,9025>196 6 40 14 1 1342242817 "button" "OK" 0
-
- <:#302,9025>196 22 40 14 2 1342242816 "button" "Cancel" 0
-
- <:#302,9025>90 4 84 8 1003 1342177280 "static" "" 0
-
- <:#302,9025>6 42 82 8 1004 1342177282 "static" "Function/macro to add:" 0
-
- <:#302,9025>90 42 84 8 1005 1342177280 "static" "" 0
-
- <:#302,9025>10 64 38 10 1007 1342177280 "static" "Keystroke:" 0
-
- <:#302,9025>90 28 84 58 9500 1344274435 "combobox" "" 0
-
- <:#302,9025>END DIALOG
-
-
- <:#302,9025>DIALOG AddAccel
-
- <:#302,9025>-2134376448 12 91 28 208 72 "" "" "Add Accelerator"
-
- <:#302,9025>FONT 8 "Helv"
-
- <:#302,9025>150 36 52 14 3 1342242816 "button" "Function..." 0
-
- <:#302,9025>150 52 52 14 4 1342242816 "button" "Macro..." 0
-
- <:#302,9025>10 34 18 12 8003 1350631552 "edit" "" 0
-
- <:#302,9025>6 14 90 44 20 1342177287 "button" "Accelerator" 0
-
- <:#302,9025>50 26 36 10 21 1342242819 "button" "Control" 0
-
- <:#302,9025>50 36 38 10 22 1342242819 "button" "Shift" 0
-
- <:#302,9025>50 46 38 10 23 1342242819 "button" "Alt" 0
-
- <:#302,9025>162 4 40 14 1 1342242817 "button" "OK" 0
-
- <:#302,9025>162 20 40 14 2 1342242816 "button" "Cancel" 0
-
- <:#302,9025>6 4 64 10 1004 1342177280 "static" "Function/macro:" 0
-
- <:#302,9025>74 4 80 10 1005 1342177280 "static" "text" 0
-
- <:#302,9025>10 26 38 8 1007 1342177280 "static" "Keystroke:" 0
-
- <:#302,9025>END DIALOG
-
- <:#302,9025>
-
- <:#302,9025>DIALOG MacroLst
-
- <:#302,9025>-2134376448 6 108 30 154 90 "" "" "Add Macro "
-
- <:#302,9025>FONT 8 "Helv"
-
- <:#302,9025>8 16 60 12 8001 1350631552 "edit" "" 0
-
- <:#302,9025>8 32 60 54 9001 1352728579 "listbox" "" 0
-
- <:#302,9025>72 38 74 8 7999 1342177280 "static" "" 0
-
- <:#302,9025>106 4 40 14 1 1342242817 "button" "OK" 0
-
- <:#302,9025>106 20 40 14 2 1342242816 "button" "Cancel" 0
-
- <:#302,9025>8 6 68 8 1001 1342177280 "static" "Macro to execute:" 0
-
- <:#302,9025>END DIALOG
-
- <:#302,9025>
-
- <:#302,9025>DIALOG FuncLst
-
- <:#302,9025>-2134376448 4 112 28 158 68 "" "" "Add Function"
-
- <:#302,9025>FONT 8 "Helv"
-
- <:#302,9025>6 16 100 46 9000 1352728579 "listbox" "" 0
-
- <:#302,9025>6 6 66 8 1000 1342177280 "static" "&Ami Pro functions:" 0
-
- <:#302,9025>112 6 40 14 1 1342242817 "button" "OK" 0
-
- <:#302,9025>112 22 40 14 2 1342242816 "button" "Cancel" 0
-
- END DIALOG
-
- >
-
- [Embedded]
- 00038977
- >
- [macsum] 26
- CustMenu 0 0 8 41
- AddItem 594 6 13 82
- ComboCallBack 2446 3 3 177
- InitCombo 2556 1 5 186
- AddAccelerator 3036 3 9 206
- DetermineAccel 4026 0 4 255
- ShowAccel 4673 1 2 297
- AddAccelStuff 5064 2 4 316
- LoadMenus 5569 1 1 341
- GetMacro 5809 0 2 356
- LoadAmiFuns 6099 2 7 380
- GetAmiPro 6582 2 3 407
- AddToAutoexec 6942 7 1 431
- DelFromAutoexec 7833 2 1 472
- OpenAutoExec 8011 0 3 485
- FindAutoExec 8366 0 3 507
- LocateHmenu 8720 1 4 524
- DelMenu 8987 1 5 537
- LoadTheBox 9477 2 4 558
- FindMenu 9841 2 4 573
- DelMenu 10184 0 -1 588
- PickMenu 10462 0 -1 597
- AddItem 10844 0 -1 608
- AddAccel 11921 0 -1 633
- MacroLst 12594 0 -1 650
- FuncLst 12953 0 -1 661
- [macse]
- 14 CustMenu
- 5 20
- 21 1 [X]
- 5 100
- 21 2 [X]
- 5 100
- 21 3 [X]
- 16 LoadMenus &1
- 13
- 8 4
- 16 LoadAmiFuns &2 &3
- 13
- 8 5
- 0 789 ""
- 0 31 8000 &1
- 5 1
- 0 26 "." "PickMenu"
- 13
- 0 805 &6 [X]
- 13
- 18 5
- 11 00000582
- 0 27 9000
- 13
- 8 7
- 7 ""
- 6 7
- 18 1
- 11 00000555
- 5 5
- 6 6
- 18 0
- 11 00000373
- 0 296 1
- 16 AddItem "{7}" "{5}" &2 &3 "{4}" &1
- 0 296 0
- 10 00000555
- 10 00000555
- 5 6
- 6 6
- 18 0
- 11 00000464
- 0 296 1
- 16 DelMenu "{7}"
- 0 296 0
- 10 00000555
- 10 00000555
- 5 7
- 6 6
- 18 0
- 11 00000555
- 0 296 1
- 16 AddAccelerator "{5}" &2 &3
- 0 296 0
- 10 00000555
- 0 31 8000 &1
- 10 00000144
- 6 0
- 15
- 9
- 14 AddItem
- 5 0
- 8 7
- 7 ""
- 8 8
- 7 ""
- 8 9
- 7 ""
- 8 10
- 7 ""
- 8 11
- 7 ""
- 8 12
- 5 0
- 8 13
- 5 0
- 8 14
- 5 0
- 8 15
- 5 0
- 8 16
- 0 271 "Cust1" 1
- 0 271 "Cust2" 1
- 0 264 "Cust1" 0
- 16 LocateHmenu "{0}"
- 13
- 0 264 "Cust2" [X]
- 5 2
- 8 17
- 6 17
- 5 0
- 18 1
- 6 17
- 5 1
- 18 1
- 1 1
- 11 00000957
- 0 31 1003 "{0}"
- 0 31 1005 "{10}"
- 0 31 8000 "{9}"
- 0 31 8001 "{11}"
- 0 31 8002 "{14}"
- 16 ShowAccel "{15}"
- 0 802
- 13
- 0 16 [X] "!InitCombo"
- 13
- 0 41 0 [X]
- 0 802
- 13
- 0 16 [X] "!ComboCallback"
- 13
- 0 41 9500 [X]
- 5 0
- 0 26 "." "additem"
- 13
- 0 805 &17 [X]
- 13
- 18 1
- 11 00000661
- 0 27 8000
- 13
- 8 9
- 0 27 8001
- 13
- 8 11
- 0 265 "Cust1"
- 13
- 8 14
- 16 DetermineAccel
- 13
- 8 15
- 5 4
- 6 17
- 18 0
- 11 00000797
- 7 ""
- 16 GetMacro
- 13
- 0 805 &12 [X]
- 13
- 18 1
- 11 00000784
- 6 12
- 8 8
- 6 8
- 8 10
- 5 0
- 8 7
- 10 00000944
- 5 3
- 6 17
- 18 0
- 11 00000944
- 5 0
- 16 GetAmiPro &2 "{1}"
- 13
- 0 805 &13 [X]
- 13
- 18 1
- 11 00000944
- 7 ""
- 8 18
- 6 13
- 22 3
- 8 7
- 6 13
- 22 2
- 8 10
- 10 00000231
- 0 266 "Cust1"
- 0 266 "Cust2"
- 6 17
- 6 0
- 7 ""
- 18 1
- 6 7
- 5 0
- 18 1
- 6 8
- 7 ""
- 18 1
- 1 2
- 1 1
- 1 1
- 11 00001767
- 6 15
- 11 00001130
- 16 AddAccelStuff "{9}" "{15}"
- 13
- 8 9
- 6 7
- 5 0
- 18 1
- 11 00001397
- 5 0
- 6 14
- 18 0
- 11 00001229
- 0 516 1 "{0}" "{9}" "{7}"
- 10 00001276
- 6 14
- 5 1
- 3 1
- 0 527 1 "{0}" [X] "{9}" "{7}"
- 6 15
- 11 00001384
- 0 1050
- 13
- 5 1
- 18 5
- 11 00001359
- 2 101 1 "~default.sty" 0 0
- 2 422 1 "{15}" "{7}" ""
- 10 00001635
- 5 0
- 6 14
- 18 0
- 11 00001474
- 0 516 1 "{0}" "{9}" "{8}" "{11}"
- 10 00001528
- 6 14
- 5 1
- 3 1
- 0 527 1 "{0}" [X] "{9}" "{8}" "{11}"
- 6 15
- 11 00001635
- 0 1050
- 13
- 5 1
- 18 5
- 11 00001611
- 2 101 1 "~default.sty" 0 0
- 2 422 1 "{15}" 0 "{8}"
- 0 2 "Keep settings for next session?"
- 13
- 11 00001754
- 16 AddToAutoexec "{0}" "{9}" "{7}" "{8}" "{11}" "{14}" "{15}"
- 10 00001840
- 5 1
- 6 17
- 18 0
- 11 00001840
- 0 3 "Not all necessary information found"
- 6 6
- 15
- 9
- 14 ComboCallBack
- 0 44 "{0}" "{1}"
- 13
- 8 4
- 0 1036 "{4}" 1031 0 0
- 13
- 8 5
- 0 264 "Cust1" "{5}"
- 6 3
- 15
- 9
- 14 InitCombo
- 0 265 "Cust2"
- 13
- 8 3
- 0 43 "{0}" 9500 ""
- 0 284 "user,GetMenuItemCount,HH" "{3}"
- 13
- 8 4
- 5 0
- 8 5
- 6 4
- 5 1
- 3 1
- 6 5
- 18 2
- 12 00000202
- 10 00000405
- 5 1
- 6 5
- 3 0
- 8 5
- 10 00000117
- 0 284 "user,GetMenuString,HHHFHH" "{3}" "{5}" &2 80 1024
- 5 0
- 0 14 "{2}"
- 13
- 18 5
- 11 00000336
- 0 43 "{0}" 9500 "{2}"
- 10 00000392
- 0 43 "{0}" 9500 "------------------------------------"
- 10 00000169
- 0 44 "{0}" 9500
- 13
- 0 265 "Cust1"
- 13
- 0 1036 [X] 1038 [X] 0
- 6 1
- 15
- 9
- 14 AddAccelerator
- 5 0
- 8 4
- 7 ""
- 8 5
- 7 ""
- 8 6
- 5 0
- 8 7
- 5 0
- 8 8
- 7 ""
- 8 9
- 5 2
- 8 10
- 6 10
- 5 0
- 18 1
- 6 10
- 5 1
- 18 1
- 1 1
- 11 00000567
- 0 31 1005 "{6}"
- 16 ShowAccel "{8}"
- 5 0
- 0 26 "." "addaccel"
- 13
- 0 805 &10 [X]
- 13
- 18 1
- 11 00000278
- 16 DetermineAccel
- 13
- 8 8
- 5 4
- 6 10
- 18 0
- 11 00000411
- 7 ""
- 16 GetMacro
- 13
- 0 805 &9 [X]
- 13
- 18 1
- 11 00000398
- 6 9
- 8 5
- 6 5
- 8 6
- 5 0
- 8 4
- 10 00000554
- 5 3
- 6 10
- 18 0
- 11 00000554
- 5 0
- 16 GetAmiPro &1 "{0}"
- 13
- 0 805 &7 [X]
- 13
- 18 1
- 11 00000554
- 7 ""
- 8 11
- 6 7
- 22 2
- 8 4
- 6 7
- 22 1
- 8 6
- 10 00000093
- 6 10
- 6 8
- 5 0
- 18 1
- 6 4
- 5 0
- 18 1
- 6 5
- 7 ""
- 18 1
- 1 2
- 1 1
- 1 1
- 11 00000905
- 0 1050
- 13
- 5 1
- 18 5
- 11 00000714
- 2 101 1 "~default.sty" 0 0
- 6 4
- 5 0
- 18 1
- 11 00000780
- 2 422 1 "{8}" "{4}" ""
- 10 00000803
- 2 422 1 "{8}" 0 "{5}"
- 0 2 "Make this permanent?"
- 13
- 11 00000892
- 16 AddToAutoexec 0 0 "{4}" "{5}" 0 0 "{8}"
- 10 00000978
- 5 1
- 6 10
- 18 0
- 11 00000978
- 0 3 "Not all necessary information found"
- 6 3
- 15
- 9
- 14 DetermineAccel
- 5 0
- 8 2
- 0 27 8003
- 13
- 8 3
- 7 ""
- 6 3
- 18 1
- 11 00000623
- 5 1
- 0 14 "{3}"
- 13
- 18 0
- 11 00000184
- 0 806 "{3}" 1
- 13
- 0 18 [X]
- 13
- 0 40 [X]
- 13
- 8 2
- 10 00000472
- 7 "F"
- 0 806 "{3}" 1
- 13
- 0 18 [X]
- 13
- 18 0
- 0 14 "{3}"
- 13
- 5 1
- 3 1
- 0 807 "{3}" [X]
- 13
- 0 805 &1 [X]
- 13
- 0 277 [X]
- 13
- 1 1
- 11 00000409
- 0 784 "[112]"
- 13
- 0 40 [X]
- 13
- 5 1
- 3 1
- 8 2
- 6 2
- 6 1
- 3 0
- 8 2
- 10 00000472
- 0 3 "Invalid key. It must be A - Z or F1 to F12"
- 5 0
- 15
- 9
- 0 27 21
- 13
- 11 00000523
- 6 2
- 5 16384
- 25 2
- 8 2
- 0 27 22
- 13
- 11 00000573
- 6 2
- 5 4096
- 25 2
- 8 2
- 0 27 23
- 13
- 11 00000623
- 6 2
- 5 8192
- 25 2
- 8 2
- 6 2
- 15
- 9
- 6 0
- 15
- 9
- 14 ShowAccel
- 5 0
- 6 0
- 18 1
- 11 00000379
- 6 0
- 5 16384
- 25 1
- 0 31 21 [X]
- 6 0
- 5 4096
- 25 1
- 0 31 22 [X]
- 6 0
- 5 8192
- 25 1
- 0 31 23 [X]
- 6 0
- 5 255
- 25 1
- 8 0
- 0 784 "[112]"
- 13
- 0 40 [X]
- 13
- 8 2
- 6 2
- 6 0
- 18 4
- 6 0
- 6 2
- 5 12
- 3 0
- 18 4
- 1 1
- 11 00000348
- 5 49
- 6 0
- 6 2
- 3 1
- 3 0
- 0 39 [X]
- 13
- 0 16 "F" [X]
- 13
- 0 31 8003 [X]
- 10 00000379
- 0 39 "{0}"
- 13
- 0 31 8003 [X]
- 6 1
- 15
- 9
- 14 AddAccelStuff
- 7 ""
- 8 3
- 6 1
- 5 16384
- 25 1
- 11 00000091
- 0 16 "{3}" "Ctrl+"
- 13
- 8 3
- 6 1
- 5 4096
- 25 1
- 11 00000153
- 0 16 "{3}" "Shift+"
- 13
- 8 3
- 6 1
- 5 8192
- 25 1
- 11 00000213
- 0 16 "{3}" "Alt+"
- 13
- 8 3
- 6 1
- 5 255
- 25 1
- 8 1
- 0 784 "[112]"
- 13
- 0 40 [X]
- 13
- 8 4
- 6 4
- 6 1
- 18 4
- 6 1
- 6 4
- 5 12
- 3 0
- 18 4
- 1 1
- 11 00000411
- 5 49
- 6 1
- 6 4
- 3 1
- 3 0
- 0 39 [X]
- 13
- 0 16 "F" [X]
- 13
- 8 5
- 10 00000432
- 0 39 "{1}"
- 13
- 8 5
- 0 16 "{3}" "{5}"
- 13
- 8 3
- 0 16 "{0}" " " "{3}"
- 13
- 15
- 9
- 6 2
- 15
- 9
- 14 LoadMenus
- 5 1
- 7 "╬─╝■(&F)"
- 23 0
- 5 2
- 7 "▒α╝¡(&E)"
- 23 0
- 5 3
- 7 "▓Θ┐┤(&V)"
- 23 0
- 5 4
- 7 "╬─╫╓(&T)"
- 23 0
- 5 5
- 7 "╤∙╩╜(&S)"
- 23 0
- 5 6
- 7 "░µ├µ(&P)"
- 23 0
- 5 7
- 7 "═╝╬─┐≥(&R)"
- 23 0
- 5 8
- 7 "╣ñ╛▀(&L)"
- 23 0
- 5 8
- 15
- 9
- 6 1
- 15
- 9
- 14 GetMacro
- 20 00000256
- 19 00000256
- 0 789 "One moment please..."
- 0 295
- 13
- 0 781 [X]
- 0 31 9001 "*.smm"
- 0 789 ""
- 5 1
- 0 26 "." "macrolst"
- 13
- 18 0
- 11 00000245
- 0 290
- 13
- 0 27 8001
- 13
- 0 16 [X] [X]
- 13
- 0 17 [X]
- 13
- 8 1
- 10 00000256
- 7 ""
- 8 1
- 6 1
- 15
- 9
- 0 789 ""
- 6 0
- 15
- 9
- 14 LoadAmiFuns
- 20 00000440
- 19 00000440
- 0 789 "Loading control files..."
- 5 0
- 8 3
- 0 296 1
- 5 0
- 0 295
- 13
- 0 16 [X] "amifuns"
- 13
- 0 259 [X] "r"
- 13
- 0 805 &5 [X]
- 13
- 18 1
- 11 00000396
- 5 -1
- 0 257 "{5}"
- 13
- 0 805 &6 [X]
- 13
- 18 1
- 11 00000370
- 6 3
- 5 1
- 3 0
- 8 3
- 0 20 "{6}" 1 "`"
- 13
- 8 7
- 0 20 "{6}" 2 "`"
- 13
- 8 8
- 6 3
- 6 7
- 23 0
- 6 3
- 6 8
- 23 1
- 10 00000191
- 0 260 "{5}"
- 10 00000440
- 0 3 "Failed to open function file AMIFUNS"
- 0 296 0
- 0 789 ""
- 6 3
- 15
- 9
- 6 2
- 15
- 9
- 14 GetAmiPro
- 20 00000102
- 19 00000102
- 0 789 "One moment please..."
- 0 296 1
- 0 31 8000 &0
- 0 296 0
- 0 789 ""
- 5 0
- 8 3
- 5 1
- 0 26 "." "funclst"
- 13
- 18 0
- 11 00000336
- 0 27 9000
- 13
- 8 4
- 5 1
- 8 3
- 6 1
- 6 3
- 18 2
- 12 00000275
- 10 00000336
- 5 1
- 6 3
- 3 0
- 8 3
- 10 00000200
- 6 4
- 6 3
- 22 0
- 18 0
- 11 00000323
- 10 00000336
- 10 00000242
- 6 3
- 15
- 9
- 6 2
- 15
- 9
- 14 AddToAutoexec
- 16 OpenAutoExec
- 6 6
- 5 0
- 18 1
- 11 00000181
- 0 6 "accel = {6}[13]"
- 0 6 "menuid = {2}[13]"
- 0 6 "macroname = ""{3}""[13]"
- 0 6 "OnKey(accel, menuid, macroname)"
- 5 0
- 6 0
- 18 1
- 11 00000861
- 0 6 "menuname = ""{0}""[13]"
- 0 6 "itemname = ""{1}""[13]"
- 5 0
- 6 2
- 18 1
- 11 00000548
- 0 6 "menuid = {2}[13]"
- 5 0
- 6 5
- 18 0
- 11 00000424
- 0 6 "AddmenuItem(1, {{menuname}, {{itemname}, {{menuid})"
- 10 00000535
- 6 5
- 5 1
- 3 1
- 8 5
- 0 6 "pos = {5}[13]"
- 0 6 "InsertMenuItem(1, {{menuname}, {{pos}, {{itemname}, {{menuid})"
- 10 00000861
- 0 6 "macroname = ""{3}""[13]"
- 0 6 "helptext = ""{4}""[13]"
- 5 0
- 6 5
- 18 0
- 11 00000726
- 0 6 "AddmenuItem(1, {{menuname}, {{itemname}, {{macroname}, {{helptext})"
- 10 00000861
- 6 5
- 5 1
- 3 1
- 8 5
- 0 6 "pos = {5}[13]"
- 0 6 "InsertMenuItem(1, {{menuname}, {{pos},"
- 0 6 " {{itemname}, {{macroname}, {{helptext})"
- 2 103 1
- 2 147 1
- 6 7
- 15
- 9
- 14 DelFromAutoexec
- 16 OpenAutoExec
- 0 6 "menuname = ""{0}""[13]"
- 0 6 "itemname = ""{1}""[13]"
- 0 6 "DeleteMenuItem(1, {{menuname}, {{itemname})"
- 2 103 1
- 2 147 1
- 6 2
- 15
- 9
- 14 OpenAutoExec
- 16 FindAutoExec
- 13
- 8 2
- 5 0
- 0 259 "{2}" "r"
- 13
- 0 805 &1 [X]
- 13
- 18 0
- 11 00000237
- 2 101 1 "~default.sty" 0 0
- 0 6 "FUNCTION auto()[13]"
- 0 6 "END FUNCTION[13]"
- 0 6 "[16420]"
- 2 104 1 "{2}" 32 "" ""
- 10 00000270
- 0 260 "{1}"
- 2 102 1 "{2}" 1 ""
- 2 488 1 0 0 24576 "End function" ""
- 0 6 "[36]"
- 0 6 "[13]"
- 0 6 "[38]"
- 6 0
- 15
- 9
- 14 FindAutoExec
- 0 295
- 13
- 0 16 [X] "autoexec.smm"
- 13
- 8 2
- 5 0
- 0 259 "{2}" "r"
- 13
- 0 805 &1 [X]
- 13
- 18 0
- 11 00000317
- 0 268
- 13
- 0 16 [X] "autoexec.smm"
- 13
- 8 2
- 5 0
- 0 259 "{2}" "r"
- 13
- 0 805 &1 [X]
- 13
- 18 0
- 11 00000291
- 0 798
- 13
- 0 16 [X] "autoexec.smm"
- 13
- 8 2
- 10 00000304
- 0 260 "{1}"
- 10 00000330
- 0 260 "{1}"
- 6 2
- 15
- 9
- 6 0
- 15
- 9
- 14 LocateHmenu
- 0 284 "user,GetActiveWindow,H"
- 13
- 8 2
- 6 2
- 8 3
- 5 0
- 0 284 "user,GetParent,HH" "{2}"
- 13
- 0 805 &2 [X]
- 13
- 18 1
- 11 00000169
- 6 2
- 8 3
- 10 00000067
- 6 3
- 8 2
- 0 284 "user,GetMenu,HH" "{2}"
- 13
- 8 4
- 16 FindMenu "{4}" "{0}"
- 13
- 15
- 9
- 6 1
- 15
- 9
- 14 DelMenu
- 0 284 "user,GetActiveWindow,H"
- 13
- 8 2
- 6 2
- 8 3
- 5 0
- 0 284 "user,GetParent,HH" "{2}"
- 13
- 0 805 &2 [X]
- 13
- 18 1
- 11 00000165
- 6 2
- 8 3
- 10 00000063
- 6 3
- 8 2
- 0 284 "user,GetMenu,HH" "{2}"
- 13
- 8 4
- 5 0
- 16 FindMenu "{4}" "{0}"
- 13
- 0 805 &4 [X]
- 13
- 18 1
- 11 00000478
- 16 LoadTheBox "{4}" 9000
- 5 1
- 0 26 "." "DelMenu"
- 13
- 18 0
- 11 00000478
- 0 27 9000
- 13
- 8 5
- 0 520 1 "{0}" "{5}"
- 0 2 "Make this permanent?"
- 13
- 11 00000478
- 16 DelFromAutoExec "{0}" "{5}"
- 6 1
- 15
- 9
- 14 LoadTheBox
- 0 284 "user,GetMenuItemCount,HH" "{0}"
- 13
- 8 4
- 5 0
- 8 5
- 6 4
- 5 1
- 3 1
- 6 5
- 18 2
- 12 00000159
- 10 00000352
- 5 1
- 6 5
- 3 0
- 8 5
- 10 00000074
- 0 284 "user,GetMenuString,HHHFHH" "{0}" "{5}" &3 80 1024
- 5 0
- 0 14 "{3}"
- 13
- 18 5
- 11 00000288
- 0 31 "{1}" "{3}"
- 10 00000339
- 0 31 "{1}" "------------------------------------"
- 10 00000126
- 6 2
- 15
- 9
- 14 FindMenu
- 0 284 "user,GetMenuItemCount,HH" "{0}"
- 13
- 8 4
- 5 0
- 8 5
- 6 4
- 5 1
- 3 1
- 6 5
- 18 2
- 12 00000157
- 10 00000319
- 5 1
- 6 5
- 3 0
- 8 5
- 10 00000072
- 0 284 "user,GetMenuString,HHHFHH" "{0}" "{5}" &3 80 1024
- 6 1
- 6 3
- 18 0
- 11 00000306
- 0 284 "user,GetSubMenu,HHH" "{0}" "{5}"
- 13
- 8 0
- 6 0
- 15
- 9
- 10 00000124
- 5 0
- 15
- 9
- 6 2
- 15
- 9
- DIALOG DelMenu
- -2134376448 4 134 38 132 86 "" "" "Delete Menu Item"
- FONT 12 "System"
- 86 4 40 14 1 1342242817 "button" "OK" 0
- 86 20 40 14 2 1342242816 "button" "Cancel" 0
- 6 40 120 42 9000 1352728577 "listbox" "" 0
- 6 30 56 8 1000 1342177280 "static" "&Menu items:" 0
- DIALOG PickMenu
- -2134376448 6 146 34 131 74 "" "" "Customize Menus"
- FONT 12 "System"
- 5 14 56 54 9000 1352728579 "listbox" "" 0
- 67 4 58 14 2 1342242816 "button" "Done" 0
- 67 20 58 14 5 1342242816 "button" "&Add..." 0
- 67 36 58 14 6 1342242816 "button" "&Delete..." 0
- 5 4 56 8 1000 1342177280 "static" "&Menus:" 0
- 67 52 58 14 7 1342242816 "button" "A&ccelerators..." 0
- DIALOG AddItem
- -2134376448 20 51 26 242 104 "" "" "Add Menu Item"
- FONT 12 "System"
- 6 16 82 8 1000 1342177282 "static" "Name for Menu:" 0
- 90 14 84 12 8000 1350631552 "edit" "" 0
- 6 30 82 8 1006 1342177282 "static" "Insert before:" 0
- 96 76 40 8 1001 1342177280 "static" "Help text:" 0
- 178 38 58 14 3 1342242816 "button" "Add Function..." 0
- 178 54 58 14 4 1342242816 "button" "Add Macro..." 0
- 96 84 138 12 8001 1350631552 "edit" "" 0
- 10 74 18 12 8003 1350631552 "edit" "" 0
- 6 52 86 44 20 1342177287 "button" "Accelerator" 0
- 50 64 38 10 21 1342242819 "button" "Control" 0
- 50 74 38 10 22 1342242819 "button" "Shift" 0
- 50 84 38 10 23 1342242819 "button" "Alt" 0
- 6 4 82 8 1002 1342177282 "static" "Add to menu:" 0
- 196 6 40 14 1 1342242817 "button" "OK" 0
- 196 22 40 14 2 1342242816 "button" "Cancel" 0
- 90 4 84 8 1003 1342177280 "static" "" 0
- 6 42 82 8 1004 1342177282 "static" "Function/macro to add:" 0
- 90 42 84 8 1005 1342177280 "static" "" 0
- 10 64 38 10 1007 1342177280 "static" "Keystroke:" 0
- 90 28 84 58 9500 1344274435 "combobox" "" 0
- DIALOG AddAccel
- -2134376448 12 91 28 208 72 "" "" "Add Accelerator"
- FONT 8 "Helv"
- 150 36 52 14 3 1342242816 "button" "Function..." 0
- 150 52 52 14 4 1342242816 "button" "Macro..." 0
- 10 34 18 12 8003 1350631552 "edit" "" 0
- 6 14 90 44 20 1342177287 "button" "Accelerator" 0
- 50 26 36 10 21 1342242819 "button" "Control" 0
- 50 36 38 10 22 1342242819 "button" "Shift" 0
- 50 46 38 10 23 1342242819 "button" "Alt" 0
- 162 4 40 14 1 1342242817 "button" "OK" 0
- 162 20 40 14 2 1342242816 "button" "Cancel" 0
- 6 4 64 10 1004 1342177280 "static" "Function/macro:" 0
- 74 4 80 10 1005 1342177280 "static" "text" 0
- 10 26 38 8 1007 1342177280 "static" "Keystroke:" 0
- DIALOG MacroLst
- -2134376448 6 108 30 154 90 "" "" "Add Macro "
- FONT 8 "Helv"
- 8 16 60 12 8001 1350631552 "edit" "" 0
- 8 32 60 54 9001 1352728579 "listbox" "" 0
- 72 38 74 8 7999 1342177280 "static" "" 0
- 106 4 40 14 1 1342242817 "button" "OK" 0
- 106 20 40 14 2 1342242816 "button" "Cancel" 0
- 8 6 68 8 1001 1342177280 "static" "Macro to execute:" 0
- DIALOG FuncLst
- -2134376448 4 112 28 158 68 "" "" "Add Function"
- FONT 8 "Helv"
- 6 16 100 46 9000 1352728579 "listbox" "" 0
- 6 6 66 8 1000 1342177280 "static" "&Ami Pro functions:" 0
- 112 6 40 14 1 1342242817 "button" "OK" 0
- 112 22 40 14 2 1342242816 "button" "Cancel" 0
- 00039002
-