RE: SHA-1 algorithm

2005-11-19 Thread Frank Leahy

Sean,

An altBrowser license it will be!

Let me know when you have it working.

Thanks,
-- Frank

On Nov 19, 2005, at 7:27 AM, [EMAIL PROTECTED] 
wrote:



From: "Sean Shao" <[EMAIL PROTECTED]>
Subject: RE: SHA-1 algorithm
To: use-revolution@lists.runrev.com
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; format=flowed


Has anyone ported the SHA-1 algorithm to xTalk? (see
http://www.movable-type.co.uk/scripts/SHA-1.html for details)


After getting this message I went and converted the JavaScript code 
into
Transcript, but due to limitations with v2.0 I can't test it to make 
certain
that it does work 100%. When I go into work (either on Saturday or 
Sunday)

I'll test it there



If not, would anyone be willing to port it for $$?


I could use an altBrowser license ;-)  but otherwise it'll just end up 
on my

website as a freebie for everyone to use..


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


Re: use-revolution Digest, Vol 26, Issue 73

2005-11-19 Thread Frank Leahy

Phil,

No, MD5 won't work...the service I want to talk to (Typepad) is Atom 
based, which requires an SHA-1 key to be calculated and passed in as 
part of the authentication header.


-- Frank

On Nov 18, 2005, at 10:53 PM, [EMAIL PROTECTED] 
wrote:



From: Phil Davis <[EMAIL PROTECTED]>
Subject: Re: SHA-1 algorithm in xTalk?
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I don't know much about hashes - is SHA-1 enough better than Rev's
md5digest to warrant paying someone to do it? Or will md5digest do what
you need?

Phil Davis


Frank Leahy wrote:

Has anyone ported the SHA-1 algorithm to xTalk? (see
http://www.movable-type.co.uk/scripts/SHA-1.html for details)

If not, would anyone be willing to port it for $$?

Regards,
-- Frank


___
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


SHA-1 algorithm in xTalk?

2005-11-18 Thread Frank Leahy
Has anyone ported the SHA-1 algorithm to xTalk? (see 
http://www.movable-type.co.uk/scripts/SHA-1.html for details)


If not, would anyone be willing to port it for $$?

Regards,
-- Frank

___
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 2.6.1 answer wrapper?

2005-10-18 Thread Frank Leahy
I downloaded Rev 2.6.1 and noticed that on OS X it displays answer 
dialogs (e.g. Save this stack?) with multi-sized text (i.e. different 
sizes for the primary and secondary text strings), and in the correct 
system font. Nice!


Does anyone know if they wrote their own wrapper around the built-in 
answer routine to handle font sizing, line breaks, creation of html 
text, etc., and if so what the name of the routine is?  I'd rather call 
their routine instead of having to reinvent my own.


Regards,
-- Frank Leahy

___
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: Shell script to get shortcut's target on Win32? [SOLUTION]

2005-10-08 Thread Frank Leahy
Of course I found the solution as soon as I sent that message -- the 
Rev command "the longFilePath".


Of course why aliasReference returns a 8.3 file name is another story...

Regards,
-- Frank

___
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


Shell script to get shortcut's target on Win32?

2005-10-08 Thread Frank Leahy

Hi,

Does anyone know how to write a shell script to get the target of a 
shortcut on Windows?


I'm using the aliasReference command, but it returns an unusable file 
name.  For example,


  the aliasReference of "C:\Documents and Settings/frank/My 
Documents/My Pictures/1-originals/IMG_4668 copy 1.JPG.lnk"


returns

  "C:\DOCUME~1/frank/Desktop/Morrone/IMG_46~1.JPG"

which is quite unusable for my purposes.

Many thanks in advance,
-- Frank

p.s. Please copy me on any reply as I get the digest version which can 
take a day or so to appear


___
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


Size of all objects (fields, image, etc.) in a stack?

2005-09-24 Thread Frank Leahy

Hi,

I'd like to slim down my app, and I think there are some images and 
fields that may be hanging around with unnecessary data in them. but 
I'm not sure how to find them.  Does someone (Chipp?  Richard?) have a 
tool that shows you a sorted list of all objects in a stack (or better 
yet across all stacks)?


Thanks in advance,
-- Frank Leahy

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


Re: Export Callback anyone??

2005-09-20 Thread Frank Leahy

Kevin,

I would export locally, then upload the file via ftp.

Here's what I do:

  local LUploadWorkDone, LCancelFTPUpload, LCurUploadUrl, 
LCurUploadSize


  put false into LUploadWorkDone
  put false into LCancelFTPUpload -- set to true when/if user 
clicks "Cancel" button in progress dialog

  put toUrl into LCurUploadUrl
  put theSize into LCurUploadSize
  send "DoUploadStatusLoop toUrl, theSize" to this stack in 30 
ticks -- timed "callback" which updates progress indicator

  MyFTPUploadImage fromFile, toUrl, "DoUploadWorkFinish"
  wait until (LUploadWorkDone <> false) with messages

on MyFTPUploadImage theImageFile, theUrl, theCallback
  put "binfile:" & theImageFile into theBinFile
  libUrlFtpUpload URL theBinFile, theUrl, theCallback
end MyFTPUploadImage

on DoUploadWorkFinish theUrl, theUrlStatus
  put true into LUploadWorkDone -- breaks us out of the wait until () 
loop above

end DoUploadWorkFinish

on DoUploadStatusLoop toUrl, theSize
  if LUploadWorkDone <> false or toUrl <> LCurUploadUrl or 
LCancelFTPUpload = true then

exit DoUploadStatusLoop
  else
set the cursor to busy
CheckForCancelFTPUpload -- looks to see if the user has clicked in 
the "cancel" button

DoUpdateUploadProgress toUrl, theSize --
send "DoUploadStatusLoop toUrl, LCurUploadSize" to this stack in 30 
ticks

  end if
end DoUploadStatusLoop

on DoUpdateUploadProgress toUrl, theSize
  put UrlStatus(toUrl) into theStatus
  put item 1 of theStatus into theStatusStr

  put 0 into bytesUploaded
  switch (theStatusStr)
  case "queued"
break
  case "contacted"
break
  case "connecting"
break
  case "requested"
break
  case "loading"
break
  case "uploading"
put item 2 of theStatus into bytesUploaded
put item 3 of theStatus into bytesTotal
break
  case "cached"
break
  case "uploaded"
put theSize into bytesUploaded
break
  case "error"
break
  case "timeout"
break
  case empty
-- could happen if we're saving to disk instead of uploading
put theSize into bytesUploaded
break
  default
answer error "Error: invalid url status '" & theStatusStr & "'" 
with "OK" titled getPhotoAlbumDialogName()

  end switch

  put trunc((LFTPBytesUploaded + bytesUploaded) / LFTPUploadTotalBytes 
* 100) into thePercentage


  put FormatSizeAsText(LFTPUploadTotalBytes) & ": " & thePercentage & 
"% (" & \
  (LFTPBytesUploaded + bytesUploaded) & "/" & LFTPUploadTotalBytes 
& ")" into ftpMsg1


  UpdateFTPProgressBar ftpMsg1, "", "", "Status: " & theStatusStr, 
thePercentage

end DoUpdateUploadProgress








On Sep 20, 2005, at 8:08 AM, [EMAIL PROTECTED] 
wrote:



From: <[EMAIL PROTECTED]>
Subject: Export  Callback anyone??
To: 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="us-ascii"

I'm using
export image "image1" to URL
"ftp://user:[EMAIL PROTECTED]/image1.gif" as GIF
to replace an existing image on a web page. Sometimes, this works but 
mostly

it fails,
replacing the existing file with an empty one i.e. 0kb



___
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


Weird image problems with large images on Windows

2005-09-15 Thread Frank Leahy
I've built a new version of my photo app on Windows, and I'm having a 
very strange problem resizing large images, and want to see if anyone 
else has seen this.


Machine: Windows 2000.

Photo size: 1536 x 2048.

Resizing the photo to 110 x 110 max.

Problem: I can set the fileName of an image to this photo file, but it 
won't resize properly, and calling export as jpeg on the image throws 
an error.


BUT, if I login to the same machine via Terminal services, using the 
SAME account, and the SAME .exe file, and the SAME photo -- the app 
runs flawlessly.


Has anyone else seen this?

(oh yes, Rev 2.2)

Regards,
-- Frank Leahy 


___
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: stumped: set script of buttons at runtime - solution A

2005-06-17 Thread Frank Leahy
I would recommend not putting 60 lines of script in your template 
button...doing that means that every time you copy the button all 60 
lines goes with it (10 buttons created means 600 lines of script, etc.) 
 Instead I would do something like this:


on mouseUp
DoMyCustomButtonMouseUpRoutine
end mouseUp

Then, the "DoMyCustomButtonMouseUpRoutine" handler or function can be 
anywhere in the message path.  What's nice about this is that if you 
use this button in different stacks (or on different cards), each stack 
or card could have its own version of the 
DoMyCustomButtonMouseUpRoutine handler, making the button even more 
versatile.


If you need more control over which routine is called, you could pass 
the name of the button to the DoMyCustomButtonMouseUpRoutine handler 
and then make a decision about which routine to call based on the name. 
 For example:


on mouseUp
put the short name of me into theShortName
DoMyCustomButtonMouseUpRoutine theShortName
end mouseUp


Regards,
-- Frank

Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/

On Jun 17, 2005, at 8:08 AM, [EMAIL PROTECTED] 
wrote:



From: Rob Cozens <[EMAIL PROTECTED]>
Subject: Re: stumped: set script of buttons at runtime - solution A
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"; format=flowed

Eric,


The thing I hadn't figured out that lead me down the present path was
that I couldn't figure out how to add the script to the template 
button.


If you are building the script at runtime, my approach won't work.  If
you're selecting from a finite number of pre-written scripts, store 
each

script in a separate invisible template button.

Rob Cozens


___
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: counting keystrokes

2005-04-26 Thread Frank Leahy
Sims,
The keymap was originally a Macintosh toolbox data structure that sat 
in low-memory, specifying which keys were currently down.  It was 
intended primarily to let the front-most app see if the user had 
multiple keys down simultaneously (e.g. ctrl-option-shift-delete), but 
like others before you, you've found that it's also possible to check 
for keys down from other than the front-most app.

Two comments:
1) It's possible that RunRev is merely simulating the Mac effect for 
Windows, by providing a keymap function that only works when RunRev is 
frontmost.  If this is the case, then your app will never see other app 
keystrokes on Windows.

2) I assume you realize that there's no guarantee that you'll see all 
keystrokes, even with your Mac version?  By calling "wait 10 millisecs 
with messages" you're assuming first, that keystrokes don't happen any 
faster than 10 milliseconds, and second, that your app will be given a 
time-slice every 10 milliseconds...either of these might be incorrect, 
resulting in lost keystrokes (though possibly not enough to matter).

Regards,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Apr 26, 2005, at 8:07 AM, [EMAIL PROTECTED] 
wrote:

From: sims <[EMAIL PROTECTED]>
Subject: Re: counting keystrokes
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
What if you make the window a systemWindow so that it is always at 
the front?
Interesting idea...and if I don't want that window to show I could
hide it somehow.
I'll give that a try, thanks.
Actually, I am surprised that it works in any system. I would have
assumed that keystrokes only got passed to the front application no
matter what OS you were using :-)
Surprised me also...but it works on OS X, at least with all the
non-Rev apps I have
and that includes Word.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: mouseDown in menu bar

2005-04-23 Thread Frank Leahy
Well, that would do it.  Yes, the backgroundBehavior is set to 
true...it must be the default setting as I never changed it.

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

From: Richard Gaskin <[EMAIL PROTECTED]>
Subject: Re: mouseDown in menu bar
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Frank Leahy wrote:
I have a mouseDown handler in the menubar object in each stack.  I 
just
noticed that the menubar's mouseDown handler was being called on 
*every*
mouseDown anywhere in the stack, not just in the menubar itself.  Is
that correct?  Is the menubar always in the message hierarchy?
Groups that have their backgroundBehavior property set to true become
part of the message path, as per HyperCard.
If your menu group doesn't have the backgroundBehavior set to true then
maybe something else is at play...
--
  Richard Gaskin
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


mouseDown in menu bar

2005-04-23 Thread Frank Leahy
I have a mouseDown handler in the menubar object in each stack.  I just 
noticed that the menubar's mouseDown handler was being called on 
*every* mouseDown anywhere in the stack, not just in the menubar 
itself.  Is that correct?  Is the menubar always in the message 
hierarchy?

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


OT: colo space available in San Francisco

2005-04-17 Thread Frank Leahy
Hi,
I am moving my servers from San Jose to San Francisco, and I've rented 
a 1/4 cabinet at ColoServe (south of Market).  I've got about 4U of 
space left over.  If anyone on this list has a machine or two they'd 
like to share this space with, please let me know.

Regards,
-- Frank Leahy
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: Congratulations to Frank Leahy

2005-04-14 Thread Frank Leahy
Ben,
Is the review in the magazine edition...I don't see it online?  If so, 
I guess I'll have to wait until next week to buy it at Heathrow when I 
return to London from San Francisco (where I am at the moment).

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

Date: Thu, 14 Apr 2005 11:52:59 +0100
From: Ben Rubinstein <[EMAIL PROTECTED]>
Subject: OT: Congratulations to Frank Leahy
To: "use-revolution@lists.runrev.com"

Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="US-ASCII"
Excellent review of Web Photos Pro in the latest issue of MacUser UK.  
Good
work!

  Ben Rubinstein   |  Email: [EMAIL PROTECTED]
  Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
  http://www.cogapp.com|  Fax  : +44 (0)1273-728866
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How many developers in USA & Oracle question

2005-04-14 Thread Frank Leahy
Pierre,
Seeing that screen full of French makes me realize that it's time to 
internationalize Web Photos Pro.  Must be what my French, German and 
Dutch customers feel like when all they see if English.

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

From: Pierre Sahores <[EMAIL PROTECTED]>
Subject: Re: How many developers in USA & Oracle question
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hello,
Feel free to test this n-tier web app build in using rev on the
application server side and postgresql as the backend, both running on
the same box and binded together trought localhost TCP/IP connections.
This app is up for test purpose only and you can test all write and
read operations without any restriction.
the acces url : 
the login : iplsport
the password : portipls
Feel free to ask for more explanations about how to setup such kind of
app for your own.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XML and Plists

2005-04-10 Thread Frank Leahy
My app reads the iPhoto plist to determine where the default iPhoto 
library is, and it also reads the iPhoto xml database file.  I use 
string functions to find the particular strings that I need rather than 
using Rev's XML library.  Faster and simpler that way (to develop and 
to execute).  The only caveat is that if the XML is UTF8, you need to 
make sure you read it as UTF8 not as text.

Also, if I needed to write an XML file I would do it using string 
output rather than attempting to use the Rev XML library as well.

Regards,
-- Frank Leahy
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Apr 10, 2005, at 5:00 PM, [EMAIL PROTECTED] 
wrote:

From: Matt Denton <[EMAIL PROTECTED]>
Subject: XML and Plists
To: use-revolution@lists.runrev.com
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Hello all.
Has anyone had experience parsing then using Apple's PLIST XML?  I've
attached the DTD and spent quite a bit of time fiddling around with it,
however I haven't had much success navigating the tree or getting node
values.  I ended up ditching this and built my own simple structure.
Has anyone created or worked with PLISTs?  Caveats?
I'll go back and and spend some more time now that I've got a better
handle on the Rev XML commands (sometimes a bit finicky) however if
anyone has had a go and has any tips or sample code then I would much
appreciate it.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


reading data from socket after a PUT or POST?

2005-04-07 Thread Frank Leahy
Does anyone know how to read data on a socket after using libUrl to do 
a PUT or POST?

I'm uploading an image to a web server (successfully!), and the web 
server sends a response back after the PUT or POST completes...but I 
can't figure out how to either 1) get libUrl to read the response and 
return the data, or 2) read from the socket myself before it gets 
closed by the web server.

Anyone know how to do this?
Thanks in advance,
-- Frank Leahy
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


HTTP PUT problems

2005-04-06 Thread Frank Leahy
I'm trying to use HTTP PUT to put an image onto an image service, and 
can't seem to make it work.  Has anyone had any success doing this?

The call I'm using is
   put URL ("binfile:" & photoFile) into URL 
"http://www.foo.com/upload.php";

Also, after the upload completes, this file returns status information 
but I can't figure out how to get the status data via a libUrl call.

Thanks in advance!
-- Frank Leahy
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Passing UTF-8 through variables

2005-03-01 Thread Frank Leahy
Sivakatirswami,
The difference is likely due to the fact that when you save as 
Unix-Unicode-UTF-8 BBEdit saves a unicode BOM file header.

You owe it to yourself to read http://en.wikipedia.org/wiki/Unicode and 
http://www.joelonsoftware.com/articles/Unicode.html

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Mar 1, 2005, at 12:38 AM, [EMAIL PROTECTED] 
wrote:

Date: Mon, 28 Feb 2005 09:59:13 -1000
From: Sivakatirswami <[EMAIL PROTECTED]>
Subject: Re: Passing UTF-8 through variables
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Well, it turns out there is nothing wrong with the original file at
all... duh! I tried the "old fashioned way" selected/copied the raw
text from BBEdit, pasted into a text box in InDesign, select all text
and change to MinionD. Yahoo!   it works... all these "diacriticals"
are just 8-bit chars in the high ascii range (128-255) for font
MinionD...  ergo, nothing wrong with the file at all.
But, the way of saving the file in BBEdit is crucial:  we set the file
type in BBEdit to save as
Unix- Unicode- UTF-8
Then the import into InDesign with XML tags mapped to character styles
worked fine. The problem seems to have been that the file was being
saved in BBEdit as a MacIntosh file. If we set it to
mac-unicode-iso-8859-1   bbedit would give an unmappable char msg. If
we set it to save as mac-not-unicode-iso-8859-1... all problems in
BBEdit woudl go away, but it would not import the characters correctly
as xml in Indesign. Only Unix- Unicode- UTF-8 worked in both
environments.
Frankly I feel like a doctor talking about "eczema" for which he knows
not the cause or the cure, but pretends to his patient have some great
knowledge via the use of fancy labels for observable phenomena.  When
in fact the only thing he *really* knows is "You have a skin problem."
"Right, I knew that before I came to see you..."
In this case we are one step further... we know not the cause but we
did find a cure, though the mode of operation of that is still unknown,
but all we really know is "its an encoding thing.." (smile)
Dar, your tips did put me onto it though, thanks.
Sivakatirswami
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: unlimited undo's for text fields

2005-02-28 Thread Frank Leahy
On Feb 28, 2005, at 5:00 PM, [EMAIL PROTECTED] 
wrote:

From: "J. Landman Gay" <[EMAIL PROTECTED]>
Subject: Re: unlimited undo's for text fields
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii; format=flowed
On 2/28/05 8:44 AM, Paul wrote:
I think Dar is right in that a message is not sent when a modifier key
is pressed on the Mac, but one can check to see if a modifier key is 
down.

So there is no good way to get a signal when the command key, shift 
key,
or option key are depressed alone if you need to trap for that behavior
on a Mac.

As for how other games do it -- I don't know. Scott Raney told me it
wasn't possible, because the OS sends no message. So I am not sure how
other game programs manage it.

They do it by "polling", i.e. they sit in a tight loop watching the 
keymap (an internal Mac data structure that has the status of all the 
keys on the keyboard).

FYI, there was a decision made, a long time ago (circa 1983), that the 
Mac event system would not report shift, option, command or control key 
downs to applications.  The only way to determine if those keys are 
down is via polling, which can be done in Revolution by using an idle 
handler...

on idle
if the shiftkey is down then
... do something
end if
end idle
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Machine() function not showing Mac?

2005-02-22 Thread Frank Leahy
The machine() function is certainly a call into the Mac Toolbox, and if 
that doesn't have an entry for your machine, then it returns "unknown". 
 RunRev can't do any better than that.

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Feb 21, 2005, at 1:04 AM, [EMAIL PROTECTED] 
wrote:

From: Dar Scott <[EMAIL PROTECTED]>
Subject: Re: Machine() function not showing Mac?
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
On Feb 20, 2005, at 5:36 AM, graham samuel wrote:
but on a Mac (Blue and White G3, running 10.3.7), I get
unknown
The platform() function works fine on both machines.
I get "unknown" on 10.3.8 on MMD (dual 1.25GHz G4).
Well, linux hasn't checked in, so I'm just guessing, but it seems
machine() adds new info only on pre-X macs.
Dar
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Typing foreign characters in RunRev

2005-02-20 Thread Frank Leahy
On Feb 20, 2005, at 3:01 AM, [EMAIL PROTECTED] 
wrote:

From: Jonathan Cooper <[EMAIL PROTECTED]>
Subject: Re: Typing foreign characters in RunRev
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi Frank,
I just discovered something interesting while preparing to answer your
questions: If you set your keyboard to "U.S. Extended" (unicode), you
get very similar results to Apple Mail, except that, instead of the
umlaut being highlighted, it has a heavy underline. Otherwise, using
the "U.S.", "British" or "Australian" keyboards (via the Input tab of
"International" System Preferences), you can still type "ü" in a Rev
field (option-u, u); you just don't get any feedback until you type the
(second) "u".
Jonathan,
After a little further investigation, my problem is that I can't type 
foreign characters into my RunRev app's fields when I've got the US 
keyboard selected.  If I select the British keyboard or the US Extended 
keyboard, then I can type ümlauts to my heart's content in my RunRev 
app.  But not with the US keyboard.

With the US keyboard selected I can type foreign characters in all 
other apps, just not in RunRev.  Anyone have any ideas why this might 
be?  (RunRev 2.2, Mac OS X 10.3.7)

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Typing foreign characters in RunRev

2005-02-14 Thread Frank Leahy
Xavier,
Thanks, but I was looking for something that would emulate the way that  
it's done in every piece of software except Rev -- hold down option key  
and type "u", see floating dots, type "u" and get ümlaut.

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

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

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

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

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


Typing foreign characters in RunRev

2005-02-14 Thread Frank Leahy
I seem to be unable to type foreign characters into any RunRev (2.2) 
field, so it looks like I'll have to handle it myself.

Here's what I want to do:
When I type an ümlaut in Apple Mail, i.e. "option-u" followed by "u", 
first it shows me that I'm in "umlaut mode" by giving showing floating 
dots above the (empty) character, and hiliting those dots with a yellow 
hiliter.  Then, when I type "u" or "o" or any other character that is 
umlaut-able, it hides the yellow hiliting and inserts the correct 
character.

This is a nice interface for knowing that you're in "foreign character 
typing mode".  Has anyone written a similar routine for RunRev?  I'm 
about to write one, but if someone has some working code already and 
wanted to share it, I'd be most appreciative.

Thanks in advance,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Can't type foreign characters like ümlaut in my fields...

2005-02-07 Thread Frank Leahy
Hi,
I seem to be unable to type things like ümlaut and çedilla in the 
fields in my application (Arial font).  I can paste them in, but I 
can't type them.  Any ideas what is going wrong?  RunRev 2.2.

Thanks,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


export progressive jpeg causes a crash

2005-02-06 Thread Frank Leahy
Hi,
I've been testing my product, and I spent the greater part of the last 
2 days trying to track down a crash in code that had never failed 
before.  I finally tracked it to an "export image as JPEG" call, and 
after literally 100+ restarts of RunRev finally realized that the jpegs 
that were failing were all progressive jpegs (thankfully I have code 
that reads the jpeg header and can determine if it's a progressive 
jpeg).

Is anyone else able to confirm this?  I'm still using 2.2, so I'd be 
interested to know if it's in 2.5 as well.

Also, I didn't track it down to be 100% sure, but it looks like 
interlaced GIFs might have the same problem.

Maybe it's time to use the QT external...sigh...
Thanks,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing Crashes Rev in OSX

2005-02-04 Thread Frank Leahy
(I know others will chime in too, but...) If there's no "break" 
statement, Transcript falls through until it either finds one, or the 
end of the switch statement is reached.

switch (foo)
 case "a"
do_a
  case "b"
do_b
  case "c"
do_c
break
  case "d"
do_d
end switch
if foo = "a", then RunRev will execute do_a, do_b and do_c.  It then 
hits the "break" statement in case "c" and falls out of the switch.

So in your case, the print case was true, it executed the print lines, 
you didn't have a "break" statement so it continued executing.  It 
ignored the quit case, and executed the quit statements.

Does that help?
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Feb 4, 2005, at 4:59 AM, [EMAIL PROTECTED] 
wrote:

From: Sivakatirswami <[EMAIL PROTECTED]>
Subject: Re: Printing Crashes Rev in OSX
To: use-revolution@lists.runrev.com
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
On Feb 3, 2005, at 2:37 PM, Robert Brenstein wrote:
Sounds like the above scripts do what they are supposed to do. In both
cases, if the pWhichItem is quit, only the quit part executes.
However, if pWhichItem is print, the former script will do the
printing but because there is no break (meaning escape out of the
switch clause), it continues with functions under the quit case.
In the latter case, you do not actually need break at the very end
unless it s followed by the default case.
Robert

That still seems illogical..  "a boolean is a boolean is a boolean"
case "Quit" must evaluate to "false"
if the menuPick parameter was "Print"
Why would it then still execute the Quit statements?
I'm probably not understanding how Switch and Case actually work..
Sivakatirswami
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


GIF scaling problems followup...

2005-02-03 Thread Frank Leahy
I'm thinking that the scaling problems I'm seeing with resizing GIFs is 
related to their being 8-bit.

I've tried resizing, then exporting to a jpeg file, then reimporting 
and exporting to a GIF.  I can see that the temp jpeg file looks great, 
but the exported GIF still looks like sh-t.

Anyone know if there's a hidden 24-8 scaling quality command lurking 
somewhere?

Thanks,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


GIF export scaling problems

2005-02-03 Thread Frank Leahy
Has anyone else tried to use the GIF export?  It appears to work in 2.2 
without a key (the patent ran out just before 2.2 was released).

The problem I'm having is that when you scale the GIF image smaller it 
looks terrible.  Does anyone know if there's a command that will tell 
RunRev it to do a better job of scaling, maybe something like 
resizeQuality?  Or will I have to output a temp jpeg image, read it 
back in and re-output as a GIF?

Thanks,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Scrolling groups get messed up after saving

2005-02-03 Thread Frank Leahy
Jonathan ,
Yes, I've seen the same thing.
There appears to be an instant when the save dialog is still up, the 
stack gets saved, the scrollbar moves just slightly, the save dialog 
disappears, and the bits under the dialog box are restored incorrectly 
(so everything is off by 2-3 pixels).  Looks like sh-t, but there seems 
to be nothing I can do about it.

Is this a problem on during development, or are you seeing this in an 
application as well?  If it's just during development, I find that 
scrolling up and down a little fixes the visual garbage.

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

From: "Lynch, Jonathan" <[EMAIL PROTECTED]>
Subject: RE: Scrolling groups get messed up after saving
To: "How to use Revolution" 
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="utf-8"
On reopening the card, it is fine - it is just that scrolling groups 
looked messed up after a save - no closing the card involved.

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


RE: Scrolling groups get messed up after saving

2005-02-03 Thread Frank Leahy
Jonathan,
Are you choosing save from the file menu while the stack is still open, 
and after the save completes the stack is messed up?

Or are you closing the stack after the save, and on reopen it's messed 
up?

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

From: "Lynch, Jonathan" <[EMAIL PROTECTED]>
Subject: RE: Scrolling groups get messed up after saving
To: <[EMAIL PROTECTED]>,  "How to use Revolution"

Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="US-ASCII"
I am encountering the problem while saving, rather than while closing.
I tried setting the vscroll to 0 - but it did not work.
I even tried sending a custom message to the stack in 1 tick (after
saving), then having that custom handler set the vscroll to 0 - but
still no luck.
Thanks for trying though - any other suggestions?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SpecialFolderPath

2005-02-03 Thread Frank Leahy
Paul,
You don't typically add icons within Rev, you do it with an installer.
I'd check out Monte's installer -- it does a nice job building simple 
installers on both Mac and Windows.

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

From: Paul Salyers <[EMAIL PROTECTED]>
Subject: Re: SpecialFolderPath
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"; format=flowed
At 01:05 PM 1/21/2005, you wrote:

the specialFolderPath of folderIdentifier
specialFolderPath(folderIdentifier)
specialFolderPath("Preferences")
set the defaultFolder to specialFolderPath("documents")
put specialFolderPath("asup") into appSupportFolder -- special 
constant

I need help one last time. :)
I found the above code on Rev doc-help section by searching for 
"Special"
but as usually no coding help!

can some1 help me with a small stack that will place an icon  on the 
desk
top to run the program from the current location.

Thank you


  Can some1 give a working stack example for desktop, Start menu, &
Programs menu?
I want this fir PC, but also like it for Mac & Linux.
Paul Salyers
PS1 - Senior Rep.
[EMAIL PROTECTED]
Http://ps1.SoftSeven.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Socket timeout not working with libUrl

2005-02-01 Thread Frank Leahy
Sarah,
Unfortunately there's two types of being "disconnected".  One where 
you've no net connection at all, and one where you're on a LAN, but not 
connected to the Internet.  Here in Cornwall I have only modem access, 
so I've a LAN but no net connection most of the time, which is how I 
stumbled across this problem.

The issue appears to be how Mac OS X does DNS lookups.  The routine 
"lookupd" appears to be the culprit, and RunRev would need to modify 
how they call it to make it non-blocking.

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Feb 1, 2005, at 4:59 AM, [EMAIL PROTECTED] 
wrote:

From: Sarah Reichelt <[EMAIL PROTECTED]>
Subject: Re: Socket timeout not working with libUrl
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
   2) If I open the socket with a domain address, e.g.
www.webphotospro.com, Mac OS X does a DNS lookup, puts up the rainbow
rotating color cursor, and hangs until the DNS lookup fails.  On my
machine this takes 60 seconds (apparently it's dependent on how many
dns servers you have listed).
What happens if you try:
   hostNameToAddress("www.webphotospro.com")
and use the result of that as the address for opening the socket?
In my tests, this takes about 4 seconds the first time it is called if
I am connected (which is long enough for the SPOD to appear). When I am
disconnected, it fails instantly and return empty.
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: copy image from application browser

2005-02-01 Thread Frank Leahy
On Feb 1, 2005, at 4:59 AM, [EMAIL PROTECTED] 
wrote:

From: Chipp Walters <[EMAIL PROTECTED]>
Subject: Re: copy image from application browser
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
(perhaps RR will give us the 'code' to export it as a GIF?)
I pinged RR about this awhile back, and they said that it's been 
possible to export GIFs without an unlock code since 2.2 or so as that 
was about the time the GIF patent expired.

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Socket timeout not working with libUrl

2005-01-31 Thread Frank Leahy
Sarah,
Thanks for the reply.
After a lot of testing on Mac OS X, I've found that the problem I was 
having appears to be due to the way that Mac OS X does DNS lookups.  
Whether or not it's a RunRev bug as well is hard to tell, but I think 
it might be.

Here's some sample code I wrote.  This code sends a "My5SecondTimeout" 
message to itself, opens a socket, makes an HTTP GET request, waits for 
the response, and closes the socket.  (Note: I had to use this 
"My5SecondTimeout" message because setting the socketTimeoutInterval 
doesn't seem to work).

When you run this script and you're not connected to the internet 
here's what happens:

   1) If I open the socket with an ip address, e.g. 64.125.128.80, my 5 
second timer will fire, and I can close the socket and exit from the 
routine.

   2) If I open the socket with a domain address, e.g. 
www.webphotospro.com, Mac OS X does a DNS lookup, puts up the rainbow 
rotating color cursor, and hangs until the DNS lookup fails.  On my 
machine this takes 60 seconds (apparently it's dependent on how many 
dns servers you have listed).

I'm guessing this is a RunRev bug, but I can't be sure.  Basically 
RunRev hangs for 60 seconds while the DNS lookup takes place during the 
"open socket" call -- it doesn't send a socket timeout, and it doesn't 
the "My5SecondTimeout" message either.

Can confirm this?
Thanks,
-- Frank
on mouseUp
  set the socketTimeoutInterval to 5000 -- this seems to do nothing, 
but set it anyway
  global theIp, socketIsOpen, socketTimedOut
  put "www.webphotospro.com:80" into theIp -- using this causes RunRev 
to hang for 60 seconds
  -- put "64.125.128.80:80" into theIp -- using this does not cause a 
hang
  put false into socketIsOpen
  put false into socketTimedOut

  send "My5SecondTimeout" to button "Ping" in 5 seconds -- send a 
message to myself
  close socket theIp -- in case it's currently open
  open socket to theIp with message "mySocketOpenMsg"
  wait until socketIsOpen or socketTimedOut with messages
  if socketTimedOut then
close socket theIp
answer "socket timed out"
  end if
end mouseUp

on My5SecondTimeout
  global socketIsOpen, socketTimedOut
  if not socketIsOpen then
put true into socketTimedOut
  end if
end My5SecondTimeout
on mySocketOpenMsg theParams
  global theIp, socketIsOpen
  put true into socketIsOpen
  write "GET / HTTP/1.0" & numToChar(13) & numToChar(10) & 
numToChar(13) & numToChar(10) to socket theIp
  read from socket theIp for 50 with message "mySocketReadDoneMsg"
end mySocketOpenMsg

on mySocketReadDoneMsg socketId, theData
  global theIp
  close socket theIp
  answer "read done: " & socketId && theData
end mySocketReadDoneMsg
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Jan 31, 2005, at 1:16 AM, [EMAIL PROTECTED] 
wrote:

From: Sarah Reichelt <[EMAIL PROTECTED]>
Subject: Re: Socket timeout not working with libUrl
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
My product pings the Web Photos Pro website to look for new versions.
This works great when the computer the product's running on is
connected to the internet, but it hangs for 60 seconds when there's no
net connection.
My code looks like this:
  set the socketTimeoutInterval to 5000
  put URL (getPhotoAlbumUrl() & "downloads/version_info.php") into
newVersion
Is there any way I can force a timeout after 5 seconds?  Should I be
using a non-blocking URL request?  Should I be attempting to open a
socket directly to do an initial "am I connected to the internet?"
request, before making the URL request?
Hi Frank,
I would definitely use a non-blocking request, so the user won't even
notice if it is trying & failing.
Try something like:
   set the socketTimeoutInterval to 5000
   put (getPhotoAlbumUrl() & "downloads/version_info.php") into tURL
   load tURL with message gotVersion
Then you need a "gotVersion" handler in the same object:
on gotVersion
   put URL (getPhotoAlbumUrl() & "downloads/version_info.php") into
newVersion
   -- check newVersion & do the usual stuff
end gotVersion
Hope this helps,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Success with Sending email without a SMTP Server!!!!

2005-01-31 Thread Frank Leahy
Richard,
Authentication is only required for relaying (unless the server hasn't 
been set up properly) -- i.e. my SMTP server won't relay mail to 
someone else for *you*, but it will relay it for *me* because I'm 
authenticated.

On the other hand, my server will accept mail *for me* from anyone.  If 
it didn't, I wouldn't get much mail :-)

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Jan 31, 2005, at 6:43 AM, [EMAIL PROTECTED] 
wrote:

From: Richard Gaskin <[EMAIL PROTECTED]>
Subject: Re: Success with Sending email without a SMTP Server
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
But doesn't this mean that all any spammer has to do is use the same
trick to send spam to a recipient on the recipient's own SMTP server?
--
  Richard Gaskin
  Fourth World Media Corporation
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Socket timeout not working with libUrl

2005-01-28 Thread Frank Leahy
Hi,
My product pings the Web Photos Pro website to look for new versions.  
This works great when the computer the product's running on is 
connected to the internet, but it hangs for 60 seconds when there's no 
net connection.

My code looks like this:
  set the socketTimeoutInterval to 5000
  put URL (getPhotoAlbumUrl() & "downloads/version_info.php") into 
newVersion

Is there any way I can force a timeout after 5 seconds?  Should I be 
using a non-blocking URL request?  Should I be attempting to open a 
socket directly to do an initial "am I connected to the internet?" 
request, before making the URL request?

Thanks in advance for any suggestions.
Regards,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Getting User Email Settings

2005-01-28 Thread Frank Leahy
Dan,
Unless this stack is going to be used by 100s or 1000s of people, and 
used to send 1000s of emails, why not hard code the settings to your 
own smtp server?

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Jan 28, 2005, at 3:25 AM, [EMAIL PROTECTED] 
wrote:

From: Dan Shafer <[EMAIL PROTECTED]>
Subject: Re: Getting User Email Settings
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Ouch.
I was afraid of that.
Oh, well, back to the drawing board.
Yeah, revMail won't do the job here because we need to be able to send
HTML mail and attachments. Shao Sean's libEmail/libSmtp combo works
great and does exactly what I need but requires the user's SMTP info to
send the email.
So for now at least it appears I can't automate this. That's after
spending about six hours getting all the libSmtp stuff working.
Oh, well, I'm sure the learning will come in handy someday!
dan
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Disappearing Mouse!!??

2005-01-27 Thread Frank Leahy
I can confirm the disappearing cursor problem, within the IDE on 
Windows 2000.

If you double-click a .rev file on Windows 2000, which then launches 
the IDE (Rev 2.2 or 2.2.1), the cursor disappears whenever the cursor 
is inside any Rev window.

But if you first open the IDE, then open the .rev stack using the File 
Open... menu (from inside the IDE), the cursor shows correctly.

This would seem to be the same behavior that Alex is seeing with 
DreamCard.  Looks like this is a long-standing bug that never got 
fixed.

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Jan 27, 2005, at 10:34 AM, [EMAIL PROTECTED] 
wrote:

From: Alex Tweedly <[EMAIL PROTECTED]>
Subject: Re: Disappearing Mouse!!??
To: [EMAIL PROTECTED],  How to use Revolution

Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
J. Landman Gay wrote:
It is already submitted a couple of times as a bug rather than as an
enhancement:

This particular one is still marked as unconfirmed, but we have had
several reports of it in the support queue too. I distinctly remember
entering it in Bugzilla myself, but now I can't find it. So there is
another one in there somewhere as well.
It would be good to add any new reports to the above, since that one
is marked as an actual bug.
Those are two different problems.
2147 says that sometimes, mostly when the cursor is near the end of a
line in a TEXT field, the blinking "upright bar" text cursor will 
disappear.

2138 says that (certainly in Dreamcard player) if a stack is opened by
double-clicking the .rev file, the cursor is completely invisible - any
cursor, not just the text one, and all the time - the app is 
effectively
unusable. When run in the IDE, there is no problem.

If I can get a "clean" computer, with no player already installed to
confuse things, I'll test a new installation to see if I can confirm
that the problem occurs with the launcher rather than the Player. If it
does, I'll change the Bugzilla entry to a bug.
But I can't help feeling that this kind of investigation is what I
expect a company to do for itself, not rely on its users to do for it.
There's a serious deficiency - I don't care whether you call it a bug 
or
an enhancement. Every Windows app in the world is (can be) run by
double-clicking on its icon - except Dreamcard apps.  (and possibly
Studio/Revolution apps - but I can't test that).

I can only imagine the impression this would give to a first time user
(who might well be a last-time user as well).
-- Alex.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Credit card processing.. more info

2005-01-24 Thread Frank Leahy
Richard,
This is actually quite straightforward.  Here's how I would attack the 
problem:

1) set up a dummy page on my web server that would 1) collect data 
POST-ed it to it 2) save it to a text file, and 3) return a text string 
"OK".

2) in my RR app, I would build the POST using all the required credit 
card fields as described by the vendor

3) next I would open a connection (just a standard http connection, not 
a https connection) to my web server page (see above) and POST the 
credit card data.  I should get back the "OK" string.

4) Then I'd check the text file on my web server...did all the POST 
data arrive?  If it didn't, I'd fix things until it worked.  Once it 
works then I know that my app is posting all the required data 
correctly.

5) Now I'd send that same data using a https connection to the credit 
card processor test page (I'm sure they have one that allows you to 
post test data).

6) Did I get the required response back?  Did the transaction appear in 
their database?

7) Done
Good luck,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Jan 24, 2005, at 11:26 AM, [EMAIL PROTECTED] 
wrote:

From: Richard Miller <[EMAIL PROTECTED]>
Subject: Credit card processing.. more info
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset=WINDOWS-1252;   format=flowed
We've received a bit more information on this issue of processing a
credit card transaction directly from Rev, and I'm hoping someone here
can help interpret it. Please shed any light you can. This response
comes from the folks at e-Onlinedata / Authorize.net. Thanks. Richard
Miller

Richard,
 
Take a look at our documentation page
(http://www.authorizenet.com/support/guides.php).  I just want to make
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing Hell

2005-01-23 Thread Frank Leahy
Mark,
I don't know if this would work, but what about printing from Chipp's 
altBrowser plugin?

Maybe Chipp can chime in here about whether one can print from 
altBrowser.

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Jan 23, 2005, at 9:16 PM, [EMAIL PROTECTED] 
wrote:

From: Mark Smith <[EMAIL PROTECTED]>
Subject: Printing Hell
To: use-revolution@lists.runrev.com
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Can anyone point me to a Rev printing tutorial? I'm having enormous
trouble getting simple things to print properly.
For a start,  9 point text prints as 11 point, so apart from not being
what I want, the text no longer fits on the page...so I set the
printScale to 0.75.
Now the text looks ok, but the borders around it are either very faint
or missing completely...
I think what I'm trying to do is simple:
I have five vertical fields on a card, with their borders butted up
against each other, I fill each field with text, and print, with the
above hilarious results.
As you can tell, printing seems to be insanely hard to do, at least for
me. Each time I try to set up a printing scenario, I eventually give up
and resort to copying text from Rev into other apps and re-formatting
and printing from there, without problem.
I'm on OS X, and using a simple cheapo HP inkjet printer, though I've
had the same trouble with all my printers.
Any help gratefully recieved,
Cheers,
Mark
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mac Menubar Again...

2005-01-21 Thread Frank Leahy
Chipp,
To each menubar group I add this function:
on mouseDown
  UpdateMenus
  pass mouseDown
end mouseDown
where UpdateMenus is a handler that updates all the menus in the 
menubar group.

And in each stack I have something similar to this (changing the stack 
name as needed), so that it updates the menus when a command/control 
key is used:

on RawKeyDown
  if the short name of this stack contains "List of Albums" then
if the commandKey is "down" then
  UpdateMenus
end if
  end if
  pass RawKeyDown
end RawKeyDown
This seems to work fine on both Mac and Windows (but now that I think 
about it, I wonder if this gets called if you use the keyboard to 
browse a menu on Windows).

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Jan 21, 2005, at 4:28 PM, [EMAIL PROTECTED] 
wrote:

Date: Fri, 21 Jan 2005 17:03:57 +1000
From: Sarah Reichelt <[EMAIL PROTECTED]>
Subject: Re: Mac Menubar Again...
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
The Mac menus DO respond to the mouseDown, but they don't know which
menu has been selected.
If you have a mouseDown handler in the menubar's group, it will be
triggered, but you will have to set ALL the menus at that point as you
have no way of knowing which is going to be displayed. (In Mac's once
the mouse button is clicked down in a menubar, it can be moved from
side to side and will display any menus under the pointer.)
Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


clear all breakpoints?

2005-01-17 Thread Frank Leahy
The recent messages regarding standalone errors related to breakpoints 
is worrying.  Does anyone know if there's a way to 1) determine which 
scripts have breakpoints, and 2) remove all breakpoints across all 
scripts?

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Finding bugs for RunRev [was Re: crash recipe for htmlText?]

2005-01-12 Thread Frank Leahy
On Jan 11, 2005, at 5:00 PM, [EMAIL PROTECTED] 
wrote:

From: Richard Gaskin <[EMAIL PROTECTED]>
Subject: Re: crash recipe for htmlText?
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Lynch, Jonathan wrote:
It was perfectly consistent - but I failed to bugzilla it. I was just
starting with Rev at the time, so I was thinking I was probably doing
something foolish that would become apparent later.
Perhaps I should try to reproduce it, then bugzilla it.
Or at least post the recipe here so we can verify it.  As long as I 
have
my hear buries in htmlText testing I'm happy to test such things here.

Anyone else come across anomalies with htmlText?
Thus far the notes in Mark Talutto's Bugzilla report at
 have been
the most helpful, but any and all info related to such things may be
very useful and would be much appreciated.
I'll continue honing in on it in my test stack, but since the results
vary so broadly it's not easy to pin down from testing alone
--
  Richard Gaskin
  Fourth World Media Corporation
I don't want to stop anyone from helping RunRev find bugs in their 
software, but it seems like it should be incumbent on RunRev to create 
a test environment that verifies that htmltext handles all well-formed 
and not-so-well formed values, rather than the other way around (i.e. 
have users find all possible cases that crash).  Richard and others may 
well find cases where htmlText crashes, but it's likely there are other 
cases as well, and simply fixing one or two Bugzilla-ed test cases will 
certainly leave those other problems in place.

There are long threads on this list about problems with things like 
htmlText, or cross-platform font issues that are obviously affecting 
everyone, and I keep expecting someone at RunRev to step in and say 
"hey, we hear you on the htmlText issue, we'll deal with it, thanks", 
or "hey, we hear you on the cross-platform font issue, we're working on 
it".  Even "forget the cross-platform font issue, we don't think it's 
important enough to fix" would be useful feedback.  But the current 
lack of direct feedback from RunRev is, to say the least, 
disheartening.

Regards,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Might be time for RunRev to go mobile...

2005-01-09 Thread Frank Leahy
http://gigaom.com/2005/01/08/microsoft-is-finally-mobile/
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Menu woes

2004-12-31 Thread Frank Leahy
On Dec 31, 2004, at 3:22 AM, [EMAIL PROTECTED] 
wrote:

From: Ben Rubinstein <[EMAIL PROTECTED]>
Subject: Re: Menu woes
To: "use-revolution@lists.runrev.com"

Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="US-ASCII"
I think there a bunch of different issues wrong (or in some cases, 
right but
not right for everyone) with how Rev handles menus, and have in the 
past
tried to describe a completely new architecture that could be 
introduced
without breaking compatibility at all, and addressing most of these at 
a
stroke.

...Lot of specific comments...
I'd be really interested in comments on this scheme.  I've shied away 
from
entering enhancement requests bugzilla about menus because I want so 
much.
But I actually think this could be quite a small request, and realy 
helpful;
so I'd like to know whether other people think it makes sense, and how 
it
could be improved.
Ben,
Perfect.  Exactly what I was envisioning when I suggested a separate 
menubar area below the titlebar and above the content area.  And as you 
say, Chipp can continue to do what he's doing with the existing 
functionality.  The only suggestion I might have is that a font fact 
and size be specifiable when setting the windows menubar in this new 
scheme.

Regards,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Menu woes

2004-12-30 Thread Frank Leahy
On Dec 30, 2004, at 5:00 PM, [EMAIL PROTECTED] 
wrote:

From: Richard Gaskin <[EMAIL PROTECTED]>
Subject: Re: Menu woes
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Frank D. Engel, Jr. wrote:
I suspect the easiest way to "fix" the menu issue and maintain some of
the current flexibility would be:
1. Keep the system as it is, for the most part.
2. When using a group as the Mac menu bar, do not scroll the stack.
3. When using a group as a menubar in the window, scroll and enlarge 
the
stack.  Now the rect of the card (for ex.) would have a negative 
minimum
vertical coordinate, since the menus would stop before reaching zero.

Of course, this would break backward compatibility somewhat, but not
nearly so much as some of the other proposals, and yet this would fix
some of the other problems which have been mentioned here...
I don't understand:  as I read that it seems to suggest that all we do
is switch the scrolling from Mac to all other OSes, so that instead of
the scroll taking place on 2.4% of computers it takes place on 97.6%.
Remember that having the menubar be part of the window rather than
detached is how every modern OS works except Mac.  We could debate the
efficacy of that (Tog has a lot to say in favor of a detached menu 
bar),
but it won't likely change how Windows, GNOME, KDE, X11, and all other
non-Mac windowing systems work.
Having the menu area a separate section of the stack, just like the 
window title is, would solve the problem.  No scrolling problems, no 
resizing problems.

By the way, Tog did that "research" he keeps talking about at Apple 
pre-1986 (when I got there), on a 9 1/2 inch original Mac screen.  His 
results aren't applicable to 1) larger screens, 2) multiple monitors, 
or 3) doing fine detail work in programs such as photoshop which use 
tearoff menus to advantage, allowing you to move the menu close to the 
area you're working in.

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


Re: menu woes...

2004-12-29 Thread Frank Leahy
On Dec 30, 2004, at 12:02 AM, [EMAIL PROTECTED] 
wrote:

Subject: Re: menu woes...
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
[EMAIL PROTECTED] wrote:
However, documentation is just a stopgap measure;
Until the "Getting Started" info is restored it's a rather large gap. 
;)

what is really needed is an easier, more reliable
way of handling menus in Rev.
What do you propose?
I think the Windows menu bar should be a separate object in the window, 
that is not attached to the "content" area.  This would mean that a 
window was comprised of the window titlebar (on Mac and PC), the window 
menu bar (on PC only), and the window content area (on Mac and PC).

The current hidden group implementation is fraught with problems.  For 
example, I want to change the font to something larger than the 
default, but I don't dare for fear of doing something that will never 
be correctable.

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: function to calculate string length...

2004-12-26 Thread Frank Leahy
If you have strings that are much longer than the field size, then 
using a binary algorithm might be faster.  Check the string length, if 
too big, then check the length of 1/2 the string, if too small, then 
check the length of 3/4 of the string, and so on until you get within a 
character or two.  You could also take the width of a medium character, 
such as "n", and use that to get you to within a couple of chars of the 
correct length.

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Dec 26, 2004, at 5:00 PM, [EMAIL PROTECTED] 
wrote:

From: Chipp Walters <[EMAIL PROTECTED]>
Subject: Re: function to calculate string length...
To: [EMAIL PROTECTED],  How to use Revolution

Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Well, I cobbled this together from some of the archives...
Anyone see an obvious place to optimize?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Using Md5Digest on stacks loaded in memory

2004-12-26 Thread Frank Leahy
On Dec 25, 2004, at 4:55 PM, [EMAIL PROTECTED] 
wrote:

From: Alejandro Tejada <[EMAIL PROTECTED]>
Subject: Using Md5Digest on stacks loaded in memory
To: use-revolution@lists.runrev.com
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii
Hi Dar,
Thanks a lot for answering this question.
Dar Scott wrote:
But, How could i get the md5Digest of a
stack loaded in memory?

I don't know if you can relate a stack in
memory to an md5Digest created for a binary file.
But, it's possible to get a md5digest of a custom
property that only exist in memory, because
the stack has not been saved to disk yet.
So it could exist some way to get the md5digest
from a stack that exist only in memory
(and still has not been saved to disk).
Just a thought...I haven't tried it myself, but Is it possible that 
setting the custom property to store the MD5 digest is altering the 
stack so that the in-memory MD5 digest no longer matches the on-disk 
value?

Have you tried getting the MD5 digest from the stack on disk, NOT 
setting the MD5 digest property, then seeing what the MD5 digest 
returns from the stack in memory?  If they match, then you know that 
setting the MD5 digest property is disturbing the in-memory MD5 digest 
calculation.  In that case you can probably 1) remove the MD5 digest 
property from the stack, 2) calc the MD5 digest of the on disk version, 
3) store the MD5 digest custom property, 4) open the stack in memory, 
5) remove the MD5 digest custom property, and 5) calc the MD5 digest of 
the in memory stack (minus the MD5 digest property).

Regards,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: DreamCard Review-PCPLUS

2004-12-23 Thread Frank Leahy
The review doesn't appear to be available online, which is why he can't 
give us a URL for it (either that or there wasn't actually a review)
-- Frank

Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Dec 23, 2004, at 10:04 PM, [EMAIL PROTECTED] 
wrote:

From: [EMAIL PROTECTED]
Subject: DreamCard Review-PCPLUS
To: use-revolution@lists.runrev.com
Message-ID: <[EMAIL PROTECTED]>
Let the flames begin!!
"Flame, flame, burning hot
Rise up now and scorch the lot.
Let the stench of flesh a-burning
Leave them all with stomachs churning."
WOW! Talk about the pot calling the kettle black! Looks like a lump of 
coal in your stocking this Christmas--HO-HO-HO!

If  "issue 224" isn't sufficient to clue you in to it being a 
publication of some type, you might as well just skip over the whole 
post. You could have spent your time doing a Google search rather than 
ranting at me. I stand by my statement in the prior post: "I would 
think if you can figure out DreamCard/Revolution, you should most 
certainly be able to determine how and where to find the review from 
the specific details given." I suspect from your rant that you wear 
blinders to all things non-Mac. Doesn't a title like PCPLUS tip you 
off this must be non-mac oriented?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Script local variables and initialization.

2004-12-23 Thread Frank Leahy
On Dec 23, 2004, at 10:04 PM, [EMAIL PROTECTED] 
wrote:

From: Dar Scott <[EMAIL PROTECTED]>
Subject: Re: Script local variables and initialization.
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
On Dec 23, 2004, at 1:42 PM, Alex Tweedly wrote:
The docs are a bit vague
The value of a script local variable is retained between handlers,
but is lost when you quit the application, when you close the stack
(unless its destroyStack property is false), or when the script is
re-compiled.
which doesn't really mention start-up conditions.
The key word might be "re-compiled".
I would have thought that it would be re-compiled only once and that at
first use.
Here is a way to find out if it is being compiled twice and when.  Use
a later version and put in a new command in the script.  Then open the
stack on an earlier version that doesn't have the command.  You will
get an error when it compiles.  If it really compiles twice, then you
will get it twice.
It gets recompiled whenever you edit a script and click "Apply".  So, 
if you've initialized something in openCard or preOpenCard, or some 
other pre or open handler, then edit the script, the variables will 
become uninitialized.

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: testing for Internet connection

2004-12-19 Thread Frank Leahy
On Dec 19, 2004, at 3:04 PM, [EMAIL PROTECTED] 
wrote:

From: Mark Brownell <[EMAIL PROTECTED]>
Subject: Re: testing for Internet connection
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
On Saturday, December 18, 2004, at 06:19 PM, Mark Brownell wrote:
Variants of that seem to be the most commonly-used method, but the
counter-argument that's been raised here is that there's no way to
differentiate between a transaction that fails because of the lack of
a connection and one caused by an error from the server -- is there?
--
 Richard Gaskin
I reread your question.
I have no idea if there is a way to confirm a connection ruling out for
error.
Oh well...
Mark
You can pretty safely assume that something like www.yahoo.com is 
accessible if an internet connection is available.  So first check for 
www.yahoo.com and then check for your server.

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


Re: revCopyFolder problems in Rev 2.5

2004-12-15 Thread Frank Leahy
Chris,
You might look at the code of revCopyFolder and see if it's doing 
something different in 2.2 vs 2.5.  You can find the code by selecting 
"View: Rev UI Elements In Lists" from the menu bar, then opening the 
Application Browser and looking for the revLibrary stack, selecting 
"card id 1002", then looking at the script for button "revCommon".  In 
that script you'll find the code for revCopyFolder.  In 2.2 mine shows

get shell ("cp -rf" && quote&pSrcFolder"e && 
quote&pDestFolder"e)

for OS X, with other values for System 9 and Windows.
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Dec 15, 2004, at 2:39 AM, [EMAIL PROTECTED] 
wrote:

Subject: Re: revCopyFolder problems in Rev 2.5
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Does anyone know if revCopyFolder is broken in Rev 2.5 build 2?  I'm
having
problems with it.  Calling "the result" right after it returns
"execution
error".  If I revert back to Rev 2.2 it works fine.  Anyone else had
problems with this?
Thanks,
Chris Sheffield
Software Development
Read Naturally
Works fine here, but I have done the updates. OS X 10.3.6
Cheers,
Sarah
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Lessons from Themes

2004-12-02 Thread Frank Leahy
On Dec 2, 2004, at 5:00 PM, [EMAIL PROTECTED]  
wrote:

From: [EMAIL PROTECTED]
Subject: Re: Lessons from Themes
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID:
	<[EMAIL PROTECTED] 
boerse.de>


First of all, windows 2000 doesn't offer an XP theme.
So, all you can do is simulate Windows 95 technology (9 years old!).
Second, if RR is going to be multiplatform, or even just WinPlatformed
you can't prepare the GUI for the other environments without investing
into
that platform.
...
All your suggestions and tips are welcome!
regards,
Xavier
Native themes are the way to go, there's no reason for RunRev to spend  
1 minute on porting non-native themes to other platforms.  If your  
clients are still using 2000 then they don't expect it to look like XP.

It may be a cross-platform development tool, but they don't make it  
easy to actually get an app out the door on multiple platforms...I  
picked the worst offenders (in terms of controls that don't line up  
cross-platform) and use two profiles, one for MacOSX and one for  
Windows, to jiggle them up or down as needed.

That said, it would be nice if they would take even the littlest bit of  
care and make sure that control font-baselines actually lined up across  
platforms.  I submitted a bug before 2.5 went out, showing that there's  
a problem with fields and controls not lining up when you move a stack  
cross-platform, along with a very simple way to see how this happens,  
but they decided it wasn't important enough to fix.  Oh well...

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Presenting successive file names in 'Open'

2004-12-01 Thread Frank Leahy
On Dec 1, 2004, at 4:49 PM, [EMAIL PROTECTED] 
wrote:

From: Graham Samuel <[EMAIL PROTECTED]>
Subject: Presenting successive file names in 'Open'
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Folks
I'm not sure how to approach this problem:
I want a user to see the contents of a series of text files, all in the
same folder. Let's say the files are called A01,A02... G99 or something
like that. The sequence of operations is -
...
All thoughts gratefully received.
TIA
Graham
I'd recommend writing your own file list chooser.  It's easy enough -- 
create a new stack, add a list field, a couple of buttons, and you're 
done.  Look up the files names, then present them to the user in a way 
that works best for you (and them).

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Credit card processing

2004-12-01 Thread Frank Leahy
On Dec 1, 2004, at 4:49 PM, [EMAIL PROTECTED] 
wrote:

From: Richard Miller <[EMAIL PROTECTED]>
Subject: Re: Credit card processing
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
OK, let me try again. Here's want I want to do (and I know it can be
done through numerous other programming environments).
What Rev options are available to do this?
None directly, you'll have to code it yourself using the SSL features 
in 2.5.

You will need to find a credit card processor that supports a web-based 
protocol (e.g. XML over HTTPS) that let's you send the CC info, and get 
back a response (e.g. ok, declined, etc.).  There are several 
processors out there who have such a protocol -- 
http://www.concordefsnet.com/ is one such, and you can find others by 
Googling for "credit card processor https xml".

Good luck,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: set MenuHistory without the menuPick call?

2004-11-30 Thread Frank Leahy
On Nov 30, 2004, at 9:21 PM, [EMAIL PROTECTED] 
wrote:

rom: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 30 Nov 2004 13:12:24 EST
Subject: Re: set MenuHistory without the menuPick call?
Is there any way to call menuHistory without it  calling menuPick?  Or
do I have to set a flag so that my menuPick  routines ignore calls 
made
via menuHistory?

set the  menuHistory of btn MyBtn to n
Unfortunately that makes a call to menuPick.
I've solved the problem by writing a wrapper routine
on MyMenuHistory buttonName, itemNumber
  put true into gMenuHistoryBeingCalled
  set the menuHistory of button buttonName to itemNumber
  put false into gMenuHistoryBeingCalled
end MyMenuHistory
and then in each of my menuPick routines I test to see if 
gMenuHistoryBeingCalled is set to true (exiting if it is).

Thanks for the help,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


set MenuHistory without the menuPick call?

2004-11-30 Thread Frank Leahy
I can set the label of a popup, but the only way to get the label item 
to appear under the mouse is by calling menuHistory.

Is there any way to call menuHistory without it calling menuPick?  Or 
do I have to set a flag so that my menuPick routines ignore calls made 
via menuHistory?

Thanks,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


drag and drop problem...

2004-11-27 Thread Frank Leahy
Hi all,
I have a list field containing album titles, which the user can reorder 
using drag and drop -- click on a title and a field appears (on top of 
the list field) that follows the cursor.  When you release the mouse 
the field disappears and I then reorder the albums. All of that works 
great. (Note, I don't use the drag and drop manager, I simply set the 
tracking field visible, move it around under the cursor, and then set 
it invisible again after the mouse is up).

What DOESN'T work is the next mouse click.  After doing the 
set-visible/drag/set-invisible sequence, the next time you click 
anywhere in the window, the mouse click goes to the card, not to the 
item under the mouse click, regardless whether the item is a button or 
a field.  I've also noticed that when moving the cursor over an 
editable text field the cursor doesn't switch to an i-beam until after 
the next mouse click.

Something's setting the target to the card and I can't figure out what 
it is.  Any suggestions on what may be going on?

Thanks in advance,
-- Frank Leahy
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Unicode for cross-platform use (Dean Snyder)

2004-11-18 Thread Frank Leahy
Tuviah,
On Nov 19, 2004, at 2:27 AM, [EMAIL PROTECTED] 
wrote:

Subject: Re: Unicode for cross-platform use (Dean Snyder)
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain

Hints and suggestions are very, very welcome. I am using Rev 2.1.
Anyone using Unicode should switch to 2.5 where all reported Unicode 
problems were resolved. If you store the text in fields, they are 
byteswapped automatically. You will have to write your own script to 
do the byteswapping when reading from files.
In 2.2 I'm using
  set the unicodetext of field "Unicode Text" of card "iPhoto" of stack 
"Preferences" to uniencode(URL unicodeFile, "UTF8")

to read a UTF8 file into RunRev.  Is RunRev not doing byte swapping 
automatically in this case?  (It's reading an iPhoto xml file that's 
UTF-8 encoded, so I've never actually tested whether it reads a Windows 
byte-swapped file).

Also, is there really no read/write of UTF-8 files in RunRev?  That 
would seem to be an oversight, no?

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Metal .gif available [was Rev 2.5 Redraw Problems]

2004-11-18 Thread Frank Leahy
Having read about the various problems with metal windows in 2.2 and 
2.5 I decided to see if I couldn't fake it with a metal 
backgroundPattern.  I tweaked a pattern I found on the web, and it 
looks pretty good, with no obvious lines between the tiles.  If anyone 
wants to use it let me know and I'll post it.  Using it is as easy as 
typing "set the backgroundPattern of this stack to theId" (where theId 
is the id of the pattern after you've imported it into your stack).

-- Frank
p.s. It isn't perfect, because there really needs to be a 
semi-transparent image that gets stretched over the top of the gif 
(providing a bit of shadowing), but I found that stretching the png 
image caused RunRev to crash my machine (that's right, it actually 
crashed OSX!) so I gave up having it look perfect...but it's pretty 
close as is, so I'm happy.

Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Nov 18, 2004, at 6:15 AM, [EMAIL PROTECTED] 
wrote:

From: Gregory Lypny <[EMAIL PROTECTED]>
Subject: Rev 2.5 Redraw Problems
To: Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Hello everyone,
I'm curious to know whether the redraw problems in 2.5 have been
resolved in some sort of update.  In my version, working in OS X, all
controls disappear (it's scary) from metal-look windows when I switch
from one of the pointer tools in the Object Inspector to the stack
itself.  This happens quite often.  The controls reappear with random
clicking or resizing the stack window using the resize grip.
Greg
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Wrapper for answer and ask?

2004-11-17 Thread Frank Leahy
Hi,
Has anyone written a nice wrapper for answer and ask that supports a 
top message (in bold, larger font) and a second message below (smaller 
font size), that lines breaks automatically (so that lines don't get 
too long)?  I'm just about to write one and thought I'd see if anyone 
had one they'd be willing to share.

Thanks,
-- Frank Leahy
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Way to speed up append strings?

2004-11-14 Thread Frank Leahy
I have a preferences file that is fairly large (30K+), and it's created 
on-the-fly using "append string" functions, e.g.
   put "this data and that data..." after thePrefs
   put "some more data..." after thePrefs
   put "even more data..." after thePrefs

This is getting slower than I'd like, and it appears that the slowdown 
is because the append functions are getting slow.  I'm guessing that 
RunRev is reallocating memory on each append, then copying the existing 
string and the appended string into the newly allocated memory.  And 
because I have lots of little appends this really slows things down 
(and no, there's no way to make the appends longer and therefore 
fewer...).

My question is this: is there a way to tell RunRev that I want it 
should start with a big string block (e.g. 64K of memory), when I first 
create the string?

If not, I'll have to go to a "write to temp file and then re-read from 
temp file" type of solution (because writing and reading to a temp file 
appears to be significantly faster than doing lots of little appends).

Thanks,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Multiple shell commands

2004-11-07 Thread Frank Leahy
On Nov 7, 2004, at 2:30 AM, [EMAIL PROTECTED] 
wrote:

That was part of my question; I can't seem to get those formatted
correctly. When I add quotes around each of the paths, Windows says
there are too many parameters.
Any chance you need to double-up the last backslash, or maybe all the 
backslashes?

"c:\\foo\\bar\\"
or
"c:\foo\bar\\"
-- Frank
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: FileFormat for uploading/downloading OS X apps

2004-11-04 Thread Frank Leahy
On Nov 4, 2004, at 5:00 PM, [EMAIL PROTECTED] 
wrote:

From: Frank Engel <[EMAIL PROTECTED]>
Subject: Re: FileFormat for uploading/downloading OS X apps
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=MACINTOSH; format=flowed
Another point is that OS X apps are *NOT* files -- they are "Bundles",
which are actually folders disguised as files.  If you try to treat the
app as a file you are likely to run into problems with transfers like
this.  You need some kind of archive mechanism to be able to transfer
the entire application as a folder, not as a file.  That is why
something like Stuffit is needed.
Another idea is to place the app into a disk image (a .dmg file) using
Apple's Disk Utility.
Assuming you have OS X.3:
And if you're trying to create an installer image, I highly recommend 
Monty's InstallerGadget.

http://www.sweattechnologies.com/InstallGadget/
It makes creating Mac and Windows installers a snap!
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: bug# 1619

2004-11-04 Thread Frank Leahy
On Nov 4, 2004, at 5:00 PM, [EMAIL PROTECTED] 
wrote:

From: Graham Samuel <[EMAIL PROTECTED]>
Subject: Re: bug# 1619
On Wed, 3 Nov 2004 14:59:49 -0500, Hershel Fisch
<[EMAIL PROTECTED]> wrote:
Hi all I'd like to ask every body to give there vote for bug# 1619.
I think that it is impossible to have  any serious business 
application
without being able to store print settings e.g. landMark , portrait
,margins,quality, color etc. the user shouldn't have to intervene . I
definitely think that it has the highest priority.
As the original poster of this bug/lack of feature, I'm glad to see 
someone
else who thinks that this matters. No self-respecting report generator
(hint!) nor really ANY app that does printing should have to put up 
with
the minimalist Rev printing interface. I've never understood why there
isn't more interest in this issue.
Yet another reason where access to the native platform OS calls would 
be a big win for everyone -- including RunRev (instead of having to add 
new features they could simply post some code that showed how to use 
the native OS for specific tasks).

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


RE: ANN: New tool for RunRev development

2004-11-03 Thread Frank Leahy
On Nov 3, 2004, at 3:46 PM, [EMAIL PROTECTED] 
wrote:

From: [EMAIL PROTECTED]
Subject: RE: ANN: New tool for RunRev development
To: [EMAIL PROTECTED]
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="US-ASCII"
I'm probably missing something in all this discussion...
typing in message box
  go stack url
"http://www.monsieurx.com/hyper/stacks/controlsbrowser.rev";
loads and displays stack fine.
Yes, as I mentioned, but it's the other link that I release from
PHPNuke that doesn't work that I want to work which doesn't! ;(
go stack url
"http://monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=69";

The reason that latter url doesn't work is because it returns a 302 
redirect.  RunRev must not handle 302 responses to "go stack url" 
requests.

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: use-revolution Digest, Vol 14, Issue 1

2004-11-01 Thread Frank Leahy
On Nov 1, 2004, at 5:00 PM, [EMAIL PROTECTED] 
wrote:

From: "MisterX" <[EMAIL PROTECTED]>
Subject: RE: image size limit?
To: "'How to use Revolution'" <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="us-ascii"
How about reading half the image, and assembling after you resize and 
take a
snapshot?

You can read half the image or by quarters Using a loop and reading 
the file
the "traditional" way with Open, read, close file...

Just wondering... ;)
The JPEG format is a compressed format, with a header that may or may 
not contain EXIF information and a thumbnail, followed by the 
compressed data.  You cannot simply open the file, read half of it, and 
expect it to be half of the picture -- that's not how compression 
works.  You have to find the header, skip the header, and then 
uncompress it as you read each byte or sequence of bytes.

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


Re: image size limit?

2004-10-30 Thread Frank Leahy
On Oct 30, 2004, at 5:00 PM, [EMAIL PROTECTED] 
wrote:

From: Geoff Canyon <[EMAIL PROTECTED]>
Subject: Re: image size limit?
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
If the goal is just to create a thumbnail, you could open the image as
binary data and create your own thumbnail. Performance is certainly a
question that would have to be answered.
Guffaw...you're kidding, right?  You can't really suggest that it's 
reasonable to try and write a jpeg parser in Transcript?

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


Re: image size limit?

2004-10-29 Thread Frank Leahy
Richard,
On Oct 29, 2004, at 9:41 PM, [EMAIL PROTECTED] 
wrote:

Subject:
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I've been trying to import an image into Rev, but all I get is junk.
The size of the image is 8192 x 4096 (tried both PNG and JPEG).  
Smaller
versions of the file work well.

Will I need to split it into tiles?
What is the image size limit in Rev?
On Mac OSX it's limited to 4096 x 4096 because RunRev is still using 
old style QuickDraw, and QDPixMaps are constrained to 4096 x 4096.  The 
same is not true in my tests on 2000/XP.

I added this as a bug before 2.5 went out, but they reassigned it as 
not a bug.

Too bad too, because digital photos can easily be bigger than 4000 x 
4000, and there's no other way to open an image that big in RunRev (or 
create a thumbnail, etc.).

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


ftp lib and setting unix permissions

2004-10-06 Thread Frank Leahy
Does anyone know if there's a way to tell the ftp library to 
automatically set permissions on directories and files it creates?  
Maybe something like "set ftpLibUnixPermissions to 666"?

The problem is that while you can use "put URL ftp://..."; to create a 
directory or file, it appears you have to use the low level ftp 
commands to CWD to the directory and set permissions on the directories 
and files using CHMOD.  Which wouldn't be so hard, except it appears 
that the ftp lib leaves you at the ftp home directory after creating a 
directory or file, not in the directory the directory or file was 
created in.

Thanks,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Cross Platform Font Question ?

2004-10-05 Thread Frank Leahy
Tahoma is on OS X by default?
Thanks Mark, I'll try that.
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Oct 5, 2004, at 8:27 PM, [EMAIL PROTECTED] 
wrote:

From: Mark Wieder <[EMAIL PROTECTED]>
Subject: Re: Cross Platform Font Question ?
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii
Frank-
Tuesday, October 5, 2004, 2:15:11 AM, you wrote:
FL> I'm using Arial, and it's not perfect but it's not bad on OS X and 
XP.

I've switched my Arial fonts to Tahoma (after recommendations from the
list) and find that it looks about the same to my eyes and works
*much* better cross-platform.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Cross Platform Font Question ?

2004-10-05 Thread Frank Leahy
On Oct 5, 2004, at 5:00 PM, [EMAIL PROTECTED]  
wrote:

From: Richard Gaskin <[EMAIL PROTECTED]>
Subject: Re: Cross Platform Font Question ?
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Frank Leahy wrote:
Why oh why isn't there an FAQ???
Or at least a searchable archive as lists customarily have.
But visiting Google with the arcane syntax yields 153 hits on the topic
here:
<http://www.google.com/search?num=20&hl=en&lr=&ie=UTF 
-8&safe=off&q=cross-platform+font+site%3Alists.runrev.com&btnG=Search>
153 hits.  Right.  Useless.
No really, why isn't there an FAQ?
-- Frank
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Cross Platform Font Question ?

2004-10-05 Thread Frank Leahy
Why oh why isn't there an FAQ???
I'm using Arial, and it's not perfect but it's not bad on OS X and XP.
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Oct 5, 2004, at 8:16 AM, [EMAIL PROTECTED] 
wrote:

From: John Dixon <[EMAIL PROTECTED]>
Subject: Cross Platform Font Question ?
To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="US-ASCII"
I have a stack that was put together on the mac. In the text fields
Helvetica 14 has been used, and on the mac under OS X looks fine... 
but when
it is run under windows Helvetica 14 looks awfully emaciated...

Anyone have any ideas on what fonts are good for using in stacks that 
are to
be used on more than the one platform ?
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Found it!

2004-09-29 Thread Frank Leahy
Sorry for the previous interruption, I found the problem.  It was a 
huge htmlText in one field -- 5MB worth!

Thanks,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


I'm desperate -- my app size exploded and I don't know why!

2004-09-29 Thread Frank Leahy
All,
I went to release a new version and my app size exploded from 3.5MB to 
7.5MB!

I noticed that the increase is due to the fact that my project has 
increased by that amount.  But I don't know what has caused it -- I 
haven't added any images, or anything that I can think of.

Any ideas how I can look for what's taking all the space?  I've run 
Chipp's altCleaner, but that stuff gets removed by the Standalone 
Builder anyway.  And I've tried Klaus 2lz2 stack.

What should I be looking for?  Properties?  Text?  It's not images, I 
know that.  Any ideas?

Please copy me if you reply because I get the digest version, and I'd 
love to go to bed sooner than tomorrow morning!

Thanks in advance,
-- Frank Leahy  

Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev 2.5 Hang at Launch on OS X Bugzilla'd

2004-09-25 Thread Frank Leahy
On Sep 25, 2004, at 12:19 AM, [EMAIL PROTECTED] 
wrote:

From: Dan Shafer <[EMAIL PROTECTED]>
Subject: Rev 2.5 Hang at Launch on OS X Bugzilla'd
loading menus and plugins, and then hangs. Until today, I didn't find
anything short of a reinstall that helped. I think I discovered today
that replacing the revpreferences.rev stack in the components/save
folder solves the problem. But then you have to resupply your serial
number and reset all your preferences.
This happens for me more than once or twice a month and I just can't
find a pattern. I can work in Rev for hours, close it, go to lunch,
come back, launch it and have it fail. No warning, nothing.
Am I the only one experiencing this?
Dan,
Two things:
1) Why not make a copy of the whole Rev app folder when things are 
working (or at least the revPreferences stack), and when things fail, 
just make a copy of that copy?  Shouldn't take but 20 seconds or so to 
copy the copy and have a running Rev app -- no reinstall needed.

2) I shouldn't say this out loud, because I'll probably jinx myself, 
but the only time I've had Rev crash on me at startup is when I did a 
"start using" on a stack that had an "on openStack" handler in it.  It 
got into some weird infinite loop that caused it to hang.  My rule now 
is that any stack that I call "start using" on must be a pure library 
stack -- i.e. it never handles any system messages such as "on 
startup", "on openstack", etc.

Don't know if this is what's happening with you, but you might look at 
the stacks you're calling "start using" on, and see if any respond to 
system messages.

-- Frank

Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Reveal file on Windows

2004-09-22 Thread Frank Leahy
Thank you thank you thank you!
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Sep 22, 2004, at 9:11 PM, [EMAIL PROTECTED] 
wrote:

From: Trevor DeVore <[EMAIL PROTECTED]>
Subject: Reveal file on Windows

explorer.exe /select, "c:\Path to my file\myFile.txt"
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] PAD files, MacPAD, and you

2004-09-22 Thread Frank Leahy
On Sep 22, 2004, at 3:59 PM, [EMAIL PROTECTED] 
wrote:

From: "Monte Goulding" <[EMAIL PROTECTED]>
Subject: RE: [OT] PAD files, MacPAD, and you
To: "How to use Revolution" <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="US-ASCII"
One interesting possibility would be to add PAD file generation to 
the
standalone builder. It could generate the correct format for he 
platform
it's building for. Perhaps it's worth atting to bugzilla as an
enhancement??
I'd vote for it, once the PAD standard is enhanced to accomodate the
same range of platforms.
--
 Richard Gaskin
 Fourth World Media Corporation
So you are suggesting that some of us should get involved with the
PAD project and submit enhancements to accomodate Macs and
multiplatform deployment, right?
I've been poking around the news group and I can't see such a 
discussion
occuring. What's the subject of the thread?

Cheers
Monte
Richard,
I downloaded MacPADEdit 1.0 from the web, and it had checkboxes for all 
sorts of release platforms -- Windows, Linux, BSD, Mac OS, Mac OS X, 
etc. -- and I was able to generate a PAD file that showed my product as 
being released on Windows XP/2000 and Mac OS X.

What issue are you having with the PAD format?
-- Frank
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Getting a remote file in OS X

2004-09-18 Thread Frank Leahy
On Sep 17, 2004, at 10:53 PM, [EMAIL PROTECTED] 
wrote:

From: Gregory Lypny <[EMAIL PROTECTED]>
Subject: Re: Getting a remote file in OS X
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Still not working for me I'm afraid.  FTP is turned on. I also have the
firewall on.  Do I have to specify a port?  Is it because the file I
want is rtf?  Do I have to invoke some sort of library in Rev?
on mouseUp
   get url
("ftp://me:[EMAIL PROTECTED]/users/me/Documents/Miscellaneous/Envelope
Template.rtf")
   put it into fld "x"
end mouseUp
Try connecting to this ftp server with Fetch or Interarchy or some 
other ftp client.  Once you know one of these programs can connect, 
they you'll find it easier to debug.

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


Re: Mac OS X splittable window?

2004-09-15 Thread Frank Leahy
On Sep 15, 2004, at 9:09 PM, [EMAIL PROTECTED] 
wrote:

From: Klaus Major <[EMAIL PROTECTED]>
Subject: Re: Mac OS X splittable window?
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Hi Frank,
Hi,
I'm looking at putting a simpler interface on my product for the next
rev, and wanted to make it a little more Mac-like.
...
i uploaded something like this to REV-Online...
Check the entry of "klausimausi" ;-)
It's called "field resize" and might get you started.
Klaus, Yves, Mark, and William --
Wow, thanks for the suggestions...looks like it will be very doable.
Klaus, I don't suppose your suggestions means I'm going to have to 
finally install 2.5 does it? :-)   Is there a url to access rev online 
directly? (Hmmm, I wonder if RunRev knows what the pages at 
http://revonline.runrev.com/ and http://revonline.runrev.com/channels/ 
look like...)

Thanks,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Native OS Support [was Re: printRotated on Mac?]

2004-09-15 Thread Frank Leahy
On Sep 15, 2004, at 5:00 PM, [EMAIL PROTECTED] 
wrote:

From: jbv <[EMAIL PROTECTED]>
Subject: Re: Native OS Support [was Re: printRotated on Mac?]
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854";
x-mac-creator="4D4F5353"

I know it's a little off-topic, but every time I see a request like
this I am reminded of how many feature requests would be unnecessary 
if
RunRev supported a way to call the native OS toolboxes.

I can even imagine a nice little business building cross-platform
functions to extend RunRev.
Please correct me if I'm wrong, but this can be done
via externals...
(As background, I've written a dozen externals for HyperCard)
There are lots of negatives to writing externals, and some big benefits 
to calling native from within Transcript.

Negatives:
 1) you have to code for each platform individually
 2) you need a development platform for each platform --- 
CodeWarrior or XCode on Mac OS X, MSDev on MS, whatever on Linux
 3) debugging and testing is difficult
 4) you need to release a separate external for each platform
 5) documentation for writing externals is sketchy (though 
supposedly about to get better)
 6) there are a dearth of externals currently available as compared 
the the number that were available for HyperCard, and the number that 
are available for RealBasic -- this may or may not mean something, but 
it's certainly a negative when comparing RunRev to RealBasic.

Benefits:
 1) much easier development, can be done within the RunRev IDE
 2) much simpler debugging and testing, again all within the RunRev 
IDE
 3) release as a single stack with code for all platforms (no 
externals need to be released or installed)
 4) to use all you have to do is "start using" the stack

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


Mac OS X splittable window?

2004-09-15 Thread Frank Leahy
Hi,
I'm looking at putting a simpler interface on my product for the next 
rev, and wanted to make it a little more Mac-like.

Has anyone been able to make a splittable window in RunRev?  I'm 
thinking of something like iTunes where the little dimple is in the 
middle of the bar separating the left and right panels, and when you 
mouse over it the cursor turns to a splitter, and when you drag it, it 
drags the separator bar in real time.

Thanks,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Native OS Support [was Re: printRotated on Mac?]

2004-09-15 Thread Frank Leahy
On Sep 15, 2004, at 2:32 PM, [EMAIL PROTECTED] 
wrote:

From: Trevor DeVore <[EMAIL PROTECTED]>
Subject: Re: printRotated on Mac?
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
...
The entry even has a link to the Carbon documentation which shows the
flags necessary to support this (at least on OS X) so I wouldn't think
it would be too difficult to implement.  If this is important to
anybody out there then go vote for it.
I know it's a little off-topic, but every time I see a request like 
this I am reminded of how many feature requests would be unnecessary if 
RunRev supported a way to call the native OS toolboxes.

I can even imagine a nice little business building cross-platform 
functions to extend RunRev.

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Inheritance in Revolution?

2004-09-13 Thread Frank Leahy
On Sep 11, 2004, at 11:58 PM, [EMAIL PROTECTED] 
wrote:

From: Richard Gaskin <[EMAIL PROTECTED]>
Subject: Re: Inheritance in Revolution?
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Arthur Urban wrote:
There is something similar that's been in
discussion and will hopefully be
implemented in the next version (or the one
after that), and it's being
called "parentScripts". Sort of an
object-specific "backscript", you can
assign the script of an object as the
"parentScript" to one or more other
objects. This would allow 25 buttons to use the
same script of its parent.
isn't this what a group script for
25 grouped buttons should do?

Sure. But what if your 25 buttons aren't on the same card or the same 
stack?
They may still all need the exact same behaviour.
Use a frontscript that differentiates based on a property setting.
Why not create a script "MyButtonScript" (for example), and then call 
it in each button's "on mouseDown" (or mouseUp, or any other handler)?

In button:
on mouseDown
MyButtonScript
end mouseDown
In home stack, or in a stack that you've done a start using on:
on MyButtonScript
  -- do common stuff here
end MyButtonScript
I know it's not "inheritance" per se, but it has the same general 
impact at runtime.  Or did I miss something about what you want to do?

As for parent scripts, sounds interesting, but it will be interesting 
to see how they're implemented, and whether (and how) you'll be able to 
override specific handlers on a per button instance basis.

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Https

2004-09-13 Thread Frank Leahy
On Sep 13, 2004, at 1:12 PM, [EMAIL PROTECTED] 
wrote:

From: Dave Cragg <[EMAIL PROTECTED]>
Subject: Re: Https
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
On 9 Sep 2004, at 17:12, Frank Leahy wrote:
Interesting.  Anyone know if getting this error will preclude data
being returned from the https connection?  For example, I can imagine
having a web server where I didn't bother getting a Verisign (or
other) certificate, but I still wanted to get and put data over an
https connection.
-- Frank
Yes. Right now it will prevent you doing this if you go via libUrl.
libUrl uses "open secure socket ... with verification", which requires
a certificate.
However, it shouldn't be too hard to add something to libUrl which
allows you to use "without verification". perhaps a "switch command"
such as libUrlSetSSLVerification  with the default being
true.
Of course, anyone using this would have to be careful. I could imagine
a faulty implementation like this:
   verification fails
   application asks user if he/she wants to continue without 
verification
   application switches off verification and completes request
   application *forgets* to switch it back on again
   all future https requests are unverified
   end of civilisation

Dave,
Thanks, great idea.
What about the switch being on a per request basis, i.e. not a global?
Do envision adding this feature to libURL in the near future?
-- Frank
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Using xml functions

2004-09-11 Thread Frank Leahy
On Sep 11, 2004, at 5:00 PM, [EMAIL PROTECTED] 
wrote:

From: Bill <[EMAIL PROTECTED]>
Subject: Using xml functions
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="US-ASCII"
I have been studying the excellent example stack xml-treeview and the 
runrev
documentation and as far as I can tell it is easier to generate a new 
xml
document by just hard coding

Put "http://www.w3.org/2001/XMLSchema-instance & quote & ">
  " & return &
"" & fld date & " after 
mynewXML
...ect

There are lots of cool functions in the library but (like  
revAddXMLNode or
revAppendXML ) it seems like it would be more complex to use them. Does
anyone have a sample stack showing the building of an xml document from
runrev that I could pull apart? What I am doing is converting MySQL 
data to
an XML document.

My experience is that the XML parser is useful for reading and getting 
data out of XML files, but you'll find it much easier to output XML as 
strings rather than building an XML tree and having the XML parser 
output (especially converting output from an MySQL database as you're 
doing).

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


Re: Https

2004-09-09 Thread Frank Leahy
On Sep 9, 2004, at 4:57 PM, [EMAIL PROTECTED] 
wrote:

From: Klaus Major <[EMAIL PROTECTED]>
Subject: Re: Https
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Hi Jan,
I get:
error -Error with certificate at depth: 1  issuer
= /C=US/O=VeriSign,
Inc./OU=Class 3 Public Primary Certification
Authority  subject  =
/O=VeriSign Trust Network/OU=VeriSign,
Inc./OU=VeriSign International
Server CA - Class 3/OU=www.verisign.com/CPS
Incorp.by Ref. LIABILITY
LTD.(c)97 VeriSign  err 20:unable to get local
issuer certificate
This is in "the result" of course, field 1 is empty.
Interesting.  Anyone know if getting this error will preclude data 
being returned from the https connection?  For example, I can imagine 
having a web server where I didn't bother getting a Verisign (or other) 
certificate, but I still wanted to get and put data over an https 
connection.

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: ANN: FTP Commander (the ftp browser Frank asked for...)

2004-09-06 Thread Frank Leahy
Well I'll be a son of a gun...
Andre...I'll let you know how it goes.
Thanks!
-- Frnak
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Sep 6, 2004, at 10:10 PM, [EMAIL PROTECTED] 
wrote:

From: Andre Garzia <[EMAIL PROTECTED]>
Subject: ANN: FTP Commander (the ftp browser Frank asked for...)
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=MACINTOSH; format=flowed
FTP Commander
By Andre Alves Garzia 2004
Motivated by a email from Frank Leahy, I decided to see how fast I
could make a FTP client for the masses. The result is 5 hours. At 1:17
I received the email, at 6:09 I am writing this email. Conclusion
Revolution Rulz!
I was inspired by old XTree Gold, on the left side is local, on right
side is Server side. You can type the full path in the field or press
browse. You must type in the full FTP URL (including user and pass) on
the field. Pressing refresh will refresh the list. Top listbox on each
side is folder list, botton listbox is file list. You can select
multiple files. Operations will work on multiple files. Theres a libURL
log field below. So far I tested all the operations. You can upload,
download, traverse, rename one or multiple files. you go tagging the
files, and press the desired operation button. It works, I think I'll
market this one soon...
so far so good, two apps in one day... pretty good.
http://www.soapdog.org/rev/FTPCommander.rev
Happy FTP!!!
Andre
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


FTP browser in Transcript?

2004-09-06 Thread Frank Leahy
Has anyone implemented an FTP browser in RunRev/Transcript?  I'm 
interested in something that lets the user login to their web site, and 
then drill down, or move up directories?

If so, would you mind sharing it?
Thanks,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


WebDAV implementation?

2004-08-31 Thread Frank Leahy
Has anyone done a WebDAV implementation in RunRev?  Would they be 
willing to share it?

Thanks,
-- Frank Leahy
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Reading UTF-8 files?

2004-08-27 Thread Frank Leahy
Does anyone know if there's a way to read UTF-8 files?  The docs 
suggest not (only UTF-16).

If not, then my app won't be able to read iPhoto albums with high-byte 
characters in the album title, such as umlauts, ö.  Ugh...

Does anyone know if this is expected to be fixed in 2.5?
Thanks,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


[ANN] Web Photos Pro 1.0b11 and FREE License Keys...

2004-08-26 Thread Frank Leahy
Hello all,
Version 1.0b11 of Web Photos Pro for Mac OS X and Windows XP/2000 is 
available for download.  This is a quick turnaround version based on 
feedback from the beta10 release on Monday.  Many thanks to everyone 
who sent in feedback!

I'm offering a free license key to Web Photos Pro v1.0 to anyone who 
uses the product to upload 3 or more albums with at least 10 photos in 
each album.  Simply send me a url of the albums you've uploaded, and 
I'll send you a free license key when the product ships (offer good 
until September 7, 2004).

Home page: http://www.webphotospro.com/
Downloads:  http://www.webphotospro.com/downloads/
Release notes: 
http://www.webphotospro.com/archives/category/release-notes/

Kind regards,
-- Frank Leahy
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


[ANN] Web Photos Pro 1.0b10 and FREE license keys...

2004-08-24 Thread Frank Leahy
Hello all,
Version 1.0b10 of Web Photos Pro (written in Revolution) for Mac OS X 
and Windows XP/2000 is available for download.

I'm offering a free license key to Web Photos Pro v1.0 to anyone on the 
RunRev lists who uses the product to upload 3 or more albums with at 
least 10 photos in each album.  Simply send me a url of the albums 
you've uploaded, and I'll send you a free license key when the product 
ships.

Home page: http://www.webphotospro.com/
Downloads:  http://www.webphotospro.com/downloads/
Release notes: 
http://www.webphotospro.com/archives/category/release-notes/

-- Frank Leahy
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Edit menu recipe?

2004-08-20 Thread Frank Leahy
Does anyone have an edit menu recipe they'd like to share?  I've got 
one that works for the main stack, but doesn't seem to work for other 
stacks.  I thought it was working at one point, but now I'm not sure 
whether it was ever working correctly.

Here's what I've got currently:
on DoMenuEditMenu theMenuItem
  switch (theMenuItem)
--- Edit menu
  case "Undo"
-- do nothing for now, not yet implemented
break
  case "Cut"
put the selectedChunk into curChunk
if curChunk <> "" then
  put "put " & curChunk & " into theText" into theCmd
  do theCmd
  set the clipboardData["text"] to theText
  put "put empty into " & curChunk into theCmd
  do theCmd
end if
break
  case "Copy"
put the selectedChunk into curChunk
if curChunk <> "" then
  put "put " & curChunk & " into theText" into theCmd
  do theCmd
  set the clipboardData["text"] to theText
end if
break
  case "Paste"
put the selectedChunk into curChunk
put the clipboardData["text"] into pasteChunk
put the focusedObject into theSelectedField
if theSelectedField = "" then break
put the short name of the focusedObject into fieldName
if not fieldName contains "Description" then
  replace (numToChar(10) & numToChar(13)) with " " in pasteChunk
  replace numToChar(10) with " " in pasteChunk
  replace numToChar(13) with " " in pasteChunk
end if
put "put pasteChunk into " & curChunk into theCmd
do theCmd
put the selectedChunk into curSelection
select curSelection
break
  case "Clear"
put the selectedChunk into curChunk
if curChunk <> "" then
  put "put empty into " & curChunk into theCmd
  do theCmd
end if
break
  case "Select All"
put the focusedObject into fieldName
if word 1 of fieldName = "field" then
  put the short name of the focusedObject into shortFieldName
  put "select text of " & fieldName into theCmd
  do theCmd
end if
break
  default
answer error "Error: forgot to handle '" & theMenuItem & "' in List 
of Albums menuPickEditMenu" titled getPhotoAlbumDialogName()
  end switch
end DoMenuEditMenu

Thanks,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Should put URL file: create intervening folders?

2004-08-17 Thread Frank Leahy
When I call "put URL ftp:", it creates any intervening directories that 
don't yet exist, e.g.

put URL "ftp:/some/file/goes/here.txt"
will create /some and /some/file and /some/file/goes directories before 
putting the file "here.txt".

The same thing doesn't seem happen when I use "put URL file:", i.e. any 
missing folders are NOT created.  Is that correct, or am I doing 
something wrong?

Thanks,
-- Frank
p.s. I wish the docs were a little more explicit about this...
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Strange invisible charactors

2004-08-16 Thread Frank Leahy
On Aug 16, 2004, at 7:26 PM, [EMAIL PROTECTED] 
wrote:

Subject: Re: Strange invisible charactors
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="US-ASCII"
BBEdit has a "replace with code" function and gives this:
'\0x00birth','\0x00nick','\0x00notes',
So what does \0x00 mean?
It looks almost like the first character of each word is a Unicode 
character (with the upper byte being 0 (0x00 is hex zero)) -- but why 
that would be is beyond me.

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: checking/unchecking menus after a menu with cascading

2004-08-15 Thread Frank Leahy
On Aug 15, 2004, at 8:30 PM, [EMAIL PROTECTED] 
wrote:

Ken,
A misunderstanding of terminology -- I understood the "sub-menu item"
to mean "SubTest1" in your example above, i.e. the menu item that
displays the sub-menu.A "sub-menu item" cannot be chosen, and
therefore yields no MenuPick message,
not true
put this transcript in the button script of a button with submenus and
cascade menus
on menuPick theItem
  put theItem & "  " & the menuHistory of me
end menuPick
this will show that cascade menuItems as well as menuItems can get a 
message
sent and intercepted ... so this handler should be able to toggle the
checkMark of any selected menuItem and cascade menuItem

Ok, I guess I have to be even more explicit :-)
On the Mac, when a menu is drawn using the Mac's native menu or popup 
menu control (as opposed to the non-native menus that are available in 
Transcript), sub-menu items (i.e. menu items that causes a sub-menu to 
appear) will not generate a MenuPick message.

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


  1   2   3   >