| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | [TSEPro] Re: Keyassgn & Keyfind |
From: "Dieter Koessl"
@Date: Mon, 3 Mar 2003 08:10:14 +0100
@Sender: semware-owner{at}sawasdi.apana.org.au
Hi Eric,
> Those are interesting and potentially very useful macros -- but I can't
> seem to make them work. I've tried various alternatives for the global
> variables
> string cmd_path[] = "ui\"
> string cmd_file[] = "tse.ui"
> that must be customized, but with no success.
>
> My path to TSE 4.0c is: E:\Z\tse40\qx4c.exe, and my \ui and \mac
> subdirectories are subordinate to E:\Z\tse40
I wrote these macros quite some time ago. Here is what you must to do to
make them work.
(I) The macros need the _source_ code of the ui file.
This file is usually stored in the "UI" subdirectory.
In your case this would by "E:\Z\tes40\UI".
(II) The string cmd_path points to the aforementioned directory.
Since the macros use the LoadDir function to construct the
absolute path to that directory, cmd_path _must_ be a
_relative_ path off the TSE directory.
In your case this would be "ui\"
(III) The string cmd_path points to the actual name of the UI file.
The factory default is "tse.ui".
Since the macros are configured to work with factory default (provided
that the macro source is installed), I assume that you did change some
things. Here are two examples:
(I) Lets assume your UI file is named MyTSE.UI and is stored in
the UI folder. In this case you wouldn't change cmd_path and
change cmd_file to "MyTSE.UI".
(II) Now lets assume your UI file is TSE.UI and is store in
"E:\Z\tseui". In this case you must change cmd_path to
"..\tseui".
If this still doesn't help, do the following. Load keyassgn.s. Go to
line 187. Insert the following before that line:
Warn(LoadDir()+cmd_path+cmd_file)
This should tell you which UI file the macro tries to load.
BTW, the macros should work fine with the latest version of TSE as they
are. I did not change anything in there since I uploaded them to SemWare
some six years ago.
Dieter
--
TSEPro Mailing List
List Maintenance: www.semware.com/html/list.htm
---
[sawasdi.apana.org.au] (3:800/846.13)
* Origin: apana>>>>>fidonetSEEN-BY: 633/267 270 @PATH: 800/846 1 640/954 774/605 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.