RE: Network Help - more

2001-02-05 Thread Xavier Bury

HKLM (the regedit abbrev) is only local to your machine but changing the
other keys will not affect the network! Rather, it's the network system that
will change your keys.

If you want a special file association spread out, you'll have to include it
into the login script to add the missing key. Ask your domain admin or
consult www.ntfaq.com.

Another solution would be to write it when your program runs BUT, if the
user is not admin of his workstation or the policy forbids the users to
change their registries (which it should), then it's back to the login
script.

Concerning the slashes and quotes and command

use this script in your startup (unless it's for Macs of course) (please
correct if im wrong but it works between NT and 95x.

on CheckShellPlatform
  if (the platform = "win32") and (word 1 of the systemversion is "windows")
then
set the shellcommand to "command.com"
  else
set the shellcommand to "cmd.exe"
  end if
end CheckShellPlatform

and if there is a space in a name in an NTFS volume you'll have to enclose
the string in quotes like this. I dont remember having problems with the /
or \.

Normally, this does the job:
get "dir c:\"

But here, there is a folder/shared folder with a space in it:

get "dir" && quote & "\\server\share test" & quote
get shell(it)



> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Monte Goulding
> Sent: Monday, February 05, 2001 8:35 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Network Help - more
>
>
>
> Thanks I keep forgetting that. Probably due to the fact that it hasn't
> caused any errors thus far. I'm not sure that it's the only problem though
> because it's been working fine like that for quite some time.
> It's ony when
> the laptop gets onto the network that there's a problem. Does
> HKEY_CLASSES_ROOT work store the same info for every user or is this user
> specific. I'd like to have file tipes registered across all users of the
> machine so is that what HKEY_LOCAL_MACHINE\Software\CLASSES is for?
>
> >
> >
> > You'll also need to change "/" to "\" in your dIcon, dIcon2 and
> > sCom strings.
> > Phil
> >
> > Monte Goulding wrote:
> > >
> > > Hi
> > >
> > > I have a rather obscure problem: (probably one of many but this
> > one has to
> > > do with MC)
> > > - I developed a program that has custom file type for windows
> > > - The program was installed on a laptop running NT while it was on the
> > > network
> > > - When the laptop is not on the network the program works fine
> > > - When the laptop is on the network the following problems occur
> > >  ~ Files can not be seen by the open file dialog (The files
> can be seen
> > > using explorer)
> > >  ~ Problems finding a stack that is another custom file type as
> > a stackfile
> > > ot the standalone
> > > - When the laptop is not on the network the shortcuts
> disapear from the
> > > desktop and start menu but the program works OK if you open it
> > from program
> > > files.
> > >
> > > Question Is there and problem with the following install script
> > >
> > > theF contains the directory of the standalone
> > >
> > > put theF & "/Trakperformance.exe","1" into dIcon
> > > put theF & "/Trakadd.ico","0" into dIcon2
> > > put quote & theF & "/Trakperformance.exe" & quote & "%1" into sCom
> > > get setRegistry("HKEY_CLASSES_ROOT\.trak\", "Trakperformance")
> > > get setRegistry("HKEY_CLASSES_ROOT\Trakperformance\",
> > "Tracking Files")
> > > get
> > setRegistry("HKEY_CLASSES_ROOT\Trakperformance\DefaultIcon\", dIcon)
> > > get
> > setRegistry("HKEY_CLASSES_ROOT\Trakperformance\shell\open\command\",
> > > sCom)
> > > get setRegistry("HKEY_CLASSES_ROOT\.trakadd\",
> > "Trakperformance.Addin")
> > > get setRegistry("HKEY_CLASSES_ROOT\Trakperformance.Addin\",
> > > "Trakperformance Add-in")
> > > get
> > setRegistry("HKEY_CLASSES_ROOT\Trakperformance.Addin\DefaultIcon\",
> > > dIcon2)
> > >
> > > If there is no problem with this what about if the user logs in
> > as someone
> > > else or logs into a network?  Will metacard still recognise
> > these files or
> > > do the file types need to be regisetered on the network? If so
> > how do I do
> > > it?
> > >
> > > This is a major problem for me so if anyone knows anything it
> > could save my
> > > ass.
> > >
> > > Thanks all
> > >
> > > Monte
> > >
> > > Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
> > > Info: http://www.xworlds.com/metacard/mailinglist.htm
> > > Please send bug reports to <[EMAIL PROTECTED]>, not this list.
> >
> > --
> > Phil Davis
> > [EMAIL PROTECTED]
> >
> > Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
> > Info: http://www.xworlds.com/metacard/mailinglist.htm
> > Please send bug reports to <[EMAIL PROTECTED]>, not this list.
> >
> >
>
>
> Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, no

Re: Network Help

2001-02-05 Thread Steven Tripp

On 2/5/01 3:37 PM, "Phil Davis" <[EMAIL PROTECTED]> wrote:

> I think there may be some quotes and commas in the wrong places. DISCLAIMER: I
> didn't test the following "should be" lines. Still, I figure when you're
> desparate, anything might help you find the answer.
> 
> Problem line:
>   put theF & "/Trakperformance.exe","1" into dIcon
> Should be:
>   put theF & "/Trakperformance.exe,1" into dIcon

There shouldn't be any difference between these because the comma is an
*operator* in MetaTalk.  It means join these two things with a comma. It
took me a long long time to realize this!

Steve


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: New HTML properties

2001-02-05 Thread David Bovill

Less of a sudden demise - more of a slow death.

> From: Gary Rathbone <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Sun, 04 Feb 2001 21:23:52 +
> To: [EMAIL PROTECTED]
> Subject: Re: New HTML properties
> 
> Any explanation on your opinion of their sudden demise ?
> 

Future of tabular data is XML and style sheets. You can do everything you
want with style sheets in terms of tabular layout, and at the same time make
it comprehensible for basic browsers and text-readers for the visually
impaired etc (see WC3 guidelines for web accessibility), which recommends no
longer using tables...

This combined with the advantages of marking up data in a structured way (ie
separating content from presentation in the mark-up), in terms of re-use,
future proofing, and processing of the data with standard or custom tools,
means that it is getting very hard to justify the use of tables in the
creation of new sites over the use of style sheets.

Give it another 12-18 months and it will definitely be frowned upon. Just my
intuition - time will tell -:) Does anyone really like tables? 


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: PostScript printers

2001-02-05 Thread Sivakatirswami

on 2/5/01 7:14 PM, [EMAIL PROTECTED] at
[EMAIL PROTECTED] wrote:

> News to me.  AFAIK, nearly all home printers are inkjets and there
> aren't any printers of that type that support PostScript.

Yes, well I stand corrected. . .we use a Mac RIP server to process raw PS
files to our inkjets, but obviously that's not "for the masses"

> Even the
> majority of laser printers don't support PS but instead use PCL or
> some other proprietary language (PS being too expensive to license and
> requiring a lot more RAM and CPU power than the alternatives).

> Even
> that minority of laser printers that do support PS also have the
> proprietary language and are frequently set up such that they default
> to using the proprietary language unless you make some changes at the
> control panel.  Or am I misinformed somehow?
> Regards,
>   Scott
 
> PS: yes, I changed the subject header: The old one seemed to have
> nothing to do with any of this ;-)

Thanks for changing the subject header!

Well I am no expert and don't pretend to be. . .as a 25 year Mac user we are
bit spoiled and only "know what works" but not necessarily anything at all
about "how." much less what will be cross platform supportable. . .so. .
.sorry for the fishing expedition, but printing is a key issue as j. pointed
out.

This does work here: Open quark doc or photoshop doc or any doc from any
app. Save under Laserwriter 8 using "save to file" set postscript to level
2-3, binary, include all fonts. Change creator to "prmt" and type to "pjob"
(or maybe it's the other way round. . .have t0 look at my script. copy file
to print monitor docs folder and launch with print monitor. . .and it prints
to any of our laser printers, apple, lexmark, GCC elite or to the RIP
spooler (s) running our  fleet of Espon color proofers (you were right on
that one!)

but you are saying that this would not work on most laser. . .m m m m

But, moot point as you point out. . . you are right, the limitations are
severe. . .we have fully arrived in what was predicted years ago:
"peripheral, driver chaos" one would have to have a disclaimer "only works
on such and such devices" for the print option--not doable for general
distribution. . .oh well. . .I'll be watching the list as solutions develop.
. .Possibly at least for my applications, the new JPEG format that is in the
wings will do the job, at least to take us "beyond the jaggies" for output
giving the sense of "This looks great" and still have a file size we can
live with.

Hinduism Today
Sivakatirswami
Editor's Assistant/Production Manager
[EMAIL PROTECTED] 
www.HinduismToday.com, www.HimalayanAcademy.com,
www.Gurudeva.org, www.hindu.org



Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: New HTML properties

2001-02-05 Thread Pierre Sahores

Monte Goulding a écrit :
> 
> Can you elucidate ;-)
> 
> >
> > Tables are dead.
> >
> > > From: "Monte Goulding" <[EMAIL PROTECTED]>
> > > Reply-To: [EMAIL PROTECTED]
> > > Date: Fri, 2 Feb 2001 08:07:25 +1030
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: New HTML properties
> > >
> > >
> > > I just realised I'd like to be able to put HTML tables in a field. Also
> > > exporting them. Has anyone got a script that will take a HTML table and
> > > format a field so it looks the same. Also is this likely to be
> > supported an
> > > any future versions of MC.
> >
> >

The best way to do that is probably to script and parse XML DTD's (one property
for each mc different GUI  object) even if it will lots to do to get an usefull
end result, usable on both the card metaphor and the web html end user sides...

As far as the XML specifications have to stay independant from the metatalk
specifications, it's, for me, no need to ask Scott to add XML built-in
properties to Metacard. MC is, as is, able to parse any XML output. We need just
to build the rights scripts and DTD's to turn-in MC as a perfect XML parser !

More easy to say than to do... ;-)

> >
> > Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
> > Info: http://www.xworlds.com/metacard/mailinglist.htm
> > Please send bug reports to <[EMAIL PROTECTED]>, not this list.
> >
> >
> 
> Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Regards, Pierre Sahores

WEB & VPN applications and databases servers
Inspection académique de la Seine-Saint-Denis
Qualifier et produire l'avantage compétitif

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: PostScript printers

2001-02-05 Thread Mark Luetzelschwab

>
>
>On Sun, 04 Feb 2001 Sivakatirswami <[EMAIL PROTECTED]> wrote:
>
>---
> > printing options for classroom distribution, and most home printers now are
> > .ps enabled.
>
>News to me.  AFAIK, nearly all home printers are inkjets and there
>aren't any printers of that type that support PostScript.  Even the
>majority of laser printers don't support PS but instead use PCL or
>some other proprietary language (PS being too expensive to license and
>requiring a lot more RAM and CPU power than the alternatives).  Even
>that minority of laser printers that do support PS also have the
>proprietary language and are frequently set up such that they default
>to using the proprietary language unless you make some changes at the
>control panel.  Or am I misinformed somehow?

Hardly, as the author of a different (not MetaCard based, C++) 
program who's #1 support issue is printing (which is <1% of the 
functionality...it was a convenience thing...), I can attest that (in 
the US, Mac and Windows) most printers are NOT PS, especially home 
printers and printers in schools (non-networked deals), and those 
that are PS, can be set up in some really bizarre ways to produce 
some really interesting printouts or lots of GPF's.  And things like 
Stylus RIP (a software package that translates PS to ink-jet code for 
Epson Printers), are not really any better.




Mark J. Luetzelschwab   [EMAIL PROTECTED]
Graduate Research Assistant (v) (512) 232 6034
Instructional Technology(f) (512) 232 2322
Reading and Language Arts:
http://www.texasreading.org

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: Default font in Windows

2001-02-05 Thread Larry_R_Huisingh

> On 2/2/01 5:39 pm, [EMAIL PROTECTED] 
> <[EMAIL PROTECTED]> wrote:
> 
> > I am running MC 2.3.2 and something has changed on my 
> system (Win 98) since
> > I last ran MC.  For some reason the font used when an 
> object's font is
> > "None" is different on this machine than it used to be.  I 
> can run the exact
> > same MC.EXE from a different workstation (MC is on a 
> network drive) and the
> > text displays correctly.  Am I missing a font perhaps?
> 
> Do you have Helvetica installed?  That is the default font 
> but if it is not
> installed MC will substitute Arial.
> 

I did have Helvetica installed and that is what MC appears to be using.  I
think it may have been installed when I added a new printer.  I have since
removed that font and my MC environment looks normal again.  Thanks for the
tip.  I would like to suggest perhaps that part of preferences would be to
select a default font.  What do people think about that?

Larry Huisingh

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.




Re: Load timeout freeze delay

2001-02-05 Thread Hugh Senior

The problem:
If mc starts up with an internet connection that is cancelled then resumed,
both the 'url and 'load' command involve the script waitings until the
request fails (takes about 30 seconds) before executing the next line.

Kevin wrote:
>Not sure: how about checking if there is a connection before running the load
>command?  E.g. use sockets to perform a simple download of something and
set the
>socketTimeOutInterval to be very short.

I'm not a 'socket person'. Does anyone have such a wee beast available?

On a related note, 'url' and 'load' fail when connecting to the internet
AFTER mc has started up, requiring the user to exit completely and
re-launch. Seems a bit harsh!

/H

Hugh Senior

The Flexible Learning Company
Consultant Programming & Software Solutions
Fax/Voice: +44 (0)1483.27 87 27
Email: [EMAIL PROTECTED]
Web: www.flexibleLearning.com

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.