way to bypass default browser?

2003-11-25 Thread Rob Gould

I've got an app that relies on Internet Explorer - - if the user has 
Safari set up as their default browser on Mac OS X, is there a way I can 
do a brute-force launch http://www.registrationwebsite.com with 
Internet Explorer, no matter what the default browser is set to?



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


OT: Panther and Sorenson3

2003-11-05 Thread Rob Gould
Has anyone who's upgraded to Mac OS Panther had any difficulty with 
Sorenson3 no longer showing up as a compression option in Quicktime Pro 
or Cleaner?  I just downloaded the patch from www.sorenson.com to 
Sorenson 3.3, but that doesn't seem to help.  Curious if anyone else is 
having this problem.


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


Cutting down on size of .rev file

2003-10-22 Thread Rob Gould
Is there a way I can view the size (bytes) of objects within a stack, so 
that I can determine what contributes to the large size of my .rev file?


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


OT: Mac OS X have a registry?

2003-10-22 Thread Rob Gould
Can anyone tell me if Mac OS X has a registry, like Windows?  I 
basically need a place to store an encrypted password, and I need 
someplace to store it where people would be unlikely to find it. 
Putting it in the preferences folder would be too obvious.  My 
PC-buddies were telling me that the registry might be a good option, but 
I don't recall reading anywhere that Mac OS X has such a thing.

This password just needs to be stored, and then the user reboots their 
Mac, and then in the startup folder will exist a .rev app that reads the 
password and acts upon it, and then deletes it, so it doesn't need to 
hang around after that point.




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


Launch command on Mac OS X

2003-10-02 Thread Rob Gould




I'm trying to create a
Revolution app that will permit the user to download any number of
files from an FTP server to their hard-drive, and then permit them to
launch that document with it's proper owner.

I've got the FTP/downloading process working, and the filetypes set
properly, however if I then do a "launch filename.doc", for
some reason Rev starts the OS 8/9 startup classic mode process. I know
that the launch command provides me the option to define the exact path
to the application, but the user can move their apps around. 

Would it be possible to use an Applescript method instead for this type
of thing?




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


Panther and Rev

2003-09-22 Thread Rob Gould




I've got a client
who's interested in having me create something that will work in
Apple's upcoming "Panther" OS. Has anyone done any experiments running
Revolution in Panther? I know that Panther has been out for a while
within the developer community, but I haven't done anything with it
myself.






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


ftping and filetype property

2003-09-16 Thread Rob Gould




I've got a Mac OS X
Rev app that allows the user to upload files to an FTP server, and
download files locally from the same server. (It does many other
things, but this component is the part I have a question about). I've
noticed that if I upload jpg, gif, pdf, ppt, doc, xls files, and then
pull them back down again using the put URL "ftp://" command, all the
files lose their filetypes. Is this because the Mac resource-fork gets
lost during the transfer?

I know that I can get around this problem by having Rev look at the
extension of the file and set the filetype back again as it's
transferring to the user's hard-drive. If this is the only way around
this problem, has anyone created a master list of file-types in a Rev
script and parsed what their 8-character creator/type strings are? 

Eg. 

if extension = "jpg" then set the filetype to "prvwjpeg"
if extension = "ppt" then set the filetype to .
if extension = "doc" then set the filetype
to .
if extension = "mov" then set the filetype
to .



- Rob






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


Windows XP icons in Builder

2003-09-10 Thread Rob Gould




Can anyone tell me if
it's possible to give a Rev app a Windows XP icon (48x48) with the
alpha-blending, so that it blends in with the desktop? Whenever I
tried doing this with thei Builder app, it said it didn't like my icon
format (It wanted a 32x32 16-bit icon instead). Am I really limited in
this way?




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


Strange script tags retrieved with PUT URL calls on PC

2003-09-08 Thread Rob Gould
I'm getting some strange script tags (below) being retrieved from 
Revolution's PUT URL command (but only on PC).  If I run this same 
Revolution stack on a Mac, I do not get these lines of code within my 
app.  I've tried this on Rev 2.03 and Rev 2.1.

The data is consistantly being retrieved, whether I'm running as a 
standalone stack, or within authoring mode, but ONLY on Windows.  Even 
if I do a

put URL http://www.apple.com;, I get this code, or google.com, or 
anywhere I'd go.  Any idea why I'm seeing this?  Do I need to deactivate 
some http header-display flag when authoring for windows?

What I'm seeing, below:

script PrxRealOpen=window.open; function PrxNullWin(){this.window;} 
function PrxOpen(url,nam,atr){return(new PrxNullWin());} 
window.open=PrxOpen;/script

script function NoError(){return(true);} onerror=NoError; /script
script function NoBox(txt){ return(1);} window.alert=NoBox; 
window.confirm=NoBox; window.prompt=NoBox;function 
submit(){return(NULL);}/script
script function moveTo(){return true;}function resizeTo(){return 
true;}/script



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


Re: Strange script tags retrieved with PUT URL calls on PC - solved

2003-09-08 Thread Rob Gould
Stupid me!  Yes, that is indeed the problem - - - I've got Promomitron 
running on my PC.  Once again, Revolution is fine - - user error on my end.

[EMAIL PROTECTED] wrote on 9/8/03, 5:57 PM:

 
  Hello Rob
 
  First, apologies for the HTML below (this is what I get from pur url
  http://www.google.com;
 
  Second, there is no mention of NoError, so I took PrxRealOpen and
  typed into Google.  I would guess you are running the Proxomitron
  popup blocker on your PC?
 
  Regards,
  Bernard

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


faking https?

2003-09-06 Thread Rob Gould




Just want to verify
that there's no way to fake an HTTPS POST with the present version of
Rev on Mac OS X. I'm really in need of https for a project I'd like to
work on for a client. (Basically I'm posting a username/password, and
the server sends me back an encrypted string.) I was trying to think
of other ways to do this, and the only thing I could come up with is to
have Rev control IE via Applescript and have it retrieve the html
source upon receiving communcation from the server. (While hiding IE
from the user) I don't suppose anyone's written an HTTPS plug-in for
Rev?






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


Can Rev mimic http forms submit?

2003-08-29 Thread Rob Gould




Can anyone tell me if
the Revolution "post" command does the same thing as what a web-browser
does when it has a "form.submit()" action?

For instance, let's say I have a form on a web-page that contains a
form with some input fields (I've eliminated the tag characters in
hopes that email readers won't parse this code):


--
form id="theForm" method="post"
action="" class="moz-txt-link-rfc2396E" href="http://206.46.136.179/portal/vasp">"http://206.46.136.179/portal/vasp"
input type="hidden" name="SERVICE" value="Login"
input type="text" name="UserName" value="usernamehere" ID="Text1"
taborder="1"
input type="password" name="Password" value="abc123" ID="Password1"
input type="button" id="Login" value="Login" 
form
-


So when the user hits the button id "Login", the theForm.submit()
_javascript_ action occurs, and the username/password fields are passed
to the server.


The question I have is, what is the Revolution call to do this type of
thing? Is it some form of the POST command? If so, how would I format
the post command to pass data like this?






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


Getting cross-platform IP address

2003-08-27 Thread Rob Gould




I must be missing
something obvious, but is there a command that provides the user's IP
address (whether Mac or PC). 
According to the documentation on the "hostAddress" function:

"Use the hostAddress function to find the IP address of the computer
that Revolution is running on."

I thought that might do the trick, but I get the impression that this
call must be for determining a host-connection, rather than the local
connection.

I've look all over the docs for an IP Address command - - - - can
someone please point me in the right direction?




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


Way to insert text where cursor is in field?

2003-08-25 Thread Rob Gould




I'm sure I must be
overlooking something simple - - - - What I'm trying to do is have a
text field that detects when the user presses the character "*", and
when they do, it replaces that "*" with a bitmap graphic. (Using the
imageSource call). 

I've got the below code which _almost_ does this, except that it
replaces all the astericks except the one that the user just pressed.
The trick here is that the user can click and put the cursor anywhere
in the text field, so it's not like I can just add an "*" to the last
char of the field and swap it out. I somehow need to find out the
position in the text field where the cursor is, and add the asterick,
and THEN run the "refreshnotes" handler.

on keydown theKey
 if theKey = "*" then
 refreshnotes
 end if
 
 pass keydown
 
end keydown


on refreshnotes
 put the number of lines in field "notes" into temp
 repeat with x = 1 to temp
 if line x of field "notes" contains "*" then
 put the length of line x of field "notes" into linelength
 repeat with y = 1 to linelength
 if char y of line x of field notes = "*" then
 set the imageSource of char y of line x of field "notes" to
"checkbox"
 end if
 end repeat
 end if
 end repeat
end refreshnotes




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


Re: Way to insert text where cursor is in field?

2003-08-25 Thread Rob Gould
That did the trick!  Thanks for the simple solution!


Jeanne A. E. DeVoto wrote:

  Try using keyUp instead of keyDown. (keyDown runs before the
  character is entered in the field.)

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


delete line x in Rev 2.1B2 vs. 2.1RC1

2003-08-21 Thread Rob Gould




I've noticed a
difference in the way that the "delete line x from field" feature works
between Revolution 2.1B2 and Revolution 2.1RC1.

In 2.1B2, it deletes the line of text, and moves the line beneath up a
line, but in 2.1RC1, it deletes the text, but leaves line beneath in
it's original position. I'm _guessing_ that the correct behavior is
that the line should empty out and the line beneath should move up a
slot. Or, should I be using a different call now to get this
functionality? I'm using the Mac OS X version of Rev 2.1RC1.




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


OT: Will Panther have IE by default?

2003-08-21 Thread Rob Gould




I've been working on a
Revolution app that controls IE on Mac OS X using Applescript. Can
anyone tell me if the Panther OS will have IE as part of the default
install? I realize that Safari will be the "default" web-browser, but
I just need to see if IE will at least be available.




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


Way to get backdrop to cover everything in OS X?

2003-08-19 Thread Rob Gould




I'm trying to make an
application that let's the user click on a thumbnail image, and then
the image is displayed full-sized with a black background covering the
whole desktop. Right now, I have the thumbnail viewer as one stack,
and the "full-size viewing page" as a second stack. On the openCard of
the 2nd stack, I set the backdrop to black.

This almost works, except that I have to set the visible of the first
stack to FALSE to hide it, and then there's the remaining issue of the
Mac OSX finder windows being visible on top of the backdrop - - - any
idea how I can make the backdrop go on top of the OS X windows/dock?
(Or perhaps there's a better way to do this altogether?

- Rob






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


TEST: Does this email put AOL garbage in it?

2003-08-15 Thread Rob Gould




This is just a test - - -
I was unaware that AOL was putting all those header/footer garbage
characters in emails I've sent to this listserve in the past. I'm
trying another method, using "AOL Communicator" instead of the AOL 8.0
client. Can someone tell me if this email looks any better?




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


TEST #2: Sending just plain text

2003-08-15 Thread Rob Gould
Ok, I bet this time it's going to work - - - I'm using the AOL 
Communicator app with use plaintext only turned on.  Please tell me 
that this shows up ok :)  Backup plan #3 is for me to use my mac.com 
account with AppleMail.


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


Way to adjust column width in fields?

2003-08-15 Thread Rob Gould

I've got a text field with tab-delimited columns in it.  This works 
great for my needs (I'm trying to replicate the iCal calendar views that 
iCal displays on the left of the window.)  The only problem I'm having 
is that I can't figure out how to adjust the width of these columns when 
viewing as the field object on the card.

If I click on the field object, do a edit CONTENTS, I see the big 
excel spreadsheet-esque view of the grid and it's values.  I just 
can't seem to find a place to set the width of the individual columns. 
I'm using the 2.1 Beta 3 app, if that makes a difference in this scenario.

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


OT: Mac OS X Server - - - timeouts

2003-08-15 Thread Rob Gould




I'm trying to get my
Revolution application to FTP files up to our Mac OS X server. This
works most of the time, but if the server isn't used for awhile, it
gets into this mode where you have to kind of "wake it up" - - - apps
on the server sit for awhile before launching, the server doesn't serve
for awhile, etc. This doesn't seem like normal behavior to me, and I
was wondering if anyone else has experienced this before with an OS X
server and might know what setting needs to be adjusted. It's got all
the software updates for both the OS and the server software.




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