Re: Standalone Building

2009-10-08 Thread Tereza Snyder


On Oct 8, 2009, at 2:16 PM, J. Landman Gay wrote:


Richard Gaskin wrote:

The full sentence in which RunRev's Oliver Kenyon suggested the  
need for an engine change is worth noting:

 To fix the issue, we will need to make an engine change, possibly
 the addition of a repeat for each control loop form.
So rather than something irritating, it's actually quite cool:   
imagine if we had the ease of iterating through controls so  
simply.  Nice stuff - glad to see they're thinking along those lines.


Ooohhh...I SO much want this! Been wanting it for years. Fingers  
crossed.



Then add your votes to my enhancement request #1204!

t


--
Tereza Snyder
Califex Software, Inc.
www.califexsoftware.com




___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: The Aborted Plunge (Metacard to Revolution)

2007-05-26 Thread Tereza Snyder


On May 26, 2007, at 8:22 AM, Shari wrote:

As for the Ask/Answer issue, they were embedded because I changed  
the look slightly to be more in line with my program.


I, too, changed the look of MC's ask and answer and embedded them in  
my standalones. I found a general solution to this problem that I've  
been happy with for a long time:


- Rename your custom ask/answer dialogs to something line MyAsk and  
MyAnswer and make them substacks of your standalone stack.

- In the startup handler of your standalone, put statements like:
 if not(there is a stack ask) then set the name of stack  
myAsk to ask


This means that while you're in the IDE, you'll see the Rev/MC ask  
and answer dialogs, but in your standalone your custom dialogs will  
appear. No conflicts. Ever!


t

--
Tereza Snyder
Califex Software, Inc.


___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Unknown Publisher warnings

2006-12-11 Thread Tereza Snyder


On Dec 9, 2006, at 9:58 PM, Shari wrote:

Does anyone know how to make the Win XP Security Warning  
(Unknown Publisher) go away?


Yes, but there's a price tag.  This fellow explains it pretty well:

http://www.michaellawson.com/?p=14



Evidently, this rigamarole is part of the security apparatus for IE  
7! And all I'm doing is running my app from my own Mac Mini server on  
my own local network!


So how does it work with a Rev/MC application? What is it that you  
(the Rev/MC developer) do? How is it applied to, or included in, an  
exe? Does it expire every year on published software (it's a yearly  
license, $100-$400 per year for the developer - but it is  
incorporated (somehow) in the code of an application - and I presume  
that once digitally signed, the application stays signed forever;  
but why would a developer have to keep renewing? or is that just the  
price of keeping with the program?) Either way, it feels to me like  
extortion!


Not that I could afford it,

t

--
Tereza Snyder

   Califex Software, Inc.
   www.califexsoftware.com

___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: UB standalones - FIXED!

2006-12-07 Thread Tereza Snyder


On Dec 7, 2006, at 2:17 PM, Tariel Gogoberidze wrote:



Tereza,

Can you please post this code differences?

Thanks in advance
Tariel


Klaus is changing the official version. But Richard had the key: look  
in the archive at the group site for the previous 2.7 compatible  
release: it makes UB standalones that work.


I have the impression that we ought to refrain from posting the  
actual code to this list. After all building standalones is one of  
the things Runtime Revolution wants to limit to paying customers, and  
this list is probably too public.


I may be wrong, but it won't take Klaus long, I'm sure.


t


--
Tereza Snyder

   Califex Software, Inc.
   www.califexsoftware.com

___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: UB standalones - update

2006-12-06 Thread Tereza Snyder


On Dec 6, 2006, at 1:54 AM, Wil Dijkstra wrote:


Since then I've gone through the process a second time, downloading a
new copy of the IDE, making a new runtime engine to build from, and  
even
including Jacque's plist file which works for her to make sure it  
isn't

that.

Still no go.

Tereza has mentioned a similar experience.



Here's my experience:

Using Rev 2.7.4, I updated MetaCard per instructions and set up the  
runtime engines. I made a simple stack with only a quit button and  
built standalones for PPC and Universal. I modified the plists in  
both to name the correct executable.


The PPC version works. When I look inside the bundle, I see an  
extraneous MetaCard.app file NEXT TO, not inside, the contents  
folder. I delete it. The TestPPC.app still works.


The TestUB app appears briefly in the dock and disappears. There is  
an extraneous MetaCard.app in the bundle. I delete it. Still doesn't  
work. Permissions are correct.


(The extraneous MetaCard.app in the bundles appear when there is  
already a built standalone at the destination location. If I delete  
the destination .app first, the extra copy doesn't appear. However,  
my ultimate goal is to upgrade my own standalone builder which  
changes only the executable within the bundle because I store all  my  
app's files (e.g. LOTS of graphics) INSIDE the bundle. Whatever my  
motivation, I still cannot get the straight, normal MetaCard SB to  
make a viable UB standalone, much less my own refactored SB.)


I'm using a PowerPC G5, MacOS 10.4.8. I don't have an Intel Mac to  
work with.


Klaus, Jacque: Do you know what exact, specific difference there is  
between the PPC and UB build process? Or what incantation can make it  
work? I'm attempting to get my own Standalone Builder to work and  
it's... very [expletive deleted] frustrating .


t

--
Tereza Snyder

   Califex Software, Inc.
   www.califexsoftware.com

___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: UB standalones - FIXED!

2006-12-06 Thread Tereza Snyder


On Dec 6, 2006, at 2:33 PM, Richard Gaskin wrote:

I found the issue:  I can build standalones with the version of the  
MC IDE or v2.7 in the Archives section of the Yahoo Group, but not  
the one in the main listing above it.




Yay! it worked for me too!


t

--
Tereza Snyder

   Califex Software, Inc.
   www.califexsoftware.com

___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: UB standalones - FIXED!

2006-12-06 Thread Tereza Snyder


On Dec 6, 2006, at 2:53 PM, Tereza Snyder wrote:



On Dec 6, 2006, at 2:33 PM, Richard Gaskin wrote:

I found the issue:  I can build standalones with the version of  
the MC IDE or v2.7 in the Archives section of the Yahoo Group, but  
not the one in the main listing above it.




Yay! it worked for me too!



There is a difference: a bit of code that looks like an unnecessary  
duplicate actually isn't. I made the change in my own standalone  
builder and finally, the UB standalone runs!


And it was SO OBVIOUS (in retrospect), too!

Thanks Richard, I would never have thought to run the old one.

t


--
Tereza Snyder

   Califex Software, Inc.
   www.califexsoftware.com

___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Another MC-Rev anomaly: text of image property

2006-11-07 Thread Tereza Snyder
On Nov 7, 2006, at 2:11 PM, Chipp Walters wrote:Even though Fireworks can create images in native Window Gamma, does it really pass the test I outlined above? I would be very surprised if it did.I assume this is the test you propose:Import them all into Rev on a PC. They all look the same. Then view the same stack on a Mac. The PNG image looks considerably lighter. This continues to be a problem when designing interfaces between the 2 platforms. I develop on a Mac, and that might affect what I see. My images look the same on both platforms, (i.e. just as light/dark on Windows as on the Mac) BUT colors in images fail to match the backcolors of objects that they did match on the Mac.)-- Tereza Snyder   Califex Software, Inc.   www.califexsoftware.com ___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Holy moley! First test of Revolution versus Metacard

2006-09-01 Thread Tereza Snyder


On Aug 31, 2006, at 7:20 PM, Shari wrote:



So you embed your [ask and answer] stacks with some other name, and  
have the startup sequence rename them every time it launches?





Yep, though not when the application I'm making doesn't need them.
I've never had a problem with it.

t


--
Tereza Snyder

   Califex Software, Inc.
   www.califexsoftware.com
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Holy moley! First test of Revolution versus Metacard

2006-08-31 Thread Tereza Snyder


On Aug 31, 2006, at 6:57 AM, Shari wrote:

Now that I have Revolution up and running and Metacard 2.7 up and  
running I thought I'd open my biggest fully finished project and  
see how it fared with both.

...
The stack opens.  But the Revolution IDE does not like that I have  
standard stacks installed in the stack.  (For ease of Standalone  
building, a long time ago I installed custom versions of Ask,  
Answer, Message etc. in the stack so that I would not have to  
import them every time I built a standalone.)  The Message box in  
particular gives it fits.  I could not determine whether my  
password protections were still in place.  (The Message Box errors  
seemed to override most of what I tried to experiment with.)




Hi Shari,

When I need the standard stacks in my standalones, I make copies of  
them and include the copies as substacks of my splash stack. Then on  
startup, I rename the stacks with:


 if not(there is a stack xxx) then set the name of stack copy of  
xxx to xxx


This also makes a way for me to customize the appearance or behavior  
of the standard stacks so they fit with my application.


But I'm curious, when would you need the message box in a finished  
application? Rev's message box, with its extra features, would hardly  
be suitable, though MetaCard's plain ole box would I suppose be more  
neutral.


t



--
Tereza Snyder

   Califex Software, Inc.
   www.califexsoftware.com
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: room for an open source alternative

2006-08-31 Thread Tereza Snyder


On Aug 31, 2006, at 2:52 PM, Richard Gaskin wrote:



In addition to the sort of layout and construction tasks the MC and  
Rev IDEs have traditionally focused on, my forked IDE (working name  
M2) will also include support for the superset of tasks ranging  
from project management to product management.  These new areas of  
support are largely driven by RIP properties (see http:// 
groups.yahoo.com/group/revInterop/), so they should be fully  
interoperable with any other tools which also follow those open  
recommendations.


So if any of you here have opinions about new ways we might expand  
MC but have been reluctant to recommend them for that IDE and don't  
want to put in the effort to make your own forked project, maybe  
there's a way we can divvy up work on this skunkworks version as a  
playground for these ideas.


I too have amassed a great wad of personal support tools for both MC  
and RR, many of which are clunky echoes of what RG has released. I  
never seem to have the time to polish them for others to use, though  
eventually I demand enough new features from myself that they become  
almost... quite nearly... just about... but not ACTUALLY ready for  
prime time. I would love to have incentive to push them over the edge.


Many of my tools pertain to managing projects: loading, saving,  
building, versioning, and archiving. Others pertain to image  
manipulation and color management. Most though, are just too project- 
specific.


Include me in.

t


--
Tereza Snyder

   Califex Software, Inc.
   www.califexsoftware.com
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: MC IDE: Passing the Poohbah torch and more

2006-06-22 Thread Tereza Snyder


On Jun 21, 2006, at 10:32 PM, Ken Ray wrote:




I have to say, Richard agreed to be our grand poohbah for six months,
and it has stretched out to something like several years. Thanks  
for all

your efforts and the wonderful job you've done, Richard. We all
appreciate it very much.


Hear, hear! :-)


Hear hear!


--
Tereza Snyder

   Califex Software, Inc.
   www.califexsoftware.com
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: ColorizeScript challenge

2006-05-08 Thread Tereza Snyder


On Apr 26, 2006, at 7:03 PM, Richard Gaskin wrote:



I got involved a bit yesterday too, and I found myself concentrating  
on the comments:




 put offset(#,tLine) into tOff1
put offset(--,tLine) into tOff2
if tOff1  0 or tOff2  0 then
  if tOff1 = 0 then
put tOff2 into tOff1
  else if tOff2 = 0 then
put tOff1 into tOff2
  end if
  put char min(tOff1,tOff2) to -1 of tLine into tComment
  delete char min(tOff1,tOff2) to -1 of tLine
else
  put empty into tComment
end if



Did you know that // is a valid comment marker, too? Around 1997, I  
was grousing to Scott Raney about switching back and forth between C+ 
+ and MetaCard. He snuck the // comments in the next update where I  
discovered it by the usual accident no longer an error!



I gave up my comment fiddling - I'm under some project pressure - but  
I was testing by colorizing my test script, where I found that --  
and # in quotes were a real problem. Which of course brings up the  
whole issue of quoted strings containing keywords


t


--
Tereza Snyder

   Califex Software, Inc.
   800 Water Street
   Sauk City, WI 53583
   608.643.2586
   AIM: terezasnyder1

___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: ColorizeScript challenge

2006-04-27 Thread Tereza Snyder


On Apr 27, 2006, at 10:31 AM, Richard Gaskin wrote:



And I don't colorize my scripts. How pathetic are we? Make sure  
Richard buys you a nice meal.

I don't colorize either. What a couple of saps.


That makes three of us. :)



four!

t


--
Tereza Snyder

   Califex Software, Inc.
   800 Water Street
   Sauk City, WI 53583
   608.643.2586
   AIM: terezasnyder1

___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: GIF doesn't display properly

2003-09-30 Thread Tereza Snyder
on 09.28.03 9:17 AM, kweto wrote:

 So, now my tentative conclusion is that the problem appears stack-related.
 And yet, why would two stacks that rely on an image object's file-path to
 display GIFs mysteriously result in the *same* GIF with the *same* path
 being displayed so differently ? Hmmm Oh well, if this one remains a
 mystery forever, I can live with that. Maybe.


At this point, I'd suspect a stack property... alwaysBuffer, maybe? Or the
bufferHiddenImages global?

When I had this problem with a multi-frame GIF, setting its constantmask to
true fixed it.

tereza


+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Moving the MC IDE forward

2003-07-09 Thread Tereza Snyder
on 07.09.03 1:20 PM, Richard Gaskin wrote:

 Things we need to decide:
 
 - Is Yahoo Groups acceptable as a groupware solution for this project?
 With its discussion list, file repository, calendar, and links it
 gets my vote, but there may be things I'm overlooking.
 
 - If so, is it simpler to alter the existing group or create a new one?


It seems like a good solution, and a good group to use. It hasn't had much
traffic since the action moved to the MetaCard list at RunRev.




+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Help! Has anyone compiled an external for OS X?

2003-06-07 Thread Tereza Snyder
on 06.06.03 11:08 PM, [EMAIL PROTECTED] wrote:

 You *should* be able to add a target for a mach-o bundle and compile with the
 mach-o precompiled header in place of the Carbon, PPC, 68k, etc. You'll need
 to add frameworks (instead of libraries) to the target- i.e. Carbon.framework
 or others you may need such as Quicktime. Other than that, the example
 external code should compile into a bundle for you with little modification.
 Follow the install procedure from my previous email and you *should* be
 golden...

 
With your encouragement, Brian, I will soldier on!

Does the .bundle file go in the MacOS folder inside contents inside the
.app? Can it? Should it? Must it?

I *shall* succeed! (I gotta!)

Thanks again,

tereza



+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Help! Has anyone compiled an external for OS X?

2003-06-06 Thread Tereza Snyder
A year ago, I worked on an external for PPC and for Windows. I remember that
getting everything right was a nightmare, but I succeeded in compiling,
debugging, testing, installing, and deploying both using Codewarrior. Now I
need to make a new external for Mac OS X and I find I'm completely at sea.

The 2.5 readme says: Externals must now be in Mach-O bundle format on Mac
OS X.  Updated projects are included in the Mac OS X package. No such
thing.

I downloaded the external.sit file. I saw that there is a CodeWarrior
project and I thought, halleluiah, there really is a project already set up!
I'll be able to see what libraries are needed and where to put the output.
I'm in business! 

If you've tried it, you know what I discovered. The external.proj doesn't
have a mach-o target, only a Carbon, a 68K, a PPC, a Fat target. There are
some mach-o files in the external Data folder, but CodeWarrior won't do
anything with them. The readme is the same old readme. The tutorial is the
same old tutorial (that requires you to compile the external before it will
guide experienced 'C' programmers through the process of customizing a
MetaCard external Huh!). The source files are the same old source files.

Once upon a time I was an experienced 'C' programmer. There are half a
dozen money-earning apps out there to prove it. But the compilers have
changed and the OS has changed while I've been grinding out MetaCard apps.
Has total immersion in MetaCard dulled my mind? I'm flummoxed.

Can anyone out there start me off with a CodeWarrior project that's set up
to produce a MetaCard external for MacOS X, and a little guidance as to
where/how to put the output binary?


I have both CW 7 and CW 8.


Exasperated again,

tereza





+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Type 2 error additional info

2003-05-31 Thread Tereza Snyder
on 05.30.03 8:07 PM, Shari wrote:

 
 Does anyone know how to pull errors out of the console/terminal
 window in Jaguar (whatever the divil that DOS like thang is called...)


Open the console application and check Eenable crash reporting and
Automatically display crash logs in the preferences. From that moment on,
any OS X application that crashes will cause the console log and the crash
log for the application to appear.

You will be able to copy the crash data for the crash from MetaCard's crash
log to send to [EMAIL PROTECTED] Just be sure you take only the data for
the specific crash. (I have more than once sent Scott the wrong crash data!
Embarrassing!)

tereza

+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Standalones and file icons

2002-10-11 Thread Tereza Snyder

on 10.11.02 7:56 AM, Shari wrote:

 I have a standalone, with embedded stacks, and with external stacks.
 
 The standalone has a creator code and custom icons, and all is well.
 
 I want the external stacks to also have custom icons, different from
 the standalone, but nothing I've tried gets the icons to stick.

...
 

 What specifically, needs to be done, to have stacks with custom
 icons?  The stacks are part of the standalone program, mostly to save
 data into, but have other uses as well.
 

Here's what I do:

Create icon resources for your auxiliary stacks, and set them up in the BNDL
resource to apply to files of type 'MSTK'.

Save your auxiliary stacks with stackfiletype MYAPMSTK where MYAP is
your creator code. Now, so long as you don't save the auxiliary stacks from
the development environment without setting the stackfiletype, they should
display your icon in the finder. You may need to rebuild the desktop for the
change to appear.

But to keep myself sane, I separate this task from development per se by
making it part of the build process. I run a lockup utility script before
building a standalone, that loads all my auxiliary stacks into memory one at
a time with lockmessages true, runs lockup on each (a handler in the stack
script that empties fields that ought to be empty, etc.) and saves each with
the correct stackfiletype into my distribution directory. In addition,
I've modified the standalone builder script to add resources (like the BNDL
resource, a version resource, and the icons) to my application from a
separate resource file during the build. After all, it doesn't matter what
icons those stacks have on my development machine - it's the distribution
that counts.

Hope this helps,

tereza



+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: MetaCard 2.4.3 build 5/6

2002-09-22 Thread Tereza Snyder

on 09.21.02 1:37 PM, Scott Raney wrote:

 The Mac OS X engine is currently stuck at build 4.  There are a few
 things that Jaguar (Mac OS X 10.2) broke, but unfortunately they're
 mostly problems with Jaguar itself that we must wait for Apple to fix.

I need to build a macOS X version of the GoTalk Overlay Software that prints
images with alpha channels. And I need to do it soon. Is there any hope?

I've pretty much given up hope of figuring out the wont run problem. The
previous version I had on hand does run, and its date is the same. But it
has the bug I reported earlier, where stacks opened on the second monitor
come up blank. Is this one of those problems with Jaguar you mentioned? Have
you tested 10.2.1? (I don't have it yet to try it.)


I wish you smooth sailing with 2.5,

tereza






___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: MetaCard 2.4.3 build 5/6 --oops

2002-09-22 Thread Tereza Snyder

Sorry all,

Please ignore my previous post. It was meant for Scott alone. Darn that
Reply button!


tereza

+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: MetaCard 2.4.3 beta 2

2002-07-05 Thread Tereza Snyder

on 07.03.02 05:56 AM, Ernst M. Reicher wrote:

 In the readMe it reads:
 *** MetaCard 2.4.3 release notes *
 The messages suspend and resume are sent when the application
 loses and gains the keyboard focus, respectively.
 
...
 
 suspend and resume don´t work predictable...
...


I'm finding some unpredictability, too. In Windows, I get many many suspend
and resume messages; on PPC, I receive only one suspend or resume message,
but only if hidepalettes is true. If hidepalettes is false, I don't get
either message.

tereza




+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Carbon backdrop plea for help

2002-05-15 Thread Tereza Snyder

Hiya all,

My long-suffering application is in its final birth throes - about to go to
the QA company for testing - and I have a problem that will probably cause
me to withhold the Carbon version, unless someone can help me work around
it.

I usually develop in a Mac Classic environment and test in Windows - for
this app, Carbon is a tertiary concern. My problem revolves around a bug in
MetaCard Carbon that I've reported, but isn't yet fixed and I can't wait for
the next MetaCard release.

My app allows the user to create documents, perhaps many of them will be
open at once. In addition, it has a couple of palettes and auxiliary
windows, it has a cover desktop/reveal desktop option in the file menu
(which sets/empties the backdrop property) so users can declutter their
workspace. 

In the Carbon version running in both Classic and OS X, when the user
switches out of the application and then back in (by whatever means), the
document windows move behind the backdrop. In the Carbon app running in
classic, the documents even move themselves behind the backdrop when they're
updated after being created!

SuspendStack/resumeStack are stack- (i.e. Window-) level messages, not
application-level. AFAIK there's no way for my application to know when it's
been suspended. 

The only way to bring the document windows to the front is for the user to
pick reveal desktop (i.e. set the backdrop to empty) then pick hide
desktop. No user will stand still for that.

I'm open to any suggestion.

tereza



+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Directory puzzle

2002-03-17 Thread Tereza Snyder

hi all,

I have made a file selector dialog for my application which has developed a
problem in Windows 2000 which puzzles me:

I have a path //hostnt/library/tereza/gotalk (which is an existing
directory),

and I type in the msg box:
put there is a directory //hostnt/library/tereza/gotalk
MetaCard puts true

then I type:
put there is a directory //hostnt/library/tereza  --true

then I type:
put there is a directory //hostnt/library  --false

My scripts are doing the same, and getting the same output. Is there some
Windows or network thingy happening? Adding a / to the end makes no
difference. 

What can I do? What's going on?

Going crazy,

tereza






+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Compressing stacks - is it possible?

2002-02-21 Thread Tereza Snyder

Hi all,

Is it possible to compress a stack, save it to disk, then later read it,
decompress it and presto! have a stack again?

I don't think so, but maybe?

tereza




+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Compressing stacks - is it possible?

2002-02-21 Thread Tereza Snyder

on 02.21.02 08:11PM, Scott Rossi wrote:

 FWIW, one thing I've done is to compress sounds, import the compressed data
 into a custom property in a stack, and later write the sounds to the drive
 and decompress them for playback.  I assume the same will work fine with
 stacks.


Are you saying I can script

set the MyCustomProperty of stack mystack to stack stackToCompress ?

I just get source is not a container.

I see that I could write the stack to disk, then read it as a binfile,
compress it, then write the compressed data out again. To reconstitute it, I
guess I'd have to read the compressed file as a data, decompress it as a
data, write it out as data again, then open the file as a stack.

I was hoping there would be a way to get MetaCard to treat a stack in memory
(not a file) as a lump of data to compress.

I have about 1000 small stacks to put on a CD. I guess it won't kill me to
have the stack-indexer-and-writer-outer script read-write-read-write each
stack to get them onto the CD when I prepare it for distribution, but I
don't like having to read-write-read stacks to open them for the end user.

So, no one knows a way to coerce MetaCard to treat a stack in memory as
text?

ever hopeful,

tereza


+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: XY

2002-01-25 Thread Tereza Snyder

on 01.25.02 01:19PM, Nelson Zink wrote:

 Tereza,
 
 To avoid bottling up the engine servicing your loop:
 
 on mouseMove mX, mY
 put format( horz: %d  vert: %d, mX, mY )
 end mouseMove 
 
 Scott Raney has told us in the past that repeat until the mouseClick is
 not a good idea because it bolixes up the event handling in the engine. I've
 found that mouseMove works wonderfully in situations where you'd be tempted
 to use repeat until the mouse is up or similar loops.
 
 While mousemove seems straight forward, how would one go about turning it on
 and off as might be needed in the XY function?
 

something like: (NOT A REAL SCRIPT)

LOCAL tXY = false

on XY
put true into tXY
end XY

on mouseMove mX,mY
   if tXY then
 if the mouse is down then
   put false into tXY
 else 
--  do XY stuff
end if
end mouseMove


another way: on XY, insert a script containing the code temporarily into the
front, and remove it on mouseup



+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: xy

2002-01-23 Thread Tereza Snyder

on 01.23.02 04:29 AM, [EMAIL PROTECTED] wrote:

 new and improved... no flashy text...
 
 on xy
 repeat until the mouseClick
 get the mouseLoc  horz:the mouseH  vert:the mouseV
 if it is not lastxy then
 put it
 put it into lastxy
 end if
 end repeat
 end xy

To avoid bottling up the engine servicing your loop:

on mouseMove mX, mY
 put format( horz: %d  vert: %d, mX, mY )
end mouseMove 

Scott Raney has told us in the past that repeat until the mouseClick is
not a good idea because it bolixes up the event handling in the engine. I've
found that mouseMove works wonderfully in situations where you'd be tempted
to use repeat until the mouse is up or similar loops.
 
tereza 



+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Change font of script editor in MC 2.3.2

2002-01-03 Thread Tereza Snyder

on 01.03.02 09:49 AM, [EMAIL PROTECTED] wrote:

 I would like to change the font used in the script editor (MC 2.3.2 -
 Win32).  I know I can change it while I am editing but I want to be able to
 change the default used for every script.


I use a font (on the Mac) called ProFont, which exaggerates the characters
of interest to programmers: numbers, certain punctuation, I vs l etc. To get
MetaCard to use it, I run a customizing script in my private utilities stack
every time I get a new MCTools stack. The script changes the TextFont of the
editor field in the stack script editor (which is a substack of the
MetaCard Menu Bar stack). Save the tools stack after the change, and there
you go! But be sure you haven't opened any scripts during the session when
you run the customizing script, or extra copies of the script editor
(Script Editor 1, etc.) will be saved along with the prototype script
editor stack (plain Script Editor) and they won't have the new font.

In my customizing script, I also set the default positions of the palettes,
change colors, and other details.

tereza


+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: (no subject)

2001-12-13 Thread Tereza Snyder

on 12.13.01 08:42 AM, Eva Isotalo wrote:

 I'm getting following error message  when using a stack which worked on MC
 2.3. I don't know how to respond, if I have some strange programming or if
 it is something else.
 
 Object: button Script... of card Execution Error Card of stack
 Execution Error of stack D:MC2.4-1/mctools.mc
 
 When checking, it markes the line in:
 
 on mouseUp
 editScript the long id of the errorobject of this card
 end mouseUp
 
 What should I do here?


The error handling was changed in the recent version of MetaCard 2.4.1 (read
the readme -- I skipped over it until I got caught by something similar).
The errorobject is now defined differently. See the scripts in card 1 of the
executionError stack.

tereza

+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: [Metacard] OS X: 'icns' resources?

2001-11-26 Thread Tereza Snyder


 Recently, Richard Gaskin wrote:
 
 Anyone know where on Apple's site they have the info on how to create 'icns'
 resources?


then on 11.26.01 02:44PM, Scott Rossi wrote:

 Not on Apple's site, but here's a utility for doing so:
 
 http://www.mscape.com/products/iconographer.html
 

If you use Photoshop or a photoshop-plugin-compatible graphics editor like
Fireworks, check out :

http://www.iconfactory.com/


t

+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Inquiry for graphics external

2001-11-14 Thread Tereza Snyder


 On Monday, November 12, 2001,I wrote:
 
 Does anyone have a Mac/Win external that I could use to manipulate
 graphics
 images - rotate, scale, crop - to supplement or replace MetaCard 2.4
 built-in functions? MetaCard's implementation introduces very noticeable
 distortions, especially with images that have alpha channels.
 Unfortunately, my application encourages users
 to crop, scale, rotate, and flip the  images  they import.
 

and Kevin James suggested:

 
 Have you considered using java applets?  They are prone to all the
 problems of java ... slow, differing behaviors with platform-specific
 interpreters, etc. ... but could be a temporary fix (need is
 immediate) to buy you some time.  They are also cross-platform by
 default, platform-specific issues notwithstanding.
 
 My specific need is to use MC as a front end for a medical image
 archive of xrays, ct and mri data, etc.  Functions such as leveling,
 rotating, cropping etc. are essential for viewing these sorts of
 images.
 
 In lieu of externals, my current approach is to use MC as front end
 for both uploading and viewing images  ... data such as patient name,
 etc. are written to a webserved database and the image is ftp'ed to
 the appropriate location.  To view the images, I have MC launch a
 browser with a URL that finds images based on the user's search
 criteria, such as name, medical record #, etc.  This results page is
 formatted in such a way that each image is represented by several
 hyperlinks corresponding to multiple ways to view the image.  You can
 view the image as is as a regular jpeg in your browser, use a
 simple java applet which basically allows you to zoom in and out, or
 use the feature-rich ImageJ, a public domain project of the National
 Institutes of Health which bills itself as the world's fastest pure
 Java image processing program.
 
 Check it out:
 
 http://rsb.info.nih.gov/ij/applet2/
 
[snip]

Wow! amazing stuff.

I can't imitate your approach in my application (where my users are
creating, combining, printing, and saving documents (stacks) containing
images and text and more) but I lust for the features I saw in my quick
exploration of ImageJ!

Thanks for the link


tereza





+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269


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: Inquiry for graphics external

2001-11-13 Thread Tereza Snyder

on 11.12.01 05:01PM, [EMAIL PROTECTED] wrote:

 
 On Monday, November 12, 2001,I wrote:
 
 Does anyone have a Mac/Win external that I could use to manipulate
 graphics
 images - rotate, scale, crop - to supplement or replace MetaCard 2.4
 built-in functions? MetaCard's implementation introduces very noticeable
 distortions, especially with images that have alpha channels.
 Unfortunately, my application encourages users
 to crop, scale, rotate, and flip the  images  they import.

to which Mark Talluto replied:

 
 I am not a big fan of externals as there is always the potential of not
 having it for the platform you need.  Since MC has implemented most of
 these features, I would write into Scott and discuss what needs to be
 improved in a future version.  I will be using these new image features
 too in the next few weeks too.  If they are not working right as good as
 they could, maybe something could be done internally to improve them.
 This would be best for all I believe.

I agree 100%.

Sorry, I ought to have mentioned that I _have_ corresponded with Scott about
the distortions in the image operations; and I'm confident that they'll
improve eventually, but my need is immediate and it's not a high priority
for Scott.

Does anyone know of a dual-platform interface to QuickTime 2D Graphics
functions? I've only ever compiled externals for the Mac, not Windows. I'd
welcome anything that would boost me over the learning curve.

tereza



+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269


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.




Inquiry for graphics external

2001-11-12 Thread Tereza Snyder

Does anyone have a Mac/Win external that I could use to manipulate graphics
images - rotate, scale, crop - to supplement or replace MetaCard 2.4
built-in functions? MetaCard's implementation introduces very noticeable
distortions, especially with images that have alpha channels. Unfortunately,
my application encourages users to crop, scale, rotate, and flip the images
they import. 

Is there any hope?


tereza



+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269


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.




tree field redux

2001-09-17 Thread Tereza Snyder

Hello all,

I'm sure many of you were as interested as I was in José Luis Rodríguez'
tree field. As it happens, I had an immediate use for it. In adapting it
for my needs, I ended up modifying it extensively, although my version is
for MetaCard 2.4 only. If anyone would like a copy, please email me.

new features:

- optional images for handles
- can return full path to selected line
- can uniformly expand outline to any level
- can return full expansion of outline without handles
- can limit clicks for expansion to handles only

In addition the scripts demonstrate the use of recursion and setprop/getprop
handlers. 



tereza


+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269


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: Rollovers,URLs, and a Wish

2001-09-11 Thread Tereza Snyder

on 09.10.01 3:13 PM, Ken Ray wrote:

 Sorry to ask, but what does the hilite icon NOT do that you would want in a
 rollover effect? Perhaps I'm just being naive here...


As I wrote in an earlier post:

 I found that if you set the armed icon, and set auto-arm to true
 so that it shows when you roll over the button, the hilite icon no longer
 shows when you actually click the button. I've had to fall back to how I used
 to do rollovers (mouseenter, mouseleave, etc).

I guess the distinction is that rollovers don't require the mouse to be
down. 

tereza


+ Tereza Snyder 
+ Senior Software Developer
+ Attainment Company, Inc.
+ www.attainmentcompany.com
+ 800.327.4269


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.




Hiding and showing the backdrop

2001-08-01 Thread Tereza Snyder

Hi all,

I've designed my current project with a buttonbar at the top of the screen
and I'm using the backdrop to hide the desktop if the user prefers it.
However, I'd like the backdrop to disappear when the user switches to
another application and I can't for the life of me figure out how.
SuspendStack doesn't suit because the user will be activating different
stacks and the SuspendStack message is sent both when switching out of
MetaCard AND when switching stacks. There seems not to be a specialized
message for suspending the application.

Palette windows disappear when switching out of MetaCard (when hidePalettes
is true), but there seems to be no message sent on that occasion (the docs
say the palettes are _closed_, but it appears they're only hidden(which
makes sense).

Does anyone know a solution?

tereza

 


+  Tereza Snyder
+Software Developer
+  Attainment Company, Inc.
+ www.attainmentcompany.com
+   608.845.7880


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: State icons -- missing rollover?

2001-07-19 Thread Tereza Snyder

on 07.18.01 8:24 PM, Monte Goulding wrote:

 
 
 
 The READ ME for 2.4 sez:
 
 Buttons now have a wider range of icon properties to make state-based
 display easier.  The full set is: armedIcon, disabledIcon, hilitedIcon,
 icon, and visitedIcon.
 
 No rollover?  I'm assuming that armed is the native (or up) state.
 
 
 I did some testing after a post from Tuviah I think??? about the armedIcon
 and it works a bit like a rollover but not all the time. I couldn't work out
 the behaviour. I guess it's meant more for custome menu pannels than
 anything else.

That was me. I found that if you set the armed icon, and set auto-arm to
true so that it shows when you roll over the button, the hilite icon no
longer shows when you actually click the button. I've had to fall back to
how I used to do rollovers (mouseenter, mouseleave, etc).

tereza



+  Tereza Snyder
+Software Developer
+  Attainment Company, Inc.
+ www.attainmentcompany.com
+   608.845.7880


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: how do I turn off the focusColor?

2001-07-17 Thread Tereza Snyder

on 07.17.01 12:34 PM, Scott Raney wrote:

 2) Make it apply to all objects (i.e., buttons and players also get a
 focus border in the Motif look and feel, and it might be nice to be
 able to turn this off).
 3) Make it global or an inheritable stack property.

In my projects, either I want focus borders everywhere (a conventional
text-entry app) or I don't want them anywhere (an educational quasi-game).

So I guess I'd back method 2 and/or 3.

t



+  Tereza Snyder
+Software Developer
+  Attainment Company, Inc.
+ www.attainmentcompany.com
+   608.845.7880


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.




2.4b2 hilited armed icons

2001-07-03 Thread Tereza Snyder

I have some buttons that should display one icon when enabled, another when
disabled, another when rolled over, and yet another when hilited (clicked,
or set from script). I thought the new armedIcon and disabledIcon button
properties would do the trick, but it seems the armed and hilited properties
don't work the way my mental model does.

If I have both autoArm and autoHilite set to true, only the armedIcon is
used, even when the user clicks the button. If I set autoArm to false, the
button shows no rollover behavior of course, but it does display the
hiliteIcon while the mouse is down as buttons always have.

I haven't used 'autoArm' much in the past. Is this the way it's supposed to
act? If so, does anyone have a method for getting the behavior I'm after?

tereza


+  Tereza Snyder
+Software Developer
+  Attainment Company, Inc.
+ www.attainmentcompany.com
+   608.845.7880


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: Screen resolution

2001-04-26 Thread Tereza Snyder


Richard Gaskin  wrote:

 we feel
 pretty confident about designing for 800x600 for everything except some apps
 designed specifically for public education or other markets with a
 disproportionate percentage of older machines

Since public educators are the market for the company I work for, I proceed
in the opposite fashion: only a few higher-level administrative programs
require 800*600; any application designed for classroom use must accommodate
640*480.

tereza


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.