Subject: [LM] Re: Proxy Datebook
From: Ben Darnell (bgdarnel@unity.ncsu.edu)
Date: Fri Aug 06 1999 - 21:43:24 EDT
On Fri, Aug 06, 1999 at 04:02:47PM -0700, mblevin@debian.org wrote:
> <19990806170149.a1556-@bgdarnel.rh.ncsu.edu> wrote:
> original article:http://www.egroups.com/group/linkmaster/?start=20
> > Done. http://www4.ncsu.edu/~bgdarnel/linkmaster/proxydb.zip
>
> That was quick!
>
> I have a problem, though...
> "Error Querying Record" - DateDB.c, line 802
> This error occurs when launching proxydb from either the launcher
> or from linkmaster. It occurs both when I have records in the DateBook
> or I do not.
>
Are there deleted/archived records in the DatebookDB? I'm probably not
handling those correctly.
> -Mitch
>
> BTW - For the ActionNames proxy, they do make use of the matchCustom
> field for sysAppLaunchCmdGoto. For a Datebook entry, you must make
> sure that this field is zero. (1 for ToDo, 2 for Calls).
>
I currently zero out the allocated GotoParams, so it's fine for now, but
I'll keep that in mind for the todo proxy. What are calls?
> Also, for the proxy apps...
> Would it make sense to define a new database type (not 'appl') that can
> also be seen and used by LinkMaster? This would allow us to have
> proxy apps that do not clutter the launcher, and I assume that
> switchhack
> would nicely ignore these. :-)
>
That's one way to do it, but I'm not sure about SwitchHack. I think it
just watches for SysUIAppSwitch and records whatever DB is passed,
without checking type/creator. Of course, the LinkMaster History Hack
may make SwitchHack obsolete ;-).
Another option is to use the "hidden" database attribute introduced in
OS3.2, but that won't work for people who can't/won't upgrade to the
upcoming 3.3.
By the way, try "build-prc -t BooG ..." instead of kludging around with
replace_prctype. (Aren't undocumented functions fun? ;-))
-Ben
-- Ben Darnell bgdarnel@unity.ncsu.edu http://www4.ncsu.edu/~bgdarnel/thoughtstream------------------------------------------------------------------------ GET WHAT YOU DESERVE! A NextCard Platinum VISA: DOUBLE Rewards points, NO annual fee & rates as low as 9.9% FIXED APR. Apply online today! http://clickhere.egroups.com/click/606
eGroups.com home: http://www.egroups.com/group/linkmaster http://www.egroups.com - Simplifying group communications
This archive was generated by hypermail 2b25 : Tue Sep 05 2000 - 22:09:10 EDT