Re: general undo methods?

2005-02-19 Thread Martin Baxter
  On Feb 18, 2005, at 3:53 PM, Richard Gaskin wrote:

  Any of you have pointers to general methods for implemening undo
  across an app?
The general method is to atomize your code so that every action the user
can do generates undo code stored in a queue, which is then invoked when
Undo is selected.
--

The only time I did this seriously was a while back and in Hypercard. I had
a specialised multimedia authoring environment for teaching purposes that
(among other things) implemented a custom interface to addColor. I used the
approach you describe above, but instead of storing state information, I
stored a statement that could be executed, using Do, which would reverse
the action in question. So for example if the user created a rectangle, the
undo list would contain something to the effect of:

delete graphic grcname
# (I forget the actual syntax now that it no longer matters)

It worked well, and allowed the actual undo handler to be very short and
very dumb. As has been noted however, different types of undo action may
require a range of strategies.

A snack for thought,

Martin Baxter



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: general undo methods?

2005-02-19 Thread Richard Gaskin
Martin Baxter wrote:
The only time I did this seriously was a while back and in Hypercard. I had
a specialised multimedia authoring environment for teaching purposes that
(among other things) implemented a custom interface to addColor. I used the
approach you describe above, but instead of storing state information, I
stored a statement that could be executed, using Do, which would reverse
the action in question. So for example if the user created a rectangle, the
undo list would contain something to the effect of:
delete graphic grcname
# (I forget the actual syntax now that it no longer matters)
It worked well, and allowed the actual undo handler to be very short and
very dumb. As has been noted however, different types of undo action may
require a range of strategies.
That seems to be the simplist approach. Tedious to setup on an existing 
app, but it does seem to represent the most useful dividing lines 
between centralizing code and handling a wide range of circumstances.

Off to go write libUndo
--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: change label name

2005-02-19 Thread Bob Hartley
At 23:37 17/02/2005, you wrote:
Bob Hartley wrote:
Hi Alex and Dan
I got it eventually I used the keyword text.
For future reference the final script is
on mouseUp
  global tFileName
  copy field LabelName of stack Armbase to card 1 of stack tFileName
  set the text of field LabelName of stack tFileName to field LabelNewName 
of stack Armbase
  set the name of field LabelName of stack tFileName to field LabelNewName 
of stack Armbase
end mouseUp

cheers
bob
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14/02/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: general undo methods?

2005-02-19 Thread MisterX

I think I'll have an undo method working for HotkeysN2O in a couple hours ;)

If you want to test it, let me know... 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Richard Gaskin
 Sent: Friday, February 18, 2005 21:54
 To: How to use Revolution
 Subject: general undo methods?
 
 I need to add more extensive undo to an app I'm working on.  
 Seems like a lot of work once you step outside of the subset 
 of things the engine takes care of for you.
 
 Any of you have pointers to general methods for implemening 
 undo across an app?
 
 --
   Richard Gaskin
   Fourth World Media Corporation
   ___
   [EMAIL PROTECTED]   http://www.FourthWorld.com
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev in CGI

2005-02-19 Thread de Mare
Op 19-feb-05 om 6:25 heeft Paul Salyers het volgende geschreven:
What is needed to tun a Rev program in a CGI folder so anyone can 
access from the web with a web browser?
You should read Jacque's great tutorial on 
http://www.hyperactivesw.com/cgitutorial/index.html

Don't expect that web users will see exactly what the program users 
will see. It requires a totally different approach because CGI is 
'faceless' and you have to give it a new 'face' in HTML. But you may be 
able to reuse parts of the functionality.

Terry
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Simple word-scramble stack

2005-02-19 Thread Wilhelm Sanke
While visiting a family with a third-grader I noticed a (written) 
foreign-language exercise that used scrambled words. As the father of 
the third-grader had an older Metacard version on his computer, I sat 
down and produced a computer version of the exercise, which the young 
child seemed to like very much. I added a standalone splash screen to 
enable the young user to make changes to the lexicon and add words of 
her own choice.

I think such a stack belongs in the category for revolution novices 
like Klaus Major's memory stack or my stack seminar01, which (the 
latter) - among other examples - contains directions to build a basic 
vocabulary trainer with gradually increasing complexity.

I have added the scramble-word stack to my website 
www.sanke.org/MetaMedia on page Sample Stacks and Tools for 
Development.
A screenshot can be seen here 
http://www.sanke.org/Metamedia/Screenshots.htm.
Direct download from 
http://www.sanke.org/Software/simplewordscramble.zip (11 KB).

The stack is an example of a guided exercise, where the focus is on 
learning and not on testing, two pairs of shoes which are very often 
mixed up. Support - the guidance - for the learner is offered in 
various ways:

1. When the learner types into the input field, the typed letters 
disappear from the scramble field. Only letters contained in the 
scramble field can be typed into the input field, otherwise a warning 
will appear.

2. If the user deletes letters from the input field, they reappear in 
the scramble field; the learner can move the cursor inside the input 
field using the arrow keys, then press the backspace key to remove the 
letter on the left of the cursor.

3. You can re-scramble the word to possibly get a better idea what the 
word could be.

4. Pressing Help shows the first and last letter of the sought word 
and displays dashes as placeholders for the remaining letters in between.

5. Button more letters, which appears after first pressing button 
Help, adds more - randomly selected - letters to the help field. The 
last two dashes in a word however remain, the user has to find out them 
on his/her own.

Simple as it is, the exercise card of the stack needs 25 controls to 
achieve the described basic functionality and 8 of them contain scripts. 
The longest script is that of the input field, which controls the 
features 1. and 2. explained above. This script makes use of the 
offset function, returninfield and rawkey handlers, and the 
selectedchunk function, the last one to determine the place of the 
insertion point in the input field. A special problem comes up when you 
have to deal with special national characters, because the rawkey 
values in this case are different from the numtochar values; therefore 
I included some script lines to take care of the German Umlaute (ä, ö, ü).

Enhancements to the stack could added in many directions; in a workshop 
for Revolution newbies I would - as an example - assign the tasks

a) to display a translation along with the scrambled word, and
b) to add the possibility to export the lexicon to an external text file 
and to import from a choice of external files.

--Wilhelm Sanke


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple word-scramble stack

2005-02-19 Thread James Cass
Wilhelm -
That's a very cool stack!  Just by coincidence the first word that came 
up for me was garden.  However, when I saw the scrambled letters, I 
saw a true, one-word anagram for garden, danger.  Let's not get 
into the psychological reasons for that  ;-PSo, it now seems 
another enhancement would be to check for one word anagrams of the same 
set of scrambled letters.  :-)

-James

On Feb 19, 2005, at 7:46 AM, Wilhelm Sanke wrote:
While visiting a family with a third-grader I noticed a (written) 
foreign-language exercise that used scrambled words. As the father of 
the third-grader had an older Metacard version on his computer, I sat 
down and produced a computer version of the exercise, which the young 
child seemed to like very much. I added a standalone splash screen to 
enable the young user to make changes to the lexicon and add words of 
her own choice.

I think such a stack belongs in the category for revolution novices 
like Klaus Major's memory stack or my stack seminar01, which (the 
latter) - among other examples - contains directions to build a basic 
vocabulary trainer with gradually increasing complexity.

I have added the scramble-word stack to my website 
www.sanke.org/MetaMedia on page Sample Stacks and Tools for 
Development.
A screenshot can be seen here 
http://www.sanke.org/Metamedia/Screenshots.htm.
Direct download from 
http://www.sanke.org/Software/simplewordscramble.zip (11 KB).

The stack is an example of a guided exercise, where the focus is on 
learning and not on testing, two pairs of shoes which are very 
often mixed up. Support - the guidance - for the learner is offered 
in various ways:

1. When the learner types into the input field, the typed letters 
disappear from the scramble field. Only letters contained in the 
scramble field can be typed into the input field, otherwise a 
warning will appear.

2. If the user deletes letters from the input field, they reappear in 
the scramble field; the learner can move the cursor inside the input 
field using the arrow keys, then press the backspace key to remove the 
letter on the left of the cursor.

3. You can re-scramble the word to possibly get a better idea what the 
word could be.

4. Pressing Help shows the first and last letter of the sought word 
and displays dashes as placeholders for the remaining letters in 
between.

5. Button more letters, which appears after first pressing button 
Help, adds more - randomly selected - letters to the help field. The 
last two dashes in a word however remain, the user has to find out 
them on his/her own.

Simple as it is, the exercise card of the stack needs 25 controls to 
achieve the described basic functionality and 8 of them contain 
scripts. The longest script is that of the input field, which controls 
the features 1. and 2. explained above. This script makes use of the 
offset function, returninfield and rawkey handlers, and the 
selectedchunk function, the last one to determine the place of the 
insertion point in the input field. A special problem comes up when 
you have to deal with special national characters, because the 
rawkey values in this case are different from the numtochar 
values; therefore I included some script lines to take care of the 
German Umlaute (ä, ö, ü).

Enhancements to the stack could added in many directions; in a 
workshop for Revolution newbies I would - as an example - assign the 
tasks

a) to display a translation along with the scrambled word, and
b) to add the possibility to export the lexicon to an external text 
file and to import from a choice of external files.

--Wilhelm Sanke


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Recording user actions

2005-02-19 Thread Richard Miller
Not sure of the best way to do this. Here's the scenario:
Essentially, I'm looking for a way to mark up a Quicktime video so that 
one user can do the marking up and then another can see what has been 
done after receiving this marked up video through the Internet.

In other words...
I've got a user on one computer watching a video from inside of a Rev 
application I've provided. They can draw objects (mostly circles and 
lines) on top of that video while it is playing back in slow motion. I 
need to record all of this drawing so it can be recreated / replayed at 
a later time on a different computer. Not only does the motion / 
drawing need to be recorded, but also the specific times at which the 
drawing of the different objects occurred. I suppose, in some sense, 
this is an animation.

The entire marking up session will not exceed 3-5 minutes.
How do I record this activity AND keep the file size down as small as 
possible (as it needs to be quickly transmitted from the user who did 
the marking up to the user that needs to view it)?

Thanks for your suggestions.
Richard Miller
Imprinter Technologies
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: general undo methods?

2005-02-19 Thread MisterX

OK, it's starting to take shape... selections are recorded, compared with
the last one, i got a control footprint with incremental temporal versioning
near ready, deselections are recorded too, choice of content/control editing
changes, saving of changes is there too.

I got to add in the checks for field style: html, rtf or text or both three,
the redo for other controls... and the hotkeys management and we're
rolling for testing!

Recording a macro is possible too I guess! Just another flag maybe. I
already handle multiple objects... ;)

Left to do
Record all the props! Purge duplicate actions?
Undo text/time frames if viable
Then we got also coming
- undo action filters (stick to the essentials) 
- redo last actions from a list, recreate a clone of the object as it was.
- Reports, save or print out the changes done to stacks anyone? Hey, for
project time-logging purposes... why not!

Most events and controls keys are logged including copy, paste, delete or
backspace, new and delete controls or cards are also in... 

Since we got a GUI, im going to also add menus for pasting previous
clipboard texts or images. Controls is a different container I haven't
mastered yet which will take extra code...

Watching for dangerous redos and allowing for undo and redo exceptions or
automatic repeats is now the next task... This is also where some Mac
scripters could help out for mac-specific hotkeys or cutting down the
scripting time. 

Amazing how a little stack can grow!

http://www.monsieurx.com/modules.php?name=Newsfile=articlesid=170

I'll post the update soon... For the Curious and Testers only...

cheers
Xavier

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of MisterX
 Sent: Saturday, February 19, 2005 11:01
 To: 'How to use Revolution'
 Subject: RE: general undo methods?
 
 
 I think I'll have an undo method working for HotkeysN2O in a 
 couple hours ;)
 
 If you want to test it, let me know... 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf 
 Of Richard 
  Gaskin
  Sent: Friday, February 18, 2005 21:54
  To: How to use Revolution
  Subject: general undo methods?
  
  I need to add more extensive undo to an app I'm working on.  
  Seems like a lot of work once you step outside of the 
 subset of things 
  the engine takes care of for you.
  
  Any of you have pointers to general methods for implemening undo 
  across an app?
  
  --
Richard Gaskin
Fourth World Media Corporation
___
[EMAIL PROTECTED]   http://www.FourthWorld.com
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  http://lists.runrev.com/mailman/listinfo/use-revolution
  
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Transcript expert wanted - found

2005-02-19 Thread Stephen Van Esch
Folks:

The response to this post was quick and amazing. I've
found someone who's eager to get started.

Thanks to all those who responded.

Steve

--- Stephen Van Esch [EMAIL PROTECTED] wrote:

 Folks:
 
 I've come to realize that getting up to speed with
 Revolution will take more time than I have right
 now.
 The Revolution project is on top of my current
 Flash,
 Director and web development work and is taking more
 time than it should.
 
 Because of this, I'd like to pass on some simple
 work
 to someone with a good, solid knowledge of
 Transcript
 (for a reasonable fee, of course).
 
 Please note, this job will be relatively simple. I
 need 2 or 3 rock-solid scripts. No other design work
 or development is required. I figure that an
 experienced transcript developer can get all the
 work
 done inside of an hour. At least I'm hoping so
 considering funds are limited.
 
 Please respond off-list if you are interested.
 
 Regards,
 
 Steve
 
 
   
 __ 
 Do you Yahoo!? 
 Read only the mail you want - Yahoo! Mail SpamGuard.
 
 http://promotions.yahoo.com/new_mail 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com

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

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Recording user actions

2005-02-19 Thread MisterX
Following this undo madness...

You can use a card script that records mousedown events,
put them in an array using the seconds as array key and
save that. The target, or shape type, it's position is 
also easy to save. To transfer the information you can 
either create a blank stack with the array as a custom
property or create an xml or readeable output to read
for the replay.

Filter the mouse keywords in the revdocs to see the
possibilities. Drag is also possible...

As to the best method for event polling... i'll leave that
to others - i usually rely on mousedown, repeat while
mouse is down, mouseleave... and the target in a card
script.

cheers
Xavier 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Richard Miller
 Sent: Saturday, February 19, 2005 14:13
 To: How to use Revolution
 Subject: Recording user actions
 
 Not sure of the best way to do this. Here's the scenario:
 
 Essentially, I'm looking for a way to mark up a Quicktime 
 video so that one user can do the marking up and then another 
 can see what has been done after receiving this marked up 
 video through the Internet.
 
 In other words...
 
 I've got a user on one computer watching a video from inside 
 of a Rev application I've provided. They can draw objects 
 (mostly circles and
 lines) on top of that video while it is playing back in slow 
 motion. I need to record all of this drawing so it can be 
 recreated / replayed at a later time on a different computer. 
 Not only does the motion / drawing need to be recorded, but 
 also the specific times at which the drawing of the different 
 objects occurred. I suppose, in some sense, this is an animation.
 
 The entire marking up session will not exceed 3-5 minutes.
 
 How do I record this activity AND keep the file size down as 
 small as possible (as it needs to be quickly transmitted from 
 the user who did the marking up to the user that needs to view it)?
 
 Thanks for your suggestions.
 
 Richard Miller
 Imprinter Technologies
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


MouseLeave and linked text question: 2nd try

2005-02-19 Thread Mark Swindell
I posted this yesterday but it may have got lost in the shuffle.  I'm 
really hoping someone might explain the following scenario to me...  
what message (besides mouseMove) is sent to Revolution when the 
hovering mouse moves off a chunk of linked text?
Thanks,
Mark

Begin forwarded message:
From: Mark Swindell [EMAIL PROTECTED]
Date: February 18, 2005 12:48:26 PM PST
To: How to use Revolution use-revolution@lists.runrev.com
Subject: mouseLeave and linked text question
Reply-To: How to use Revolution use-revolution@lists.runrev.com
Can someone explain the following?  In the script below, in the first 
if/then structure, the mouse moving away from a piece  of  linked text 
causes the backgroundColor of that linked text to reset to empty.  But 
the mouse is only moving off the linked text, not out of the field.  
This makes me think a piece of linked text is a control which receives 
a mouseLeave message.  Is this correct?

But then with the repeat structure below that, only by the mouse 
actually leaving the field does the backgroundColor of all lines reset 
to empty.  Which leads me to think that the linked text it was 
hovering over was not a control.

How does this work?
Thanks
Mark
on mouseLeave
  -- unhighlight any currently highlighted text:
  if storedHilitedChunk is not empty then
do set the backgroundColor of  \
storedHilitedChunk  to empty
put empty into storedHilitedChunk
  end if
  repeat with y = 1 to 3
repeat with x = 1 to the number of lines of field y
  set the backgroundColor of line x of field y to empty
end repeat
  end repeat
  pass mouseLeave
end mouseLeave
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Printing in landscape

2005-02-19 Thread Bill
I Found out that I can manually set the page set-up to landscape and then

on mouseup
   set the printmargins to 0,0,0,0
   open printing with dialog
-- reverse width with height
   print card from 0,0 to 692,612
   close printing
end mouseup 

This works but setting the mode manually to landscape and the back to
portait manually is time consuming. Is there some way to automate this in
the scrpipt?



On 2/18/05 7:08 PM, Bill [EMAIL PROTECTED] wrote:

 
 I have a stack that is smaller than an 8.5 by 11 sheet of paper
 (it is 728 pixels by 636). I presently put png images which are several
 thousand pixels wide by height (to get the resolution) and told to be 612 by
 792 and locked in with the size and position panel.
 
 I then print them with the following button:
 
 on mouseup
   -- printMargins left,top,right,bottom
   
   set the printmargins to 0,0,0,0
   open printing with dialog
   print card from 0,0 to 612,792
   close printing
 
 end mouseup 
 
 This works fine except now I want to print some forms that are landscape and
 putting them on with width 792 and height 612 (so they will be right side up
 and not sidewise) prints only as much wide as will fit on the paper.
 
 How in mac os x do I get the printing to come out in landscape and thus get
 the whole form?
 
 By the way this method gives me very clear 300 dot per inch printing on my
 laser printer but is a little slower than ideal (takes several seconds).
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 

|||
   )_)  )_)  )_)
  )___))___))___)\
 )))_)\\
   _|||\\\__
---\   /- http://www.bluewatermaritime.com
 ^ ^
     ^^^^^
     ^^^

24 hour cell: (787) 378-6190
fax: (787) 809-8426

Blue Water Maritime
P.O. Box 91
Puerto Real, PR 00740



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MouseLeave and linked text question: 2nd try

2005-02-19 Thread Rob Cozens
Hi Mark,
what message (besides mouseMove) is sent to Revolution when the hovering 
mouse moves off a chunk of linked text?
I don't know the answer; but if you open the Message Watcher window from 
the Development menu and perform the mouse action, you can see all 
resulting messages.

Rob Cozens CCW
Serendipity Software Company
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
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: change label name

2005-02-19 Thread Ken Ray
On 2/19/05 3:38 AM, Bob Hartley [EMAIL PROTECTED] wrote:

Bob,

Glad you got it to work... but I'd suggest a couple of minor
changes/optimizations to your final code.

 on mouseUp
global tFileName
copy field LabelName of stack Armbase to card 1 of stack tFileName
set the text of field LabelName of stack tFileName to field LabelNewName
 of stack Armbase
set the name of field LabelName of stack tFileName to field LabelNewName
 of stack Armbase
 end mouseUp

When you copy an object (or create a new one using create), the long id of
the new object is put into it so you don't need to refer to the name with
long identifiers. So the code could also be:

on mouseUp
  global tFileName  -- BTW, why do you need to global this?
  put field LabelNewName of stack Armbase into tText
  copy field LabelName of stack Armbase to card 1 of stack tFileName
  set the text of it to tText
  set the name of it to tText
end mouseUp

Also, you should always (IMHO) put quotes around the names of objects. Rev
is very forgiving, but it makes it easier to read and reduces potential
problems if object names are quoted.

Just FYI,


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


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple word-scramble stack

2005-02-19 Thread Ken Ray
On 2/19/05 6:46 AM, Wilhelm Sanke [EMAIL PROTECTED] wrote:

 While visiting a family with a third-grader I noticed a (written)
 foreign-language exercise that used scrambled words. As the father of
 the third-grader had an older Metacard version on his computer, I sat
 down and produced a computer version of the exercise, which the young
 child seemed to like very much. I added a standalone splash screen to
 enable the young user to make changes to the lexicon and add words of
 her own choice.

Very cool, Klaus! Just curious... how long did it take you to write this?


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


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Printing in landscape -- can't be done on mac OS X

2005-02-19 Thread Bill
I see why no one answered my question. It is already answered in the help
file:

To print in landscape mode, set the printRotated to true before printing:

  set the printRotated to true
  print card My Card

  Note: The printRotated property has no effect on Mac OS and OS X systems.
To print in landscape mode on Mac OS or OS X, use the answer printer or
revShowPrintDialog command to display the Page Setup dialog box before
printing, then choose the Landscape option in the dialog box.

In other words if you are using Mac OS X you cannot automatically switch
between landscape and portrait mode although this makes me wonder...how do
programs that automatically do this like acrobat pro manage to do it?


On 2/19/05 11:46 AM, Bill [EMAIL PROTECTED] wrote:

 I Found out that I can manually set the page set-up to landscape and then
 
 on mouseup
set the printmargins to 0,0,0,0
open printing with dialog
 -- reverse width with height
print card from 0,0 to 692,612
close printing
 end mouseup 
 
 This works but setting the mode manually to landscape and the back to
 portait manually is time consuming. Is there some way to automate this in
 the scrpipt?
 
 
 
 On 2/18/05 7:08 PM, Bill [EMAIL PROTECTED] wrote:
 
 
 I have a stack that is smaller than an 8.5 by 11 sheet of paper
 (it is 728 pixels by 636). I presently put png images which are several
 thousand pixels wide by height (to get the resolution) and told to be 612 by
 792 and locked in with the size and position panel.
 
 I then print them with the following button:
 
 on mouseup
   -- printMargins left,top,right,bottom
   
   set the printmargins to 0,0,0,0
   open printing with dialog
   print card from 0,0 to 612,792
   close printing
 
 end mouseup 
 
 This works fine except now I want to print some forms that are landscape and
 putting them on with width 792 and height 612 (so they will be right side up
 and not sidewise) prints only as much wide as will fit on the paper.
 
 How in mac os x do I get the printing to come out in landscape and thus get
 the whole form?
 
 By the way this method gives me very clear 300 dot per inch printing on my
 laser printer but is a little slower than ideal (takes several seconds).
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
 
 |||
)_)  )_)  )_)
   )___))___))___)\
  )))_)\\
_|||\\\__
 ---\   /- http://www.bluewatermaritime.com
  ^ ^
      ^^^^^
  ^^^
 
 24 hour cell: (787) 378-6190
 fax: (787) 809-8426
 
 Blue Water Maritime
 P.O. Box 91
 Puerto Real, PR 00740
 
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 

|||
   )_)  )_)  )_)
  )___))___))___)\
 )))_)\\
   _|||\\\__
---\   /- http://www.bluewatermaritime.com
 ^ ^
     ^^^^^
     ^^^

24 hour cell: (787) 378-6190
fax: (787) 809-8426

Blue Water Maritime
P.O. Box 91
Puerto Real, PR 00740



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MouseLeave and linked text question: 2nd try

2005-02-19 Thread Mark Swindell
Thanks, Rob.
The message watcher shows only a mouseMove being generated either upon 
gliding over linked text, or upon moving off it.  However, the 
following mouseLeave handler changes the background color of the linked 
text upon moving off of it.   Which makes me confused, since I don't 
see the message generated, and because the second part of this same 
script (the repeat section) only triggers when the mouse actually 
leaves the field rectangle.  (BTW, I got this hilite/unhilite script 
from the Cookbook... the repeat I made up because I need it to act on 
other related hilited text in two other corresponding fields.)

Mark
on mouseLeave
  -- unhighlight any currently highlighted text:
  if storedHilitedChunk is not empty then
do set the backgroundColor of  \
storedHilitedChunk  to empty
put empty into storedHilitedChunk
  end if
  repeat with y = 1 to 3
repeat with x = 1 to the number of lines of field y
  set the backgroundColor of line x of field y to empty
end repeat
  end repeat
  pass mouseLeave
end mouseLeave
On Feb 19, 2005, at 8:26 AM, Rob Cozens wrote:
Hi Mark,
what message (besides mouseMove) is sent to Revolution when the 
hovering mouse moves off a chunk of linked text?
I don't know the answer; but if you open the Message Watcher window 
from the Development menu and perform the mouse action, you can see 
all resulting messages.

Rob Cozens CCW
Serendipity Software Company
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple word-scramble stack

2005-02-19 Thread Jim Hurley
 Wilhelm Sanke wrote:
A screenshot can be seen here
http://www.sanke.org/Metamedia/Screenshots.htm.
Direct download from
http://www.sanke.org/Software/simplewordscramble.zip (11 KB).


This presents a new OS X challenge for me.
In OS 9 I used Fast Find , and later Richard Gaskin's wonderful 
little AppleScript app., Change creator to convert MC settings to 
RunRev settings. I tried the Open with..Other routine in OS X 
but RunRev was not allowed (deselected) as an option.

How is this conversion performed in OS X?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple word-scramble stack

2005-02-19 Thread Klaus Major
Hi Ken,
On 2/19/05 6:46 AM, Wilhelm Sanke
SIC!
[EMAIL PROTECTED] wrote:
While visiting a family with a third-grader I noticed a (written)
foreign-language exercise that used scrambled words. As the father of
the third-grader had an older Metacard version on his computer, I sat
down and produced a computer version of the exercise, which the young
child seemed to like very much. I added a standalone splash screen to
enable the young user to make changes to the lexicon and add words of
her own choice.
Very cool, Klaus!
Ehm..., lots of work?
Actually it was Wilhelm who posted this, see above ;-)
Just curious... how long did it take you to write this?
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]
Best
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Typing foreign characters in RunRev

2005-02-19 Thread Till Bandi
here everything works as expected (with the swiss german and th  
US-keyboard). You just have to figure out the right keys.

Till
Am 14.02.2005 um 15:52 schrieb Frank Leahy:
Xavier,
Thanks, but I was looking for something that would emulate the way  
that it's done in every piece of software except Rev -- hold down  
option key and type u, see floating dots, type u and get ümlaut.

I'm curious what our German, French and Portuguese Revers do.. Can you  
type accents and umlauts into Rev fields?  What happens if you use a  
US keyboard instead of a German/French/Portuguese keyboard, can you  
still type them?

And a final question, does anyone know where the floating dots (or  
floating accent or floating tilda) characters are stored, and how to  
show them in a Rev field?

Thanks,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Feb 14, 2005, at 2:24 PM, [EMAIL PROTECTED]  
wrote:

From: [EMAIL PROTECTED]
Subject: Re: Typing foreign characters in RunRev
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID:
	[EMAIL PROTECTED] 
boerse.de
	
Content-Type: text/plain;	charset=iso-8859-1

Na Frank,
That should be a nice and simple keydown card message
...
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple word-scramble stack

2005-02-19 Thread James Cass
Jim -
Not sure I completely understand your dilemma, but it sounds like you 
may want to look at your User's com.apple.LaunchServices.plist file, 
located in /Users/username/Preferences/com.apple.LaunchServices.plist 
(or wherever the user's home folder is). :-)  This file holds file/app 
associations.

HTH.James
On Feb 19, 2005, at 12:12 PM, Jim Hurley wrote:
 Wilhelm Sanke wrote:
A screenshot can be seen here
http://www.sanke.org/Metamedia/Screenshots.htm.
Direct download from
http://www.sanke.org/Software/simplewordscramble.zip (11 KB).


This presents a new OS X challenge for me.
In OS 9 I used Fast Find , and later Richard Gaskin's wonderful 
little AppleScript app., Change creator to convert MC settings to 
RunRev settings. I tried the Open with..Other routine in OS X 
but RunRev was not allowed (deselected) as an option.

How is this conversion performed in OS X?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev in CGI

2005-02-19 Thread Stephen Barncard
Jackie - this is incredible. Thanks for the great tutorial. I get it 
now. Very useful stuff! I bounce between web and app design all the 
time and this brings it all together.

sqb
Op 19-feb-05 om 6:25 heeft Paul Salyers het volgende geschreven:
What is needed to tun a Rev program in a CGI folder so anyone can 
access from the web with a web browser?
You should read Jacque's great tutorial on 
http://www.hyperactivesw.com/cgitutorial/index.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing in landscape -- can't be done on mac OS X

2005-02-19 Thread Stephen Barncard
back in the Roaring 80's I used to use John A. Nairn's Printreport
 that was a wonderful tool to get access to all the printer stuff. 
There was no way to get or set just one parameter such as orientation 
directly but he did provide a way to save all printing parameters by 
using the data record returned by his Page Setup command.

You would do a page setup and put the returned value in memory 
somewhere (hidden field, etc) so you could just do a no-dialog PRINT 
using the stored array parameters. Perhaps there is still a way.

Apple has always been a bit mysterious about printing.

sqb

To print in landscape mode, set the printRotated to true before printing:
  set the printRotated to true
  print card My Card
  Note: The printRotated property has no effect on Mac OS and OS X systems.
To print in landscape mode on Mac OS or OS X, use the answer printer or
revShowPrintDialog command to display the Page Setup dialog box before
printing, then choose the Landscape option in the dialog box.
In other words if you are using Mac OS X you cannot automatically switch
between landscape and portrait mode although this makes me wonder...how do
programs that automatically do this like acrobat pro manage to do it?
  Blue Water Maritime
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: general undo methods?

2005-02-19 Thread Geoff Canyon
I would store a list of transcript statements designed to undo/redo the 
things you are doing. So if you move a rectangle to 100,300 I would get 
the long id of the rectangle and do something like this:

put set the loc of  it  to  tNewLoc  cr after gRedoString
put set the loc of  it  to  the loc of it  cr before 
gUndoString
set the loc of it to tNewLoc

I did something like this for fields and found it to be remarkably fast 
and efficient. The really great aspect is that you can undo/redo an 
arbitrary number of steps with one command: do line 1 to 100 of 
gUndoString undoes 100 steps, etc.

On Feb 18, 2005, at 1:40 PM, Richard Gaskin wrote:
I can see how that approach would be useful for some apps, but this 
one has a large stack and the changes made a very small (moving 
objects, deleting objects, etc.).

regards,
Geoff Canyon
[EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple word-scramble stack

2005-02-19 Thread Ken Ray
On 2/19/05 11:24 AM, Klaus Major [EMAIL PROTECTED] wrote:

 Hi Ken,
 
 On 2/19/05 6:46 AM, Wilhelm Sanke
 
 SIC!
 
 [EMAIL PROTECTED] wrote:
 
 While visiting a family with a third-grader I noticed a (written)
 foreign-language exercise that used scrambled words. As the father of
 the third-grader had an older Metacard version on his computer, I sat
 down and produced a computer version of the exercise, which the young
 child seemed to like very much. I added a standalone splash screen to
 enable the young user to make changes to the lexicon and add words of
 her own choice.
 
 Very cool, Klaus!
 
 Ehm..., lots of work?
 Actually it was Wilhelm who posted this, see above ;-)

Whoops! Sorry, Klaus!

(Man, I've been working too much...)

;-)


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


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Useful Windows tools for working with Unicode

2005-02-19 Thread Alejandro Tejada
Hi Developers,

I've been looking auxiliar tools 
for working with Unicode in this 
development environment and found 
this useful webpage by Alan Wood:

http://www.alanwood.net/unicode/utilities_fonts.html

I liked specially this tool:

http://members.rogers.com/truetypeexplorer/

If you had more links that could
help while working with Unicode,
please post to this mail list.

Thanks in advance

=
Visit my site:
http://www.geocities.com/capellan2000/



__ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: general undo methods?

2005-02-19 Thread Richard Gaskin
Geoff Canyon wrote:
I would store a list of transcript statements designed to undo/redo the 
things you are doing. So if you move a rectangle to 100,300 I would get 
the long id of the rectangle and do something like this:

put set the loc of  it  to  tNewLoc  cr after gRedoString
put set the loc of  it  to  the loc of it  cr before gUndoString
set the loc of it to tNewLoc
I did something like this for fields and found it to be remarkably fast 
and efficient. The really great aspect is that you can undo/redo an 
arbitrary number of steps with one command: do line 1 to 100 of 
gUndoString undoes 100 steps, etc.
That's prettyt much where I'm headed now, but there's one aspect that's 
still problematic:  Rev's built-in undo for text editing operations is 
something I don't want to replicate.  For a single-level Undo it's easy 
enough to put a flag in the undo string to tell it to use the built-in 
undo command rather than any custom routine.  But how would one handle 
this for multi-level undo?

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Subscribe gmane to this list?

2005-02-19 Thread Ben Rubinstein
With Kevin and Heather's approval, I've gone ahead and done this.  So this list
can be viewed, and searched (archives back to November 2001) at:
  http://dir.gmane.org/gmane.comp.ide.revolution.user

I hope others find this useful too.
 
  Ben Rubinstein   |  Email: [EMAIL PROTECTED]
  Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
  http://www.cogapp.com|  Fax  : +44 (0)1273-728866


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


New user just introducing myself...

2005-02-19 Thread Todd Higgins
Hi Everyone,
I purchased Dreamcard last fall and I upgraded to Revolution last month 
just in time to take advantage of the AltBrowser/MagicCarpet Xmas combo 
(Thanks Kevin and Chipp for the generous offer!)

I have learned quite a lot about Revolution by reading the list (though 
I don't know how anyone can keep up with all of the traffic)  and I 
want the makers of Revolution to know that part of the reason I decided 
to go with Revolution was because of the high quality (and personable) 
nature of the list.

Like Len Morgan (another Revolution beginner on the list - Hi Len) I am 
having a hard time grokking Revolution.  It seems like most people who 
come to Revolution have had previous experience with Hypercard (alas I 
was not so lucky, the first Mac I bought was a IIsi and it only came 
with the Hypercard player and I could not find the full version.)

 I am an experienced computer user,  who has dabbled with Applescript 
and some shell scripting for my customers, but I have never worked in 
an IDE and have never developed a GUI tool.  (My daytime job is  
System Engineer where I work on OS X Servers and W2K Servers)

When I was evaluating Revolution previously, I remember seeing a 
tutorial section under help.  I couldn't seem to find it in the 2.5 
version, so I just ordered Dan's book : )

What other good habits would I do well to develop?  Also, what plugins 
or externals do people consider essential to the Revolution 
development experience?  I have read about a few on the list, but I'm 
not sure if the apply to me (or if I would just be unnecessarily 
complicating my learning curve)  Any suggestions will be gratefully 
accepted!

Thanks
Todd
--
Todd Higgins
ASG Systems Engineer
MICRO Technology Groupe, Inc
voice: 215-788-6811 fax: 215-788-1766
email: [EMAIL PROTECTED]  www: http://www.mtgroupe.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple word-scramble stack

2005-02-19 Thread Klaus Major
Hi Ken,
...
Very cool, Klaus!
Ehm..., lots of work?
Actually it was Wilhelm who posted this, see above ;-)
Whoops! Sorry, Klaus!
No problem, could have been worse ;-)
(Man, I've been working too much...)
I guessed...
;-)
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]
Best
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: New user just introducing myself...

2005-02-19 Thread James Cass
Hey, Todd.  Welcome to the Revolution!!
-James
On Feb 19, 2005, at 4:55 PM, Todd Higgins wrote:
Hi Everyone,
I purchased Dreamcard last fall and I upgraded to Revolution last 
month just in time to take advantage of the AltBrowser/MagicCarpet 
Xmas combo (Thanks Kevin and Chipp for the generous offer!)

I have learned quite a lot about Revolution by reading the list 
(though I don't know how anyone can keep up with all of the traffic)  
and I want the makers of Revolution to know that part of the reason I 
decided to go with Revolution was because of the high quality (and 
personable) nature of the list.

Like Len Morgan (another Revolution beginner on the list - Hi Len) I 
am having a hard time grokking Revolution.  It seems like most people 
who come to Revolution have had previous experience with Hypercard 
(alas I was not so lucky, the first Mac I bought was a IIsi and it 
only came with the Hypercard player and I could not find the full 
version.)

 I am an experienced computer user,  who has dabbled with Applescript 
and some shell scripting for my customers, but I have never worked in 
an IDE and have never developed a GUI tool.  (My daytime job is  
System Engineer where I work on OS X Servers and W2K Servers)

When I was evaluating Revolution previously, I remember seeing a 
tutorial section under help.  I couldn't seem to find it in the 2.5 
version, so I just ordered Dan's book : )

What other good habits would I do well to develop?  Also, what plugins 
or externals do people consider essential to the Revolution 
development experience?  I have read about a few on the list, but I'm 
not sure if the apply to me (or if I would just be unnecessarily 
complicating my learning curve)  Any suggestions will be gratefully 
accepted!

Thanks
Todd
--
Todd Higgins
ASG Systems Engineer
MICRO Technology Groupe, Inc
voice: 215-788-6811 fax: 215-788-1766
email: [EMAIL PROTECTED]  www: http://www.mtgroupe.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Subscribe gmane to this list?

2005-02-19 Thread Ken Ray
On 2/17/05 5:43 AM, Ben Rubinstein [EMAIL PROTECTED] wrote:

 With Kevin and Heather's approval, I've gone ahead and done this.  So this
 list
 can be viewed, and searched (archives back to November 2001) at:
   http://dir.gmane.org/gmane.comp.ide.revolution.user
 
 I hope others find this useful too.

This looks great, Ben... how would you propose using it best - through a
browser? Or can you do searches through the other forms it proposes (NNTP,
RSS, etc.)? If so, how do *you* use it?

:-)

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: User Application Support folder on OS X?

2005-02-19 Thread Dave Cragg
On 18 Feb 2005, at 21:43, Trevor DeVore wrote:
In my program I have some current user specific stack files that get 
updated while using the app.  On Windows I stored these in the users 
application data folder.  On Mac I want to store them in the users 
Application Support folder (~/Library/Application Support).

The problem is that I can't get specialFolderPath to return this 
folder.  If you use specialFolderPath(asup) then you get the system 
Application Support folder (/Library/Application Support).  It seems 
that Revolution passes the system domain to FSFindFolder by default.

For the time being I've resorted to storing the stacks in the user 
pref folder but it pains me to do so.  So does anybody know if it is 
possible to get system folders using shell?  If not then I will have 
to write a little external to do this.
Could you first get the user's home folder, and then append what is 
returned from specialFolderPath(asup)?

Cheers
Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Typing foreign characters in RunRev

2005-02-19 Thread Jonathan Cooper
On Tuesday, February 15, 2005, at 01:52  AM, Frank Leahy wrote:
I was looking for something that would emulate the way that it's done 
in every piece of software except Rev -- hold down option key and type 
u, see floating dots, type u and get ümlaut.

I'm curious what our German, French and Portuguese Revers do.. Can you 
type accents and umlauts into Rev fields?  What happens if you use a 
US keyboard instead of a German/French/Portuguese keyboard, can you 
still type them?
Hi Frank,
I just discovered something interesting while preparing to answer your 
questions: If you set your keyboard to U.S. Extended (unicode), you 
get very similar results to Apple Mail, except that, instead of the 
umlaut being highlighted, it has a heavy underline. Otherwise, using 
the U.S., British or Australian keyboards (via the Input tab of 
International System Preferences), you can still type ü in a Rev 
field (option-u, u); you just don't get any feedback until you type the 
(second) u.

And a final question, does anyone know where the floating dots (or 
floating accent or floating tilda) characters are stored, and how to 
show them in a Rev field?
Rev doesn't store them, AFAIK; it's a system-wide thing. But in any 
app, you can show a naked umlaut by typing option-u, then space, a 
naked acute by typing option-e, then space, etc.

Also, BTW, Jeanne de Voto wrote:
you can get an accent character by itself by pressing the relevant key 
twice. (For example, to get an umlaut, press option-u option-u.)
This doesn't work for me. Only option-u, [space] .
HTH,
--
Jonathan Cooper
Manager of Information / WWW
Art Gallery of New South Wales, Sydney, Australia
http://www.artgallery.nsw.gov.au/staff/jcooper
--
Jonathan Cooper
Manager of Information / WWW
Art Gallery of New South Wales
http://www.artgallery.nsw.gov.au/staff/jcooper 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Email attachments

2005-02-19 Thread Marty Knapp
I use revmail to semi-automate confirmation emails to my customers (I'm
using Rev 2.2.1). I take the saved email I get from my Miva store, drag and
drop onto my Rev app where the info is parsed and placed into appropriate
fields. I have a button that preconfigures an email, opens Entourage and I
just click SEND and away it goes.

Is there a way to preconfigure this to include an attachment? Maybe there's
a way to make this more automated? Is there anything in the latest version
of Rev that would benefit me in this regard?

Thanks.

Marty Knapp

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple word-scramble stack

2005-02-19 Thread Alejandro Tejada
I really liked this stack,
Thanks a lot for sharing, Wilhem!

Notice that with short words,
the button scramble once more
could give the correct answer.  :-))

James Cass wrote:

 That's a very cool stack!  
 Just by coincidence the first word that came 
 up for me was garden.  However, when I saw 
 the scrambled letters, I saw a true, one-word 
 anagram for garden, danger.  Let's not get
 into the psychological reasons for that  ;-P

Garden could be a real Danger for
people with pollen alergy. 
Just wait for Spring (or summer) ;-)

i discover that Monday has the same letters
than Dynamo, so every monday is a scrambled dynamo.

These scrambled messages remember me a recent series
of comedy i was watching on dvd: Wonderfalls

In this comedy, the funniest situation arise from 
malinterpreting some supernatural messages. :-))
(Now, that the place where i live don't have
TV cable, DVD rents and buys are my best choices
while watching TV.)
  
So, it now seems another enhancement would be
to check for one word anagrams of the same 
set of scrambled letters.  :-)

or check with a Dictionary with anagrams! ;-)

al

=
Visit my site:
http://www.geocities.com/capellan2000/



__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: New user just introducing myself...

2005-02-19 Thread Bill Vlahos
On Feb 19, 2005, at 1:55 PM, Todd Higgins wrote:
Like Len Morgan (another Revolution beginner on the list - Hi Len) I 
am having a hard time grokking Revolution.  It seems like most people 
who come to Revolution have had previous experience with Hypercard 
(alas I was not so lucky, the first Mac I bought was a IIsi and it 
only came with the Hypercard player and I could not find the full 
version.)

 I am an experienced computer user,  who has dabbled with Applescript 
and some shell scripting for my customers, but I have never worked in 
an IDE and have never developed a GUI tool.  (My daytime job is  
System Engineer where I work on OS X Servers and W2K Servers)
The syntax for Revolution is very similar to AppleScript. It is 
difficult to write an application in AppleScript. I've done it but 
that isn't what it is really for (or shell scripting either). 
Revolution, like AppleScript, makes it fairly easy to read programs 
that someone else wrote. An AppleScript tells some other program what 
to do. You might change the metaphor for Revolution to be that an 
object (button, URL, external event, field, whatever) tells something 
within your program what to do, display something, get information or 
put information from somewhere external to your application.
When I was evaluating Revolution previously, I remember seeing a 
tutorial section under help.  I couldn't seem to find it in the 2.5 
version, so I just ordered Dan's book : )
I think you will like his book and it will give you a pretty good idea 
of what you are asking here.
What other good habits would I do well to develop?  Also, what plugins 
or externals do people consider essential to the Revolution 
development experience?  I have read about a few on the list, but I'm 
not sure if the apply to me (or if I would just be unnecessarily 
complicating my learning curve)  Any suggestions will be gratefully 
accepted!
I haven't needed any externals yet and while I do find some of the 
plugins useful at times I actually use them fairly sparingly. Navigator 
is pretty useful once you get going but I wouldn't consider it a newbie 
tool.

Unlike traditional programming environments that don't have an IDE (or 
AppleScript that doesn't really have an interface at all), Revolution 
turns the paradyme around. Draw your screen, place buttons, fields, 
graphics, menus, etc. first then assign actions to those objects. 
Pretend like you know what you want your application to do, draw it the 
way you want to see it, and then program the objects (buttons, menu 
actions, external triggers, whatever...).

Welcome to the Revolution.
Bill Vlahos
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Cool Script animation

2005-02-19 Thread Alejandro Tejada
on Fri, 18 Feb 2005
Xavier Bury wrote:

 I made this cool conversion of the script
Bit-101.com 
 proposes for tutorials. check it out...

Great job, xavier!!! :-))

 It's not so obvious converting flash scripts 
 and their convoluted animation frames but I got 
 it down to something simple and easy now. And
there's 
 more to come!

These are really good news, indeed!
I was expecting for some gifted mind
able to explain all these actionscripts
twist and turns in native transcript terms.

My wait is over!  :-))

Notice Xavier, when i enter the mouse pointer
in a vector graphic with the script you posted,
it moves quickly to the top of the stack...

Could you make it move smoothly to this new position?

When i let the vector grc drop it bounces from the
middle of the graphic not from the base...

Could you make it bounce from the graphic's base?

Thanks for sharing!
Keep up(loaded) your good work!

al

=
Visit my site:
http://www.geocities.com/capellan2000/



__ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Email attachments

2005-02-19 Thread Dan Shafer
revMail does not support attachments, but Shao Sean's libEmail and 
libSMTP stuff works great and supports attachments as well as lots of 
other great stuff. Go to http://www.shaosean.tk.

Dan
On Feb 19, 2005, at 6:47 PM, Marty Knapp wrote:
I use revmail to semi-automate confirmation emails to my customers (I'm
using Rev 2.2.1). I take the saved email I get from my Miva store, 
drag and
drop onto my Rev app where the info is parsed and placed into 
appropriate
fields. I have a button that preconfigures an email, opens Entourage 
and I
just click SEND and away it goes.

Is there a way to preconfigure this to include an attachment? Maybe 
there's
a way to make this more automated? Is there anything in the latest 
version
of Rev that would benefit me in this regard?

Thanks.
Marty Knapp
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Email attachments

2005-02-19 Thread Marty Knapp
On 2/19/05 7:49 PM, Dan Shafer [EMAIL PROTECTED] wrote:

 revMail does not support attachments, but Shao Sean's libEmail and
 libSMTP stuff works great and supports attachments as well as lots of
 other great stuff. Go to http://www.shaosean.tk.

Thanks Dan-- this looks like just what I need.


Marty Knapp

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev in CGI

2005-02-19 Thread J. Landman Gay
On 2/19/05 11:42 AM, Stephen Barncard wrote:
Jackie - this is incredible. Thanks for the great tutorial. I get it 
now. Very useful stuff! I bounce between web and app design all the time 
and this brings it all together.
Thanks, I'm glad it helped. It is good to know that writing it wasn't a 
complete waste of time. ;) I have a number of CGIs on my site, mostly to 
deal with junk mail and check on mailboxes that I don't regularly read. 
Rev CGIs seem to be able to do just about anything and they are pretty fast.

sqb
Op 19-feb-05 om 6:25 heeft Paul Salyers het volgende geschreven:
What is needed to tun a Rev program in a CGI folder so anyone can 
access from the web with a web browser?

You should read Jacque's great tutorial on 
http://www.hyperactivesw.com/cgitutorial/index.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Cool Script animation

2005-02-19 Thread MisterX
Ola compadre! 


  I made this cool conversion of the script
 Bit-101.com 
  proposes for tutorials. check it out...
 
 Great job, xavier!!! :-))
 
  It's not so obvious converting flash scripts and their convoluted 
  animation frames but I got it down to something simple and 
 easy now. 
  And
 there's 
  more to come!

I got 3 of them now, one being really really cool graphics! I'll post it
shortly...

 These are really good news, indeed!
 I was expecting for some gifted mind
 able to explain all these actionscripts
 twist and turns in native transcript terms.
 
 My wait is over!  :-))

Anything you want. But im new to flash so some things still escape me... 
Instead of cards, they use frame animations, they jump from one to the
other. So playframes(2) is the same as go to card 2! But cards dont share
the same graphics, so some backgrounds or groups transliteration might be
necessary. I rather put it all into one card. 

Where Flash has object._x, or this._x you just apply the left of me or the
left of thisobject (where this object contains the long name of the control)

it's really simple come to think of it!

 Notice Xavier, when i enter the mouse pointer in a vector 
 graphic with the script you posted, it moves quickly to the 
 top of the stack...

Yes, it moves to the mouse's position or the default x,y...

 Could you make it move smoothly to this new position?

That's coming next week, the smooth move animation vector class!

 When i let the vector grc drop it bounces from the middle of 
 the graphic not from the base...

 Could you make it bounce from the graphic's base?

Of course but I'd rather have the ball squish instead, no? ;))

That's in 1 to 3 weeks from now! :)

 Thanks for sharing!
 Keep up(loaded) your good work!
 
 al
 
 =
 Visit my site:
 http://www.geocities.com/capellan2000/
 
 
   
 __
 Do you Yahoo!? 
 Yahoo! Mail - now with 250MB free storage. Learn more.
 http://info.mail.yahoo.com/mail_250
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Recording user actions

2005-02-19 Thread J. Landman Gay
On 2/19/05 7:12 AM, Richard Miller wrote:
I've got a user on one computer watching a video from inside of a Rev 
application I've provided. They can draw objects (mostly circles and 
lines) on top of that video while it is playing back in slow motion. I 
need to record all of this drawing so it can be recreated / replayed at 
a later time on a different computer. Not only does the motion / drawing 
need to be recorded, but also the specific times at which the drawing of 
the different objects occurred. I suppose, in some sense, this is an 
animation.

The entire marking up session will not exceed 3-5 minutes.
How do I record this activity AND keep the file size down as small as 
possible (as it needs to be quickly transmitted from the user who did 
the marking up to the user that needs to view it)?
You could try writing a mousemove handler (or a send in time 
handler) that repeatedly checks the current tool, and if it is a drawing 
tool then have it store the mouse location every so many milliseconds, 
along with the currentTime of the QT movie, the current tool, and 
whatever else you need (pen color, linewidth, etc.) If the user changes 
drawing tools or creates a new object, add a blank line to the list you 
are creating. The list could be stored in a custom property.

Then for playback, you'd create a single polygon object. Read the list 
one line at a time and compare the movie time stored there to the 
currentTime of the movie that is playing. If the times match, set the 
points of the polygon to the set of recorded points that have been 
accumulated up to then.

You can use a single polygon object to simulate any number of drawn 
objects on screen. An empty line in the object's points list will cause 
the pen to lift and then set down again, effectively creating a new 
visual object. That's why your recorded list of points should include a 
blank line each time the original user changes tools or creates a new 
object.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: User Application Support folder on OS X?

2005-02-19 Thread Trevor DeVore
On Feb 19, 2005, at 3:36 PM, Dave Cragg wrote:
Could you first get the user's home folder, and then append what is 
returned from specialFolderPath(asup)?
It seems that this would work given the current location of the user 
application support folder but I still haven't come across any docs (I 
haven't looked that hard yet) that discuss whether this folder can be 
moved in network environments, if it changes based on the language, 
etc.  I did find the following though in the Apple docs:

Your code should never assume the path to a resource within a 
file-system domain, as those paths could change in the future. Apple 
provides public interfaces for accessing standard file-system paths. 
You should always use these interfaces to locate system resources. See 
Searching Within the File-System Domains for more on searching for 
items within the domains.

I just went ahead and wrapped up FSFindFolder (I'm pretty sure this is 
what specialFolderPath uses on Mac) in an external for the time being 
and filed a feature request for an optional additional parameter to 
specialFolderPath that would allow you to specify the domain to search 
under (user,network,local,system).

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: User Application Support folder on OS X?

2005-02-19 Thread Dave Cragg
On 20 Feb 2005, at 05:34, Trevor DeVore wrote:
On Feb 19, 2005, at 3:36 PM, Dave Cragg wrote:
Could you first get the user's home folder, and then append what is 
returned from specialFolderPath(asup)?
It seems that this would work given the current location of the user 
application support folder but I still haven't come across any docs (I 
haven't looked that hard yet) that discuss whether this folder can be 
moved in network environments, if it changes based on the language, 
etc.  I did find the following though in the Apple docs:

Your code should never assume the path to a resource within a 
file-system domain, as those paths could change in the future. Apple 
provides public interfaces for accessing standard file-system paths. 
You should always use these interfaces to locate system resources. See 
Searching Within the File-System Domains for more on searching for 
items within the domains.

I just went ahead and wrapped up FSFindFolder (I'm pretty sure this is 
what specialFolderPath uses on Mac) in an external for the time being 
and filed a feature request for an optional additional parameter to 
specialFolderPath that would allow you to specify the domain to search 
under (user,network,local,system).

Just as well. I checked on my wife's account which uses Japanese. 
Oddly, the Library folder at the System level is in Japanese, but at 
the user level it is in English.

Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution