RE: Network Help - more

2001-02-04 Thread Monte Goulding


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]>, not this list.




RE: Network Help

2001-02-04 Thread Monte Goulding

I think these also work both ways because in my original script I copied the
metacard settings which have the quotes like I have used. It has worked thus
far like that again but I guess that if there's less for me to write then
that's good. I'm still pretty sure it's a user settings type of thing.

> Problem line:
> put theF & "/Trakperformance.exe","1" into dIcon
> Should be:
> put theF & "/Trakperformance.exe,1" into dIcon
>
> Another line:
> put theF & "/Trakadd.ico","0" into dIcon2
> Should be:
> put theF & "/Trakadd.ico,0" into dIcon2
>
> Another:
> put quote & theF & "/Trakperformance.exe" & quote & "%1" into sCom
> Should be:
> put theF & "/Trakperformance.exe %1" into sCom
>
>


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: Network Help

2001-02-04 Thread Phil Davis

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

Another line:
put theF & "/Trakadd.ico","0" into dIcon2
Should be:
put theF & "/Trakadd.ico,0" into dIcon2

Another:
put quote & theF & "/Trakperformance.exe" & quote & "%1" into sCom
Should be:
put theF & "/Trakperformance.exe %1" into sCom


Hope this works! 
Phil Davis




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.




Re: Network Help - more

2001-02-04 Thread Phil Davis

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.




Network Help

2001-02-04 Thread Monte Goulding

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.




PostScript printers

2001-02-04 Thread Scott Raney

On Sun, 04 Feb 2001 Sivakatirswami <[EMAIL PROTECTED]> wrote:

> Ditto that from our press shop where we "live and breath" digital ps script
> files and putting ink on paper in the classiest possible way is what we do
> everyday. Though I don't have any "clients" at hand. . .the potential apps
> that one could build if MC had high end print capabilities are fairly
> awesome. The "AppleFrance" application mentioned above could be duplicated
> for all sorts of MC eBooks where you would also offer teachers  high res
> 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?
  Regards,
Scott

PS: yes, I changed the subject header: The old one seemed to have
nothing to do with any of this ;-)


Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...



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: MC, PCI & MIDI

2001-02-04 Thread Scott Raney

On Sat, 03 Feb 2001 "Sjoerd Op 't Land" <[EMAIL PROTECTED]> wrote:

> I wanted to ask this very same question just when I read yours. I'm
> developing driver software for DMX (a system for controlling spotlights,
> lasers, stroboscopes etc.), and a PCI card is used here.
> 
> For this purpose, I have to write to and read from the card, i.e. reading
> from and writing to some memory addresses.
> 
> This can be done with a DOS shell, but as you may understand, timing is a
> very important thing at performances, and you can't manage that with a
> shell, which is extremely slow.

These cards almost always come with a C library that provide a
high-level API to access their features.  And while you can't use
these libraries directly from MetaCard, the amount of "glue" code that
you'd have to put into an external would be minimal (mostly just
argument type conversion), as would the amount of C that you'd have to
learn to use them.  You would have to have a C compiler, though.
  Regards,
Scott

PS: Robin-David Hammond <[EMAIL PROTECTED]> wrote:
> the concept of running MC setuid root, and giving it direct access
> to ram scares the hell out of me, a buffer overrun could have severe
> consequences.

I'm not sure I see the problem here.  Seems to me you're a lot less
likely to run into this kind of problem with MetaTalk than any other
language, even if it did support direct peek/poke into memory.
Certainly the MetaCard engine has a lot fewer of these kinds of
problems than any other application that you might want to run setuid
that I know of (and that includes, unfortunately, such Internet
infrastructure standards as bind and sendmail, in which the incidence
of stupid security holes like buffer overflows continues to be so
frequent that it rises to the level of criminal negligence IMHO).


Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...


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: Fwd: [Re: HTML Formatted Mail (Off topic ?)]

2001-02-04 Thread Monte Goulding

JB:

> Monte :
>
> > >
> > > Of course, a more accurate description of what the script is
> supposed to
> > > do will be much apreciated...
> >
> > I've done some reading on the format and it seems you can
> include jpeg and
> > png images into the pdf file. As mc can save images to these
> formats then it
> > would be relatively easy to save an image to a file. Read it
> back in then
> > incorporate it into the pdf.
>
> Sure, but including images as raw ASCII or binary is a much better option,
> especially because of the wonderful machinery (in PDF as well as in PS) to
> raster huge chunks of such code at lightspeed...
>
I guess using the method I'm discussing i'd only have the possibility of the
image output of mc. The image will be a snapshot of a fairly complicated
graph and legend so there's no chance to read it in a raw format before
distributing the program.

> >
> >
> > My plan is to store reports from a program in a relatively portable and
> > printable format. I was thinking of HTML but as there are
> images involved I
> > didn't want to have multiple files lying around.
> >
> > The script needs to take text and format it with style & layout
> and embed
> > jpeg or png image data into the file. When the file is built it will be
> > saved.
> >
>
> That's what I understood, although there's a few more things I'd like
> to know; for instance : as for layout, does it concern only text
> in fields,
> or does it also concern buttons names, lines around fields & buttons
> (to simulate spreadsheets for instance) ? Shall the script care about
> card objects only or also backgrounds ? etc etc...

My plan was to actually not present this data within the program. Thus the
text output would be in a variable. I'd need to be able to format headings
within that variable. Also I have some statistical output I'd like to
present in a simple tables if possible.

The tables would be as follows

Source: DF: Sum Squares Mean Square:F-test:
Between groups  3   85.067  28.356  1.674
Within groups   91  1541.62616.941  p= .1782
Total   94  1626.693

Hopefully lined table boxes around each cell but if not possible perhaps
bold headings would do the trick.

Basicly I want to generate the image / statistical output / text on the fly
and as I do so add it to a variable that contains the styled pdf file. I
havent done a sample output yet because I'm still tring to work out which
way is best to do it. These three things will be all I'll use but different
combinations of them. I could have quite a few of those tables for example
but I'll likley only have one image in each report. The text will be between
above and below all the images and tables.

I'm sorry I haven't got any more info just yet. I'll start working on the
sample file. I use Word 2000 what format is best for you to read. I don't
have acrobat.

Thanks again to all this help

Monte
>
> May be could you send me an example, like a simple stack with various
> elements that are likely to appear on your final project and have to be
> considered, as well as a simulation of the final print you want to get...
>
> JB
>
>
>
>
>
> 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.




RE: New HTML properties

2001-02-04 Thread Monte Goulding


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.
> 
> 
> 
> 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.




Re: New HTML properties

2001-02-04 Thread Gary Rathbone

Any explanation on your opinion of their sudden demise ?

on 4/2/01 8:23 PM, David Bovill at [EMAIL PROTECTED] wrote:

> Tables are dead.
 
>> I just realised I'd like to be able to put HTML tables in a field... 


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: MC, PCI & MIDI

2001-02-04 Thread David Bovill

Try MidiShare - it's opensource and available as .dll (not tried) and xcmnd,
as well as Java/C. In some ways not as good as HyperMidi, but cross platform
and has an active developer community. There are probably some modules you
can use already for theatre/DMX use.

www.grame.fr

> From: jbv <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Sun, 04 Feb 2001 18:52:27 +
> To: [EMAIL PROTECTED]
> Subject: Re: MC, PCI & MIDI
> 
> 
> 
> Sjoerd Op 't Land a écrit:
> 
>>> Same question about receiving / sending MIDI
>>> via the printer or modem ports ?
>> Well, I'm still searching for a neat external which controls MIDI via OMS,
> 
> Have you tried those :
> 
> http://www.earlevel.com/HyperMIDI/
> http://members.aol.com/MidiToolz/midi/MidiTools.html
> 
> 
>> but for the moment you can write bytes to the modem/ printerport with the
>> read and write commands:
>> 
>> open modem:
>> write numtochar(199) to modem: -- to write 199 to it
>> close modem:
>> 
> 
> Mmmh... Just tried the above on the 2.3.2 for Mac and it doesn't work
> (MC doesn't seem to recognize "modem:" - and it doesn't appear in the
> Help index)...
> 
> What did I do wrong ?
> 
> Thanks and regards,
> 
> JB
> 
> 
> 
> 
> 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.




Re: New HTML properties

2001-02-04 Thread David Bovill

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.



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.




Fwd: [Re: HTML Formatted Mail (Off topic ?)]

2001-02-04 Thread Sivakatirswami

> Well, then I might be an alien...;-)
> 
> Seriously : I would need such a feature for about 80% of the apps I'm
> asked to develop these days... No kidding !
> 
> And again : offering such great printing capabilities is often the kind of
> little detail that makes you beat your competitor who's trying to convince
> the client to use Macromind...

Ditto that from our press shop where we "live and breath" digital ps script
files and putting ink on paper in the classiest possible way is what we do
everyday. Though I don't have any "clients" at hand. . .the potential apps
that one could build if MC had high end print capabilities are fairly
awesome. The "AppleFrance" application mentioned above could be duplicated
for all sorts of MC eBooks where you would also offer teachers  high res
printing options for classroom distribution, and most home printers now are
.ps enabled.

>From another alien in Hawaii, whose watching this thread with great
interest, who never saw an office that didn't have a PS print on line
somewhere. . . .

for what its worth: a known mac hack to pass a ps file to a printer is,
under script control, make a temp copyfile in the Print Monitor documents
folder in the system folder, set it's type to "pjob" and creator to "pmtr"
(using externals) then launch it with the print monitor which prints to the
default printer. This is about 6 lines of code and requires no knowledge of
applevents nor that applescript be enabled. Setting aside the creation of
the file itself for the moment, and the fact that the above is pretty
clutsy. . .it could be a "thumbnail" sketch for a windows version of the
same scenario. . .i.e. the crossplatform solution for already created .ps
files should be doable now? . .since any printing scenario I think is just
passing a ps file to the onboard printing services of whatever platform you
are on?? But my vision is severely Mac blinkered. . .

We already face this need now with "Mystic Mouse" because, (surprise!) there
is still a (large) group of people out there who resist even messing Acrobat
Reader to print PDFs! Despite all the hype, PDF is still a bit of a dinosaur
for all but an elite strata and while PDF evolves into the really high end
high res prepress standard, for the masses it may be superceded. . .already
eBooks are moving toward HTML and some have actually dropped their PDF
production of the same titles.   I might as well have spent all the time
creating ps files (out of Illustrator) which could be printed from MC (if
that were possible. . .) Then instead of pointing users to a web site with
PDF's and having them discover "Oh God, I have to download another
application to use these. Forget it!" I would just have the app
http/download the .ps file on demand in the background, save it to the
user's hard drive and print it from MC. And they could all live on a CD
without any third app required for printing.  . .

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: MC, PCI & MIDI

2001-02-04 Thread jbv



Sjoerd Op 't Land a écrit:

> > Same question about receiving / sending MIDI
> > via the printer or modem ports ?
> Well, I'm still searching for a neat external which controls MIDI via OMS,

Have you tried those :

http://www.earlevel.com/HyperMIDI/
http://members.aol.com/MidiToolz/midi/MidiTools.html


> but for the moment you can write bytes to the modem/ printerport with the
> read and write commands:
>
>   open modem:
>   write numtochar(199) to modem: -- to write 199 to it
>   close modem:
>

Mmmh... Just tried the above on the 2.3.2 for Mac and it doesn't work
(MC doesn't seem to recognize "modem:" - and it doesn't appear in the
Help index)...

What did I do wrong ?

Thanks and regards,

JB




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: Fwd: [Re: HTML Formatted Mail (Off topic ?)]

2001-02-04 Thread jbv



Monte :

> >
> > Of course, a more accurate description of what the script is supposed to
> > do will be much apreciated...
>
> I've done some reading on the format and it seems you can include jpeg and
> png images into the pdf file. As mc can save images to these formats then it
> would be relatively easy to save an image to a file. Read it back in then
> incorporate it into the pdf.

Sure, but including images as raw ASCII or binary is a much better option,
especially because of the wonderful machinery (in PDF as well as in PS) to
raster huge chunks of such code at lightspeed...

>
>
> My plan is to store reports from a program in a relatively portable and
> printable format. I was thinking of HTML but as there are images involved I
> didn't want to have multiple files lying around.
>
> The script needs to take text and format it with style & layout and embed
> jpeg or png image data into the file. When the file is built it will be
> saved.
>

That's what I understood, although there's a few more things I'd like
to know; for instance : as for layout, does it concern only text in fields,
or does it also concern buttons names, lines around fields & buttons
(to simulate spreadsheets for instance) ? Shall the script care about
card objects only or also backgrounds ? etc etc...

May be could you send me an example, like a simple stack with various
elements that are likely to appear on your final project and have to be
considered, as well as a simulation of the final print you want to get...

JB





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-04 Thread Kevin Miller

On 4/2/01 3:18 pm, Hugh Senior <[EMAIL PROTECTED]> wrote:

>> Use the load command instead, and if it hasn't loaded after a reasonable
>> period of time (i.e. the status is still "requested") then cancel it.
> 
> As indicated, in both cases above including 'load', the script waits until
> the request fails (takes about 30 seconds) before executing the next line.

Hm - doesn't seem to do that here.  It might be that your Internet
connection is completely down (not just slow).  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.

Regards,

Kevin

Kevin Miller <[EMAIL PROTECTED]> 
Runtime Revolution Limited (formerly Cross Worlds Computing).
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.


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-04 Thread Hugh Senior

>On 3/2/01 12:29 pm, Hugh Senior <[EMAIL PROTECTED]> wrote:
>> Is there any way to reduce the timeout for the load and url commands?
>> 
>> Problem:
>> If you have an internet connection when mc starts up, then disconnect,
>> using either of these commands involves an unacceptably long 30 second
>> delay before the script continues (ie the program appears to freeze but
>> hasn't). The same apparent freeze delay occurs even if you reconnect.

Kevin answered:
>Use the load command instead, and if it hasn't loaded after a reasonable
>period of time (i.e. the status is still "requested") then cancel it.

As indicated, in both cases above including 'load', the script waits until
the request fails (takes about 30 seconds) before executing the next line.

/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.




Re: Digest metacard.v004.n179

2001-02-04 Thread Robin-David Hammond



if you want to access the VME, SBUS, NuBUS or PCI directly you are going to
need a gen3 language you want C (or asm if you realy like to get dirty or C++
is you have an unhealthy obsession with mediocrity )

and probably an RTOS like LynxOS or QNX unless you want to drasticaly overpower
a linux or bsd box and use POSIX 1003.b (?) alarms and the like. Drastic
over-kill in the CPU department is fairly cheap these days. for the CPU power
you are likly to need a lowend MIPS, PPC or early 80586.

metacard may still be great choice for a front end, but i dont think it will
ever be anything other than a Gen4 language and having PEEK/POKE is
generaly inconcistant with gen4 languages.

if you were to open a pipe into the control programme, you could use MC to feed
it simple instructions.

the concept of running MC setuid root, and giving it direct access to ram scares
the hell out of me, a buffer overrun could have severe consequences.

personly i'd be more likly to go with an embeded solution, get the MachZ
x86-on-a-chip, slap the PCI card to that, and then control it via USB, Serial IO
or TCP.


It has been noted that when the only tool you have is a hammer, every problem
starts to look like a nail. I myself have been guilty of this once or twice



RE

--- MESSAGE metacard.v004.n179.5 ---

From: "Sjoerd Op 't Land" <[EMAIL PROTECTED]>
Subject: Re: MC, PCI & MIDI
Date: Sat, 03 Feb 2001 23:03:22 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
In-Reply-To: <[EMAIL PROTECTED]>

jbv wrote/ schreef:
> Hi,
>
> Is there any possibility to send / receive data
> to / from a board on a PCI slot through a
> MC script ?
I wanted to ask this very same question just when I read yours. I'm
developing driver software for DMX (a system for controlling spotlights,
lasers, stroboscopes etc.), and a PCI card is used here.

For this purpose, I have to write to and read from the card, i.e. reading
from and writing to some memory addresses.

This can be done with a DOS shell, but as you may understand, timing is a
very important thing at performances, and you can't manage that with a
shell, which is extremely slow.

> Same question about receiving / sending MIDI
> via the printer or modem ports ?
Well, I'm still searching for a neat external which controls MIDI via OMS,
but for the moment you can write bytes to the modem/ printerport with the
read and write commands:

  open modem:
  write numtochar(199) to modem: -- to write 199 to it
  close modem:

> Thanks & Regards,
>
> JB
Hope this helps,
Sjoerd
  


-

Robin-David Hammond
KPL
25-8D Van Zant
Norwalk CONN USA


Gerrold's Laws of Infernal Dynamics:
(1) An object in motion will always be headed in the wrong
direction.
(2) An object at rest will always be in the wrong place.
(3) The energy required to change either one of these states
will always be more than you wish to expend, but never so
much as to make the task totally impossible.  




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-04 Thread Kevin Miller

On 3/2/01 12:29 pm, Hugh Senior <[EMAIL PROTECTED]> wrote:

> Is there any way to reduce the timeout for the load and url commands?
> 
> Problem:
> If you have an internet connection when mc starts up, then disconnect,
> using either of these commands involves an unacceptably long 30 second
> delay before the script continues (ie the program appears to freeze but
> hasn't). The same apparent freeze delay occurs even if you reconnect.
> Something of a showstopper.

Use the load command instead, and if it hasn't loaded after a reasonable
period of time (i.e. the status is still "requested") then cancel it.

Regards,

Kevin

Kevin Miller <[EMAIL PROTECTED]> 
Runtime Revolution Limited (formerly Cross Worlds Computing).
Tel: +44 (0)131 672 2909.  Fax: +44 (0)1639 830 707.


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.