Re: Extracting Resources from MacOS X Resource Files

2009-01-22 Thread stephen barncard
Have you opened (control-click) the package and looked through all the
files/folders inside? .rsrc is a special os type that's actually a
folder.
-- An example is the .rtfd 'file' that is created by saving an RTF
document with graphics in TextEdit.   In that case, it was really just
a folder with a .png and a .rtf file inside. This is what Apple came
up with when they had to move their 'Resource Fork' metaphor to a
different file system.
I quite like the OSX packaging system of today (making a Rev
standalone inside a package with splash - I have it all, a stand alone
for the client but an easily modified system with all the source code
and tools), but in the pre-rev Hypercard world, resource forks were a
godsend. That's where the XCMDS, sounds, pictures, code, fonts,
everything except data was stored, which of course was in the DATA
fork. I used many, many, TEXT resources like we use custom properties
in Rev today. You could even put executable Hypertalk into these
resources. This was a system thing; and other apps could get access to
the same resources.
This is not the same now in Rev as pictures and sounds are stored in a
proprietary format, I'm sure to preserve cross-platform compatibility.
Say, nobody's written a 'Resource Mover' for Rev yet.
maybe I will.
sqb
2009/1/22 Dave d...@looktowindward.com

 On 22 Jan 2009, at 16:18, J. Landman Gay wrote:

 Dave wrote:

 I just want to be able to access this rsrc file to get an icns file, then 
 access the icns file to get the rendered version of the Icon at a given 
 resolution.

 If it is just a one-time thing to extract particular icons, you could save a 
 lot of time by just using Graphic Converter. It will extract all the icons 
 for you and save them to disk.

 GC will open .icns files, but not MacOS X .rsrc files, so I'd still need a 
 way to get the .icns resources into separate files.

 But , no, unfortunately I want to be able to obtain the rendered icon from a 
 .icns file and this file is stored on a removable volume. When the volume is 
 mounted, I want to be able to grab the icon from the file on the volume.

 Is there really no way to access MacOS X .rsrc (theme) files under RunRev or 
 a way get an Icon and a rendered image?

 All the Best
 Dave


 ___
 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



--
Stephen Barncard
-
San Francisco
___
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: Extracting Resources from MacOS X Resource Files

2009-01-22 Thread stephen barncard
Wow... strange it appears Apple is violating its own guidelines to
obfuscate resources -- a form of DRM. Where can one get a iTunes.rsrc
file? It doesn't appear to be in my distribution.

2009/1/22 Richard Gaskin ambassa...@fourthworld.com:
 stephen barncard wrote:

 Have you opened (control-click) the package and looked through all the
 files/folders inside? .rsrc is a special os type that's actually a
 folder.

 I'm not so sure.  Right-clicking on iTunes.rsrc doesn't provide an option
 for opening it as a bundle, and dropping it on TextEdit open it up.  It
 appears to be a file, and if indeed it contains icons it's just another
 example of Apple not following their own guidelines, which suggest that

  Richard Gaskin

-- 
Stephen Barncard
-
San Francisco
___
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: externals

2009-01-19 Thread stephen barncard
Jiro,
Your application is beautiful, a work of art.
are you going to make your java external available in some way?

stephen barncard (OSX)

2009/1/18 Jiro Harada j...@ronri-kobo.com

 Randall,

 Java provides a lot of methods for File IO, which are abstracted and
 platform-dependent. My external enables them to be used from within Rev.

 Java Swing offers a platform-independent file or directory chooser dialog.
 However I have never tested it by using my external. I will test it and
 inform you of the result later. I don't think my external can open dialogs
 created in Java.

 Jiro Harada


-- 
Stephen Barncard
-
San Francisco
___
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: La communauté Revolution est en deuil

2009-01-17 Thread stephen barncard
OMG what happened...?? he just got his first product on RevSelect last
week...
One of the most generous and well-versed xtalker, and always helping people,
and giving stuff away...

My sympathies as well to the family...

sqb


2009/1/17 Jérôme Rosat jro...@mac.com

 Bonsoir,

 Neal, Yves, Eric. Malte, Mark, Matthias, René, Richmond, Devin, Viktoras,
 Jacques, j'ai transmis vos messages de condoléances au fils d'Eric.

 Neal, Yves, Eric. Malte, Mark, Matthias, René, Richmond, Devin, Viktoras,
 Jacques, I transmitted your messages of sympathy to the son of Eric.

 Jérôme

 Le 17 janv. 09 à 21:19, Jérôme Rosat a écrit :


  Bonjour,

 Je viens d'apprendre que Éric Chatonet est décédé mercredi. Toutes mes
 pensées vont à son fils et sa famille.

 Jérôme

 ___
 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




-- 
Stephen Barncard
-
San Francisco
___
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: New on this list

2009-01-12 Thread stephen barncard
Since 1983? that would make you a former Apple Employee or an Apple
Developer in 1983.Me too. Had one on my desk at Datamost. With one floppy
drive, it was lunacy for loading and saving but. GRAPHICS

2009/1/12 Paul Looney supp...@ahsomme.com

 Adri,
 Welcome aboard, look forward to a fun trip!
 Paul Looney (Mac user since 1983 ;-)   )



-- 
Stephen Barncard
-
San Francisco
___
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: New on this list

2009-01-12 Thread stephen barncard
No backplane! Well of course, how can one build stuff to plug into it?
Wonderful.

2009/1/12 Paul Looney supp...@ahsomme.com

 Stephan,
 In 1983 I was designing the financial planning system for Digital Research
 and Steve Jobs had given Gary Kildall a 128 Mac prototype (hoping he'd write
 some insanely great software for it). I can't remember Dr. Kildall
 mentioning the Mac without saying, in the same sentence, No backplane... I
 loved it from the beginning!
 Paul Looney


 On Jan 12, 2009, at 10:49 AM, stephen barncard wrote:

  Since 1983? that would make you a former Apple Employee or an Apple
 Developer in 1983.Me too. Had one on my desk at Datamost. With one floppy
 drive, it was lunacy for loading and saving but. GRAPHICS

 2009/1/12 Paul Looney supp...@ahsomme.com

  Adri,
 Welcome aboard, look forward to a fun trip!
 Paul Looney (Mac user since 1983 ;-)   )



-- 
Stephen Barncard
-
San Francisco
___
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: Font to show difference between 0 and O

2009-01-11 Thread stephen barncard
in critical applications where numbers and letters are together, this has
always been a big annoyance and for that reason, I like the zeroes to be
REAL explicit, with a slash, so there is no question. Profont isn't really
fancy, but is designed to be explicit. Free, open source Truetype. I haven't
seen an installed font do this, except I have a vague memory of Courier
having slashed zeroes at one point.
SEE A SAMPLE HERE http://houseofcubes.com/coding/profont.png

As far as mixed numbers and characters in passwords, it's
actually advantageous for security to do that, just hard for people.

2009/1/11 Scott Rossi sc...@tactilemedia.com

   The Monaco font on Macs clearly shows the differences between a zero
  and the letter O and the number one and lower case L, etc.
  What would the equivalent font on Windows and/or Linux be?

 I was curious about this, so I just did a run though of all installed fonts
 on a Vista system and was surprised to find nothing that qualified.  For
 the
 zero character, Consolas (not sure if this standard) was an option, but not
 a very good for one.  When you see the characters next to each other you
 can
 kind of make out the difference, but apart I can see there being confusion.

 If you need the character distinction for registration/password entry, I
 believe the standard is to avoid mixing numbers and characters, at least in
 the same block of text.  If you need the distinction for other reasons, you
 may need to research a 3rd party font an install it yourself.

 Regards,

 Scott Rossi
 Creative Director
 Tactile Media, Multimedia  Design


 ___
 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




-- 
Stephen Barncard
-
San Francisco
___
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: Font to show difference between 0 and O

2009-01-10 Thread stephen barncard
Also check out Profont

2009/1/10 Bill Vlahos bvla...@mac.com

 They have the slash through the 0?

 Bill


 On Jan 10, 2009, at 4:02 PM, runrev260...@m-r-d.de wrote:

  Hi,

 Courier New or Verdana should do under Windows.

 Regards,

 Matthias



  Original Message 
 Subject: Font to show difference between 0 and O (11-Jan-2009 0:53)
 From:Bill Vlahos bvla...@mac.com
 To:  runrev260...@m-r-d.de

  The Monaco font on Macs clearly shows the differences between a zero
 and the letter O and the number one and lower case L, etc.

 What would the equivalent font on Windows and/or Linux be? It doesn't
 have to be a monospaced font; just one that shows the characters
 unequivalently. Preferably the same font could be used for all
 platforms.

 Bill Vlahos
 ___
 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




 To: use-revolution@lists.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


 ___
 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




-- 
Stephen Barncard
-
San Francisco
___
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: URL binfile... command seems to corrupt my mp3 files (re-creatable)

2009-01-09 Thread stephen barncard
Looks like your code should work. However have you tried 'revCopyFile'  ?

2009/1/9 Jim Schaubeck jimschaub...@yahoo.com

 I have an interesting situation.  The following simple script maintains mp3
 file integrity (I can play it from both old and new folders)

 put URL binfile:C:/Documents and Settings/Jim
 Schaubeck/Desktop/test1/testing.mp3 into URL binfile:C:/Documents and
 Settings/Jim Schaubeck/Desktop/test2/testing.mp3 -- plays fine but I can
 not control filename.mp3

 However, the following script will copy the file but I can not play the
 newly created mp3 in folder test2 (the mp3 file gets corrupted)

 put testing.mp3 into tempvar
 put URL binfile:C:/Documents and Settings/Jim Schaubeck/Desktop/test1/ 
 tempvar into URL binfile:C:/Documents and Settings/Jim
 Schaubeck/Desktop/test2/testing.mp3

 This script moves the file but the mp3 file gets corrupted.
 What am I missing?  My end game is to have flexibility in changing mp3 file
 names and locations. The 'URL' keyword or 'rename' command both look like
 they can do what I want (almost)

 Jim...
 ___

-- 
Stephen Barncard
-
San Francisco
___
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 - Sound input for a MacPro

2009-01-07 Thread stephen barncard
Or Skype

2009/1/7 Jim Kanter j...@d-film.com

 A Logitech USB headset should work well for Skype. Reasonably
 inexpensive. If your Chinese friend is also on Mac you should consider
 using iChat.
 ___

-- 
Stephen Barncard
-
San Francisco
___
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 - Sound input for a MacPro

2009-01-07 Thread stephen barncard
Webcam mics suck for narration. Too far away from the speaker and too much
room tone.
A big omission by many podcasters and users of web video (and video
broadcasters for that matter) is care for SOUND. A lot of people think it's
not important. Video guys are happy if the meter is moving. Use a headset
mic for everything. They often sound better than 'professional' mics for
computer audio.
As far as price of Macs is concerned, I don't have a problem with it. One
gets what one pays for.

sqb

2009/1/7 Joe Lewis Wilkins pepe...@cox.net

 I wish, Jim. But most still think Macs are too expensive. (smile) I'm
 picking up a headset shortly. Thanks.

 Joe Wilkins

 On Jan 7, 2009, at 7:32 AM, Jim Kanter wrote:

  A Logitech USB headset should work well for Skype. Reasonably
 inexpensive. If your Chinese friend is also on Mac you should consider
 using iChat.

 ___

-- 
Stephen Barncard
-
San Francisco
___
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 - Sound input for a MacPro

2009-01-07 Thread stephen barncard
Yes, the logitech $40 - $50 model works fine. Excellent for web
conferencing, as it avoids the feedback that accompanies such
sessions.Available
at any Rat Shack store or most any Best Buy or Office Depot kinda place.

I had the sales guy tell me these didn't work on Macs.  He was convinced.


OF COURSE these work on macs -- there's a USB audio standard. I bought two
-- from another Radio Shack.

2009/1/7 Judy Perry katheryn.swynf...@gmail.com

 Do you have a specific headset recommendation?
 Judy
 http://revined.blogspot.com

 On Wed, Jan 7, 2009 at 9:13 AM, stephen barncard 
 stephenrevoluti...@barncard.com wrote:

  Webcam mics suck for narration. Too far away from the speaker and too
 much
  room tone.
  A big omission by many podcasters and users of web video (and video
  broadcasters for that matter) is care for SOUND. A lot of people think
 it's
  not important. Video guys are happy if the meter is moving. Use a headset
  mic for everything. They often sound better than 'professional' mics for
  computer audio.
  As far as price of Macs is concerned, I don't have a problem with it. One
  gets what one pays for.
 
  sqb
 
  2009/1/7 Joe Lewis Wilkins pepe...@cox.net
 
   I wish, Jim. But most still think Macs are too expensive. (smile) I'm
   picking up a headset shortly. Thanks.
  
   Joe Wilkins
  
   On Jan 7, 2009, at 7:32 AM, Jim Kanter wrote:
  
A Logitech USB headset should work well for Skype. Reasonably
   inexpensive. If your Chinese friend is also on Mac you should consider
   using iChat.
  
   ___
  
  --
  Stephen Barncard
  -
  San Francisco
  ___
  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




-- 
Stephen Barncard
-
San Francisco
___
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: Saving arrays and custom property sets

2009-01-06 Thread stephen barncard
I've used this feature a little bit, for a 'thing' that saves and retrieves
multiple fields at a time locally for re-insertion later in another record.
The multi dimensional arrays can be stored to/from a custom property set,
but accessing any multidimensional custom property beyond the first level
(propertyset--property--) is not allowed at this time.  But working with
this even in this form is totally usable.

 Use the standard syntax to set a custom property set to an array and back.
  I'm assuming the rev team will enable multi-dimensional prop storage soon,
as it's already used for gradients, and of course the above mentioned
storage of arrays.  One problem holding things up might be that a new custom
property editor needs to be built for this.

2009/1/6 David Bovill da...@architex.tv

 From the docs:

 Saving of array valued custom properties
  
 
  Custom properties that have arrays as values are now saved in the stack
  file.
 
  If such a stack file is loaded into a version of Revolution that does not
  support multi-dimensional arrays, any custom properties with an array
 value
  will not be ignored.
 

 So how does this work with custompropertyset syntax etc?
 ___
 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




-- 
Stephen Barncard
-
San Francisco
___
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: Rev cgi mySQL (again)

2009-01-03 Thread stephen barncard
I'm with you on that - use what one knows of mysql to get a bulk data block,
then use chunk expressions to further parse  I used to feel guilty that
I didn't do it all in MYSQL, using views and other tricks, but these days
I'm ok with it.

On Fri, Jan 2, 2009 at 6:31 PM, Sarah Reichelt sarah.reich...@gmail.comwrote:

 I have done a similar thing in the past due to my lack of expertise
 with SQL. I did an initial SQL query to get set of data that included
 all that I needed but had more. That gave me a variable (I didn't use
 files) which I processed further using Revolution. This was very fast
 however an SQL expert might have been able to do the same thing in
 pure SQL. I tend to think that the server connection is most likely
 the slowest part of the operation, so any method that reduces the
 amount of data to be transmitted is a good thing. But this has to be
 balanced against processing times.

 Anyway my advice is to benchmark the different approaches and see what
 works best in your particular circumstance.

 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




-- 
Stephen Barncard
-
San Francisco
___
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: Where to download beta versions?

2009-01-02 Thread stephen barncard
Are you sure the version isn't in your Studio or Enterprise folder? It
doesn't appear that it writes over the old one. It just changes the alias.

On Fri, Jan 2, 2009 at 4:59 AM, David Bovill da...@architex.tv wrote:

 Anyone point me to somewhere to download the latest beta versions manually?

 I've downloaded 3.5.0-dp-2, but I need to go back to 3.5.0-dp-2. The manage
 versions Rev interface does not let me do that as I wen from 3.0.0-gm-3
 directy to the latest beta.
 ___

-- 
Stephen Barncard
-
San Francisco
___
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 set the background color of a tab field

2008-12-30 Thread stephen barncard
Yes, that is a problems with pre-made tabs. I just usually use the provided
bg.

Two methods come to mind that I use:

1.   Close up the built in tab panel backdrop with its shadows, etc to
just below the buttons and close the width, and make up your own backdrop
for the control with a roundrect graphic object behind the tabbed control.
There will be a little 'artifact' going through the buttons but it could be
incorporated into the look, as long as you don't try to change the bgcolor.

2. You can easily build your own tabs into custom controls.

start with radio buttons (their logic is special )
Choose to show the name or not in each buttons' properties.
group them together.
set the group's tabgroupbehavior to true
the buttons will switch one and only one at a time
create artwork for the icon states you want icon, hilited icon, disabled
icon,etc. including 'dummy buttons for end caps that trap mouseups.

menupick and menuhistory are going to have to be worked around.

GETTING THE CURRENT SELECTED BTN
group script event:

local tHistory
on  mouseUP
put the hilitedbutton of me  into tHistory --(me = the radio group)

switch tHistory
case 1

-- do something
break
case 2
-- do something
break

end switch

end mouseUP

SETTING BTN BY SCRIPT

set the hilitedbutton of group id 1009 to 1


be sure to layer the buttons toward the user to adjust for btn overlap

experimentation is needed between artwork and code to get it right. I
suggest a layer tool like Chipps AltLayerTools or Jerry's VAB to avoid hair
loss.


Advantages: make it look like you want, any images. New images replace stock
radio button graphic.  Individual tooltips are possible (stock tabs have
only one per state), background layers can be placed as needed


Disadvantages:   Harder to add new tabs, faked menupick and history - these
could be enabled using setprop and getprop.


Ken Ray is my inspiration for even attempting custom controls - he's the
master - at one Revcon he demonstrated making a tabbed menu and there was a
stack available at the conference, however I don't know if it's online
anywhere. Very clever, original ideas.  Perhaps he could tell us if its
available, but it's not the same without Ken talking over it!


Eric Chatonet has a tutorial on using tabbed menus. You've probably seen it.

On Tue, Dec 30, 2008 at 11:27 AM, william humphrey shoreag...@gmail.comwrote:

 Making tab fields that are pretty is harder than I thought. The tab menu
 has
 a nice pretty rounded corner background but if you try to set the
 background
 color of it that color has square corners. Since RunRev knows how to make
 the nice rounded background in the first place why isn't it possible (or is
 it?) to color just that part?
 --Thanks --
 ___
 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




-- 
Stephen Barncard
-
San Francisco
___
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 set the background color of a tab field

2008-12-30 Thread stephen barncard
That should be artwork and text properties- Hide quoted text -


On Tue, Dec 30, 2008 at 1:11 PM, stephen barncard
stephenrevoluti...@barncard.com wrote:

 experimentation is needed between artwork and code to get it right.


-- 
Stephen Barncard
-
San Francisco
___
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


TESTING - IGNORE

2008-12-24 Thread stephen barncard
Testing Gmail to REV

-- 
Stephen Barncard
-
San Francisco
___
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: OT2: The 'realness' of languages

2008-12-22 Thread Stephen Barncard


After I told her I used Revolution for its rapid-development and 
cross-platform capabilities, a subtle change occurred in the 
conversation.
She began talking about how I might help with the design, but that 
of course when the design was finished a software firm would take 
over the development (presumably in some 'real' language like C).  I 
didn't bother to tell her I COULD write in C, Java, PERL, PHP and so 
on, because it would be extraordinarily painful to do so.


Why not tell her that then, if you felt you lost anyway? The only 
answer to fight the myths is education.


This is similar to the 'loudness wars' in the music business, where 
untrained amateur 'mastering' engineers and forced professionals are 
making LOUD CDs, even though they know they're trampling the dynamics 
and it makes the music worse.  Loud CDs use 'hypercompression' - not 
data compression but audio compression in the digital realm, which is 
at first interesting but eventually tedious to listen to. (think 
Ricky Martin and Britany for extremes)
The myth is that these records sound 'better' on the radio, but they 
really don't. But the myth really goes back to the vinyl days, that 
had limitations: if it was cut too soft it would be enveloped in 
noise. On the other hand there was a limit to how much time you could 
put on a disc. Louder records were shorter in length, quieter were 
longer.  That's why Miles Davis's 'In A Silent Way' is so quiet. 
Almost an hour playing time!




Has anyone else run into this issue?  Do you dodge the 'what is it 
written in' question?  How can we raise the profile of Revolution as 
a 'real' language?  (Never mind what religion it might resemble!)


George



--


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: [OT] Guy Kawasaki on AM Coast to Coast

2008-12-20 Thread Stephen Barncard
Guy Kawasaki and aliens!  I'll bet he's probably not going to talk 
about Apple that much...


the weekend? That means Art Bell himself might be doing the show. 
I hope so.


Looks like AM Coast to Coast, the radio program famous for hosting 
guests who are experts on UFOs, bigfoot, and all manner of 
conspiracy theories, comes down to earth a bit Saturday night when 
the guest is Guy Kawasaki:


   Saturday, December 20


--


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: [OT] If programming languages were religions...

2008-12-20 Thread Stephen Barncard

This is the best Richmond post ever!



I see Runtime Revolution as, in some way, resembling Hinduism:


sincerely, Richmond Mathewson.


--


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: latest beta GLx2

2008-12-20 Thread Stephen Barncard
Wrong email address for you is on record in the Rev database. Nothing 
personal. It's a bot. Ask Heather to fix it.



I believe Revolution management needs to do some explaining.  I am a licensed
user of the current version of enterprise.  With this you have the 
list for developers

who use Enterprise and like this list you can post messages in the same way.

About a month ago I posted a message on that list and it was held back saying
only list members can post.  I have signed up for this list as 
required to access

it and complained about the last message I posted.

Now I am still not being provided the same benefits as other Enterprise users
which was advertised as part of the purchase.


Your mail to 'improve-revolution' with the subject

latest beta  GLx2

Is being held until the list moderator can review it for approval.

The reason it is being held:

Post by non-member to a members-only list

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:


http://lists.runrev.com/mailman/confirm/improve-revolution/f9c3614dfd9a778bb266f3ce70d7a3a61a44b4df



I am posting this here since it obviously didn't work to complain before.

-=JB=-


--


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: Table field text formating

2008-12-17 Thread Stephen Barncard

IMHO
Courier is the most universally available monospaced font. I like 
slashed zeroes to contrast with UC  O's. Also the open source 
TruetypeProfont   is severe to look at for code, but presents 
a great image for numbers lists.


No testing on Windows - but these are long established and familiar 
fonts on all platforms.




What is the name of the best non-proportional font to use for both windoz
and Mac? It is mainly for numbers. Wouldn't it be nice if there was a
non-proportional font that was proportional for just letters?


--


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: How to zip a folder?

2008-12-15 Thread Stephen Barncard


Tiemo,

I've been down this road before.
Check out the Linux/Unix command

tar


it will 'tar' together the hierarchy into one file, which then can 
easily be zipped.
It not only preserves the files and folders in situ, but also EMPTY 
folders that are required to place the files in exactly the same 
spot.   This allows dropping say, an 'update' folder on top of 
another foldrer and only the files that are represented in the tar 
folder will change  in the receiving folder.




Hello,

is there something like revZipAddItemWithFile, with which I can zip a
complete folder including files and subfolders, e.g. an app bundle?

Pls tell there is a command!

Thanks for help

Tiemo



--


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: Looking for ugly code comparisons WAS: Slashdotter looking for kids' programming language

2008-12-12 Thread Stephen Barncard

ARGHH NO!

not Microsoft-speak!!



Maybe we need a synonym for the ... of me - how about something like my?

put my text into xx
set my hilite to true

etc.


--


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: Revolution on Amazon - Please Discuss, Tag and List

2008-12-11 Thread Stephen Barncard

They got the description wrong on enterprise:

You select one operating system for development, but can deploy to 
all supported operating systems.


cut and paste has a downside.


I see this all the time.



Even if you've already purchased Revolution for yourself, tagging, listing,
discussing etc, these things all increase awareness of Revolution. Amazon
has also launched a sort of wiki system too, called Amapedia.com. You can
also participate in the Amazon associates program too and collect some
percentage of the sale.

Raising awareness of Rev on Amazon helps build awareness of Rev in general -
your involvement would really help out.

Best regards,

Lynn Fredricks


--


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: Meaning of error codes

2008-12-10 Thread Stephen Barncard

Bought it, got  it. Thanks Mark.

sqb


Hi Stephen,

The list of error codes is somewhere in the stack revErrorDisplay. 
My shareware library to convert error codes into something 
meaningful is called errorLib and can be found at 
http://economy-x-talk.com/developers.html. There is also an 
on-line converter, at http://www.runrev.info, but due to some 
hardware problems it doesn't work always.


--
Best regards,

Mark Schonewille


--


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


Menu Key Accelerators

2008-12-09 Thread Stephen Barncard
By the way, is anyone else STILL experiencing the 'accelerator keys' 
problem in Rev in the IDE? You know, typing command-something and not 
have it happen unless you go to the actual menubar or do it several 
times. This was reported to be fixed but it's still the same for me 
in 3.0, 3.5 -- Mac Leopard 10.5.5,
I don't trust the a-keys in Rev at all.  I always have repeat. and 
always look at the bar to see it flash.



At 12:45 PM -0600 12/8/08, J. Landman Gay wrote:


I'm apparently not running on all cylinders today. My copy/paste 
didn't. Here's a corrected version, after which I think I'll bow out 
gracefully for today:


--


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: Linux Distro choices [was: Ubuntu...etc]

2008-12-09 Thread Stephen Barncard
Well at one point I considered 'fooling around' with Linux. Not 
anymore. I don't have that much time to fiddle. What a tower of Babel.




Peter Alcibiades wrote:

Of course its a thorny issue, and it depends what you want, who you are, and
what your machine is.  I don't think you lose anything by moving from
Ubuntu.  Like many other long term Linux users, I'm a bit baffled by its
popularity.



I totally agree with what Peter has written. However, I have a 
couple of chip in's.


I too never understood the popularity of Ubuntu.

On old machines try Zenwalk (slackware based and uses Xfce).  If this is
still too slow, try a minimal Debian with fluxbox as the WM.  If this is too
slow, Puppy.






--


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


Meaning of error codes

2008-12-09 Thread Stephen Barncard
I want to deal with my own error messages. Does anyone have a list of 
the 'official' error codes in rev 3.0?   Also I remember that at one 
time someone on this list was offering a library for this purpose..


thanks

sqb
--


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: Rinaldi and Rev Speed wuz Re: Newbie

2008-12-07 Thread Stephen Barncard
Totally right, Ray, got them switched.  I heard John Nairn  was a 
gardener by day and wrote that XCMD by night.




True; one minor correct, though... Tom Pittman was the author of Compile-It,
while John Nairn was the author of PrintReport (IIRC).

Boy, that brings back memories...

:-)

Ken Ray


--


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: Rev On Rockets On Dreamhost - Does it work there?

2008-12-06 Thread Stephen Barncard

thanks, Neal and everyone else who responded,
I couldn't forget the permissions after Andre said on the Revcon 
video I almost had a t-shirt made with  chmod 755  in big letters 
so you won't forget!


I still can't get a rise out of the executable, except errors.

echo.mt (from Jacque's site, changed to echo.cgi) doesn't seem to 
respond as well as ROR not responding. I've tried the 2.9, 3.0 and 
3.5 Linux 86 engines. I'll be sure to let everyone know what it is if 
I find it. This is basic stuff, it should work. I'm still blaming the 
operator here.



This is the only clue in the logs:
suexec policy violation: see suexec log for more details, referer: 
http://cms3.mitchmarcusmusic.com/



There doesn't appear to be any such suexec log, at least at my 
security level. That kinda looks like a permission problem..


Once I get it to say hello I'm on my way.

sqb


Just make sure you set the execute bits (chmod +xxx .) so that it
can be a program!

Best wishes
Neal Campbell
Abroham Neal Software
Programming Services for Windows, OS X and Linux
(540) 242 0911


--


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: AW: How to detect a CD Drive / write permissions?

2008-12-06 Thread Stephen Barncard

On MacOSX, perhapsdrutil can work for you

Usage: drutil -drive [drive-arguments] command [command-options-and-arguments]
drutil commands are:
atip - Displays ATIP information about inserted CD-R/RW media.
bulkerase - Bulk erases -RW media in either quick or full mode. 
drutil bulkerase (quick | full)
burn - Burns a given file or directory to disc. drutil burn 
(burn-options) path

cdtext - Displays CD-Text present on an audio CD.
discinfo - Displays disc related info when media is present.
dumpiso - Parses ISO-9660 directory structures. drutil dumpiso 
devnode block [format]
dumpudf - Parses UDF directory structures. drutil dumpudf devnode 
block [format]

eject - Ejects media from the drive (if any).
erase - Erases -RW media in either quick or full mode. drutil erase 
(quick | full)
filename - Translates filenames for different filesystems. drutil 
filename name
getconfig - Displays current and supported device features and 
profiles. drutil getconfig (current | supported)

info - Displays detailed information about connected drives.
list - Lists all connected burning devices.
poll - Constantly polls and displays device notifications.
status - Displays detailed information about inserted media.
subchannel - Displays subchannel (MCN, ISRC) info when CD media is present.
toc - Displays TOC information about inserted CD media.
trackinfo - Displays track related info when media is present.
tray - Opens and closes drive tray, and ejects media. drutil tray 
(open | close | eject)

version - Display the OS and DiscRecording version numbers.



Hi Ken,
Mac and Win. Obviously there is no native Rev function, do you have snippets
how to ask the shell for it?
Thank you
Tiemo



--


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: Rev On Rockets On Dreamhost - Does it work there?

2008-12-06 Thread Stephen Barncard

Thanks Jim,

yes I checked and of course ROR has it everywhere.   I did add it to 
the old  echo.mc script ( and changed the suffix to .cgi ).


I'm writing a report to DH support.   I'll let everyone know how it went.

sqb



On Dec 6, 2008, at 5:40 PM, Stephen Barncard wrote:


thanks, Neal and everyone else who responded,
I couldn't forget the permissions after Andre said on the Revcon 
video I almost had a t-shirt made with  chmod 755  in big 
letters so you won't forget!


I had a nightmare of getting a tattoo with 755   ;-)




I still can't get a rise out of the executable, except errors.



Does it need-ui

Like the following?

#!XhoutOut -ui

on startup
library makealert.rev
end startup

sims


--


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: Rev On Rockets On Dreamhost - Does it work there?

2008-12-06 Thread Stephen Barncard

Thanks Richard. That's good to know.

Yes, I've been looking at the logs and I always get this error:

suexec policy violation: see suexec log for more details, referer: 
http://cms3.mitchmarcusmusic.com/


I have no suexec log.

the only other error is the error for not having the error page!
I've sent a support ticket to the Dreamhost techs, they're pretty 
good about things.


You're idea for the send script to and return logs is a good one. 
I'll incorporate that into my future cgi sandbox.


By the way, doesn't FTP in Rev send passwords in plain text? How do 
you work around that?


sqb

I run Rev CGIs on Dreamhost daily.  Once you find the culprit you'll 
have a great time.


Have you checked your error.log from the server's logs folder?

I write my CGIs in a simple stack I made for doing so, which has a 
button to upload the script so I take care of several small steps in 
one click.


A few weeks ago I had trouble debugging a script's execution on the 
server, and added another button that downloads my error.log file 
and displays its contents - total time-saver, well worth the five 
minutes to set it up.



The truth is out there - you just need to find where it's being reported. :)

--
 Richard Gaskin


--


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


Rinaldi and Rev Speed wuz Re: Newbie

2008-12-06 Thread Stephen Barncard
The speed thing is really true with Rev. When I started experimenting 
with Rev in late 2001 on Mac OS9, I wasted a whole lot of time 
worrying if my old XCMDs would run in the environment. I was just 
familiar with the way I always did it -- HC for the front end, XCMDs 
to do the heavy lifting. Then I did a little text manipulation and 
was amazed at how fast it was.


Like many in the day, I was trying to make HC stacks function like 
applications, and  Mr. Rinaldi gave away, for free, many, many 
extensions that made our stacks actually do that. I had every one. 
And the guy didn't even have a donation scheme. There were many other 
authors of XCMDs but he was the most prolific (Although looking back 
at Eric Chatonet's history, we see that same kind of generosity and 
numerous HC stacks -- I have all those too.).


Of course, there were many other great products that enabled us - 
like Compilit, X-App, Windowscript, and Tom Pitman's PrintReport, 
which had features only now rivaled by Rev, 20 years later.



Craig-


 How do you live without Rinaldi? I know that it is possible to work
 around anything, one always could. But I am going to miss fullFind.


I haven't *seen* Rinaldi physically in about four years, but he's
still lurking around these parts.


 I have only needed an external once in all the years I've been using
 Rev, and that was for a very specialized application. All the other


A lot of the stuff we used to have to do with externals back in the
day are now in the rev engine. And the stuff we used to put in
externals for speed are now fast enough in the engine that it's now
mostly no longer necessary unless you've got specialized hardware or
software to talk to.

--
 -Mark Wieder
  [EMAIL PROTECTED]


--


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


Rev On Rockets On Dreamhost - Does it work there?

2008-12-05 Thread Stephen Barncard

Hello Rev Nation,

I was watching Andre's discussion of Rev On Rockets from the Vegas 
conferences, and got inspired to give it a go. It seemed so simple. 
It works great locally on the Mac.


The hosting for me and my friends is Dreamhost, and I was certain 
that I heard that someone had successfully made it work there. I had 
saved the earliest ROR code that Andre put out a while ago, and which 
I tried to unsuccessfully get to work.


Read the docs, placed the 2.9 x86 Linux standalone engine into the 
cgi-bin folder (after installing the www part of ROR into cgi-bin), 
set the permissions to 755, renamed Standalone to revolution (lower 
case), and brought up a browser looking at a subdomain I created for 
RevHTTP on the web.


I zipped everything and used Terminal to expand  in situ. Also just 
downloaded the newest version of Andre's code. Same thing.


Errors, errors. It's obvious Rev is not being executed. Did anyone 
really get it to work at Dreamhost and what were the incantations? 
Did the aforementioned engine ever work? Will the 3.5 engine work? 
Should I try to go back in history and get a really old engine?  I 
thought Rev had fixed this. Searches on the net of old list posts 
reveal Dan Shafer giving up in desperation and not many success 
stories.


I'm sure it's me or my something about Dreamhost one or the other. 
I'm not sure they could help me unless I have some idea of what to do.


This is one of two major gaps I have with rev. The other is getting 
SQLLite to do anything. (I work with SQL Fat every day) .. I'm 
off to watch Trevor's VEGAS 08 talk on just that topic.


thanks,

sqb

--


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: Rev On Rockets On Dreamhost - Does it work there?

2008-12-05 Thread Stephen Barncard

Hi Mark,

No, ROR doesn't require RevHTTP. I'm not using that part of the 
demonstration. I've seen and tried that, and wanted to get it into 
the Apache world.


I'm strictly following Andre's instructions and can't even get hello 
world to work. He did it in front of people and video at the last 
RevCon. Thanks for the thumbs up on the 3.0 engine. Perhaps I made a 
mistake in engine. I'll try again.

thanks

sqb

Stephen, I've not run RoR, but I am having no problems running the 
3.0 engine (Linux of course) for cgi on Dreamhost. Does RoR act as 
web-server? Would that mean disabling Apache?


Best,

Mark


--


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: 01/01/1969 is a date = true on Mac but not on Windows?

2008-12-03 Thread Stephen Barncard
Kind of sad that one has to go through VBScript to accomplish this. 
This should be trivial for Rev.





WOW! This is absolutely fantastic, thanks a lot! :-)

Looks like this works for english and also german dates.
I tested all these variations and got true:

01/01/1969
31/01/1969
31-01-1969
31.01.1969
31.01.69
01/01/69
31/01/69
31-01-69
01/31/1969
31.1.69

Way cool!


best

G.Wolfgang Gaich



--


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: OT: Creating a PC Compatible DVD...

2008-12-03 Thread Stephen Barncard
Buy a drive that records DVD+R if you must. But this is totally 
moot. Yours is not a PC/MAC issue, but a choice of blank disc formats 
and/or video formatting. Both disc types will play on any platform.
Why not just buy quality DVD-R blanks that the mac optical drive is 
designed for. The +/- is usually only a factor on the record side. 
Also the + discs seem to be losing market share.


The FORMAT of the DATA is the other factor. Usually burning programs 
make a PC/MAC compatible video or data disc.  Making a video disc 
that plays everywhere is handled by video burning software like DVD 
studio pro or iDVD, even Toast.


Also not all players are alike. Use software that targets your output 
needs. Often there are shareware or open source solutions like VLC 
that play anything.


http://www.videolan.org/vlc/






Hi Folks... I know there is a problem creating a PC-compatible DVD 
on the Mac.  The Mac creates a DVD-R MPEG2 file while the PC reads a 
DVD+R DVD.  Is there an elegant solution to this with some magic 
piece of software or am I relegated to about a six step workaround 
every time I want to do this?  I can't find anything searching the 
archives.


Thanks...

Jim Carwardine,


--


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: OT: Creating a PC Compatible DVD...

2008-12-03 Thread Stephen Barncard
You didn't mention the parallels part, nor what it is you are trying 
to make, not to mention operating from the windows side. Several 
levels of complication here.
Didn't work in XP in Parallels means that either windows,Parallels 
or whatever app you are using in windows  lacks drivers or knowledge 
of your internal drive. Welcome to the PC world.


If it's video, can't you just make the thing on the Mac side?



Thanks, Stephen... I'm using Panasonic DVD-R blanks and they didn't 
work in XP in Parallels.  A good brand might be any of the more 
expensive brands?  So, if I use an expensive DVD-R with iDVD, 
instead of Disk Utility) I will likely get a PC compatible DVD?  I 
can't target my audience other than to say they might not be using 
Vista... Jim


--


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: OT: Creating a PC Compatible DVD...

2008-12-03 Thread Stephen Barncard
Don't just throw a MPEG2 file in a folder and burn; you need to set 
it up to be a DVD-video disk,  then it will play anywhere, especially 
on component DVD systems. If you can make one that plays on a 
standard DVD video player, it should play on computers.


Toast and Dragon Burn have been able to do this for years.

Free software that can do the same
http://burn-osx.sourceforge.net/




Well... I guess I scared myself when it wouldn't work in 
Parallels... I have a DVD that was already burned on a PC that I 
want to dupe.  I have an Intel MacBook running 10.5.5 on which I 
duped the DVD using Disk Utility.


I tried the new DVDs in Parallels running XP to see if they would 
read and they didn't.  When I looked on the Internet I found the 
issues around DVD-R vs DVD+R as well as the issues around MPEG2 not 
being readable on most PCs.  I didn't find much consensus on a Mac 
solution...


I assumed, correctly or not, that if the DVDs did not work on 
Parallels then in all likelihood they would not work on any PC.  I'm 
preparing to send the duped DVDs to a prospective client who is 
located in another city and I don't want them to call me to say they 
couldn't read the DVDs...


Of course the easy way is to take them downtown and have a service 
dupe the original but I want to do it on my Mac, to prove a point if 
nothing else...




--


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: USB barcode scanner?

2008-11-29 Thread Stephen Barncard

Timothy ,
Most of the bar code devices operate like a keyboard input device out 
of the box as a straight barcode scanner (i.e. outputs a translation 
of the barcode in text), others have features like storage where the 
scanner does not have to be tethered to the computer, can dump later, 
Wifi, etc.


Most of them won't mention the Mac, even though everybody's 
conforming to standards. So don't let the PC part deter you, unless 
you need software to do more than recognize IPC symbols. It appears 
your scripts will do the rest.


 It's interesting in the peripherals world, when often many USB and 
Firewire devices built to standards, are sold with no reference to 
Macintosh at all in the ads and packaging, even though they work 
perfectly (and often install without drivers) and are a significant 
part of their sales are to mac customers. This is especially true of 
hard drives and network routers. Incredibly ignorant of the marketers 
if you ask me, and a wasted opportunity.


I used to be an annoying Mac Evangelist (remember those?) when we 
felt we had to fight every fight against the PC 'hegemony', or we'd 
be stuck with the alternative in the future. Today, Apple's strong, 
hip, visionary, and makes solid products these days that sell 
themselves, so I don't have to do that anymore.


 I think Jacque was on the Evangelists list, or was it Mac Marines? 
It was a while ago. Over 20 years of mail-lists. The mind boggles.




Hello!

Can anybody recommend a usb barcode scanner that I can get to work 
with rev?  I using rev 2.81 and a Mac.  I've got my POS app working 
nicely now and it's time for the next step...adding a scanner.


Thanks!



Best Regards,


Timothy R. Ponn
--


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: Jan Schenkel's merge tutorials

2008-11-24 Thread Stephen Barncard

At 1:51 PM + 11/24/08, Phil Jimmieson wrote:
The ideal would be if Rev could save the images as RTF directly, 
alternatively, if the RTFText could at least contain a reference or


Here's some food for thought:

Without pouring through the RFCs right now, I don't' think the 
original RTF standard alone allows for images integrated with text, 
but Apple's little TextEdit app can save .rtfd documents, which do. 
RTFD is just another apple folder as bundle with two files inside.


Pasted Graphic.tiff
TXT.rtf

 If one control-drags the bundle, one can look inside. It looks like 
this code could be hacked just as easily, using graphics tags. 
Looking at this might be interesting on both platforms.


  The question is, will it diplay on PCs? On a PC of course the 
bundle will just look like a folder in the Windows world. But the 
files are next to each other and simply referenced in the rtf. My 
guess is that Word could read these, just go inside and read the rtf 
document, perhaps the new PC Word 2010 is hip enough to recognize an 
Apple bundle.


An aside to the .rtfd suffix -- back in the mid-late-80's when I was 
first working with HC,  I was writing a lot of software for people 
around a recording studio, and I had created a couple of special file 
formats. I got the studio signed on to the developer program at Apple 
(a friend of mine knew Chris Espanosa from childhood) and as a 
developer, found out about the file type registration system, you 
know, the four-letter code that get imbedded in the files using the 
FILETYPE command in rev.

The creator type I registered was BARN
The filetypes I registered were RTFD and RTFB.

shoud I sue? :)


(this is probably the first time and the last time I have ever used a smiley)
I still connect it with Have a Nice Day from the 70's, which today 
means Drop Dead.




The ideal would be if Rev could save the images as RTF directly, 
alternatively, if the RTFText could at least contain a reference or 
comment to say that an image is present, that would be useful (then 
I'd have to roll my own image to RTF code). At the moment, there's 
no sign in the RTF at all that there are images in the field.


--
Phil Jimmieson  [EMAIL PROTECTED]  (UK) 0151 795 4236


--


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: htmlText and returns in a variable

2008-11-22 Thread Stephen Barncard

pbla bla/p

html don't care about returns.



What do I need to script to make each item appear on its own line?

Thanks,
Mark


___
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



--


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: ANN: Flow Chart Software Project

2008-11-20 Thread Stephen Barncard

here's one I found in google images
http://blogs.sun.com/draks/resource/MacLogo.jpg

here are many
http://images.google.com/images?um=1hl=ensafe=offclient=safarirls=en-usq=mac+logobtnG=Search+Images



Hi Sarah,

I sent in the papers for that logo a long time ago, but never heard 
back from Apple. I'm not really looking for something that 
implies, I am looking for an OS X logo.


Thank you for the name suggestion. I've put it on the list.

--
Best regards,

Mark Schonewille



--


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: ANN: Flow Chart Software Project

2008-11-20 Thread Stephen Barncard

sorry.


Those are the wrong ones.



--


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: Confused

2008-11-19 Thread Stephen Barncard

Hi Joe,

Try using a full path to the files, rather than the uncertainty of a 
partial path. It's easy to generate a whereAmI() function. and 
create it and add on the fly to combine with the desired file name.


sqb




Then the application should have the source for the players as: 
/MusicFolder/Music1.aiff  -- and so forth


But this doesn't work. Am I all wet someway?

TIA,

Joe Wilkins


--


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: Confused

2008-11-19 Thread Stephen Barncard

FUNCTION whereAmI
 get the effective filename of me
 set the itemdelimiter to /
 delete last item of it
 return it
END whereAmI



Hi Stephen,

So you create a path and then assign that path to the players' 
source property? Haven't used a function to find out whereAmI, but 
guess a little rooting around in Rev will not be too difficult. 
That's when I learn new things. I thought the method I was proposing 
was fool-proof. guess not.


If that is the case, what property do you initially assign to the 
players? Or can you just leave it empty?


Thanks,

Joe Wilkins


--


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: I'm sorry but ..... !

2008-11-15 Thread Stephen Barncard

Not to mention the non-green aspect of printing hundreds of single sided pages.

(most people don't have the time to figure out the machinations 
needed to print on both sides.)




The price Rev charges for the manual is around what it will cost to get a
pdf of that length printed.  The dictionary is probably quite a bit less.
Bit of a bargain really.



--


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: OT: Conference DVD anyone already received?

2008-11-12 Thread Stephen Barncard

I've been told by Heather that they're 'on the way' sent by the Royal Post.


sqb



Still waiting.

Jim

On Wed, Nov 12, 2008 at 10:50 AM,  [EMAIL PROTECTED] wrote:


 Hi,

  did anyone receive the Conference DVD 
already? It´s now about 3 weeks after the 
Shippingadress confirmaton email.


--


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: Standalone error

2008-11-12 Thread Stephen Barncard

Use application browser from the Tools menu

sqb



Hi Mark (if this indeed gets back to you),

	I selected the Turn on View UI Elements in View menu but 
did not see any noticeable changes anywhere in the pull down menus. 
I do not know where the look for the cREVStandalone custom property 
set where it could be selected or deleted.  Under the Stack 
Inspector I found a selection for property where it simply listed 
MASTER as a sole choice.  I must be looking in the wrong place. 
Could you lead this blind man thru the moves?  Thanks for responding.




--


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: Hi, I'm new and i need help

2008-11-08 Thread Stephen Barncard

Hello, Leonel

  perhaps you are our first Revolutionary from the island nation 
CUBA!! Welcome aboard!



Apparently the US-sanctioned 'embargo' doesn't include the Internet. 
Fantastico!




sqb




Hi, As you can see I'm new on this list.

and my first question is

What is the deference between RunTime Revolution

Enterprice
Studio
Media.

Well, I'm happy to be here and thanks.

--
Datos Personales:

Provincia: Cienfuegos.
Municipio: Cumanayagua
 Tel?: 7496


--


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: New Gradient Pane

2008-10-30 Thread Stephen Barncard
Yes, I love the gradient feature. If you haven't yet -- check out the 
fillGradient property. It's a style property and uses the 3.0 multi 
layer property structure. It's actually a property set, with lists of 
lists inside.


One can actually set most of the gradient parameters of a graphic object by
set the fillGradient of graphic B to the fillgradient of graphic A

I can imagine someone will be making a tool to get further into 
control of this object.
For instance the the only way to 'get at' the list of gradient 
stops is by script:


fillGradient[ramp]
	A return delimited list of gradient  stops (see below) that 
define the layout of the of the gradient.
A gradient stop is a comma is a comma delimited list of numbers that 
specify the following values:

position- number between 0 and 1
red, green, blue- numbers between 0 and 255
alpha			- number between 0 (transparent) and 255 
(opaque), if omitted it is assumed to be 255.


A simple iTunes-like ramp would be described like this:
0.01389,195,200,174
0.98610,252,253,230

there's a lot of stuff in here!   As it turns out, the built-in 
gradients open up new avenues of gui and gauge design.




I just spent the afternoon getting to know the new Gradient Pane and 
reproduced a GUI sample from online. The result? I am very happy 
with the gradients and especially with the blending of highlights 
and shadows and borders and fills. WOW this really makes creating 
gradients a great part of my tool set. I used to have to go straight 
to Photoshop and back again but now these gradients are really 
possible in RR and fully scriptable to boot.

Very impressed.
Demo Skin on left and Revolution skin on the right. (Other than the 
OS specific controls the Revolution one is awesome.)

http://gallery.me.com/mcgrath3#100236/Picture-2033bgcolor=black
Tom McGrath III


--


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: itunes alternating lines

2008-10-25 Thread Stephen Barncard

It doesn't look cheesy.




that do this. Hard for me to believe we still don't have this
capability without jumping through hoops and even then it
seems like it might look cheesy. Jeeez.

sims


--


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: [TIP] How to ensure plain pasted text

2008-10-24 Thread Stephen Barncard
How would this particular menu item and its script magically be 
created in an app?


I'm sure your handler will come in useful, but out of interest, 
would the Edit menu

item Paste Unformatted not take care of many of the cases?



--


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: [TIP] How to ensure plain pasted text

2008-10-24 Thread Stephen Barncard

I know that, but it's useless when one has custom menus in the app.


Hi Stephen,

If you've copied something, paste unformatted is already in the Edit 
Menu of 3.0s IDE.


Joe Wilkins



--


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: difference between function and command and sending parameters

2008-10-17 Thread Stephen Barncard
look up start using in the docs. After this is done the stack is 
available to the current stack and all others running at the time.


Comments:
The start using command places a stack's script into the message path 
after the current stack and before any objects in the backScripts.


When you start using a stack, the libraryStack message is sent to the stack.

When a standalone application is running, it can insert up to fifty 
stacks into the stacksInUse. This limit is set by line 3 of the 
scriptLimits function. When using the development environment, you 
can insert any number of stacks into the message path.



I meant by bg script the script of the default stack which is the one you
can call functions and commands from without trouble (maybe there should be
a short cut name for it). I thought of another more complex way, go around
setting the default stack but I remember trying it and getting in-consistent
results. Thanks for helping with the description of get value -- you don't
see it used very often in example scripts.
___
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



--


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: Rev 3 Script Editor

2008-10-15 Thread Stephen Barncard

Scott, are you talking about   colornames()?



Two questions about the new script editor:

1) In older versions, it was possible to colorize scripts with one's own
color scheme by using choosing colors from a text menu and applying them
anywhere.  Can this be done with Rev 3?

2) Is there any way to change the degree of indenting?

Thanks  Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design


--


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: Rev 3 Script Editor

2008-10-15 Thread Stephen Barncard

sorry, I think I misread the posting...  sqb



Two questions about the new script editor:

1) In older versions, it was possible to colorize scripts with one's own
color scheme by using choosing colors from a text menu and applying them
anywhere.  Can this be done with Rev 3?

2) Is there any way to change the degree of indenting?

Thanks  Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design


--


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: OT: new macbooks, no firewire

2008-10-14 Thread Stephen Barncard
Apple has furthered the divide between MacBook and Pro. The new 
MacBook Pro does have one firewire 800 port. More ports can be 
added via plugin card. For recording, I have to do that anyway for 
throughput.



Hi Andre,

Having a few moments to spare I took a look at Apple's new MacBooks. 
Mixed feelings. I think I'll need to see and touch to make a valid 
judgement. I too have eye problems, so the contrast may be good for 
me, but I'm a desktopper anyway, and probably won't be buying 
anything new for quite a while. Certainly the firewire thing is a 
major turnoff. I somewhat recently purchased two 500 GB firewires 
and can't imagine using USB for any major transfers. Time Machine 
with USB.  Ha! Ha!


By and large I think your comments are on the mark. We may all be 
back to bows and arrows before too long anyway. (sigh!)


Joe Wilkins

On Oct 14, 2008, at 12:33 PM, Andre Garzia wrote:


Folks,

sometimes I do OT mails here, but this is just to ask if you guys
followed the latest announcements by apple and saw their new macbooks.
I must say, I have never ever been so disapointed at apple. I found
the new macbooks as ugly as a traffic accident between an elephant and
a pizza delivery car. What's with the black borders and keyboards on
aluminum?!?! what happened, did they fired their designers?


--
Please avoid sending me Word or PowerPoint attachments.
See   http://www.gnu.org/philosophy/no-word-attachments.html

Joe Lewis Wilkins
[EMAIL PROTECTED]



--


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: OT: new macbooks, no firewire

2008-10-14 Thread Stephen Barncard
The macbook pro has an expresscard port, a firewire 800 port,  two 
USB ports and some kind of mini-dvi connector.


I hate the expresscard fomat. It seems to be made for viewing photo 
memory cards or something -- the mechanical design is very stupid. 
When one pushes the card in,  it doesn't latch, and can be pulled out 
quite easily with an accidental tug of a cable.   My high tech 
solution was to wrap one layer of drafting tape around the outside, 
to jam the card in place. They guys at the apple store confirmed it 
is ALL expresscard devices are like this.



Hello Stephen,

where do we put a plugin card on a macbook? Is this an expresscard
firewire thingy?

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





--
http://www.andregarzia.com All We Do Is Code.
___
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



--


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: Table inspector from 4W

2008-10-14 Thread Stephen Barncard
I'd rather have the rev team work on a new table control and a 
revised text field.


On OWhy doesn't the Rev team take some of these examples and build a 
flexible field

that everyone can use.  I have heard many people mention they want to have the
fields improved so it is obvious it would be wise economically to 
provide both new

and existing Rev customers what they want.

-=JB=-
___


--


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: Paint Tool periodic crashes

2008-10-14 Thread Stephen Barncard

Yeah, what he said.

Besides, GLX isn't 'merely' an add-on, it's an IDE.


Maybe it's not the problem.

Best,

Jerry Daniels

Daniels  Mara, Inc.
Makers of GLX2
http://www.glx2.com



--


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: Seamless Tiles Generator 2 updated

2008-10-12 Thread Stephen Barncard


I would very much like to know what kind of error dialog you get and which
operations could not be cancelled.


as I said, the IDE doesn't like the imbedded substack with the name 
Answer Dialog.

The custom dialog just needs another name.  The support code is trivial.

Also the code doesn't recognize cancel from file dialogs -- deletes image

and there is no cancel button on a couple of the dialogs.  The 
dialog for amount of 'tile routine' effect for one.


 I'd rather not hack the IDE to bypass what to me looks like a 
valuable protection mechanism. Rev  demands control of its namespaces 
at this time, and I just avoid them entirely. Someday, Namespaces!
Also hacking the IDE is impractical for me, as I adopt the latest 
betas and updates as they come out the hopper. And I'm sure many of 
you like the good old Metacard IDE, but it didn't speak to me.


again, thanks for your work.





One of the already known issues is the unfriendliness of the Rev IDE towards
customized answer and ask dialogs.
On the one hand among the (once) praised features of Metacard and 
Revolution was


--


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: Twofold posting of mail

2008-10-11 Thread Stephen Barncard

The stack is awesome! I've spent several hours with it...

One note: no way to cancel out of some operations and the IDE was 
complaining about an Answer Dialog already existing...


but it's wonderful. Lots of lessons here.

sqb



Sorry for the fact that my last post concerning the Seamless Tiles stack was
sent twice.

There were problems with the mail service of our university server.

--
Wilhelm Sanke
www.sanke.org/MetaMedia


--


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: Totally OT - I need some heads up (and a hug or two)

2008-10-09 Thread Stephen Barncard

Hey Malte,

Here's a hug from San Francisco.. Very sorry for your machine and 
data loss. I live in fear of such a scenario..


I am so paranoid about losing stuff..
1) work from home, and I'm always here (hermit?)
2) Time machine is always  running, 2nd 500g drive in the G5
3) Bootable backups of main machine using Foldersynchronizer every week

-- my projects are completely contained in a MacOSX .app  package, 
'splash screen'

--and I work on the stacks  in situ ; in place.
4) I use Touch every day on the .app package
5) Project .app package with all scripts and resources uploaded to 
local server every day
6) I have a handler in my development sandbox that tars, then 
zips the .app package, then uploads to a directory at dreamhost. I 
call this every day.


Still, with all of this, I've had panic moments, losing a stack I 
worked on all day that didn't have it's own file, somehow got 
detached and lost in space (substacks... not anymore). I looked 
everywhere for quite a while until I found a stack that I had 
forgotten I had saved.


sqb




Hi all,

today is the worst day in my self employment life. I arrived at the 
office today, just to learn that everything apple branded is gone. 
Stolen. Away.


Malte


--


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: List of all possible messages? and flipbook

2008-10-09 Thread Stephen Barncard

on preopencard
   constant kOkcards aCard,bCard,Barncard
   get the short name of me
   if it is among the items of kOkCards
   then
  -- doodah
   end if
end preopencard

Handle the preOpenCard message to update a card's appearance before 
the card appears on screen.



Hi:

Thanks for all the ideas. However, I can't find a go to next card message.
I wanted to trap it so that a user could flip thru the cards, but if it is
one I don't want them to see, like a prefs card, then I could skip that one
and go to the one after it. Maybe I'm on the wrong track?

Also, I would like a user to click a button on the first card and have the
cards automatically present themselves at a certain time interval rate, and
write the last location the mouse was at on that card to a field on that
card before leaving. Is that possible? I couldn't find a flipbook type stack
to inspect.

Any ideas are appreciated,

m


 Rev also has a function the commandnames which you can execute to get

  a list, which you can place in a field.


--


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: List of all possible messages? and flipbook

2008-10-09 Thread Stephen Barncard

Left off the equals sign:

constant kOkcards = aCard,bCard,Barncard




   constant kOkcards aCard,bCard,Barncard


--


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: strange char translation from intel to ppc

2008-10-08 Thread Stephen Barncard

did you put the actual characters within quotes in the script

set the itemdelimiter to 

or use numToChar()

I would always use the latter - script editors don't like some 
non-printing characters imbedded in a script, sometimes even within 
quotes.



I have a stack where I use some non-printable ascii chars as delimiters
(specifically, ascii 30 and 29).  This stack worked fine on the Windows and
Linux versions of 3.0 (well, until they crashed or went berserk, but
everyone's tired of that story).  However, when I moved the stack over to OS
X (ppc), the application stopped working.  Upon investigation it turned out
that the delimiters had swapped - they were now ascii 222 and 218.

Is that to be expected?  Nothing else in the stacks seems amiss, and I'm
puzzled by this.  I had seen some strange behaviour copying them between
platforms.  When copied by scp, the stacks were corrupted, but copied fine
by ftp binary. When copied by ftp as ascii, opening them crashed Rev 3.0 on
OS X.

It's not a big deal, but I suppose it might be a gotcha worth noting for
anyone else who uses non-printable ascii chars as delimiters.

Bernard


--


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: strange char translation from intel to ppc

2008-10-08 Thread Stephen Barncard

That should be numToChar(30)  --



did you put the actual characters within quotes in the script

set the itemdelimiter to 

or use numToChar()

I would always use the latter - script editors don't like some 
non-printing characters imbedded in a script, sometimes even within 
quotes.


--


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: Visible and extra monitors.

2008-10-05 Thread Stephen Barncard
Perhaps you haven't seen the movie the Big Lebowski. It explains 
all about the 'Dude'.


:


I come from the North-East of Scotland.

Frankly 'Dude' sounds like 'Dud'.

However, the point about SCREENRECTS was more important.

sincerely, Richmond Mathewson.



--


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: get the icon found in address bar in browser

2008-09-29 Thread Stephen Barncard
Some clever revDude could hack out a conversion -- .ico's are only 
16x16  (uncompressed?)


1. screenscrape the html of the page for the first .ico file
2. get the file as binary
3. figure out where the headers, jump tables are, the standards for 
ico are out there I'm sure

4. convert to imagedata


so few pixels that it could be done easily in rev...



At 10:54 AM -0400 9/29/08, Thomas McGrath III wrote:
Does anyone know how to capture/get the icon found before the http 
text in the address bar in most web browsers? I want to get this 
via script in Revolution in a text field.


I believe that it's always favicon.ico. So for example the one for 
runrev would be:


http://www.runrev.com/favicon.ico

if they had one. The one for Adobe is:

http://www.adobe.com/favicon.ico

Apple's:

http://www.apple.com/favicon.ico

Unity3D's:

http://unity3d.com/favicon.ico

and so on.



--


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: 2.6.1 build Help needed

2008-09-29 Thread Stephen Barncard

Joe,
How on earth did you get ANY version of system 9, let alone 9.2.2 on 
a Mac classic? The highest rated OS for the Classic is 7.5.5.  I 
don't think there's enough RAM in a Classic for 9.2.2   (4 mb).


sqb


Hey guys and gals,

I just downloaded 2.6.1, transferred it to my Classic Mac running 
9.2.2 and it constantly crashes and takes me into Macsbug. Anything 
special needed to run this ancient critter?


Suggestions or obvious caveats welcome.

TIA,

Joe Wilkins


--


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: 2.6.1 build Help needed

2008-09-29 Thread Stephen Barncard

At 5:10 PM -0700 9/29/08, Joe Lewis Wilkins wrote:
I downloaded a brand new zip of 2.6.1 from RunRev on line. On 
unzipping it with Stuffit on my Classic mac,


I misinterpreted Classic Mac as Mac Classic (Hardware, 9 screen) 
--- (hey it's possible to have one, but you can't run Rev on it).


9.2.2 ROCKS on a G4 you can boot from AND in Classic. The best and 
last build of system 9.


A Mac Classic is pretty much for macho collectors, but one can still 
run 7.6.1 and use a SE 30 as an SMTP serverha ha



Hi Stephen,

I've been running 9.2.2 on a G4 a VERY long time. A little bit slow 
by today's standards, but it was my workhorse for years and years. 
Ooops! only 9.2.1. I thought I had upgraded it, but apparently not. 
(smile) I did increase the RAM to 768 MB, however, along with 30 and 
60 GB hard drives. And it has the monster big Apple Display CRT. Got 
a hernia every time I moved it around. About 5 years ago, it went 
down on me and I had to pay Apple $500 to fix it - no AppleCare. But 
that's the only things I've ever had go bad in 22-23 years with Macs.


Joe Wilkins

(Maybe I should knock on wood?)



--


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: Reloading a changed stack file

2008-09-28 Thread Stephen Barncard
The application browser needs to be manually refreshed for the latest 
info. Look for a little icon at the bottom of the scrollbar that will 
refresh the list.



After checking all the versions of my stacks, I opened the 
Application Browser and the only stacks showing were ones that had 
actually had some code run.  I was under the impression that merely 
getting custom property from a stack caused it to be loaded into 
memory but since it doesn't show, what exactly would revert revert 
to?


Also, the documentation on the revert command says that it only 
applies to the current stack.  Since these stacks are not showing 
up in the application browser, if I later issue a start using stack 
xyz will it use the copy that is hidden in RAM, or will it reload 
a fresh copy from the hard disk?


len morgan



--


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: Object Reference in Variable?

2008-09-26 Thread Stephen Barncard

Hey Scott...


  put the long id of field 1 into tField 


long id of field 1 of stack WHAT?? sometime this stuff needs to be 
addressed more clearly for the engine

especially from the message box.

I mess this up all the time. I just assume the engine 'knows' what I want!


Hey List Folks:

I'm having trouble remembering how to get Rev to see object references in
variables, as opposed to the variable data.  For example, if I script:

  put the long id of field 1 into tField
  put the number of lines of tField

I'll get '1' in the message box regardless of how may lines field 1
contains.  I could have sworn there was a way to get this work without using
do or using the text of tField.  Is my memory faulty?

Thanks  Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design


___
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



--


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: ftp.runrev.com gone?

2008-09-26 Thread Stephen Barncard

Richard

FTP site is empty now like you said

 available only by web page now  (security?)

http://runrev.com/downloads/all-downloads/full-list/
(not that easily found)

no engines separate except the Unix ones.


I just tried ftp://ftp.runrev.com/.

No go.

Did they recently pull FTP access to the latest engine?

--
 Richard Gaskin


--


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


conference videos

2008-09-26 Thread Stephen Barncard
Anyone know what happened to the videos from the RunRev conference? 
This year. I paid for them when the first announcement came out, then 
got an email saying it would be delayed for an unspecified time.

--


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: [OT] Free Images for your GUI

2008-09-24 Thread Stephen Barncard
Richmond, the problem is that you INVITE people to download, give 
them a link, and then without further forewarning or explanation, 
expect them to 'JOIN' Yahoo Groups to download.   Scolding potential 
visitors about not knowing about how Yahoo works doesn't help.


 I know when I see a link on this list and the offer of  something, 
I'd rather something to be there without further protocol. If not, I 
have to seriously consider forgetting about it. Rev makes their stuff 
readily available, as does Richard, Skipp, Jerry, and Ken. What's the 
big deal?


Some people don't like to bother with 'JOINING' yet another forum, 
with passwords, etc. It's a hassle, a little one, for sure, but if 
you want more people to download and comment about your stuff, then 
perhaps you could make it easy.  You must have a web server or ftp 
site somewhere...






[I see MESSAGES about images.

I see no actual images or links to download.


--


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: 3.0 Array Diffs

2008-09-24 Thread Stephen Barncard

Here's Trevor's white paper on the new arrays.

http://www.runrev.com/newsletter/july/issue53/newsletter1.php




I KNOW I have somebody's discussion of all the things that were done
to arrays in 3.0 somewhere.  However one of them
(https://mail.google.com/a/altuit.com/#label/Use-Revolution) comes up
for me requesting a username and password.

Is the only major change the multi-dimensional aspect?  I thought
there were other improvements as well.


--


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


Port Number for MYSQL - using MAMP

2008-09-22 Thread Stephen Barncard

Quick question.

I've been using a local MySQL distribution on my machine (G5 dual 
tower running 10.5.5) and it's worked ok . It was harder on Leopard 
to install (had to 'make' it) but I've worried about dealing with it 
in the future and at the current time, I can't shut it down, the 
server control panel doesn't work.


In the meantime Jim Alt turned me on to MAMP, a virtualized Apache 
server in an app.


I've gotten it to work with Navicat, which has a field in the connect 
panel to select the PORT for MySQL.  I think that proves that the two 
MySQLs don't conflict with each other.


In Rev, I use Trevor's library to access RevDB. It has worked well 
with the MySQL installation that I installed in Leopard. However, 
with MAMP, I need to specify the port, which on the default MAMP 
setup is 8889.


According to the docs, RevDB doesn't appear to have a separate PORT 
parameter, however one can append the port to the host parameter, like


 localhost:8889

However, this doesn't seem to be  working.

Anyone successfully used MAMP's MySQL with Rev ?
--


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: A bit OT: handling multiple users in DB

2008-09-22 Thread Stephen Barncard
MySQL will do what you want. It's a black box to store an manupulate 
data. Most of the time the transactions are so fast, it doesn't 
matter. In the case of mySQL, it's  multi user by design and if one 
is really worried about it, there's COMMIT and ROLLBACK.


SQL Lite is not multi-user.


Hi all,

this is a bit off topic, but maybe someone can give me some helpful hints.

Is someone of you working with databases with multiple users?
If yes, how do you handle concurrent transactions?

I mean how do you solve the possible overwriting of data when both 
users work with
cursors and are allowed to  update data and how do you update a 
cursor (on the fly?)

when its data may have been updated?

Know what I mean?

I searched the net and found some hints, but maybe you have some really clever
solutions that you are willing to share :-)

Thanks in advance!


Best

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



--


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: Making Real Stack invisible

2008-09-22 Thread Stephen Barncard
Just remember the naming rules apply for custom properties as they do 
for variables. Don't use a word that is used in the Rev environment.


 Joe, I'd suggest you read Dan Shafer's Scripting conference stack on 
the topic of custom properties , perhaps you'll look at the whole set.


http://support.runrev.com/scriptingconferences/


On 22/09/08 at 01:24 -0700 Joe Lewis Wilkins apparently wrote:

Thanks for your suggestions, Terry,

I still haven't wrestled with the concept of custom property yet. 
It seems to be very useful, but I've yet to spend enough time with 
it to understand what it really is. Something like a pointer in other




I would second the suggestion to store the initial user stack as a 
custom property and install it in a location appropriate for 
application support files on any given platform. It is a better 
solution than making that file initially invisible, less prone to 
user-level problems.


Custom properties are nothing more than storage spots within your 
stack. Nothing really scary there. They are sort of like variables 
which are permanently attached to some object within stack (or the 
stack itself) and thus saved with the stack. The name is not the 
most fortunate but it reflects the fact that the usage syntax is 
parallel to normal properties of objects and they are often used 
to store additional, yeah, custom, properties needed by a given 
program.


Robert
_


--


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: Quit Application Menu item problem

2008-09-22 Thread Stephen Barncard

Once again, the docs are your friend:

on shutdownRequest -- confirm with the user:
  answer question Are you sure you want to quit? with Yes or No
  if it is Yes then pass shutdownRequest -- allow to quit
end shutdownRequest


Handle the shutdownRequest message if you want to prevent the user 
from quitting the application.






Hi Gang,

Don't know if this is a new issue with 3.0 or not, but when I insert 
an answer dialog in the Quit menu item, it does not get implemented 
either in the IDE or the standalone when transfered to the 
Application Menu. I know I've forgotten something here, but haven't 
the foggiest notion as to what that may be.


TIA,

Joe Wilkins



--


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: Quit Application Menu item problem

2008-09-22 Thread Stephen Barncard
I agree, it should be called quitRequest. Shut down to me means 
shutting down the computer.


I can't tell you how scared I was at first of something called 
destroystack in Transcript, (er...Revolution).




Thanks, Stephen.

Dictionary describes it, but not found in the User Guide when search 
for Shutdown is done, or even Quit where it tells you something, 
but doesn't explain the shutdownRequest concept which is needed by 
most I would think.


Joe Wilkins

On Sep 22, 2008, at 9:53 AM, Stephen Barncard wrote:


Once again, the docs are your friend:

on shutdownRequest -- confirm with the user:
 answer question Are you sure you want to quit? with Yes or No
 if it is Yes then pass shutdownRequest -- allow to quit
end shutdownRequest

Handle the shutdownRequest message if you want to prevent the user 
from quitting the application.







--


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: on controlkeydown very slow

2008-09-22 Thread Stephen Barncard
Not sure what you're trying to do here, but I'm assuming that you're 
experimenting with some rev parts in your lab stack.


Answer is not so great for testing -- slow-- in this case as it 
launches a new stack every time (the Answer Stack in the IDE). Why 
not just use the message box  or a field to show state for now?


Also see the Save command in the docs. Much better than trying to 
use save in the IDE like the old domenu in HC. You have direct 
script access through scripting.


If you are working toward making a 'real' application, then you 
should know that very few menu items will be in the menubar unless 
you add them (not even QUIT!!), you can't count on the IDE menu items 
being there in a standalone.


Again, I can't say enough about the  Scripting Conferences stacks 
that are online that cover many areas and given by the 'whos who' of 
the Rev world and hosted by Jacqueline Landman Gay. There's a great 
stack about MENUS there by Jeanne DeVoto.


http://support.runrev.com/scriptingconferences/




I'm doing the following and it is slow (takes a noticeable second or two)


 *on* controlKeyDown pKey

*switch* pKey

   *case* s

  answer s was selected

   *break*

   *case* c

  *answer* c was selected

   *break*

*end* *switch*

 *end* controlKeyDown



Also it doesn't work if you have the cursor in the message box or maybe some
other places. But RunRev's own command key S (which saves stack) happens
instantly and it doesn't matter if the cursor is in the message box or
anywhere. Any ideas how to get this to work more like the native stuff. I'm
not trapping keys anywhere else.  It is version 3.0


--


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: Text and not text in a string

2008-09-21 Thread Stephen Barncard
Actually the ¬ (which I myself have used for 
centuries) has been diminished in favor of \.
The ¬ is not cross-platform it's there for 
backward compatibility with imported HC scripts.


It's not even in the dictionary anymore.


Two more ways
... easier readability to use the continuation ¬
character [ option-L on the Mac ]

if (Internet is in tString) ¬
and not(Work is in tString) ¬
and not(Home is in tString) then

   do this
end if
-
if (Internet is in tString) and ¬
not(Work is in tString or Home is in tString) then

  do this
end if
--

Jim Ault
Las Vegas


--


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: returning result from a function when the number of items in the result varies

2008-09-21 Thread Stephen Barncard

It's not a list! It's an array.

It's not THE NUMBER OF LINES in myArray.
it's the number of lines in the KEYS of myArray. Big difference.
I'll build a silly array here:

set the itemdelimiter to comma
put Jefferson,Washington,Lincoln,Bush,Elvis into historyList
repeat with n = 1 to number  of items in historyList
  put item n of historyList into myArray[n]
end repeat

Same as :
1)  put the keys of myarray into tKeys
2)   put number of lines in temp into tArrayLines

Once again, you can't directly put an array into a field to see the 
elements. It needs to be 'disassembled',  element by element This is 
expected behavior. You make a list by rotating through each key, 
either

manually

put myArray [1]  return into toadMeatList
put myArray [2]  return after toadMeatList
put myArray [5]  after toadMeatList

RESULTS--
1tabJefferson
2tab Washington
5tab Elvis

or in a regular loop

put 1,2,5 into orderList
repeat with n = 1 to numLines
  put myArray[n]  return after toadMeatList
end repeat

RESULTS--
1tabJefferson
2tab Washington
5tab Elvis


or using combine

combine myArray with return  tab

RESULTS--
1tabJefferson
2tabWashington
3tabLincoln
4tabBush
5tabElvis


From: william humphrey [EMAIL PROTECTED]
To: How to use Revolution use-revolution@lists.runrev.com
Subject: Re: returning result from a function when the number of items in
the result varies

Thanks again. I'm still curious about the array. When I use the number of
lines in myArray I get the correct answer 1 before I send it out of the
function as myArray but when I do the same number of lines in myArray
after it is called then the answer is 0.
If I ask for one key in the array (as myArray[1] ) and return that it works
as expected. I understand that the contents of the array are invisible until
I ask for one of the keys. But it still wasn't working as expected. I think
Jim's suggestion might be better as the list of data elements can be handed
back and it will work as I expect.

It was fun to play with the array and I'm surprised that it doesn't return
in the function like a list would as in my mind I think of the array 
as a list.



--


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: returning result from a function when the number of items in the result varies

2008-09-21 Thread Stephen Barncard

The results in examples 1 and 2 were incorrect.

put myArray [1]  return into toadMeatList
put myArray [2]  return after toadMeatList
put myArray [5]  after toadMeatList

RESULTS--
Jefferson
Washington
Elvis

or in a regular loop

put 1,2,5 into orderList
repeat with n = 1 to numLines
  put myArray[n]  return after toadMeatList
end repeat

RESULTS--
Jefferson
Washington
Elvis



It's not a list! It's an array.

It's not THE NUMBER OF LINES in myArray.
it's the number of lines in the KEYS of myArray. Big difference.
I'll build a silly array here:


___
--


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: returning result from a function when the number of items in the result varies

2008-09-20 Thread Stephen Barncard

You've practically designed it!

Arrays are your friend.


{ below not tested}

function yourFunction arrayVar
put Timestamp  tab  FDSFSDF into myArray[garbage]
put toad into myArray[green]
return myArray
end yourFunction

put yourFunction() into  Array

combine array with return and tab
put Array

--
garbagetab20080923tabFDSFSDF
greentabtoad




To get the number of elements in an array:
number of lines in myArray

even better ( I love this one - think binary):
repeat for each line tKey in the keys of tArray
  put tArray[tKey]  return after tArrayContents
end repeat


to sort:
 put the keys of myArray into myVariable
  sort lines of myVariable




I'm having trouble sorting this out. I have a function that searches through
lines of tab delimited text. The number of lines varies from one to ten. The
result from the search is two things. A data element and a pointer that says
which kind of data element. Sometimes the result is one data element and one
pointer and sometimes the result is another quantity like three data
elements each with their identifier. To have this returned by the function
it seems I need an array. I'm inexperienced at using arrays but I imagine
that you just build it in the function and that is what is returned and then
the identifiers for each data element are the keys and it makes no
difference how many lines are in the array? Perhaps I also return a counter
which says how many lines of data are in the array?


--


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: returning result from a function when the number of items in the result varies

2008-09-20 Thread Stephen Barncard

HEY! that's not fair to the arrays. :) They REALLY are useful and amazing.

Honestly,  once you have you're aha moment you'll understand it.

Your code is working as expected. For now, Just imagine the array to 
be a package of little ordinary variables that can be easily 
manipulated.


put array into fld output-- won't be seen

You can't see an array when put it - it's still there
but you can't put it into anything except another array (or save it 
as a custom property)


put array into array2
set the customproperty[myarray]  of this stack to array

If you want to see the elements you gotta take it apart.

combine does that.

combine with return and tab

which turns the array into a single text string

or the

 repeat for each line tKey in the keys of array

put tKey  return after tOut
end repeat

put tOut



for some reason in my function if I say

return myArray then I get an array with zero lines even when that is not
true.


If I say return myArray[1]  (where 1 is one of the keys which has data in
the array) then it does return that correctly but just with that one line of
course.


This is why I hate arrays. It is not working like I expected.

On 9/20/08, william humphrey [EMAIL PROTECTED] wrote:


 Thanks for not only answering but giving me the example. The repeat for

  each line in the array will work perfectly.



--


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: [OT] Free Images

2008-09-19 Thread Stephen Barncard

I don't see any files or links available at this URL.


Just to remind you good folks that there are FREE images up for grabs at:

http://tech.groups.yahoo.com/group/RMimages/?yguid=254544547

and I am adding to them on an, almost, daily basis just at the moment.

sincerely, Richmond Mathewson.



--


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: [OT] Free Images

2008-09-19 Thread Stephen Barncard

ok, never mind then. Thanks.


At 7:13 AM -0700 9/19/08, Stephen Barncard wrote:

I don't see any files or links available at this URL.


I was confused too, but I think it's a group that you have to join 
in order to see the pictures. There are 7 members already.




--


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: [ANN] Layer Tools plugin (beta)

2008-09-19 Thread Stephen Barncard
Thanks for this, Chipp. This is incredibly useful, and should be a 
part of the IDE. It's in my plugins folder.



Updated to fix a field scrolling problem and minor other tweaks. Never found
the problem on the Mac william described.
If anyone else gets a chance, please test on Mac and let me know.

to access: Just type into your msg box (or cut and paste) then run:

go URL http://www.gadgetplugins.com/altplugins/altLayerTools.rev;


--


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: Rev on iPhone/iPod Touch ??

2008-09-18 Thread Stephen Barncard

Fooey on Toolbook. One can make web apps look exactly like an iPhone app now.

check this out:
http://ajaxian.com/archives/iphone-native-looking-skin

I adapted a test to work on my site:
http://barncard.com/iPhone/test.html#_tune_in

it would be easy to use Rev to make up these.



I see that the latest version of ToolBook is pushing its ability to 
deliver to the iPhone  iPod Touch. Have a look at:


http://by106w.bay106.mail.live.com/mail/InboxLight.aspx?n=1390091929

Any comments on the same ability of Rev ??

Has anybody done any work with interfaces or come up with an iPhone 
simulator to test stacks?


best, Bob...

_

___


--


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: Anyone know how to read Palm pdb dbs?

2008-09-16 Thread Stephen Barncard

http://ice-book-reader-professional.en.softonic.com/


??



My Dad's Treo died and there's no way to get sync it with his computer. I
was able to get his contacts off of it onto a SD card, but I don't have
anyway of moving it out of the native pdb format spec. Turns out there's
binary data mixed in with the rest (pictures for contacts)-- which I don't
really need/want. But, I would like to be able to get the rest of the
contact info.
I seem to remember a pdb reader lib running around awhile back, but my Gmane
searches don't show any links.

Any help is much appreciated!

-Chipp
___
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



--


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: List to checkboxes how to?

2008-09-13 Thread Stephen Barncard

Does this method work faster than using a background?



Whenever you want to set the state of the checkbox, do this:

  set the imagesource of char 1 of line line number of fld list to imgID

The imgID variable is the ID of the correct image, checked or 
unchecked. Your scripts can determine whether the line is checked 
or not by simply reading the imagesource of the first character of 
the line, which will be the ID of the appropriate image.



--
Jacqueline Landman Gay | [EMAIL PROTECTED]


--


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: Zipping an application package by script

2008-09-11 Thread Stephen Barncard

The winner isT A R in the shell()

put /Users/sb/Desktop/200809070038/  into ToBeZippdFolder
put  /Users/sb/Desktop/testPlace/  archive.tar into tarredfolder
put shell( tar -cf  tarredfolder  ToBeZippdFolder ) into fld output

success! This works wonderfully. Thanks Brian Yennie and Jim Ault, 
Richard Gaskin,  Thomas McGrath III, Mark Talluto and Terry Judd. 
This list rocks. Thanks for being around, guys when I get stupid.


1. I got the hack with Automator to work, kinda, but hated the way it 
looked. Cheesy. Automator is great if used alone, but ... and I 
couldn't figure out how to pass parameters to it. So what it does 
would change if its location would change - it was hard wired. Move 
the package and it breaks.


2. My problems with tar were about reversing the parameters AND 
fixing that and reversing the definitions. Got it right now plus 
fixed the typos.


3. Sorry, Trevor, I couldn't get your 'all in Rev' code to work yet 
in 3.0 as Rev crashed immediately* on calling it and have not gotten 
down to debugging it yet.  Shouldn't be that hard to check out; it's 
all well written and self-documented.  This would still be useful to 
me in creating an archive with a list or partial contents.


I mean poof! all gone!

4. Zip from the shell is worthless to me, just checking again. It 
can't pack identical filenames, even ones with different paths. Which 
is one reason to use folders in the first place.


put /Users/sb/Desktop/200809070038/  into ToBeZippdFolder
put  /Users/sb/Desktop/testPlace/  archive.zip into tarredfolder
put shell( zip -r -jj  tarredfolder  ToBeZippdFolder ) into fld output

zip warning:   first full name: 
/Users/sb/Desktop/200809070038/55.app/Contents/MacOS/lib/.DS_Store

zip warning:  second full name: /Users/sb/Desktop/200809070038/.DS_Store
zip warning: name in zip file repeated: .DS_Store

zip error: Invalid command arguments (cannot repeat names in zip file)




Is is possible that you reversed the parameters? The tar output 
file comes first, then the remaining parameters are files / folders 
to include.


tar -cf MyApplication.app MyApplication.tar

=

tar: MyApplication.app: Cannot open: Is a directory
tar: Error is not recoverable: exiting now

tar -cf MyApplication.tar MyApplication.app

=

success!



--


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: Zipping an application package by script

2008-09-10 Thread Stephen Barncard

Thanks very much, Jim Ault, Richard Gaskin, Brian Yennie and Terry Judd.
Among your suggestions I'm sure I find something that works.
I'll report tomorrow on my results.
this list rocks...



Would this work for your needs?

1) tar and zip it

tar -c -z -f MyApplication.tar.gz MyApplication.app

2) unzip it later

tar -xzf MyApplication.tar.gz


HTH,
Brian


--


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


<    3   4   5   6   7   8   9   10   11   12   >