Re: Why... is the selected text deselected?

2003-02-20 Thread Ken Norris (dialup)
**
> Date: Wed, 19 Feb 2003 16:50:11 -0700
> Subject: Re: Why... is the selected text deselected?
> From: Alex Rice <[EMAIL PROTECTED]>

> On Wednesday, February 19, 2003, at 10:35  AM, Ken Norris (dialup)
> wrote:
>> 
>> Is there a reason you can't have the backgroundBehavior true?. It
>> should
>> work under those conditions, or else it wouldn't be compatible with HC.
> 
> Either I'm not following you, or it doesn't work. I grouped by field,
> set backgroundBehavior to true, turned of messages, then moved forward
> a card, then back, and my selection was gone.
--
OK, let me try it in Rev, then I'll make a single bg shared text list field
in an HC stack and translate the stack into Rev and see what it does. I just
checked it several hours ago in HyperCard, and it works fine. In fact the
field I checked, even though a selectable shared text one, is even more
customized with voice feedback. Further, I not only navigated back and forth
through several cards, but I even made new cards and deleted cards, none of
which deselected the line in the field. I could still access it with:

  put the selectedText of bg fld "CommonWords"

...returned the contents of the line to the Message box, even after all that
manuevering.

I'll let you know tomorrow...that is if I can work Rev without it quitting
on a type 2 error on my old PowerBook (happened 4 times yesterday), which I
just defragged.
--
>> A totally different approach: Put the field into a palette or other
>> floating
>> window. Selections seem to stick from card to card until you select
>> something else.
> 
> I'm not following you. Does this have to do with the window decoration
> you select in the stack properties?
--
It was just an idea I floated. I'll have to check into it further.

Best regards,
Ken N.


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



Re: Why... is the selected text deselected?

2003-02-20 Thread Ken Norris (dialup)
**
> Date: Wed, 19 Feb 2003 19:46:23 -0700
> Subject: Re: Why... is the selected text deselected?
> From: Alex Rice <[EMAIL PROTECTED]>

> That's just it- the field is only intended to be on the first card.
> Second card has other stuff on it. I guess I wasn't being clear about
> that. thanks,
--
Oh. I don't see how that can be if it's sharedText is true and grouped with
backgroundBehavior set to true. If it is, then it runs in the background
mode like HyperCard, meaning it should be on every card of that background
group.

If you actually don't want to see it on other cards, then hide it until you
get back to the card on which you want to see it and show it there. It
should display with the selection still on.

In fact, if you leave it selected, you should be able to _close_ the stack
and reopen it and it should _still_ be selected. Somewhere I have stacks
with 17 autoSelect, sharedText fields, and all of them will still show their
last selected lines until I deliberately deselect them. You can select
anything else, anywhere else, and it shouldn't deselect a shared text
background field (well, a grouped field with background behavior on).

Is this making any sense?

Ken N.

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



tabs

2003-02-20 Thread runrev
OK, I'm losing it.  I had this just last week and for the life of me I can't
think of how I did it.  I know it's a simple one liner but please, somebody
jog my memory.

Let's say I have 4 tabs in a grouped control.  The text of the tabs from
left to right is one, two, three and four.  Now, if I had another button
(outside of the tabs), and when clicked, simply sent a mouseup to a specific
tab, what is the code.  Supposing the selected tab is currently one, and I
want it to switch to three without physically clicking tab three...

Sorry everybody, total brain dump.
Thanks all.

Ron

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



Re: Rough day on the Revolution front

2003-02-20 Thread Ken Norris (dialup)
**
> Subject: Re: Rough day on the Revolution front
> Date: Wed, 19 Feb 2003 23:09:45 -0500
> From: Howard Bornstein <[EMAIL PROTECTED]>
 
> I haven't done extensive testing, but my feel at this point is that Rev
> 2.0 is much more stable in this regard. I've seen some of the bugs that
> are still in it, but not this periodic, inexplicable, decent into
> insanity that Rev 1.1.1 seems to exhibit. I could be wrong, but I'm
> hoping this kind of experience will soon be a thing of the past.
--
Thanks for the Re Howard,

Well, it's not out of beta yet, is it? I'm like you, I hope the final
shipping version is stable.

One of the things I've noticed is that it's fairly viscious when it comes to
memory on a Mac. You're much better off if you don't run other programs
while working in the IDE. Also, I wish I'd been paying more attention to
whoever said they have a timer plugin that autosaves a copy of the current
iteration of whatever they're working on every so often.

Anyone know where that plugin is?

Thanks much,
Ken N.

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



Re: tabs

2003-02-20 Thread [EMAIL PROTECTED]
Assuming you already have a "mouseUp" function within the tabbed button that
takes care of what happens when a tab is clicked on, you could do this:

set the menuHistory of button "My Tabbed Button" to 3
send "mouseUp" to button "My Tabbed Button"

Hope this helps.

Valetia



> From: [EMAIL PROTECTED]
> Organization: Technetx
> Reply-To: [EMAIL PROTECTED]
> Date: Thu, 20 Feb 2003 01:22:41 -0800
> To: "Run Time Revolution USE" <[EMAIL PROTECTED]>
> Subject: tabs
> 
> OK, I'm losing it.  I had this just last week and for the life of me I can't
> think of how I did it.  I know it's a simple one liner but please, somebody
> jog my memory.
> 
> Let's say I have 4 tabs in a grouped control.  The text of the tabs from
> left to right is one, two, three and four.  Now, if I had another button
> (outside of the tabs), and when clicked, simply sent a mouseup to a specific
> tab, what is the code.  Supposing the selected tab is currently one, and I
> want it to switch to three without physically clicking tab three...
> 
> Sorry everybody, total brain dump.
> Thanks all.
> 
> Ron
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

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



Re: Rough day on the Revolution front

2003-02-20 Thread [EMAIL PROTECTED]
> One of the things I've noticed is that it's fairly viscious when it comes to
> memory on a Mac. You're much better off if you don't run other programs
> while working in the IDE. Also, I wish I'd been paying more attention to
> whoever said they have a timer plugin that autosaves a copy of the current
> iteration of whatever they're working on every so often.
> 
> Anyone know where that plugin is?

That would be Chipp's altArchive plugin available at:

http://www.altuit.com/webs/altuit2/RunRev/NewPlugins.htm

Hope this helps.

Valetia

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



Re: tabs

2003-02-20 Thread Klaus Major
Hi Ron, hi Valetia,


Assuming you already have a "mouseUp" function within the tabbed 
button that
takes care of what happens when a tab is clicked on, you could do this:

set the menuHistory of button "My Tabbed Button" to 3
send "mouseUp" to button "My Tabbed Button"

Hope this helps.

Valetia

you can even omit the second line :-)
(send mouseup...)


 set the menuHistory of button "My Tabbed Button" to 3


That'll do the work...


Regards


Klaus Major
[EMAIL PROTECTED]

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



Re: tabs

2003-02-20 Thread [EMAIL PROTECTED]
Hey Klaus,

>> set the menuHistory of button "My Tabbed Button" to 3
>> send "mouseUp" to button "My Tabbed Button"
> 
> you can even omit the second line :-)
> (send mouseup...)

I had also thought that you could omit the second line. However I have a
stack that does require the second line, otherwise only the tab changes (the
related "mouseUp" action doesn't automatically occur).

Valetia

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



Re: tabs

2003-02-20 Thread Klaus Major
Hi Valetia,


Hey Klaus,


set the menuHistory of button "My Tabbed Button" to 3
send "mouseUp" to button "My Tabbed Button"


you can even omit the second line :-)
(send mouseup...)


I had also thought that you could omit the second line. However I have 
a
stack that does require the second line, otherwise only the tab 
changes (the
related "mouseUp" action doesn't automatically occur).

Valetia

good to know.

I will add this line to all my handlers, especially those,
who work as exspected (until now ;-).

Thanks a lot.


Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: tabs

2003-02-20 Thread Dave Cragg
At 1:43 pm +0100 20/2/03, Klaus Major wrote:

Hi Valetia,


 Hey Klaus,


 set the menuHistory of button "My Tabbed Button" to 3
 send "mouseUp" to button "My Tabbed Button"


 you can even omit the second line :-)
 (send mouseup...)


 I had also thought that you could omit the second line. However I have a
 stack that does require the second line, otherwise only the tab changes (the
 related "mouseUp" action doesn't automatically occur).

 Valetia


good to know.

I will add this line to all my handlers, especially those,
who work as exspected (until now ;-).


When you set the menuhistory, a "menuPick" mesage gets sent to the 
button. So if you handle the tab selections in a menuPick handler 
(the normal way, I think), just setting the menuHistory is enough. 
But if you need to handle mouseUp too, then you'll have to send that 
yourself.

Cheers
Dave
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: tabs

2003-02-20 Thread [EMAIL PROTECTED]
> When you set the menuhistory, a "menuPick" mesage gets sent to the
> button. So if you handle the tab selections in a menuPick handler
> (the normal way, I think), just setting the menuHistory is enough.
> But if you need to handle mouseUp too, then you'll have to send that
> yourself.

OK...sounds good. :-)

Valetia

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



Size of build and minimization thereof

2003-02-20 Thread Ivers, Doug E
I have a stack (including substacks) that is about 920kb.  When I build, it typically 
grows to between 2 and 3Mb depending on the target platform.

What are some easy things to try for cutting down on the built size?  I don't check 
the Animation, Printing, Database, or Internet libraries, or Error Reporting.  I do 
check everything else in Resources.

I'm surprised that my stack unbuilt is 920kb -- what can I do to dramatically reduce 
that?  I only have one jpeg image and one audio file, no other resources.

Is there a way to find out how much of the 920kb is code?


-- D

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



Re: T-Shirt competiton and Tagline

2003-02-20 Thread Björnke von Gierke
Is it possible to get the font that is used for the subscript at the 
"Made with Runtime Revolution" logo?
With it one could write the tagline like it is supposed to.

On Mittwoch, Feb 19, 2003, at 18:44 Europe/Zurich, Heather Williams 
wrote:

Greetings! Ladies and gentlemen, as you will see from my signature, we 
have
a new tagline at last. If you are entering the t-shirt competition, you
might like to incorporate this in your design. Anyone who has already
entered is welcome to modify their entry to take account of this.

Looking forward to seeing you all wearing it :-)

Heather
--
Heather Williams <[EMAIL PROTECTED]> 
Runtime Revolution Ltd.
Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707
Revolution: Software at the Speed of Thought

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


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



Re: Clueless loss

2003-02-20 Thread Wolfgang M. Bereuter

On Mittwoch, Februar 19, 2003, at 07:34  Uhr, Ken Norris (dialup) wrote:


However, can you brief me on how to sort images? I'm not sure what you 
mean,
i.e., moving images around to see which ones are under others, then 
moving
them forward or backward?
In 1.1.1
prop palette
tab basic
layers: number of the layer
below: 4 arrows - with them you can move controls up/down (also to the 
first or last)
hope that helps

in pre beta its under "size and position"

regards
Wolfgang M. Bereuter

Learn easy with trainingsmaps©

INTERNETTRAINER Wolfgang M. Bereuter
Edelhofg. 17/11, A-1180 Wien, Austria
...
http://www.internettrainer.com, [EMAIL PROTECTED]
...
Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539

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


Re: Size of build and minimization thereof

2003-02-20 Thread Björnke von Gierke
THe only way to reduce the size of the executable is to uncheck all 
libraries and don't include anything into the stack, but it will only 
get you to around 1.5 MB. You do naturally need more space for the code 
that executes your scripts in the standalone, so that is where that 1.5 
MB comes from. There is currently no way of getting less size. however 
if you compress a executable of 3 MB, then it can get as small as 600 
kB. I suggest you zip it, or such.

On Donnerstag, Feb 20, 2003, at 15:00 Europe/Zurich, Ivers, Doug E 
wrote:

I have a stack (including substacks) that is about 920kb.  When I 
build, it typically grows to between 2 and 3Mb depending on the target 
platform.

What are some easy things to try for cutting down on the built size?  
I don't check the Animation, Printing, Database, or Internet 
libraries, or Error Reporting.  I do check everything else in 
Resources.

I'm surprised that my stack unbuilt is 920kb -- what can I do to 
dramatically reduce that?  I only have one jpeg image and one audio 
file, no other resources.

Is there a way to find out how much of the 920kb is code?


-- D


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


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



Re: Size of build and minimization thereof

2003-02-20 Thread Scott Rossi
Recently, Ivers, Doug E wrote:

> I'm surprised that my stack unbuilt is 920kb -- what can I do to dramatically
> reduce that?  I only have one jpeg image and one audio file, no other
> resources.

How much space do your raw files (JPEG and audio file) occupy on the
desktop?

Regards,

Scott Rossi
Creative Director

Tactile Media, Multimedia & Design
Email: [EMAIL PROTECTED]
Web: www.tactilemedia.com

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



Re: Why... is the selected text deselected?

2003-02-20 Thread J. Landman Gay
On 2/20/03 12:18 AM, Alex Rice wrote:


Thanks for the suggestion. I know I can select the text with a handler 
if necessary. I just have a lot of cards and want to *maintain the 
selection in the first place* :-)

Okay, if I understand it right, you have a field that you only want to 
display on one card. You want its text selection to be persistent.

If that is the case, you do not need to group the field or assign 
backgroundbehavior to it. It is just a card field. All you need to do is 
make sure it is a list field. Non-list fields will not maintain their 
selection.

If you can't make it a list field for some reason, then you will have to 
track the selection and reset it each time the card opens, probably in a 
preOpenCard handler.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com

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


Re: Why... is the selected text deselected?

2003-02-20 Thread Jan Schenkel
--- "J. Landman Gay" <[EMAIL PROTECTED]> wrote:
> On 2/20/03 12:18 AM, Alex Rice wrote:
> 
> > Thanks for the suggestion. I know I can select the
> text with a handler 
> > if necessary. I just have a lot of cards and want
> to *maintain the 
> > selection in the first place* :-)
> 
> Okay, if I understand it right, you have a field
> that you only want to 
> display on one card. You want its text selection to
> be persistent.
> 
> If that is the case, you do not need to group the
> field or assign 
> backgroundbehavior to it. It is just a card field.
> All you need to do is 
> make sure it is a list field. Non-list fields will
> not maintain their 
> selection.
> 
> If you can't make it a list field for some reason,
> then you will have to 
> track the selection and reset it each time the card
> opens, probably in a 
> preOpenCard handler.
> 

I'm sorry Jacqueline, but that doesn't work:
- create a new stack
- make a list field, set its text to
  line 1
  line 2
  line 3
- add a button "Go next" with the equivalent script
- create a new card
- add a button "Go prev" with the equivalent script
And with this test stack, see if the selection sticks
as you move back and forth between the cards. It
doesn't.
The instant you 'leave' the card, the selection is
gone.

In fact, if you stick it into a 'background' group,
the selection is saved when you hop from card to card,
but is lost as soon as you go to a card that doesn't
have this background group.

As it is relatively easy to code around in an
openCard/closeCard pair, it's mostly an annoyance.
However, the question is : as HyperCard _did_ save
this info, and a number of people may argue that this
would be expexted behaviour, can we regard this as a
bug ?

Jan Schenkel.

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Ken's recent bad day.

2003-02-20 Thread Rob Cozens
Hi Ken,

I'm busy with OenoLog conversion and only scanning the List.  I 
trashed your message before responding.

FWIW, on Mac OS 9.2 & Rev 1.5A7, I can fairly consistently crash 
RunRev or create an indefinite hang via the Application Overview. 
All I need do is to attempt to show the controls of a card other than 
the current card while working on OenoLog (40+ cards, 400-500 
images).  Sometimes I can get to the controls of one or two cards 
before crashing; sometimes it happens on the very first card I select 
in AO.  Sometimes it's a total crash: nothing responds to the mouse; 
sometimes I can get the Finder by clicking on the menu bar, and then 
go back to the AO, which then continues as though nothing happened.

I have not reported this because (a) I am waiting to see whether it 
is fixed in v2.5 and (b) I can work around the problem by making a 
card the current card before trying to access its controls via the AO.

And "Quit" from any RunRev menu I've tried here is perceptually instantaneous.
--
Rob Cozens


Vive R Revolution!
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Why... is the selected text deselected?

2003-02-20 Thread Alex Rice

On Thursday, February 20, 2003, at 09:25  AM, Jan Schenkel wrote:

As it is relatively easy to code around in an
openCard/closeCard pair, it's mostly an annoyance.


Yep, I was just making sure I wasn't coding around something 
unnecessarily.

However, the question is : as HyperCard _did_ save
this info, and a number of people may argue that this
would be expexted behaviour, can we regard this as a
bug ?


Never used HyperCard but am glad I stumbled upon this issue :-)

Thanks,

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
[EMAIL PROTECTED]
[EMAIL PROTECTED]



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



Combo-box/popup menu in a list field?

2003-02-20 Thread [EMAIL PROTECTED]
Hey all,

How do you create a combo-box/popup menu that appears *inside* a scrolling
list field?

Specifically one that appears on each line of a certain column (the list
field has vGrid set to true)?

I know that in all likelihood this is probably not possible with Revolution,
but in that case, what would be the best way to implement something that
achieves the same effect?

Valetia

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



Serendipity Library Update 20030218

2003-02-20 Thread Rob Cozens
Hi All,

Serendipity Library Update 20030218 is now available at 
http://www.oenolog.com/ftp/serendipity_downloader.htm

The major change in this update is the addition of an annual calendar 
mode (displaying all twelve months) to ClickCalendar.  The annual 
calendar ["Year"] mode can be used whenever the specific day is not 
important (eg: selecting month and year for monthly report data), or 
it can be used as a first step in selecting a day where the range of 
months is broader then a few.  Serendipity Library is upadted to 
include new images used by ClickCalendar.

If you have a previous version of Serendipity Library, you need only download

* ClickCalendar.rev.sgz
* Serendipity_Library.rev.sdg
* and the Read Me file

and decompress them using SDB Utilities or RevVise.
--

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: several printing questions

2003-02-20 Thread Kevin Miller
On 19/2/03 10:28 pm, Alex Rice <[EMAIL PROTECTED]> wrote:

> Thanks for bearing with me. There are a lot of questions here.
> 
> Mac OS X 10.2.4
> Windows 2000
> Samsung ML-1250 laser printer
> 
> 1) I print a bunch of cards using code like this
> --
> lock screen
> open printing
> print card x
> close printing
> --
> If I lock screen as above, on Windows or on Mac, the icons on my
> buttons don't print. Or worse, sometimes there are blank regions. If I
> don't lock screen, on Windows, then print card x also causes the UI to
> *flash each card* as it's being printed, and the button graphics look
> fine. But it's better than missing regions in the print job. What is
> the workaround?

On the Mac too?  What version of Rev?  Can you send me a stack off-list.
We're trying to get a handle on all the outstanding issues at the moment
(its not proving much fun!).

> 2) What are the least volatile fonts for Rev on Windows?

Fonts that are on the printer.  Arial is usually OK.

> Meaning- I 
> want the closest correspondence between the on-screen display and the
> printed output. I've discovered that "ms sans serif" apparently doesn't
> exist on my printer, and "Helvetica" is rendered HUGE when printed.
> Like an extra 5 em-spaces per line. (formatForPrinting is not really an
> acceptable option because all of my cards are editable and they are
> laid out with formatForPrinting off, with editing in mind)

You probably do want to use this option and make the screen match it if
necessary.

> 3) However, I've also been experimenting with formatForPrinting and
> seeing no discernible difference by using formatForPrinting.

It only takes effect after closing (remove from memory) and reopening the
stack.

Kind regards,

Kevin

Kevin Miller <[EMAIL PROTECTED]> 
Runtime Revolution Limited: Software at the Speed of Thought
Tel: +44 (0) 870 747 1165.  Fax: +44 (0)1639 830 707.

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



Re: Combo-box/popup menu in a list field?

2003-02-20 Thread Ken Ray
Place a clone of the popup menu button in the proper place on each line
of the field. Make sure the field is *not* scrolling. Then group the
field and all the buttons and set the scrolling of the group to true.
You'll need to "manually" code for creating new clones of the popup menu
and relocating the clone for each new row added, but that would be the
way to do it.

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 20, 2003 12:21 PM
Subject: Combo-box/popup menu in a list field?


> Hey all,
>
> How do you create a combo-box/popup menu that appears *inside* a
scrolling
> list field?
>
> Specifically one that appears on each line of a certain column (the
list
> field has vGrid set to true)?
>
> I know that in all likelihood this is probably not possible with
Revolution,
> but in that case, what would be the best way to implement something
that
> achieves the same effect?
>
> Valetia
>
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

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



safe shell command

2003-02-20 Thread Alex Rice
I have gleaned these tidbits from the list. Can anyone add to this code 
for making sure the shell command is going to run correctly, minimized 
on all windows variants? Does anyone know if Win XP has one of these 
two variants or does it have another "command" command?

on startup
 if the platform is "win32" then
put the shellCommand into tShellCmd
if matchText(tShellCmd, "command\.com$") then
  put space & "/m" after tShellCmd
  set the shellCommand to tShellCmd
else if matchText(tShellCmd, "cmd\.exe$") then
  put space & "/MIN" after tShellCmd
  set the shellCommand to tShellCmd
end if
  end if
end startup

Thanks in advance

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
[EMAIL PROTECTED]
[EMAIL PROTECTED]



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


Re: several printing questions

2003-02-20 Thread Alex Rice

On Thursday, February 20, 2003, at 12:34  PM, Kevin Miller wrote:


On the Mac too?  What version of Rev?


Yep the printing artifacts with "lock screen" are on both Mac and 
Windows, Rev.1.1.1

Can you send me a stack off-list.
We're trying to get a handle on all the outstanding issues at the 
moment

OK will do.


laid out with formatForPrinting off, with editing in mind)


You probably do want to use this option and make the screen match it if
necessary.


What do you mean " make the screen match it ". The docs say don't set 
formatForPrinting if the stack is going to be edited. Does that mean 
edited in the IDE, or a user typing in  a field?
I can't have a duplicate set of cards for printing, because when it's 
done this app is going to have upwards of a hundred cards, and I can't 
maintain two sets.

It only takes effect after closing (remove from memory) and reopening 
the
stack.


I was closing it and reopening.. maybe the remove from memory part is 
what I was missing.

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
[EMAIL PROTECTED]
[EMAIL PROTECTED]



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


Re: tabs

2003-02-20 Thread runrev
Thanks V.

I just remembered also what I had done...

select line 3 of btn "btnTabs"
send "MouseUp" to btn "btnTabs"

Ron Tan

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 20, 2003 3:04 AM
Subject: Re: tabs


> Assuming you already have a "mouseUp" function within the tabbed button
that
> takes care of what happens when a tab is clicked on, you could do this:
>
> set the menuHistory of button "My Tabbed Button" to 3
> send "mouseUp" to button "My Tabbed Button"
>
> Hope this helps.
>
> Valetia
>
>
>
> > From: [EMAIL PROTECTED]
> > Organization: Technetx
> > Reply-To: [EMAIL PROTECTED]
> > Date: Thu, 20 Feb 2003 01:22:41 -0800
> > To: "Run Time Revolution USE" <[EMAIL PROTECTED]>
> > Subject: tabs
> >
> > OK, I'm losing it.  I had this just last week and for the life of me I
can't
> > think of how I did it.  I know it's a simple one liner but please,
somebody
> > jog my memory.
> >
> > Let's say I have 4 tabs in a grouped control.  The text of the tabs from
> > left to right is one, two, three and four.  Now, if I had another button
> > (outside of the tabs), and when clicked, simply sent a mouseup to a
specific
> > tab, what is the code.  Supposing the selected tab is currently one, and
I
> > want it to switch to three without physically clicking tab three...
> >
> > Sorry everybody, total brain dump.
> > Thanks all.
> >
> > Ron
> >
> > ___
> > use-revolution mailing list
> > [EMAIL PROTECTED]
> > http://lists.runrev.com/mailman/listinfo/use-revolution
>
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

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



Custom button icons

2003-02-20 Thread Alan Golub
I've been spinning my wheels for days now trying to figure out how to
install custom icons into my buttons. I have no problem inserting standard
icons from the image library, and I'm able to create a new library, but
that's where I'm stumped. How do I import custom icons into my library for
use in my application buttons? Is this documented anywhere?

Any help would be much appreciated.

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



Re: safe shell command

2003-02-20 Thread Ken Ray
Alex,

Why do you need to minimize? Can't you just "set the hideConsoleWindows
to true" before you do your shell command?

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

- Original Message -
From: "Alex Rice" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 20, 2003 2:41 PM
Subject: safe shell command


> I have gleaned these tidbits from the list. Can anyone add to this
code
> for making sure the shell command is going to run correctly, minimized
> on all windows variants? Does anyone know if Win XP has one of these
> two variants or does it have another "command" command?
>
> on startup
>   if the platform is "win32" then
>  put the shellCommand into tShellCmd
>  if matchText(tShellCmd, "command\.com$") then
>put space & "/m" after tShellCmd
>set the shellCommand to tShellCmd
>  else if matchText(tShellCmd, "cmd\.exe$") then
>put space & "/MIN" after tShellCmd
>set the shellCommand to tShellCmd
>  end if
>end if
> end startup
>
> Thanks in advance
>
> Alex Rice, Software Developer
> Architectural Research Consultants, Inc.
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
>
>
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

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




Re: Combo-box/popup menu in a list field?

2003-02-20 Thread Jan Schenkel
--- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hey all,
> 
> How do you create a combo-box/popup menu that
> appears *inside* a scrolling
> list field?
> 
> Specifically one that appears on each line of a
> certain column (the list
> field has vGrid set to true)?
> 
> I know that in all likelihood this is probably not
> possible with Revolution,
> but in that case, what would be the best way to
> implement something that
> achieves the same effect?
> 
> Valetia
> 

Hi Valetia,

I have a stack that emulates a series of checboxes in
a list field. All in all, it shouldn't prove too hard
to change the checkbox to an option-menu button for
your purposes.
So if you're interested, I can send you the stack
off-list (it's only 11KB) -- same goes for everyone
else who wants to have a peek at the source code :-)
Those people can drop me a line off-list.

Best regards,

Jan Schenkel.

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: safe shell command

2003-02-20 Thread Alex Rice

On Thursday, February 20, 2003, at 02:37  PM, Ken Ray wrote:


Alex,

Why do you need to minimize? Can't you just "set the hideConsoleWindows
to true" before you do your shell command?


I read on the list that hideConsoleWindows does not always work 
correctly on some versions of windows, hence to do that AND minimize.

However, I guess I am more worried about ruining the shell command by 
giving the wrong switch to minimize.

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
[EMAIL PROTECTED]
[EMAIL PROTECTED]



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


Re: Combo-box/popup menu in a list field?

2003-02-20 Thread Jan Schenkel
--- Jan Schenkel <[EMAIL PROTECTED]> wrote:
> 
> Hi Valetia,
> 
> I have a stack that emulates a series of checboxes
> in
> a list field. All in all, it shouldn't prove too
> hard
> to change the checkbox to an option-menu button for
> your purposes.
> So if you're interested, I can send you the stack
> off-list (it's only 11KB) -- same goes for everyone
> else who wants to have a peek at the source code :-)
> Those people can drop me a line off-list.
> 

Okay, I quickly created a GeoCities webpage ; and
here's the link everybody interested can download it
from directly :
http://www.geocities.com/janschenkel/downloads/checkboxlist.zip

Hope this helped some people, I'm off to bed now
*grin*

Jan Schenkel.

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: eSellerate

2003-02-20 Thread curry
For eSellerate features to support with Revolution, the ones I would 
find most useful are standard and app-generated serial codes, in-app 
purchasing, the new protection system, the special arrangements with 
portals, and perhaps the affiliate features.

Thanks,

Curry Kenworthy
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Questions about opening stacks

2003-02-20 Thread Revinfo1155
When I try to open a stack file by clicking on the file itself it doesn't open the rev application. Is this normal?

On my Mac sys 10.2.4, often when I try to open a stack thru the rev applicatio/file menu -when I locate the file it is dimmed or disabled? Why

As always -thanks for the help
jack


Re: safe shell command

2003-02-20 Thread Rich Herz
Alex Rice wrote:

I have gleaned these tidbits from the list. Can anyone add to this code
for making sure the shell command is going to run correctly, minimized
on all windows variants? Does anyone know if Win XP has one of these
two variants or does it have another "command" command?

Alex,

Win XP has both cmd.exe (the default) and command.com. The latter seems to have
different options and/or behavior than command.com on Win 98, which only has
command.com as I can see.  Below is script to run an application "myapp.exe"
that is at a path gMyappPath that may contain spaces in path name.

Setting MC/Rev hideConsoleWindows to true may help, and I do it, but
can't rely on it.  Even with script below I get a minimized console
button appearing in the Win task bar at bottom of screen while
myapp.exe runs, at least on one of the Win platforms (can't remember
now but could check)..

Rich Herz

on runWin32
 
  put gMyappPath into lWinPath
  replace "/" with "\" in lWinPath
 
  # check for existance of the executable
  # name must match name below in two places
  set the directory to gModuleSupportPath
  if there is a file "myapp.exe" then
# exe file is there
  else
answer "Can't run! The folder or file is missing or was renamed!"
exit to metacard
  end if
 
  # different Windows OS have different shell command programs as default
  # on Win 98 command.com is default
  # on Win XP cmd.exe is default
  # on Win XP, command.com options and behavior different than same on Win 98
 
  switch shellCommand
  case "command.com"
runCommandDotCom
break
  case "cmd.exe"
runCmdDotExe
break
  default
answer "unknown shellCommand"
break
  end switch
 
end runWin32

on runCmdDotExe
  # running on Win XP or similar
 
  # can't just use "start" and full path to executable because of possible
spaces in path
  # so have to cd to directory first (doesn't care about spaces in path), then
"start"
  # cannot use two separate get shell lines
  # see "&" below to put two or more command lines in one get shell()
 
  # the command continuation char in cmd.exe is & (don't confuse with MC &)
  put "get shell(" & quote & "cd" && lWinPath & "& start /min /high /wait
myapp.exe" & quote & ")" into todo
 
  do todo
 
  # nothing comes back to MC "it" or the result as with command.com on Win 98
 
end runCmdDotExe


on runCommandDotCom
 
  # running on Win 98 or similar
 
  # because of get MC shell() syntax requiring quotes around entire input
string
  # and because of possible spaces in path and because command.com's cd
  # is sensitive to spaces in path
  # need to write a batch file and do "cd" with quotes around path followed by
  # command in batch file to execute exe file
  # and finally have MC shell() execute the batch file
  # the command continuation character in command.com is | but doesn't
  # help because need quotes around entire "get shell" and around path for "cd"
 
  put "C:\temp_mc.bat" into tBatPath
  put "file:" & tBatPath into tBatUrl
 
  # need literal quote characters around path with spaces for command.com
  put "cd" && quote & lWinPath & quote into temp
  put cr & "myapp.exe" & cr after temp
 
  try
put temp into url tBatUrl
  catch errornum
answer "Error: can't write command file to C:\ and so can't run!"
exit to metacard
  end try
 
  # no priority options or /b as on Win XP cmd.exe, and /m here not /min
  # want /wait option so focus doesn't return to MC until after execution is
done
 
  put "get shell(" & quote & "start /m /wait" && tBatPath & quote & ")" into
todo

  do todo
 
  # command.com, at least on Win98, returns entire console contents to MC "it"
  # and so could check .exe output (Fortran program "STOP") for good run but
  # have to check for existance of full output files for cmd.exe anyway
 
  # clean up
  if there is a file tBatPath then delete file tBatPath
 
end runCommandDotCom
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: safe shell command

2003-02-20 Thread Alex Rice

On Thursday, February 20, 2003, at 09:20  PM, Rich Herz wrote:

Win XP has both cmd.exe (the default) and command.com. The latter 
seems to have
different options and/or behavior than command.com on Win 98, which 
only has
command.com as I can see.  Below is script to run an application 
"myapp.exe"
that is at a path gMyappPath that may contain spaces in path name.

Setting MC/Rev hideConsoleWindows to true may help, and I do it, but
can't rely on it.  Even with script below I get a minimized console
button appearing in the Win task bar at bottom of screen while
myapp.exe runs, at least on one of the Win platforms (can't remember
now but could check)..

Rich, this looks pretty sophisticated. Couple of questions, if I may;

For what %  of Windows users would you estimate that hideConsoleWindows 
true does actually work?

In my app, I am executing an .exe which is in the same directory as the 
standalone rev app. In that case is it safe for all the "cd" and 
command escaping that you are doing?

Thanks,

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
[EMAIL PROTECTED]
[EMAIL PROTECTED]



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


Re: safe shell command

2003-02-20 Thread Alex Rice

On Thursday, February 20, 2003, at 09:37  PM, Alex Rice wrote:


In that case is it safe for all the "cd" and command escaping that you 
are doing?

Err, I meant
"In that case is it safe NOT TO DO the "cd" and command escaping that 
you are doing?"

Thanks much,


Alex Rice, Software Developer
Architectural Research Consultants, Inc.
[EMAIL PROTECTED]
[EMAIL PROTECTED]



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


Re: safe shell command

2003-02-20 Thread Ken Ray
> For what %  of Windows users would you estimate that hideConsoleWindows
> true does actually work?

I've used it without fail for years on Win 95 through XP, so if there *are*
situations where it doesn't work, I'd like to know about 'em...

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

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



Re: safe shell command

2003-02-20 Thread Scott Rossi
>> For what %  of Windows users would you estimate that hideConsoleWindows
>> true does actually work?
> 
> I've used it without fail for years on Win 95 through XP, so if there *are*
> situations where it doesn't work, I'd like to know about 'em...

Same goes for myself.  I have had a few minor reports of the "start..."
script (see the archives) failing on some versions of Win98 (ME?), but I've
never had a report of the console window being visible.

BTW, in the MC docs, it states to use "command.exe" for all non-NT versions
of Windows, and "cmd.exe" for the NT/2K/XP versions.

Regards,

Scott Rossi
Creative Director

Tactile Media, Multimedia & Design
Email: [EMAIL PROTECTED]
Web: www.tactilemedia.com

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



Re: Combo-box/popup menu in a list field?

2003-02-20 Thread [EMAIL PROTECTED]
Hi Ken, hi Jan,

> Okay, I quickly created a GeoCities webpage ; and
> here's the link everybody interested can download it
> from directly :
> http://www.geocities.com/janschenkel/downloads/checkboxlist.zip

Thanks, will experiment with these suggestions. :-)

Valetia

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



Why doesn't a stack open with the UI

2003-02-20 Thread Ken Norris (dialup)
Hi all, 

I don't know where the thread went, but someone asked why a stack won't open
with the UI.

I hadn't really run into that because I don't have a completed stack yet,
but it's true: If you open a stack from a folder, Rev is opened, but there
is no UI and no apparent way to get it.

And on a Mac, if you haven't created a file menu, you cannot quit Rev at
all, because there is no file menu. You have to restart.

This is _very_ strange. I've never seen an app do that before. What's
happening? Is it a bug?

Ken N.

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



Re: Ken's recent bad day.

2003-02-20 Thread Ken Norris (dialup)
**
> Date: Thu, 20 Feb 2003 08:38:49 -0800
> From: Rob Cozens <[EMAIL PROTECTED]>
> Subject: Ken's recent bad day.

> I have not reported this because (a) I am waiting to see whether it
> is fixed in v2.5 and (b) I can work around the problem by making a
> card the current card before trying to access its controls via the AO.
--
At least I'm not alone with some anamolies.

Version 2.5? You mean 2.0 right? Rev hasn't said anything about a version
2.5 AFAIK.
--
> And "Quit" from any RunRev menu I've tried here is perceptually instantaneous.
--
Well, might have to do with VM.

Ken N.

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



Re: Why doesn't a stack open with the UI

2003-02-20 Thread Scott Rossi
Recently, Ken Norris (dialup) wrote:

> I don't know where the thread went, but someone asked why a stack won't open
> with the UI.
> 
> I hadn't really run into that because I don't have a completed stack yet,
> but it's true: If you open a stack from a folder, Rev is opened, but there
> is no UI and no apparent way to get it.
> 
> And on a Mac, if you haven't created a file menu, you cannot quit Rev at
> all, because there is no file menu. You have to restart.
> 
> This is _very_ strange. I've never seen an app do that before. What's
> happening? Is it a bug?

It sounds like you're running your stack under the Rev engine only (not the
development environment).  In MetaCard, it is standard behavior that double
clicking a stack will launch the stack without the dev environment -- Rev
may work similarly.

Also, to close a "work in progress" stack that has no UI, simply click the
closebox on the window -- this will quit the app.  If the window has no
closebox, you can force-quit the MC/Rev app, without having to restart.

Regards,

Scott Rossi
Creative Director

Tactile Media, Multimedia & Design
Email: [EMAIL PROTECTED]
Web: www.tactilemedia.com

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



pathway

2003-02-20 Thread yves COPPE
Hi,

I experimented something strange :

on Mac OS jaguar X.2.4 with Rev 1.1.1

I have a list fld
each line gives a name of a textfile


when I click on a line, the script build a pathway to the file to 
open it (it's a text file)

sometimes I works well, sometimes I get an error "the file doesn't exist"
Each text file is in a folder
So I find now that when the name of the folder is too long (I mean 
the length or the  number of chars of the name of the folder), it 
doesn't run
Does it means that rev cannot handle long name file ???
It's very big problem for me because this stack is build to retrieve 
textfiles and I may not change the name of the folder in which the 
textfile is nested.

any idea 

thank you.
--
Greetings.

Yves COPPE

Email : [EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution