RE: RichText Implementation

2006-08-11 Thread Jan Sælid
Hi again


I received a private mail from a user of this list who told me that someone
at RevCon said that revolution 2.8 
will offer individual paragraph formatting.

Anyone heard anything about this?

If it takes too long time I have decided to do it the hard way. 
The best solution I can think of is using tabs in replacement for margins. 

I cannot wait another year


Jan


Jan wrote:
I’ve come to the point where I need to implement the Scriptwriter into my
application. I’ve build all the functionality around this function and
delayed the scriptwriter until a proper richtext field was implemented
into revolution.  It doesn’t seem that revolution will add this feature to
revolution in the nearest future. So my question is: Does anyone know of
anyone that have hardcoded this function into revolution? Or is my only
option to hardcode this myself?
I’m really in need of individual paragraphs.


The scriptwriter needs to know if the user is editing dialogue, a character
name, an action etc.
the format of a script looks something like this:
---
   TRUMP
   You didn't call, Eliza. You know you
   won't   get anything if you...

He goes to the desk and snatches the... 
---
This format needs three different margins. One for the character name, one
for the dialogue and one for the action part. One approach I'm thinking
of is to use tabstops and have a rawkeyup handler in the field that checks
what type of element the writer is editing and puts the cursor at the right
tab if the writer e.g. pushes the downkey. The challenge with this method
is that I have to store every element in the script in a custom property of
the field with the number of tabs for each element. Maybe with a reference
to the linenumber. e.g. The line1 of fld Script. Am I on the right
track? 

Hope this is understandable. Any ideas are appreciated. In the long run it
could be handy to make a library of functions that other revolution users
could use.

use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SuperCard Project to Rev

2006-08-11 Thread John Baxter

Thanks Mark,
I've decided to work thru a simple project, rather than try to convert all
my SuperCard code . This way I can take it slow and learn as I go, and then
go back and make the changes to my SuoerCard stack. I have created a
mainstack with one field and an Open Palette button. I have created a
substack with three buttons. My goal is to have each button insert a
different font into the same field. So far I can do the following:

1) Create a palette from the Open Palette button
2) Insert a character into the maincard field from the palette buttons.

Here's the code:

on mouseUp
   set the textfont of field TabField of stack TabCard to GuitarTab
   set the textsize of field TabField of stack TabCard to 48
   set the textfheight of field TabField of stack TabCard to 48
   put R into field TabField of stack TabCard
end mouseUp

What I can't do is insert a string of characters. Button 1 inserts a
character, but Button 2 replaced that character, rather than adding it after
the first character. I haven't tested for multiple fonts, since I can only
insert one character at a time. It's a start, but I need help getting to my
goal of inserting a string of characters by multiple clicks on the buttons,
and multiple fonts. I won't be mixing fonts on the same line.

John
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SuperCard Project to Rev

2006-08-11 Thread Klaus Major

Hi John,


Thanks Mark,
I've decided to work thru a simple project, rather than try to  
convert all
my SuperCard code . This way I can take it slow and learn as I go,  
and then

go back and make the changes to my SuoerCard stack. I have created a
mainstack with one field and an Open Palette button. I have  
created a

substack with three buttons. My goal is to have each button insert a
different font into the same field. So far I can do the following:

1) Create a palette from the Open Palette button
2) Insert a character into the maincard field from the palette  
buttons.


Here's the code:

on mouseUp
   set the textfont of field TabField of stack TabCard to  
GuitarTab

   set the textsize of field TabField of stack TabCard to 48
   set the textfheight of field TabField of stack TabCard to 48
   put R into field TabField of stack TabCard
end mouseUp

What I can't do is insert a string of characters. Button 1 inserts a
character, but Button 2 replaced that character, rather than adding  
it after

the first character.


put xyz into fld zwe will replace the actual content, right.

You can of course put something AFTER the field, so the content
is not overwritten!

...
   put S AFTER field TabField of stack TabCard
...

And of course BEFORE.

See these terms in the docs...


I haven't tested for multiple fonts, since I can only
insert one character at a time. It's a start, but I need help  
getting to my
goal of inserting a string of characters by multiple clicks on the  
buttons,

and multiple fonts. I won't be mixing fonts on the same line.

John


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Revolution 2.7.3 released, support for U3

2006-08-11 Thread Heather Nagey

Dear list folk,

I am delighted to announce that Revolution for U3 is now available  
and to give you good folks advance notice about a special offer.


2.7.3 now has support for building applications on and for U3, the  
future looking system for running seamlessly from a flash drive,  
download it here:


http://downloads.runrev.com

As a special offer, we have a very limited supply of the RevCon West  
U3 flash drives in beautiful translucent purple for the first 36  
purchasers of any Revolution CD plus any type of license! Yes, that  
includes updates, new purchases and even Media licenses.


The U3 platform powers U3 smart drives that let consumers carry and  
launch not only files but software programs, personal preferences and  
computer settings - and the means for managing it all - wherever they  
go. Consumers simply plug the U3 smart drive into the USB port of any  
PC and securely access their files and software programs via the user- 
friendly U3 Launchpad. When the U3 smart drive is removed, the U3  
Launchpad disappears from the computer and no personal information or  
software is left behind.


Revolution 2.7.3 lets developers select a “U3 compatible” option when  
they begin creating a new software program. The new software they  
create will automatically conform to the U3 platform and will pass  
U3’s compatibility testing. Because the Revolution 2.7.3 development  
environment itself is U3 compatible, developers can carry Revolution  
on a U3 smart drive and securely access their work on any PC.


As well as U3 support, 2.7.3 brings you

- Zip file management allows file compression, listing archive  
contents and adding or extracting files in archives.


- Application instancing lets developers control whether multiple or  
single instances of Revolution-based applications can run on Windows.


- Improved Revolution Player-based distribution adds support for very  
long file names. Several additional fixes were made to players.


- The Revolution integrated development environment has been upgraded  
with fixes for interrupting applications during the debugging process  
and with minor adjustments to make it easier to modify.


This is a feature release, which means if you have a valid update  
pack you can download and install this for free, if you don't have an  
update pack you are going to need to get one in order to access this  
release.


http://www.runrev.com/buy/studio_update

http://www.runrev.com/buy/enterprise_update

I hope you enjoy this latest improvement to Revolution!

Warm regards
Heather

Heather Nagey
Customer Services Manager
Runtime Revolution Ltd
http://www.runrev.com



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Export PNG weirdness

2006-08-11 Thread Chris Carroll-Davis

Hello everyone.

Can anybody help with this ...

I am exporting PNGs from fields, using this syntax:

  export snapshot from field fname to file imgPath as PNG

This works just fine on about 30 or so fields, but when I come to one  
particular field it fails with error message:


export: can't write to file, mask file, or container

All the fields are opaque.  If I switch this field to non-opaque...  
it works fine... or if I export as JPEG it works fine!  The only  
difference (that I can see) between this field and others is that it  
is larger than the others.


Has anyone come across this problem before?  Could there be some  
other property that I have overlooked that is causing the problem?


I am pulling my hair out at this one (and at my age I don't have too  
much to lose)



Chris



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Revolution 2.7.3 released, support for U3

2006-08-11 Thread Dominique Bodin

On the site there are two release to download, wich one actual
users do have to download ? (the one with U3 written or the other ?)

Thank's

Dominique

On Fri, 11 Aug 2006 11:58:00 +0200, Heather Nagey [EMAIL PROTECTED]  
wrote:



Dear list folk,

I am delighted to announce that Revolution for U3 is now available and  
to give you good folks advance notice about a special offer.


2.7.3 now has support for building applications on and for U3, the  
future looking system for running seamlessly from a flash drive,  
download it here:


http://downloads.runrev.com

As a special offer, we have a very limited supply of the RevCon West U3  
flash drives in beautiful translucent purple for the first 36 purchasers  
of any Revolution CD plus any type of license! Yes, that includes  
updates, new purchases and even Media licenses.


The U3 platform powers U3 smart drives that let consumers carry and  
launch not only files but software programs, personal preferences and  
computer settings - and the means for managing it all - wherever they  
go. Consumers simply plug the U3 smart drive into the USB port of any PC  
and securely access their files and software programs via the user- 
friendly U3 Launchpad. When the U3 smart drive is removed, the U3  
Launchpad disappears from the computer and no personal information or  
software is left behind.


Revolution 2.7.3 lets developers select a “U3 compatible” option when  
they begin creating a new software program. The new software they create  
will automatically conform to the U3 platform and will pass U3’s  
compatibility testing. Because the Revolution 2.7.3 development  
environment itself is U3 compatible, developers can carry Revolution on  
a U3 smart drive and securely access their work on any PC.


As well as U3 support, 2.7.3 brings you

- Zip file management allows file compression, listing archive contents  
and adding or extracting files in archives.


- Application instancing lets developers control whether multiple or  
single instances of Revolution-based applications can run on Windows.


- Improved Revolution Player-based distribution adds support for very  
long file names. Several additional fixes were made to players.


- The Revolution integrated development environment has been upgraded  
with fixes for interrupting applications during the debugging process  
and with minor adjustments to make it easier to modify.


This is a feature release, which means if you have a valid update pack  
you can download and install this for free, if you don't have an update  
pack you are going to need to get one in order to access this release.


http://www.runrev.com/buy/studio_update

http://www.runrev.com/buy/enterprise_update

I hope you enjoy this latest improvement to Revolution!

Warm regards
Heather

Heather Nagey
Customer Services Manager
Runtime Revolution Ltd
http://www.runrev.com



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



__ Information NOD32 1.1701 (20060810) __

Ce message a ete verifie par NOD32 Antivirus System.
http://www.nod32.com





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Why do group ID's change when cloning a stack

2006-08-11 Thread Claudi Cornaz

Hi all,

By accident I just discovered that group ID's change when you clone a 
stack.

This can be very annoying when you work with tmplt stacks which you
clone to use as, lets say a document or a viewer.

I just did some testing, but button id's don't seem to change.
Neither the id's of fields. But sure enough group id's do change, 
altough
always in the same way. They start with the highest group id  in the 
stack you clone

incremented by one and so further up. Why?
Why only groups. (well to be honest I didn't try with all controls,
so there might be other controls who's id will also get changed when 
cloning a stack.


This is a real nuissance for me since I rely heavilly on group id's in 
the stuff
I am making now, which will get used as a tmplt stack and thus gets 
cloned for actual
use. Lots of nested grps and I designed it around the id's, because 
that's safer

there might be duplicate names. But it seems now I can't use the id's
because they pull the rug underneath my feet when cloning the stack for 
use.


This is in rev 2.7.2  (OsX)

Am I missing something. Is it supposed to behave like that, is this a 
bug?
I have no idea except that this is gonna cost me quite some work and 
planning
of a new strategie to get this working as it should.  Damn (lots of 
rewrites in several

library's) Well you do learn each day, but it is tough going like this.

If somebody can shed some light on this dark matter, at least it is for 
me, please do.


Best wishes

Claudi

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Export PNG weirdness

2006-08-11 Thread Dar Scott


On Aug 9, 2006, at 7:53 AM, Chris Carroll-Davis wrote:

All the fields are opaque.  If I switch this field to non-opaque...  
it works fine... or if I export as JPEG it works fine!


Can you export to a field as JPEG and then export the field as PNG?   
Maybe therein lies a workaround.


So your current thinking is that it is not fonts?

Dar Scott
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: Is there a more English-like Programming language thanTranscript?

2006-08-11 Thread Bill Marriott
I wouldn't mind so much if they wanted to call it RevTalk or something 
else. But making the scripting language name identical to the whole product 
is not something I can say is prudent, just out of sake of 
clarity/precision.

Dan Shafer wrote
 And, to answer your opening question, Runtime Revolution is trying hard to
 get us to call the language Revolution. I'm resisting and I suspect lots 
 of
 other folks are as well. I consider that a silly and ill-advised 
 terminology
 change. But in their official literature, it's now Revolution which you
 program in...er...Revolution.



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RichText Implementation

2006-08-11 Thread Dan Shafer

Jan...

The only official word on future release features at RevCon came from CEO
Kevin Miller under non-disclosure. Obviously, we're not at liberty to
discuss any of that information here. I can say that there was a lot of
scuttlebutt at the show about this very topic and that I will be quite
surprised not to see it in some future release. Whether that will come
within a year, I can't say and I'm not sure anyone, including Kevin, could
say with certainty.

But I feel your pain. Lack of rich text formatting has forced me onto
another dev platform for one big project and is threatening to do so for
another.

On 8/11/06, Jan Sælid [EMAIL PROTECTED] wrote:


Hi again


I received a private mail from a user of this list who told me that
someone
at RevCon said that revolution 2.8
will offer individual paragraph formatting.

Anyone heard anything about this?

If it takes too long time I have decided to do it the hard way.
The best solution I can think of is using tabs in replacement for margins.

I cannot wait another year


Jan



~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, Revolution: Software at the Speed of Thought

From http://www.shafermediastore.com/tech_main.html

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Revolution 2.7.3 released, support for U3

2006-08-11 Thread Jim Lambert
Heather, Kevin,  the entire Rev Team,

Congratulations and thank you for your hard work in publishing this new
release.

Jim Lambert

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: RichText Implementation

2006-08-11 Thread Jan Sælid
Dan-
I'm really sorry to let this out. I didn't know that is was under
non-disclosure. Well, actually, if I had used my mind, buy I guess the news
made me no think and only hope for a solution.
At least I know I'm not the only one with this problem. That always help a
little.
I have wished for this feature since 2003, even started a campaign to make
people vote for it on bugzilla. But I decided to start building my project
anyway, and it's a very big project.
I just got an answer from revolution that I should not wait for this feature
but do what I need to do...

The only rad platform that have this feature is realbasic. But I've tried it
several times, and I really don't like it. I grown into rev. I guess I have
to take a leap of faith. Because I've done so much work already.

Thanks for the answer.


Dan wrote:
But I feel your pain. Lack of rich text formatting has forced me onto
another dev platform for one big project and is threatening to do so for
another.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Why do group ID's change when cloning a stack

2006-08-11 Thread Robert Sneidar
Since the days of Hypercard, I have known that using ID's to  
reference objects was sketchy at best. As a matter of good  
programming practice, you should keep track of all your variables and  
object names so there is no inadvertent duplication to bite you in  
the butt later. If nothing else, use variable and object names that  
specifically describe the actual object. That was, as we learned at  
Revconwest 2006, The code practically comments itself.


Naming objects are definitely the way to go. (IMHO)

Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

On Aug 11, 2006, at 7:22 AM, [EMAIL PROTECTED]  
wrote:



By accident I just discovered that group ID's change when you clone a
stack.
This can be very annoying when you work with tmplt stacks which you
clone to use as, lets say a document or a viewer.

snip

Best wishes

Claudi



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Why do group ID's change when cloning a stack

2006-08-11 Thread Peter T. Evensen
But then you get into issues where buttons have graphics referenced by 
IDs.   The only way around this is to reassign the icon IDs at some point.


At 01:19 PM 8/11/2006, you wrote:

Since the days of Hypercard, I have known that using ID's to
reference objects was sketchy at best. As a matter of good
programming practice, you should keep track of all your variables and
object names so there is no inadvertent duplication to bite you in
the butt later. If nothing else, use variable and object names that
specifically describe the actual object. That was, as we learned at
Revconwest 2006, The code practically comments itself.

Naming objects are definitely the way to go. (IMHO)

Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

On Aug 11, 2006, at 7:22 AM, [EMAIL PROTECTED]
wrote:


By accident I just discovered that group ID's change when you clone a
stack.
This can be very annoying when you work with tmplt stacks which you
clone to use as, lets say a document or a viewer.

snip

Best wishes

Claudi



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-682-4588 



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Strange artifacts everywhere in MacOSX

2006-08-11 Thread Stephen Barncard
I'm not blaming Rev, or Galaxy or anything yet, however after 
updating everything -- Rev 2.7.3, Galaxy Studio, I started getting 
strange window and selection artifacts in every application on the 
Mac...


This is a systemwide problem.

Note the strange black outlines of different shapes around the 
windows - these goes away when the window isn't selected. On more 
complex windows, a box forms around a control, perhaps the first 
numbered item or something.


I've re-installed Tiger (while keeping settings) and it didn't fix 
it. I've disabled Default Folder and Aliasmenu -- the only 
finder-altering extensions I'm aware of... no change.


Anyone else see this?

examples at
http://barncard.com/gallery2/v/REV/20060809/
--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Why do group ID's change when cloning a stack

2006-08-11 Thread Richard Gaskin

Robert Sneidar wrote:

Since the days of Hypercard, I have known that using ID's to  
reference objects was sketchy at best. As a matter of good  
programming practice, you should keep track of all your variables and  
object names so there is no inadvertent duplication to bite you in  
the butt later. If nothing else, use variable and object names that  
specifically describe the actual object. That was, as we learned at  
Revconwest 2006, The code practically comments itself.


Naming objects are definitely the way to go. (IMHO)


One of the many great things in Rev that HyperCard never dreamed of was 
having a separation of an object's name from its displayed label.


This has totally changed my style of programming, allowing me to use 
names as mnemonic IDs while still have the label property for display to 
the user.  And anytime I need to change the displayed label it never 
changes the object's name, so my scripts never need to be revised even 
with clients who change button labels a lot. :)


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Why do group ID's change when cloning a stack

2006-08-11 Thread Robert Sneidar
Do those graphics ID's change with a clone or do they remain the  
same? If they remain the same then for the sake of this discussion  
the point is moot. The original discussion was about how group ID's  
change, but other object ID's do not.


Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

On Aug 11, 2006, at 10:00 AM, [EMAIL PROTECTED]  
wrote:



But then you get into issues where buttons have graphics referenced by
IDs.   The only way around this is to reassign the icon IDs at some  
point.


At 01:19 PM 8/11/2006, you wrote:

Since the days of Hypercard, I have known that using ID's to
reference objects was sketchy at best.



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Strange artifacts everywhere in MacOSX

2006-08-11 Thread Todd Higgins

Hi Stephen,

I don't think  it has anything to do with Rev.  You have VoiceOver  
enabled on your computer:


System Preferences - Universal Access - Voiceover  Off (or hit Apple 
+F5)


I you listen carefully, your computer is talking to you.

Regards,

Todd


On Aug 11, 2006, at 2:34 PM, Stephen Barncard wrote:

I'm not blaming Rev, or Galaxy or anything yet, however after  
updating everything -- Rev 2.7.3, Galaxy Studio, I started getting  
strange window and selection artifacts in every application on the  
Mac...


This is a systemwide problem.

Note the strange black outlines of different shapes around the  
windows - these goes away when the window isn't selected. On more  
complex windows, a box forms around a control, perhaps the first  
numbered item or something.


I've re-installed Tiger (while keeping settings) and it didn't fix  
it. I've disabled Default Folder and Aliasmenu -- the only finder- 
altering extensions I'm aware of... no change.


Anyone else see this?

examples at
http://barncard.com/gallery2/v/REV/20060809/
--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Why do group ID's change when cloning a stack

2006-08-11 Thread Claudi Cornaz

I did some further testing and it turns out like this:

All objects (at least the ones I tested and I did most) don't change id
when the stack is cloned. That is all controls that are not part of a 
grp!


The id of all outermost grps don't change but the id's of ALL controls 
in a grp
will change, including the id's of nested grp's. So each and every 
control in a grp
get's it's id changed when the stack is cloned, except the id's of the 
outermost

grp's.

What would be the reason behind this? Why doesn't the id of the 
outermost

grp's change but each and every control in each grp get's a new ID.

What will happen when I clone a stack with hundred of grp's.
How much time wil this take if each control in all these grp's need to 
be reIDed.


I can live with the fact, well I will have to, there obviously is no 
choice, but I sure like to know!


Best wishes,
Claudi

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Why do group ID's change when cloning a stack

2006-08-11 Thread Peter T. Evensen
Ooops.  I didn't read thoroughly.  If the other object IDs don't change, it 
is moot.


It is odd that the only the group ID's would change.

At 01:47 PM 8/11/2006, you wrote:

Do those graphics ID's change with a clone or do they remain the
same? If they remain the same then for the sake of this discussion
the point is moot. The original discussion was about how group ID's
change, but other object ID's do not.

Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

On Aug 11, 2006, at 10:00 AM, [EMAIL PROTECTED]
wrote:


But then you get into issues where buttons have graphics referenced by
IDs.   The only way around this is to reassign the icon IDs at some
point.

At 01:19 PM 8/11/2006, you wrote:

Since the days of Hypercard, I have known that using ID's to
reference objects was sketchy at best.


Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-682-4588 



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Why do group ID's change when cloning a stack

2006-08-11 Thread Wilhelm Sanke

Naming objects are definitely the way to go. (IMHO)




It is odd that the only the group ID's would change.




Take a look whether the layers of your groups or their objects had changed!

I ran into that sort of difficulty a couple of years ago and found it 
very annoying to have to reestablish references to objects based on IDs, 
however - at that time, I did not test now - the IDs were changed when a 
stack was cloned in case the *layers* of the objects had changed.


Attributing of new IDs will also happen when a card is copied within the 
same stack or to another stack (because IDs are unique in a stack), but 
the order of the IDs will remain the same - unless you have changed the 
layers of the card objects.


Wilhelm Sanke

http://www.sanke.org/MetaMedia

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: Is there a more English-like Programming language thanTranscript?

2006-08-11 Thread David Bovill

Yes - I prefer Transcript as a term.

I am surprised there is not more on this issue - it seems dead on the
internet. Plain english programming.

I find it one of the main reasons I still use Rev - and since the great work
Jerry has done with Constellation - now Galaxy - well it really hits you in
the face. Programming in Rev is like reading Hypertext - read the code -
click on terms or functions you don't understand - get explanations - hit
tab to auto-fill in the rest of the code and search for terms that sound
like the first few characters you type - jump around the code hierarchy as
you click from one programming term to another - it really is like reading
and writing on the web - just faster and better.

It should be more like this - there has not been a technical reason why this
is not done for ages now? The integration should be stronger. The hypertext
like links should extend to fetch code and explanations from the web. The
documentation should be like Wikipedia - collaborativley expanded - so
should the code base - and all within the Script Editor.

Reading and writing code then really becomes like reading and writing text
on the web.

NB - whats the latest on the Rev Wiki discussion - I know there is a forum -
but I see little advantage in that from my point of view - Marielle whats
the latest on your project?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Windows standalone application to foreground upon un-minimizing?

2006-08-11 Thread Jon Seymour

Hello,

When I minimize a standalone application for Win32 made with Rev,  
then click its button in the task bar at the bottom of the screen,  
my application's window is drawn behind other apps that are currently  
open. I've never observed this behavior before with mainstream  
Windows apps as the intent of un-minimizing is obviously to bring  
the app to the foreground, on top of the others.


Does anyone know how to combat this?

Thanks,

Jon
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Windows standalone application to foreground upon un-minimizing?

2006-08-11 Thread Mark Schonewille

Hi Jon,

If you search the archives, you will find a visual basic script that  
does what you need.


Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Download ErrorLib at http://economy-x-talk.com/developers.html and  
get full control of error handling in Revolution.




Op 11-aug-2006, om 22:49 heeft Jon Seymour het volgende geschreven:


Hello,

When I minimize a standalone application for Win32 made with Rev,  
then click its button in the task bar at the bottom of the  
screen, my application's window is drawn behind other apps that are  
currently open. I've never observed this behavior before with  
mainstream Windows apps as the intent of un-minimizing is  
obviously to bring the app to the foreground, on top of the others.


Does anyone know how to combat this?

Thanks,

Jon



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RichText Implementation

2006-08-11 Thread Dan Shafer

No apologies needed, Jan. No harm done.

I had not for a long while been able to understand -- though I admit to not
having spent a huge amount of time investigating either -- why RR or someone
doesn't incorporate an external that would give us a fully formattable text
object. There are a lot of such engines lying around. I can edit rich text
in an HTML page, for Heaven's sake! Why can't I get that in a full-blown
standalone app development tool?

Turns out, as far as I can understand it, that the text engine in RunRev is
so deeply interconnected at a fundamental level that any attempt to replace
it or modify it is a HUGE undertaking.

So I concluded that if rich text formatting of content is important to an
app I'm being asked to create, I have two alternatives: (1)use RunRev but do
the text formatting using HTML and output the reports/results in HTML for
viewing in a browser (including, of course, altBrowser which can be embedded
fairly neatly into the app directly); or (2) pick a different tool that has
the built-in text editing incorporated. Python, which is my other favorite
language, has numerous libraries in support of formatted, rich and other
text options, e.g.

Another reason why having only one tool in your toolbox isn't a great idea
for a serious developer. Python lacks chunking but Transcript lacks rich
text control.

On 8/11/06, Jan Sælid [EMAIL PROTECTED] wrote:


Dan-
I'm really sorry to let this out. I didn't know that is was under
non-disclosure. Well, actually, if I had used my mind, buy I guess the
news
made me no think and only hope for a solution.
At least I know I'm not the only one with this problem. That always help a
little.
I have wished for this feature since 2003, even started a campaign to
make
people vote for it on bugzilla. But I decided to start building my project
anyway, and it's a very big project.
I just got an answer from revolution that I should not wait for this
feature
but do what I need to do...

The only rad platform that have this feature is realbasic. But I've tried
it
several times, and I really don't like it. I grown into rev. I guess I
have
to take a leap of faith. Because I've done so much work already.

Thanks for the answer.


Dan wrote:
But I feel your pain. Lack of rich text formatting has forced me onto
another dev platform for one big project and is threatening to do so for
another.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, Revolution: Software at the Speed of Thought

From http://www.shafermediastore.com/tech_main.html

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


How to save as a 'Legacy Revolution Stack'

2006-08-11 Thread Joel Guillod
How can I force to save as a 'Legacy Revolution Stack' with the save  
command, i.e. without passing by the save dialog?
And how to know if the saved format is 'Legacy Revolution Stack' or  
'Revolution Stack'?

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


[ANN] Simple De-Zipper Stack

2006-08-11 Thread Björnke von Gierke

Hello everybody

I made a test stack with the new zip capabilities, and i found out 
several things:
-It doesn't handle folders by itself, so you have to create folder 
hierarchies instead of just decompressing them.
-It does mangle permissions, namely the execute bit of an executable 
within a .app bundle (of course .exe files are unaffected). You can 
find a workaround for that in my stack.
-if you create a zip and have folders in it, you need to recursive walk 
them, or disallow folders altogether (what i did, of course then it 
wouldn't work with any bundles anymore).

-It seems very robust otherwise

What my Stack is:
-It decompresses folders, and .app bundles without hitch.
-If however the decompressed filenames already exist at the position of 
your .zip file THEY WILL BE REPLACED WITHOUT WARNING! So it's best to 
move the .zip to decompress  into it's own folder.

-It does make new zip files out of files.

What my Stack is not:
-Finished
-Able to create zips with folder in them.

All in all this new rev zip library is again way too complex, and like 
the xml library, will probably never be used by myself again.


And finally a link to the stack:
http://www.bjoernke.com/runrev/stacks.php

or, for the impatient:
http://www.bjoernke.com/stacks/de-zipper.rev

--

official ChatRev page:
http://chatrev.bjoernke.com

Chat with other RunRev developers:
go stack URL http://homepage.mac.com/bvg/chatrev1.3.rev;

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Character length limit in fields - Part Duex!

2006-08-11 Thread Garrett Hylltun

Rev 2.6.1 / Mac OS X

Greetings,

Recently I asked about the text width limit in characters of a  
field.  It seems that 65,536 characters is the limit, but there are  
definitely some issues with stuffing that much on one line of a field.


I am using Lucida Grande Typewriter as the font at size 12

* Field set to no wrap, disabled and focusing not allowed;  the  
characters do not show up if you toss in over 32,000 characters.  If  
I keep at 32,000 characters, they are visible in the field.


* Field set to no wrap and has scroll bars;  Single line has only  
28,750 characters, characters are showing, but scrolling stops at  
about 665 characters.  But if break the line at 665, then the  
scrolling is allowed to go to about 995, break that second line down  
with a return and the scrolling is allowed to go even further.


I'm trying to make a simple text editor that uses monospaced only  
fonts, with a character grid/guide so I know at what character  
position I am at when typing text.


Screenshot of the scroll and length issue here:
http://www.paraboliclogic.com/fieldproblem.jpg

Does anyone have any insight into this issue?


Thanks,
-Garrett
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Character length limit in fields - Part Duex!

2006-08-11 Thread Dar Scott


On Aug 11, 2006, at 5:54 PM, Garrett Hylltun wrote:


I am using Lucida Grande Typewriter as the font at size 12


I'm trying to make a simple text editor that uses monospaced only  
fonts, with a character grid/guide so I know at what character  
position I am at when typing text.


I suspect that the pixel width limit is much less than it was or I  
misunderstood what the pixel limit was.  And/or there may be a  
separate limit on the scroll.  I suspect there are arithmetic errors  
from overflows.


I tried 12 point courier.  That is 7 points wide so I thought I  
should be able to put 4570 characters on the line (assuming 32000  
pixel limit).  Boy did that go goofy.  The line was cut off and the  
scroll went way beyond the end of the line.


I was only able to put in about 3700 characters in the first line and  
scroll right.


The formatted width was messed up, so you might want to go to much less.

Gotta go.

Dar Scott





















___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Err... Revolution 2.7.3 on mac intel crashing with HTTPS?!

2006-08-11 Thread Andre Garzia

Folks,

can anyone confirm that Rev 2.7.3 is crashing on intel in every  
attempt to retrieve a secure URL such as https://www.blogger.com/atom


a simple: put url https://www.blogger.com/atom; in the message box,  
crashes everything...


:-(

Sad

Cheers
andre


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Err... Revolution 2.7.3 on mac intel crashing with HTTPS?!

2006-08-11 Thread Dar Scott


On Aug 11, 2006, at 7:24 PM, Andre Garzia wrote:

 put url https://www.blogger.com/atom; in the message box, crashes  
everything...


Ah, yes, the atom bomb.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Err... Revolution 2.7.3 on mac intel crashing with HTTPS?!

2006-08-11 Thread Andre Garzia

eheheh I was going to ship a software today, now, I am not...


On Aug 11, 2006, at 11:45 PM, Dar Scott wrote:



On Aug 11, 2006, at 7:24 PM, Andre Garzia wrote:

 put url https://www.blogger.com/atom; in the message box,  
crashes everything...


Ah, yes, the atom bomb.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Character length limit in fields - Part Duex!

2006-08-11 Thread Garrett Hylltun


On Aug 11, 2006, at 6:11 PM, Dar Scott wrote:



On Aug 11, 2006, at 5:54 PM, Garrett Hylltun wrote:


I am using Lucida Grande Typewriter as the font at size 12


I'm trying to make a simple text editor that uses monospaced only  
fonts, with a character grid/guide so I know at what character  
position I am at when typing text.


I suspect that the pixel width limit is much less than it was or I  
misunderstood what the pixel limit was.  And/or there may be a  
separate limit on the scroll.  I suspect there are arithmetic  
errors from overflows.


I tried 12 point courier.  That is 7 points wide so I thought I  
should be able to put 4570 characters on the line (assuming 32000  
pixel limit).  Boy did that go goofy.  The line was cut off and the  
scroll went way beyond the end of the line.


I was only able to put in about 3700 characters in the first line  
and scroll right.


The formatted width was messed up, so you might want to go to much  
less.


Gotta go.

Dar Scott


LOL..  Yeah, plays a bit of a game on it doesn't it.

Thanks Dar for at least trying to figure that one out.  I have never  
had the need for a line of text that's 32,000 or 65,000 or whatever,  
so maybe setting up my own code to limit lines to say 1024 or 2048  
should be fine for me.


Thanks again,
-Garrett

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to save as a 'Legacy Revolution Stack'

2006-08-11 Thread Sarah Reichelt

On 8/12/06, Joel Guillod [EMAIL PROTECTED] wrote:

How can I force to save as a 'Legacy Revolution Stack' with the save
command, i.e. without passing by the save dialog?


Set the stackFileVersion. It is 2.7 for modern stacks and 2.4 for legacy stacks.


And how to know if the saved format is 'Legacy Revolution Stack' or
'Revolution Stack'?


Open the stack in a Text editor, or load it into a Rev field as text
i.e. using file: not binfile:
Legacy stacks start with:

#!/bin/sh
# MetaCard 2.4 stack
# The following is not ASCII text,
# so now would be a good time to q out of more

and modern stacks start with:

REVO2700

where characters 5 to 8 may vary with differetn versions of Rev.

HTH,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Character length limit in fields - Part Duex!

2006-08-11 Thread Dar Scott


On Aug 11, 2006, at 9:34 PM, Garrett Hylltun wrote:

Thanks Dar for at least trying to figure that one out.  I have  
never had the need for a line of text that's 32,000 or 65,000 or  
whatever, so maybe setting up my own code to limit lines to say  
1024 or 2048 should be fine for me.


I'm seeing something fishy with the hscroll so that it doesn't scroll  
enough to the right regardless of the line length.  It doesn't depend  
on the char size, so it is something other than the pixel limit.


Dar
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: OT: Is there a more English-like Programming language than Transcript?

2006-08-11 Thread Judy Perry
Wasn't it OpenScript??

My memory may be bad...

Judy

On Thu, 10 Aug 2006, Richard Gaskin wrote:

 After Director's Lingo, Flash's ActionScript, ToolBook's OpenTalk,

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Why do group ID's change when cloning a stack

2006-08-11 Thread Judy Perry
Is this a programmer-thing?

I ask because I have a devil of a time convincing my students to *name*
their objects.  They end up having problems and it's VERY frustrating...

Judy

On Fri, 11 Aug 2006, Robert Sneidar wrote:

 Since the days of Hypercard, I have known that using ID's to
 reference objects was sketchy at best. As a matter of good
 programming practice, you should keep track of all your variables and
 object names so there is no inadvertent duplication to bite you in
 the butt later.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Why do group ID's change when cloning a stack

2006-08-11 Thread Sarah Reichelt

On 8/12/06, Judy Perry [EMAIL PROTECTED] wrote:

Is this a programmer-thing?

I ask because I have a devil of a time convincing my students to *name*
their objects.  They end up having problems and it's VERY frustrating...


Judy, apart from the ID problem, it's a matter of practicality.
If your students come back to a line of script in 6 months time and it says:
   set the label of btn ID 8765 to Whatever

they are not going to have a clue what is going on.

However if it says:
  set the label of btn PrintSelectedText to Whatever
they are going to be able to see immediately what it is.

Like Richard, I really like the way Rev allows you to have separate
names  labels, so that labels can be changed to suit customer
preferences, languages or what ever you like, while keeping the name
the same so all your scripts still work.

Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Why do group ID's change when cloning a stack

2006-08-11 Thread Dar Scott


On Aug 11, 2006, at 11:08 PM, Sarah Reichelt wrote:


Like Richard, I really like the way Rev allows you to have separate
names  labels, so that labels can be changed to suit customer
preferences, languages or what ever you like, while keeping the name
the same so all your scripts still work.


I have the memory of a goldfish.  By time I get the edit window open,  
I forgot the names of the controls.


So, I like this idea a lot, but for initial development and  
experimenting, I usually have the name of the control on the card  
somehow.  When I'm typing in the script, I can look over and see the  
name.


Now if I could drag a control onto a script and have the editor  
insert a reference to that control, then I can have it all.  Or maybe  
have the names float over controls while I'm editing, so I can glance  
over and see them.


Dar Scott

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution