|
Guillermo At 11:02 AM 6/29/1998 +0200, you wrote: >Vernon, >i wonder if any knows the vbScripts for develop this function as: > >Dim HexCode >HexCode = InputBox("Hex Code:") >APL HexCode <-- doesn't work > >i can ask the code, but how this code is put in the screen at cursor? As far as I know, PC5250 in CA95NT has no connection with VB scripts. To make PC5250 macros, you must take the 'Assist' menu option, then 'Macro/Script Setup'. From the window that appears, click on the 'Customize' button. Now you have a window where you enter the 'APL 50' or whatever code. In case you opened another macro, you should have done a 'File->Save As' first. You could also take the 'Assist->Start Recording Macro...' option. After you enter a name for the macro, just type 'APL 50' (no apostrophes). Then take the 'Assist->Stop Recording Macro' option. Then edit the macro you just created , as described above. You will need to remove the leading quotation mark. Then exit from the editor and click on 'Yes' to save. Finally, be sure to click 'Cancel', not 'OK'. Otherwise you set the default macro to the one you just worked on. I hope this answers your question. But if you have a need to do something in connection with Visual Basic, then we get into a set of APIs that are a part of PC5250. If that is what you need, please describe more what you need to do. > >------------- >Guillermo Andrades. CPI, Madrid. > > >---------- >> From: Vernon Hamberg <hambergv@goldengate.net> >> >please anybody knows where is the hex key in the sessions? >> >i've all translated to Spanish and i don't found searching "hex" >> >> There is no 'hex' key in PC5250. You need to create macros for each hex >> character you want to use. Here is an example for x'50': >> APL 50 >> Then you can assign that macro to any valid key combination. >> Personally, I don't like this solution, but it's the only one we have >for now. Cheers Vernon Hamberg Systems Software Programmer Old Republic National Title Insurance Company 400 Second Avenue South Minneapolis, MN 55401-2499 (612) 371-1111 x480 +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.