Re: What is the font used by Microsoft in their menubars?

2006-04-02 Thread Garrett Hylltun

Dr. Robert E. Ball wrote:

Does anyone know what font is used in Microsoft Windows menubars? Can I use
that font for the menubars in Revolution standalones built for Windows?


It can vary depending on what theme they use in 95-ME/NT-2k and what 
Visual Style they use in XP.


By default in 95 through ME, I believe it was "MS Serif" or "MS Sans 
Serif".  Default on XP I believe is "Tahoma"


In ME and XP (Most likely 98/NT/2K also), you can get the Menu font from 
the registry under the following:

HKEY_USERS\.DEFAULT\Control Panel\Desktop\WindowMetrics,MenuFont

It's in binary format so you'll have to convert it to get the text name 
of the font being used for the menu.  I'm not sure at the moment how to 
convert that in Rev.


(Rev can read registry data can't it?)

-Garrett

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


Re: What is the font used by Microsoft in their menubars?

2006-04-02 Thread Garrett Hylltun

Garrett Hylltun wrote:

Dr. Robert E. Ball wrote:
Does anyone know what font is used in Microsoft Windows menubars? Can 
I use

that font for the menubars in Revolution standalones built for Windows?


It can vary depending on what theme they use in 95-ME/NT-2k and what 
Visual Style they use in XP.


By default in 95 through ME, I believe it was "MS Serif" or "MS Sans 
Serif".  Default on XP I believe is "Tahoma"


In ME and XP (Most likely 98/NT/2K also), you can get the Menu font from 
the registry under the following:

HKEY_USERS\.DEFAULT\Control Panel\Desktop\WindowMetrics,MenuFont

It's in binary format so you'll have to convert it to get the text name 
of the font being used for the menu.  I'm not sure at the moment how to 
convert that in Rev.


(Rev can read registry data can't it?)


Answered my own question by checking the docs.  Here's the code you can 
use to get the menu font:


queryRegistry("HKEY_USERS\.DEFAULT\Control 
Panel\Desktop\WindowMetrics\MenuFont",varWinMenuFont)


I believe that's how you code it.  varWinMenuFont will hold the data, 
but you will still need to convert that to a string from binary.  The 
Rev docs say to use "binaryDecode" to convert that, so check the docs on 
that to find out how to convert it to a string.


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


text selection

2006-04-02 Thread Nicholas Thieberger
I have just moved to RR 2.7 from 2.0 and have discovered a problem 
with text selection. Apologies if this has been covered before but I 
can't find a discussion of it in the archives. A stack that worked 
fine before now has a problem where the text of the main field is all 
selected even though the script selects only one line. I can't 
unselect either. Is there a way of deselecting all the text in a 
field before selecting the required line?


Thanks,


Nick
___
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 selection

2006-04-02 Thread Mark Smith
Nick, if you put 'select empty' anywhere in a script, it should make
sure anything selected is de-selected.

Best,

Mark


On 4/2/06, Nicholas Thieberger <[EMAIL PROTECTED]> wrote:
> I have just moved to RR 2.7 from 2.0 and have discovered a problem
> with text selection. Apologies if this has been covered before but I
> can't find a discussion of it in the archives. A stack that worked
> fine before now has a problem where the text of the main field is all
> selected even though the script selects only one line. I can't
> unselect either. Is there a way of deselecting all the text in a
> field before selecting the required line?
>
> Thanks,
>
>
> Nick
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Can't pass array function result as parameter

2006-04-02 Thread James Spencer


On Apr 2, 2006, at 12:33 AM, Jerry Daniels wrote:

In Constellation's var watcher I fastidiously check each temp var  
and global to see if they have keys...if they do, then they are  
shown as arrays with keys, etc. I neglected to do this with params!  
I'll get this fixed tomorrow and put the fix up. James, if you  
could report back after the fix is in and let me know if it's  
working for you, that'd be great.


Thanks,

Jerry


Of course it works!  Fixed less than 12 hours after the bug report  
was filed.  It wasn't even anything pressing as it was easy to work  
around once you knew it was happening.  Jerry, you are amazing!


Spence

James P. Spencer
Rochester, MN

[EMAIL PROTECTED]

"Badges??  We don't need no stinkin badges!"

___
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: Hinduism Today Digital Edition -- Release Candidate 1.0

2006-04-02 Thread Rob Cozens

Aloha Sannyasin,


It's free and we need (begging for!) testers. Go to:

http://www.hinduismtoday.com/digital/



My experience so far:

* Went to the site the day you posted; but deferred downloading 38MB 
until last night.


* Began a subscription application, branched off to read main license, 
and from there to read electronic license.


* When I finished reading the electronic license, I had trouble getting 
back to the application page.  When I did get back to it, I had NOT 
been offered a chance to accept the license terms, and there was a "?" 
button instead to text to type in the field.


* Went through the process successfully the second time, chose the Mac 
Version so as not to have to deal with the Win QT issues, and began 
downloading...expecting a multi-hour process.


* Checked 30 minutes later...computer was disconnected from the 'net, 
and I had HT_Digital_Edition_Installer.dmg (1.8MB).  Moved it to 
Applications, double-clicked it, and it created an alias: Hinduism 
Today Digital Edition.


What should I try next?

Rob
___
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: Can't pass array function result as parameter

2006-04-02 Thread Jerry Daniels

Spence,

It's been a while since I've had a Constellation bug like that one.  
It was kinda fun to fix.


Jerry

Buy Constellation from Runtime Revolution!
http://revstudio.runrev.com/section/revselect/constellation/



On Apr 2, 2006, at 9:51 AM, James Spencer wrote:



On Apr 2, 2006, at 12:33 AM, Jerry Daniels wrote:

In Constellation's var watcher I fastidiously check each temp var  
and global to see if they have keys...if they do, then they are  
shown as arrays with keys, etc. I neglected to do this with  
params! I'll get this fixed tomorrow and put the fix up. James, if  
you could report back after the fix is in and let me know if it's  
working for you, that'd be great.


Thanks,

Jerry


Of course it works!  Fixed less than 12 hours after the bug report  
was filed.  It wasn't even anything pressing as it was easy to work  
around once you knew it was happening.  Jerry, you are amazing!


Spence

James P. Spencer
Rochester, MN

[EMAIL PROTECTED]

"Badges??  We don't need no stinkin badges!"

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

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



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


Re: Apple at 30 - My Piece of the Big Fruit

2006-04-02 Thread Mark Talluto


On Mar 31, 2006, at 1:24 AM, Mark Schonewille wrote:

I'm woking on an ftp client for the Mac, exactly because the Finder  
doesn't deal with FTP too well. I thought Windows users wouldn't  
have much of an interest in a simple and easy-to-use yet feature- 
stuffed and good-looking FTP client ;-) If there is a market for  
it, I'll adjust the client to work on Windows machines as well.  
It's price tag is expected to be equal to Interarchy's upgrade.  
Write me off-list for more info.



I made a simple FTP program for internal use many moons ago.  I would  
be more than happy to give it away for free if there are interested  
users.  I use it every day and it works perfectly for my needs.



Mark Talluto
--
CANELA Software
http://www.canelasoftware.com

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


Re: ODBC connection to MS SQL 2000 help needed

2006-04-02 Thread Mark Wieder
Jan-

Sunday, April 2, 2006, 12:29:58 AM, you wrote:

> The way I solve it right now, is to query the database
> with:
>   SELECT * FROM 
> and append TOP or LIMIT clauses for databases that
> support this.
> Then I can use revdb_columnnames to fetch the
> information and then call revdb_closecursor without
> having read any of the data.
> But this is a waste of resources on less-efficient
> databases, as they would prep the entire data set.

Yes, that's the way I do it as well. And yes, it would be nice to have
a better way.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
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: Hinduism Today Digital Edition -- Release Candidate 1.0

2006-04-02 Thread Ken Ray
> It's free and we need (begging for!) testers. Go to:
 
> http://www.hinduismtoday.com/digital/

Worked almost perfectly for me (OS X 10.4.3)... here's what I found:

- When I got the alert that the issue for June 2006 is not cached, there was
no icon in the answer dialog.

- I purposely cancelled in the middle of dowloading "file 4 of 5", which
took me back to the table of contents. I then clicked on the April/May/June
2006 edition, it asked me if I wanted to cache it (I said yes), and it went
to the download screen saying "downloading file 4 of 5", but then nothing
happened - the progress bar was visible, but was empty. I couldn't get it to
work again until I quit and relaunched HT Digital Edition - *then* it picked
up on the downloading and completed it.

- I had been checking out the Help, and then while it was up, clicked on
More.. to show "Current Issue Rich Media". There was a screen wipe where the
TOC data drew on top of the help text list, and then it cleared and opened
the Rich Media window. This only happened when Help was active at the time;
if I was on the TOC, it just re-wiped the TOC contents before opening the
window.

Apart from these minor issues, it's nicely done!


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

___
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: ODBC connection to MS SQL 2000 help needed

2006-04-02 Thread Mark Wieder
Jan-

Sunday, April 2, 2006, 12:29:58 AM, you wrote:

> It is now available as bugzilla #3479 for your voting
> pleasures.

Just sent five votes in that direction...

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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

2006-04-02 Thread LunchnMeets

In a message dated 4/2/06 6:35:59 AM, [EMAIL PROTECTED] writes:


> I have just moved to RR 2.7 from 2.0 and have discovered a problem
> with text selection. Apologies if this has been covered before but I
> can't find a discussion of it in the archives. A stack that worked
> fine before now has a problem where the text of the main field is all
> selected even though the script selects only one line. I can't
> unselect either. Is there a way of deselecting all the text in a
> field before selecting the required line?
> 
> Thanks,
> 
> 

You could also "set the hilitedLine of me to 0" the 0 being zero and the 
handler would be in the script of a field.
___
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


The case of the vanishing image

2006-04-02 Thread Wilhelm Sanke
While tinkering with my "Imagedata Toolkit" - scheduled for release in 
May - I came across an interesting phenomenon unknown (at least) to me.


After reducing the number of colors of an image with a specific 
algorithm to 512, 64, or 8 colors *and* duplicating the imagedata after 
that, the image will suddenly disappear - after one click on the 
"duplicate..." button with 8 colors, two clicks with 64 , and three 
clicks for 512 colors.


The image then slowly reappears after more clicks on the "duplicate" 
button (six clicks for 8 colors, four clicks for 64, and three more 
clicks with 512 colors).


Maybe this could be used to hide information in *invisible* images or to 
hide and retrieve such images themselves.


I have uploaded a sample stack "Vanishing Image" to my website 



The stack contains a photo to test the feature and a few more 
unprotected algorithms that may provide some insight into the basics of 
imagedata manipulation, including compressing imagedata and storing them 
in custom properties or export (and reimport later) to external files or 
PNG-images.


The "Imagedata Toolkit" will comprise about 250 different efffects for 
"creative" imagedata handling. A preview of what will be possible with 
the "ImageData Toolkit" is available at  
page "Imagedata Art".



--Wilhelm Sanke


OT: Important News

2006-04-02 Thread Kurt Kaufman

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


Re: text selection

2006-04-02 Thread Nicholas Thieberger

Mark,

Thanks. And, if it were all working normally I expect this would be 
the solution, but it seems that the field is selected regardless of 
the scripting, so it actually appears to be selected from the bottom 
of the field and up to the selected line. When I click on a line it 
just adds that to the selection so I can't see the selected line.


The script for the mouseclick is:
 stop player "audplayer"
  set the currenttime of player "audplayer" to 0
  put word 2 of the clickline into fld "linenum"
  doplay


and doplay starts a player and includes the following lines:
  select empty
  select line (the text of fld "linenum") of fld "text"

so in the earlier version of RR it selected just line corresponding 
to the linenumber in the fld "linenum", but now I just get the whole 
field selected.


Is this an issue with 2.7?

Thanks,

Nick



Nick, if you put 'select empty' anywhere in a script, it should make
sure anything selected is de-selected.

Best,

Mark


On 4/2/06, Nicholas Thieberger <[EMAIL PROTECTED]> wrote:
 > I have just moved to RR 2.7 from 2.0 and have discovered a problem
 > with text selection. Apologies if this has been covered before but I
 > can't find a discussion of it in the archives. A stack that worked
 > fine before now has a problem where the text of the main field is all
 > selected even though the script selects only one line. I can't
 > unselect either. Is there a way of deselecting all the text in a
 > field before selecting the required line?
 >
 > Thanks,
 >
 >
 > Nick

___
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: Important News

2006-04-02 Thread Dick Kriesel
On 4/2/06 12:50 PM, "Kurt Kaufman" <[EMAIL PROTECTED]> wrote:

> http://www.tidbits.com/tb-issues/TidBITS-823.html


The important news has an important dateline.

-- Dick


___
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: Important News

2006-04-02 Thread Marian Petrides
I wonder whether April 1has the same meaning elsewhere as it does  
here.  Perhaps we need to point out  that April 1 = April Fools Day =  
a day notorious for pranks similar to the one perpetuated by this  
issue of TidBITS--all of which is presumably an April Fool's joke  
and, thus, entirely untrue.  (As if anyone really thought they would  
be doing a Take Control of Your Daily Life book ;-)



On Apr 2, 2006, at 5:55 PM, Dick Kriesel wrote:


On 4/2/06 12:50 PM, "Kurt Kaufman" <[EMAIL PROTECTED]> wrote:


http://www.tidbits.com/tb-issues/TidBITS-823.html



The important news has an important dateline.

-- Dick


___
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


so long

2006-04-02 Thread Sean Shao
well it's been fun but i can't keep wasting valuable resources trying to get 
the database features of rev to work..  for all my bragging about rev and 
it's ease of use and how it'll make this project so much better than doing 
it as a web-based app, i've basically had enough..


rev.. do you guys even bother to do beta testing?! if so, you could stand to 
do a lot more.. if not, i'm more than willing to do testing (for free even) 
and have ample test platforms to ensure that the feature set that you say is 
there does work..


i've gone all the way back to rev 2.0.3 and have not been able to get the 
database stuff to work in compiled apps for mac os 9.. if anyone has ever 
gotten this to work, please contact me (offlist as i'm cancelling my 
subscription after this goes through)..


for everyone who is testing anything for me, consider it in the public 
domain from this point forward..  i will attempt to finish up any 
outstanding bugs and features, but no promises..


-Sean

_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


___
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: so long

2006-04-02 Thread Scott Kane
Sean,


> i've gone all the way back to rev 2.0.3 and have not been 
> able to get the 
> database stuff to work in compiled apps for mac os 9.. if 
> anyone has ever 
> gotten this to work, please contact me (offlist as i'm cancelling my 
> subscription after this goes through)..

Sorry to see you go!  I admit I can't get Rev database app's
to run on anything less than Panther.  I've been forced to
do an ISAM treatment using Rev stacks in an attempt to make
one of my products compliant with running on Jaguar (on which
platform I have several customers).  However I can say that
SQLite with Altuits wrapper works a treat on Panther + systems.

Scott

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.4/299 - Release Date:
31/03/2006
 

___
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: Important News

2006-04-02 Thread Stephen Barncard

I really fell for the AMD/X-Serve story...
Too close to the possible truth.

I mean a part of the strategy has to be the ability to second-source

sqb

I wonder whether April 1has the same meaning elsewhere as it does 
here.  Perhaps we need to point out  that April 1 = April Fools Day 
= a day notorious for pranks similar to the one perpetuated by this 
issue of TidBITS--all of which is presumably an April Fool's joke 
and, thus, entirely untrue.  (As if anyone really thought they would 
be doing a Take Control of Your Daily Life book ;-)




--
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: so long

2006-04-02 Thread Stephen Barncard
Well, that's too bad. As far as I can tell, Rev is still committed to 
OS9, and are promising a 2.7 version. There was a problem with the 
old compiler or something that predicated more work on it than other 
platforms apparently.


Certainly you're expecting a lot for that old system 9...

well it's been fun but i can't keep wasting valuable resources 
trying to get the database features of rev to work..  for all my 
bragging about rev and it's ease of use and how it'll make this 
project so much better than doing it as a web-based app, i've 
basically had enough..


rev.. do you guys even bother to do beta testing?! if so, you could 
stand to do a lot more.. if not, i'm more than willing to do testing 
(for free even) and have ample test platforms to ensure that the 
feature set that you say is there does work..


i've gone all the way back to rev 2.0.3 and have not been able to 
get the database stuff to work in compiled apps for mac os 9.. if 
anyone has ever gotten this to work, please contact me (offlist as 
i'm cancelling my subscription after this goes through)..


for everyone who is testing anything for me, consider it in the 
public domain from this point forward..  i will attempt to finish up 
any outstanding bugs and features, but no promises..


-Sean


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


revCopyFile problems

2006-04-02 Thread Sarah Reichelt
Hi All,

I've spent the last hour struggling with the revCopyFile command which
works SOMETIMES! I am trying to copy an application bundle to a newly
created folder. The folder gets made OK, but 3 out of 4 times, it will
be empty and the result of the revCopyFole command is "execution
error". Then it will just work!

Now I can't get it to work at all.

I construct variables to hold the folder path & bundle path and they
are as follows:
tBundle: /Users/sarah/Desktop/Updater test/TestApp.app
tFolderPath: /Users/sarah/Desktop/Updater test/Archives/20060403_1/

I verify their existence using "there is a folder" (OS X apps are
really folders).

Then I try:
revCopyFile tBundle, tFolderPath

I've tried revCopyFolder too even though the docs state that
revCopyFile is the one to use for app bundles.

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


Re: so long

2006-04-02 Thread Sarah Reichelt
On 4/3/06, Sean Shao <[EMAIL PROTECTED]> wrote:
> well it's been fun but i can't keep wasting valuable resources trying to get
> the database features of rev to work..  for all my bragging about rev and
> it's ease of use and how it'll make this project so much better than doing
> it as a web-based app, i've basically had enough..
>
> rev.. do you guys even bother to do beta testing?! if so, you could stand to
> do a lot more.. if not, i'm more than willing to do testing (for free even)
> and have ample test platforms to ensure that the feature set that you say is
> there does work..

Sorry to see you go Sean. Your contributions have been valued. I
couldn't be any help since I ditched OS 9 completely as soon as I
could. Did you contact RunRev support? I've never had to use it myself
(this list always comes to my rescue) but it's worth a try before
giving up completely.

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


Shortcutting to screendump despite opened menus ?

2006-04-02 Thread Kresten Bjerg
Hi Phil

The frontscript idea sounds good. But from the documentation it seems as if it 
is only objects which can be send to frontscript. So when it is a single 
handler in a very very long substackscript, .. is there a way to 
send a single handler to frontscript ?


on commandKeyDown theKey 
  global phenodate
  if theKey is "y" then  
  put the snappath of this stack & "/" & phenodate && the time  & ".jpg" 
into navn
  export snapshot from rect "0,0,1021,764" to file navn as JPEG
  else pass commandKeyDown
end commandKeyDown

Kresten

___
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


networking tutorial ?

2006-04-02 Thread Marty Billingsley
Hi all --

Sorry about a repeat query -- I'm sure this has come up before, but you
know how it is: you skim over messages on the list that don't pertain to
what you're currently working on.

Anyway, is there a tutorial on networking using RunRev?  I want to make
two Macs talk to each other (using Bonjour, or whatever else will work)
and share a stack.  Is this reasonably easy to do?  I'm exploring two
ideas: simple multi-user games for my students, and creating an
application where several users can draw on a card at the same time --
like SubEthaEdit, except with painting.

Thanks for any pointers (including subject headers of previous threads)
you can provide.

cheers,
  - marty

--
Marty Billingsley ([EMAIL PROTECTED])
The University of Chicago Laboratory Schools
___
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: Shortcutting to screendump despite opened menus ?

2006-04-02 Thread Jim Ault
Yes.. In this case I will use a spare button.

on openstack
set the script of button "spare" to scriptText
insert the script of button "spare" into front
end openstack

you can extract the handler from a larger script container, read in a url
filelocation, or even the contents of a field.

Hope this gives you ideas about your particular case.

Jim Ault
Las Vegas

On 4/2/06 6:08 PM, "Kresten Bjerg" <[EMAIL PROTECTED]> wrote:

> Hi Phil
> 
> The frontscript idea sounds good. But from the documentation it seems as if it
> is only objects which can be send to frontscript. So when it is a single
> handler in a very very long substackscript, .. is there a way to
> send a single handler to frontscript ?
> 
> 
> on commandKeyDown theKey
>   global phenodate
>   if theKey is "y" then
>   put the snappath of this stack & "/" & phenodate && the time  & ".jpg"
> into navn
>   export snapshot from rect "0,0,1021,764" to file navn as JPEG
>   else pass commandKeyDown
> end commandKeyDown
> 
> Kresten
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Shortcutting to screendump despite opened menus ?

2006-04-02 Thread Phil Davis

Hi Kresten,

Kresten Bjerg wrote:

Hi Phil

The frontscript idea sounds good. But from the documentation it seems

as if it is only objects which can be send to frontscript. So when it is
a single handler in a very very long substackscript, .. is
there a way to send a single handler to frontscript ?

Yes. As Jim Ault suggested, put that one handler into the script of a 
button, and insert the script of that button into the front.


Phil



on commandKeyDown theKey 
  global phenodate
  if theKey is "y" then  
  put the snappath of this stack & "/" & phenodate && the time  & ".jpg" into navn

  export snapshot from rect "0,0,1021,764" to file navn as JPEG
  else pass commandKeyDown
end commandKeyDown

Kresten


___
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: revCopyFile problems

2006-04-02 Thread Scott Morrow

Sarah,
I was having what I think was a similar problem a while back (trying  
to copy an AppleScriptExtension.osax from within a bundle to another  
folder) and Christian posted this shell script which, for me, worked  
like a charm.


On Sep 22, 2004,  Christian Langers wrote:

Here is what you can do (in a script) :

put PathOfSourceFile (e.g. "/Library/Receipts/ 
BranchProposalSystem1.pkg")

into tSource
put PathOfDestination into tDestination (e.g. "/Users/userName/Desktop")
put ("cp -R -p ""e&tSource"e&"e&tDestination"e) into
tCommand
get shell(tCommand)

Cheers from little Luxembourg,

Christian
---

On Apr 2, 2006, at 6:51 PM, Sarah Reichelt wrote:


Hi All,

I've spent the last hour struggling with the revCopyFile command which
works SOMETIMES! I am trying to copy an application bundle to a newly
created folder. The folder gets made OK, but 3 out of 4 times, it will
be empty and the result of the revCopyFole command is "execution
error". Then it will just work!

Now I can't get it to work at all.

I construct variables to hold the folder path & bundle path and they
are as follows:
tBundle: /Users/sarah/Desktop/Updater test/TestApp.app
tFolderPath: /Users/sarah/Desktop/Updater test/Archives/20060403_1/

I verify their existence using "there is a folder" (OS X apps are
really folders).

Then I try:
revCopyFile tBundle, tFolderPath

I've tried revCopyFolder too even though the docs state that
revCopyFile is the one to use for app bundles.

Any ideas?
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



___
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


Emergency

2006-04-02 Thread Jonathan Kotthoff
No matter what I do the revCopyFile command does not work on Mac OS  
X...I am feeding absolute paths...but on WIndows...there is no  
problem...


I can only use revCopyFile as the put url command does not allow me  
to save the files as big as mine are...


Help...


___
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: so long

2006-04-02 Thread Dan Shafer
The departure of a developer of Sean Shao's stature should raise some alarms
in Edinburgh. Like Sarah and many others, I've basically simply ignored OS 9
for the past year or so; any clients still using it are on their own. But I
can understand the need in some markets -- presumably especially education
-- for OS 9 to continue to be supported. If the database stuff truly doesn't
work on OS 9 -- and fails clear back to Rev 2.0 -- then I can appreciate the
decision Sean had to make.

I agree Sean's contributions will be sorely missed.

OTOH, I think it's important for people with less history with the product
than some of us who are now commenting in this thread not to get the
impression that one even serious departure from the fold bodes ill for the
product in general. I can say that Rev 2.6.1 is as solid and stable a
development platform as I've worked on, even with the warts it does have,
and that nothiing else even comes close to letitng me create cross-platform
applications that just flat work, database and all, on every platform I
target.


On 4/2/06, Sarah Reichelt <[EMAIL PROTECTED]> wrote:
>
> On 4/3/06, Sean Shao <[EMAIL PROTECTED]> wrote:
> > well it's been fun but i can't keep wasting valuable resources trying to
> get
> > the database features of rev to work..  for all my bragging about rev
> and
> > it's ease of use and how it'll make this project so much better than
> doing
> > it as a web-based app, i've basically had enough..
> >
> > rev.. do you guys even bother to do beta testing?! if so, you could
> stand to
> > do a lot more.. if not, i'm more than willing to do testing (for free
> even)
> > and have ample test platforms to ensure that the feature set that you
> say is
> > there does work..
>
> Sorry to see you go Sean. Your contributions have been valued. I
> couldn't be any help since I ditched OS 9 completely as soon as I
> could. Did you contact RunRev support? I've never had to use it myself
> (this list always comes to my rescue) but it's worth a try before
> giving up completely.
>
> 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
>



--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
>From http://www.shafermediastore.com/tech_main.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Emergency

2006-04-02 Thread Jan Schenkel
--- Jonathan Kotthoff <[EMAIL PROTECTED]>
wrote:
> No matter what I do the revCopyFile command does not
> work on Mac OS  
> X...I am feeding absolute paths...but on
> WIndows...there is no  
> problem...
> 
> I can only use revCopyFile as the put url command
> does not allow me  
> to save the files as big as mine are...
> 
> Help...
> 

Hi Jonathan,

I just made a simple test stack on MacOSX, and it
worked fine.
The script was as follows:
##
on mouseUp
  -- ask the user which file to copy
  answer file "Select the source file:"
  if it is empty then exit mouseUp
  -- show the full source path
  put it into field "Source"
  -- ask the user where to copy it to
  answer file "Save a copy as:"
  if it is empty then exit mouseUp
  -- show the full target path
  put it into field "Target"
  -- now copy the file
  revCopyFile field "Source", field "Target"
end mouseUp
##

Could you give us the script that doesn't work for
you? I recall from your original question that you
were trying to copy files from within an application
bundle.
Since I could even get that to work, perhaps your
source file path is somehow not up to sniff.

Best regards,

Jan Schenkel.

Quartam Reports for Revolution


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

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: What is the font used by Microsoft in their menubars?

2006-04-02 Thread Chipp Walters

For WinXP default theme, it's Tahoma 11

Dr. Robert E. Ball wrote:

Does anyone know what font is used in Microsoft Windows menubars? Can I use
that font for the menubars in Revolution standalones built for Windows?




___
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: Emergency

2006-04-02 Thread Jonathan Kotthoff

Jan,

Thanks this helps...here is what is happening...I have to hard code  
the absolute path for Mac and not for windows...Thus i do a platform  
check and pass a different path for each platform to copy...That  
fixed it...!


Thanks, as a side note though...I think the revCopyFile should take  
care of this so as to be truly platform agnostic


On Apr 2, 2006, at 11:45 PM, Jan Schenkel wrote:


on mouseUp
  -- ask the user which file to copy
  answer file "Select the source file:"
  if it is empty then exit mouseUp
  -- show the full source path
  put it into field "Source"
  -- ask the user where to copy it to
  answer file "Save a copy as:"
  if it is empty then exit mouseUp
  -- show the full target path
  put it into field "Target"
  -- now copy the file
  revCopyFile field "Source", field "Target"
end mouseUp


___
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: weird standalone save behavior

2006-04-02 Thread Richard Lague


On Apr 1, 2006, at 12:00 PM, Richard Gaskin wrote:


Richard Lague wrote:
In an effort to figure out what is going on I have been using the   
following script for saving:

ON mouseUp
 save this stack
 IF the result is not empty THEN
 put the result into resultVar
 answer resultVar
 ELSE
 answer "save confirmed"
 END IF
END mouseUp
When I can not save data I always get the same result: “Can’t  
open  stack file”.


Are you sure that in the context it's being called "this stack"  
refers to the stack you want and not the standalone?


The script is in a button on the sub-stack. I have been testing this  
with a very simple standalone -- a one-card main stack/application  
that has one sub-stack. The sub-stack is also only one card that has  
a "save" button and a text field.



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

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


___
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: Emergency

2006-04-02 Thread Stephen Barncard

isn't the problem that Macs have a bundle and Windoze doesn't?


Jan,

Thanks this helps...here is what is happening...I have to hard code 
the absolute path for Mac and not for windows...Thus i do a platform 
check and pass a different path for each platform to copy...That 
fixed it...!


Thanks, as a side note though...I think the revCopyFile should take 
care of this so as to be truly platform agnostic




--
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: weird standalone save behavior

2006-04-02 Thread Richard Gaskin

Richard Lague wrote:

On Apr 1, 2006, at 12:00 PM, Richard Gaskin wrote: 

Richard Lague wrote:
In an effort to figure out what is going on I have been using the   
following script for saving:

ON mouseUp
 save this stack
 IF the result is not empty THEN
 put the result into resultVar
 answer resultVar
 ELSE
 answer "save confirmed"
 END IF
END mouseUp
When I can not save data I always get the same result: “Can’t  
open  stack file”.


Are you sure that in the context it's being called "this stack"  
refers to the stack you want and not the standalone?


The script is in a button on the sub-stack. I have been testing this  
with a very simple standalone -- a one-card main stack/application  
that has one sub-stack. The sub-stack is also only one card that has  
a "save" button and a text field.


On Windows and UNIX systems, the executable file cannot modify itself. 
The Rev engine enforces this on Mac OS for consistency.


If I read your description correctly the substack is part of the 
executable stackfile.


If you break that substack out into its own stackfile you will be able 
to save it.


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


Re: weird standalone save behavior

2006-04-02 Thread J. Landman Gay

Richard Gaskin wrote:

Richard Lague wrote:


On Apr 1, 2006, at 12:00 PM, Richard Gaskin wrote:

Richard Lague wrote:
In an effort to figure out what is going on I have been using the   
following script for saving:

ON mouseUp
 save this stack
 IF the result is not empty THEN
 put the result into resultVar
 answer resultVar
 ELSE
 answer "save confirmed"
 END IF
END mouseUp
When I can not save data I always get the same result: “Can’t  open  
stack file”.


Are you sure that in the context it's being called "this stack"  
refers to the stack you want and not the standalone?


The script is in a button on the sub-stack. I have been testing this  
with a very simple standalone -- a one-card main stack/application  
that has one sub-stack. The sub-stack is also only one card that has  
a "save" button and a text field.


On Windows and UNIX systems, the executable file cannot modify itself. 
The Rev engine enforces this on Mac OS for consistency.


If I read your description correctly the substack is part of the 
executable stackfile.


If you break that substack out into its own stackfile you will be able 
to save it.


I think something else is going on. He wrote to support recently and I 
didn't have a clue what the problem might be. I did take a look at his 
sample application, and the substack is saved out as a separate file. 
When I tested it, it saved fine for me. I understand that Sarah also 
tested it for him, and it saves fine for her too. On his own machines, 
it saves okay sometimes and not others, and seems to behave differently 
depending on whether he has recently copied the files or not, and to 
which drive he has copied them.


The idea of it being a permissions problem was mine, because I believe 
the "can't open stack file" error is due to the inability of the engine 
to create the temporary backup file during the save operation. This only 
happens to him sometimes, and only under certain conditions. It seems to 
be something specific to his setup, as I haven't ever heard of anything 
like this except in cgi-bin folders (which generally have permissions 
set to forbid file creation.)


Richard (Lague): did you try running Repair Permissions using the Disk 
Utility app? It can't hurt.


Also, when the save fails, is your app located somewhere in your own 
user folder? You aren't trying to save a file to another user folder, right?


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.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