Re: [OT] - Jakob Nielsen on Web Forms vs. Apps

2005-09-20 Thread Judy Perry
Thanks, Dan, for this.

It's been a while since I've checked his site and though, like you, I may
not always agree 100%, still, as you say, he's evidentally put thought
into the matter and, hence, his stuff is always thought-provoking.

Now, if only I could make the time to stay on tiop of such stuff as I
prepare to teach a class on "The Computer Impact on Society" that I
haven't taught in 4 years and as I strive to teach the difference between
a URL and an email address...

Judy

On Tue, 20 Sep 2005, Dan Shafer wrote:

> For those of you who don't subscribe to it, Jakob Nielsen's newest
> AlertBox newsletter today has some advice about when to use forms and
> when to use more controlled applications for Web user interaction. I
> don't always agree with Jakob and even in this piece I have a few
> quibbles, but overall this is a guy who thinks a lot about subjects
> that are important to us.
>
> Here's the URL: http://www.useit.com/alertbox/forms.html
>
>
>
>
> ~~
> Dan Shafer, Information Product Consultant and Author
> http://www.shafermedia.com
> Get my book, "Revolution: Software at the Speed of Thought"
>  From http://www.shafermediastore.com/tech_main.html
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

___
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


"Rebranding" a Revolution .exe

2005-09-20 Thread Ivan Wong
Hello all,

Greetings from a new Revolution user (I'm not totally
new,  but upgraded recently from Dreamcard to Studio).

I am trying to create an software application which
will allow users to personalize the software. 
Basically,  I hope to allow users to insert their own
userid into a field named "AffiliateID" in the
application "Main App".

I am thinking of writing a separate "Rebrander"
application that will allow this.  Would appreciate
any pointers on how this could be achieved - would I
have to put the "AffiliateID" field in a separate
substack,  or is there some way that I can access the
internal fields of the compiled "Main App" from my
"Rebrander" app.

Hope my requirement makes sense,  and excuse me if I
am missing a simple solution to this.


thanks and regards,
Ivan Wong





__ 
Do you Yahoo!? 
New and Improved Yahoo! Mail - 1GB free storage! 
http://sg.whatsnew.mail.yahoo.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] - Jakob Nielsen on Web Forms vs. Apps

2005-09-20 Thread Richard Gaskin

Dan Shafer wrote:
For those of you who don't subscribe to it, Jakob Nielsen's newest  
AlertBox newsletter today has some advice about when to use forms and  
when to use more controlled applications for Web user interaction. I  
don't always agree with Jakob and even in this piece I have a few  
quibbles, but overall this is a guy who thinks a lot about subjects  
that are important to us.


Here's the URL: http://www.useit.com/alertbox/forms.html


Great article, Dan. Thanks for the lead.

I've added it along with a good one from Visual Studio Magazine that Ken 
recently turned me onto to the resources at the bottom of my NetApps 
article:



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


[OT] - Jakob Nielsen on Web Forms vs. Apps

2005-09-20 Thread Dan Shafer
For those of you who don't subscribe to it, Jakob Nielsen's newest  
AlertBox newsletter today has some advice about when to use forms and  
when to use more controlled applications for Web user interaction. I  
don't always agree with Jakob and even in this piece I have a few  
quibbles, but overall this is a guy who thinks a lot about subjects  
that are important to us.


Here's the URL: http://www.useit.com/alertbox/forms.html




~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
From http://www.shafermediastore.com/tech_main.html


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


Re: activating a combobox

2005-09-20 Thread Ron Noice
Yes, I wanted to physically pop them open. Some of my stuff has a series of 
combos, each populated based on the previous one, and I (and the users) find it 
helpful to automatically open each one to make the contents immediately 
visible. Saves clicking, looks spiffy! There is a command to do this in Access 
and I was hoping for the same kind of thing in Rev. But Pat's workaround will 
do the job failing a built-in method. Thanks anyway, Jacque.
... Ron

__
*** From: J. Landman Gay  ([EMAIL PROTECTED])
*** Dated: Tue, 20 Sep 2005 20:16:49 -0500

 Ron Noice wrote:
 > Thanks, Pat. Don't think I would ever have come up with that idea --
 > and as a bonus, it actually works!! Sometimes the list closes again
 > right away but that's probably due to something else I'm doing. So
 > thanks very much for an inventive solution. ... Ron

 Do you actually want to physically pop up the button, or just get and
 set menu items and selections? If all you need is the data, then you can
 read the button contents, or send a menupick message to the button to
 activate its script. Let us know if you need more info about that.

 --
 Jacqueline Landman Gay         |     [EMAIL PROTECTED]
 HyperActive Software           |     http://www.hyperactivesw.com
 ___
 use-revolution mailing list
[EMAIL PROTECTED]
 Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: two questions: send and references

2005-09-20 Thread Mark Wieder
Trevor-

Tuesday, September 20, 2005, 10:35:16 AM, you wrote:

> What you might be able to do is send the name of a custom prop that
> has the array in it.  Just set the values in that.  Not ideal but  
> might solve the problem for now and it is easy enough to transfer  
> arrays to and from custom props.

Thanks. Switching to customPropertySets instead of using arrays got me
out of trouble. I don't really need the persistence, but having it
doesn't bother me either. A bonus is that my code is now much cleaner
than when I was trying to create complex array indices. And having to
work around engine bugs.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: two questions: send and references

2005-09-20 Thread Mark Wieder
Trevor-

Tuesday, September 20, 2005, 10:47:18 AM, you wrote:

> try:

> send "AddListener pMessage, pViewer" to pController


Doh. I knew there would be some way to put quotes around something
that already had quotes in it. Thanks.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: CS Notification Center

2005-09-20 Thread James Spencer


On Sep 20, 2005, at 1:32 AM, Paul Claude wrote:


Anyone have idea about how to use the Apple's CSNotificationCenter (
http://developer.apple.com/documentation/CoreFoundation/Reference/ 
CFNotifica
tionCenterRef/index.html) to read informations of other  
applications from a

Revolution stack?


Take a look at XcodeClientServer Sample Code from Apple for a real  
simple example of how it works but the basic idea is your other  
application posts notifications to the distributed notification  
center and your client program can register to receive them.  The  
other applications necessarily need to be written so as to post those  
notifications and your application needs to be written to receive them.


Spence

James P. Spencer
Rochester, MN

[EMAIL PROTECTED]

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

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


Re: activating a combobox

2005-09-20 Thread J. Landman Gay

Ron Noice wrote:

Thanks, Pat. Don't think I would ever have come up with that idea --
and as a bonus, it actually works!! Sometimes the list closes again
right away but that's probably due to something else I'm doing. So
thanks very much for an inventive solution. ... Ron


Do you actually want to physically pop up the button, or just get and 
set menu items and selections? If all you need is the data, then you can 
read the button contents, or send a menupick message to the button to 
activate its script. Let us know if you need more info about that.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: activating a combobox

2005-09-20 Thread Ron Noice
Thanks, Pat. Don't think I would ever have come up with that idea -- and as a 
bonus, it actually works!! Sometimes the list closes again right away but 
that's probably due to something else I'm doing. So thanks very much for an 
inventive solution.
... Ron


__
*** From: Pat Trendler  ([EMAIL PROTECTED])
*** Dated: Wed, 21 Sep 2005 09:31:33 +1000


 The only way I found to do this is to get the loc (with mouseLoc) of the
 arrow on the combo box, and then click at that loc.

 eg

 click at "283,194"

 HTH
 Pat
[EMAIL PROTECTED]


 - Original Message -
 From: "Ron Noice" <[EMAIL PROTECTED]>
 To: "Revolution List" 
 Sent: Wednesday, September 21, 2005 5:36 AM
 Subject: activating a combobox


 I'm sure to win the "Twit of the Day" award for this, but cannot figure out
 how to automatically activate a combobox field (button, menu, whatever). I
 want to be able to select something from combo1, populate combo2 based on
 combo1 and then have combo2 automatically open without the user needing to
 click it. Everything is under control _except_ the automatic opening of
 combo2. How, please? Thanks.
  Ron

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


 --
 No virus found in this incoming message.
 Checked by AVG Anti-Virus.
 Version: 7.0.344 / Virus Database: 267.11.3/107 - Release Date: 20/09/2005


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


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


Re: activating a combobox

2005-09-20 Thread Pat Trendler

Ron,

The only way I found to do this is to get the loc (with mouseLoc) of the 
arrow on the combo box, and then click at that loc.


eg

click at "283,194"

HTH
Pat
[EMAIL PROTECTED]


- Original Message - 
From: "Ron Noice" <[EMAIL PROTECTED]>

To: "Revolution List" 
Sent: Wednesday, September 21, 2005 5:36 AM
Subject: activating a combobox


I'm sure to win the "Twit of the Day" award for this, but cannot figure out 
how to automatically activate a combobox field (button, menu, whatever). I 
want to be able to select something from combo1, populate combo2 based on 
combo1 and then have combo2 automatically open without the user needing to 
click it. Everything is under control _except_ the automatic opening of 
combo2. How, please? Thanks.

 Ron

___
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


--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.3/107 - Release Date: 20/09/2005


___
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: Windows exe not dropping from task manager list of processes

2005-09-20 Thread Jim Ault
Hi, Chris, 
Cool... this did take care of the situation.
In the stack script I am using both handlers

on closeStackRequest
quit
end closeStackRequest

on closeCard -- brute-force method (from docs)
  repeat until the pendingMessages is empty
cancel item 1 of line 1 of the pendingMessages
  end repeat
end closeCard

Jim Ault

Now if I can figure out how to escape the curse of the tiny script editor
windows without re-installing Rev 2.5.1 everyday.

On 9/20/05 2:32 PM, "Chris Sheffield" <[EMAIL PROTECTED]> wrote:

> closeStackRequest 


___
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: Windows exe not dropping from task manager list of processes

2005-09-20 Thread Chris Sheffield
Check out closeStackRequest and/or shutdownRequest if you haven't  
already.  I've found that sometimes (on Windows especially),  
depending on what's going on when you try to quit, it's necessary to  
handle these messages and issue a quit command inside them.


Chris



On Sep 20, 2005, at 3:11 PM, Jim Ault wrote:


Thanks for the suggestions, but no luck.
Here is what is in the stack script, only one card, two buttons.
disappears < Launch only, close button >
persists < run script without a 'send', close button >
persists < run script with 'send', close button  >

on openstack
  set the destroystack of this stack to true
set the destroywindow of this stack to true
end openstack

on closeCard -- brute-force method (from docs)
  repeat until the pendingMessages is empty
cancel item 1 of line 1 of the pendingMessages
  end repeat
end closeCard

What else should I study in the docs?
Jim Ault



Cancel the pending messages on quit and you should see it go away.

--
  Richard Gaskin
  Managing Editor, revJournal




On 9/20/05 1:26 PM, "Richard Gaskin" <[EMAIL PROTECTED]>  
wrote:




Jim Ault wrote:

This has probably been answered, but I could not find it in the  
archive.


I am compiling a tiny app that basically just gets a file from an  
ftp site

every 20-30 seconds.

If I launch the file, then close it, its process quickly disappears.
If I launch and run a script, it takes over 60 seconds to disappear.
If I launch and run a script that uses "send m in 1  
millisecs", then
close with the red-X button, it remains on the list.  Subsequent  
launches

create new processes.
I have set the "purge stack, window, destroystack, destroywindow"  
items and

no success.

What is the trick (I am a Mac guy) to avoid a client having  
problems with

exe's that don't die?




___
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



--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


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


Re: Windows exe not dropping from task manager list of processes

2005-09-20 Thread Jim Ault
Thanks for the suggestions, but no luck.
Here is what is in the stack script, only one card, two buttons.
disappears < Launch only, close button >
persists < run script without a 'send', close button >
persists < run script with 'send', close button  >

on openstack
  set the destroystack of this stack to true
set the destroywindow of this stack to true
end openstack

on closeCard -- brute-force method (from docs)
  repeat until the pendingMessages is empty
cancel item 1 of line 1 of the pendingMessages
  end repeat
end closeCard

What else should I study in the docs?
Jim Ault

> Cancel the pending messages on quit and you should see it go away.
> 
> --
>   Richard Gaskin
>   Managing Editor, revJournal


On 9/20/05 1:26 PM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote:

> Jim Ault wrote:
>> This has probably been answered, but I could not find it in the archive.
>> 
>> I am compiling a tiny app that basically just gets a file from an ftp site
>> every 20-30 seconds.
>> 
>> If I launch the file, then close it, its process quickly disappears.
>> If I launch and run a script, it takes over 60 seconds to disappear.
>> If I launch and run a script that uses "send m in 1 millisecs", then
>> close with the red-X button, it remains on the list.  Subsequent launches
>> create new processes.
>> I have set the "purge stack, window, destroystack, destroywindow" items and
>> no success.
>> 
>> What is the trick (I am a Mac guy) to avoid a client having problems with
>> exe's that don't die?


___
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: Windows exe not dropping from task manager list of processes

2005-09-20 Thread Richard Gaskin

Jim Ault wrote:

This has probably been answered, but I could not find it in the archive.

I am compiling a tiny app that basically just gets a file from an ftp site
every 20-30 seconds.

If I launch the file, then close it, its process quickly disappears.
If I launch and run a script, it takes over 60 seconds to disappear.
If I launch and run a script that uses "send m in 1 millisecs", then
close with the red-X button, it remains on the list.  Subsequent launches
create new processes.
I have set the "purge stack, window, destroystack, destroywindow" items and
no success.

What is the trick (I am a Mac guy) to avoid a client having problems with
exe's that don't die?


Cancel the pending messages on quit and you should see it go away.

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


Re: Windows exe not dropping from task manager list of processes

2005-09-20 Thread Brian Yennie

Jim,

You may want to look at something like this:

on shutdownRequest
  -- user is trying to quit
  repeat for each line l in the pendingMessages
if (item 3 of l is "m") cancel (item 1 of l)
  end repeat
end shutdownRequest

Untested, but the idea is:
When the user tries to quit, look at all of the pending messages you 
have queued up, and cancel them so that the application can exit.


HTH,
Brian

___
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


Windows exe not dropping from task manager list of processes

2005-09-20 Thread Jim Ault
This has probably been answered, but I could not find it in the archive.

I am compiling a tiny app that basically just gets a file from an ftp site
every 20-30 seconds.

If I launch the file, then close it, its process quickly disappears.
If I launch and run a script, it takes over 60 seconds to disappear.
If I launch and run a script that uses "send m in 1 millisecs", then
close with the red-X button, it remains on the list.  Subsequent launches
create new processes.
I have set the "purge stack, window, destroystack, destroywindow" items and
no success.

What is the trick (I am a Mac guy) to avoid a client having problems with
exe's that don't die?

Thanks 

Jim Ault
Las Vegas


___
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


activating a combobox

2005-09-20 Thread Ron Noice
I'm sure to win the "Twit of the Day" award for this, but cannot figure out how 
to automatically activate a combobox field (button, menu, whatever). I want to 
be able to select something from combo1, populate combo2 based on combo1 and 
then have combo2 automatically open without the user needing to click it. 
Everything is under control _except_ the automatic opening of combo2. How, 
please? Thanks.
 Ron

___
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: AppleScript - Silent Running?

2005-09-20 Thread Peter Reid

Geoff Canyon:
You could use the built-in web interfaces. I believe FileMaker can 
supply HTML or XML. This has the advantage of being "silent" as you 
say, and cross-platform.


With v7 FileMaker Pro standard edition no longer supports HTML/XML 
nor the older CDML.  You have to buy one of the expensive version to 
get this functionality!



Bruce Robertson:
FileMaker 7 comes with free xDBC connectivity out of the box, though there
are updaters which you should get at the FileMaker download page.


I tried this before moving to AppleScript and couldn't get it to 
work.  I couldn't connect to the FM Pro database using other tools, 
not just Rev!  I did send an e-mail to the list to ask for advice 
about getting Rev to access FM Pro using ODBC but got no replies.  I 
believe Daniel Wenger had also asked for help with this on this list 
and got no replies either!  This is why both he and I independently 
decided to use AppleScript instead.  If someone can give us full 
details of how to use ODBC with Rev and FM Pro under OS X 
Panther/Tiger, I'd be delighted to give it a try!



 > I use AppleScript to send "hide yourself" to FM Pro whenever
 > possible, but this doesn't help when I'm trying to access the
 > database since I have to start my AppleScripts with 'activate'.

Bruce Robertson:
Not true.


Er, what's "not true" - that you're forced to see FM Pro do its stuff 
when using AppleScript or that you need "activate" at the start of 
each script?  I'm happy to believe the latter isn't required, but I 
don't think it helps since if this is left out I still see FM Pro 
screens flashing away.  However, I'm fairly convinced of the former!


Cheers

Peter
--
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576
E-mail: [EMAIL PROTECTED]
Web: http://www.reidit.co.uk
___
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: Insertion Point in Fields

2005-09-20 Thread Roger Guay
That was it, Chris.  Thank you!  Thank you! Thank you!  Although,  
it's interesting that everything was OK on the first card but not  
subsequent cards.  Such strange goings-on!!


Cheers, Roger


On Sep 20, 2005, at 11:00 AM, [EMAIL PROTECTED]  
wrote:



I seem to remember a problem where if the rect of a group overlaps a
field, you don't see the field's insertion point.  Could this be the
case?  I've had this happen before and not even realized it.  It
seems like if you simply change the layer of your field so that it's
in front of the group, it should fix it.

Chris


On Sep 20, 2005, at 9:51 AM, Roger Guay wrote:



I'm sorry for the repeat, but I'm at my wits end with this
seemingly simple problem:  I have a background group with a field
in it that has it's sharedText set to false.  On the first card,
this field behaves properly with a flashing insertion "|" whenever
you click inside it.  Not so on subsequent cards!  On subsequent
cards there is no flashing "|" no matter what you do.  Can anyone
shed some light on this?




___
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: two questions: send and references

2005-09-20 Thread Trevor DeVore

On Sep 20, 2005, at 10:46 AM, Mark Wieder wrote:

I'd like to believe it, but no. It doesn't.

Maybe I should be more exact about what I'm trying to do.

MVC.RegisterViewer the long id of field "abc", "HelpMe", the long id
of button "xyz"

on RegisterViewer pViewer, pMessage, pController
  local tViewer

  put pViewer into tViewer
  -- up to this point tViewer is ok.
  send "AddListener" && pMessage & comma & tViewer to pController
end RegisterViewer

on AddListener pMessage, pViewer
  -- setting a breakpoint here shows that pViewer has the contents of
  field "abc"
  answer pViewer
end AddListener


try:

send "AddListener pMessage, pViewer" to pController


--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]


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


Re: two questions: send and references

2005-09-20 Thread Mark Wieder
Klaus-

Tuesday, September 20, 2005, 10:17:54 AM, you wrote:

> you just won't believe it, but this will also work with other vars :-D

> ...
> put the long id of field "xyz" into it2
> send "hi it2" to field "abc" of card "argh"
> ...

I'd like to believe it, but no. It doesn't.

Maybe I should be more exact about what I'm trying to do.

MVC.RegisterViewer the long id of field "abc", "HelpMe", the long id
of button "xyz"

on RegisterViewer pViewer, pMessage, pController
  local tViewer
  
  put pViewer into tViewer
  -- up to this point tViewer is ok.
  send "AddListener" && pMessage & comma & tViewer to pController
end RegisterViewer

on AddListener pMessage, pViewer
  -- setting a breakpoint here shows that pViewer has the contents of
  field "abc"
  answer pViewer
end AddListener


-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: menuItem and menuHistory Question

2005-09-20 Thread Ken Ray
On 9/20/05 11:26 AM, "Klaus Major" <[EMAIL PROTECTED]> wrote:

> Hi David,
> 
>> Hi All,
>> 
>> If I have the name of a Menu Item (In a Tabbled Button) "OptionA",
>> how can I get the Item Number associated with it. I want to set the
>> menuHistory property to the Item Index of Item "OptionA". I just
>> can't seem to work out how to do it!
> 
> ...
>   put lineoffset("OptionA", btn "my TAB button") into my_menuhistory

Just a quick comment on this - this only works if you don't have
similarly-named items in the menu (such as looking for "Save" in a menu that
has both "Save" and "Save as...").

So you either need to 'set the wholeMatches to true' before you do your
'lineOffset', or you an do this:

  put lineOffset(cr & "OptionA" & cr, cr & btn "my TAB button" & cr) into \
  my_menuhistory


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

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


Re: two questions: send and references

2005-09-20 Thread Trevor DeVore

On Sep 20, 2005, at 10:24 AM, Trevor DeVore wrote:


Thanks for the sanity check. It's the "send" and "call" functions  
that
are messing things up again. I'm not using the stuff2 handler  
directly

but trying to use a virtual pointer to it and the "send" function
isn't passing the arrays. I forgot about BZ #1240.


Yep, no sending or calling arrays at all.  This is a bummer.


What you might be able to do is send the name of a custom prop that  
has the array in it.  Just set the values in that.  Not ideal but  
might solve the problem for now and it is easy enough to transfer  
arrays to and from custom props.



--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]


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


Re: two questions: send and references

2005-09-20 Thread Trevor DeVore

On Sep 20, 2005, at 10:01 AM, Mark Wieder wrote:


Trevor-

Tuesday, September 20, 2005, 8:30:20 AM, you wrote:


Try stuffing the values you want to send into variables and then do
this:



get the long id of field "xyz"
send "hi it" to field "abc" of card "argh"


Thanks. Unfortunately, I need to pass two of these fully-qualified
identifiers at one pass. I'd need two separate "it" variables to do
this.


No problem.

put the long id of field "myfield" into tObj1
put the long id of field "myfield2" into tObj2

send "hi tObj1, tObj2" to field "abc" of card "argh"


What you have above will work.  The array is passed by reference all
the way down the line. In both cases you are passing the array by
reference.  I do this in libraries all of the time.


Thanks for the sanity check. It's the "send" and "call" functions that
are messing things up again. I'm not using the stuff2 handler directly
but trying to use a virtual pointer to it and the "send" function
isn't passing the arrays. I forgot about BZ #1240.


Yep, no sending or calling arrays at all.  This is a bummer.


--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]


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


Re: two questions: send and references

2005-09-20 Thread Klaus Major

Hi Mark,


Trevor-
Tuesday, September 20, 2005, 8:30:20 AM, you wrote:

Try stuffing the values you want to send into variables and then do
this:

get the long id of field "xyz"
send "hi it" to field "abc" of card "argh"

Thanks. Unfortunately, I need to pass two of these fully-qualified
identifiers at one pass. I'd need two separate "it" variables to do
this.


you just won't believe it, but this will also work with other vars :-D

...
put the long id of field "xyz" into it2
send "hi it2" to field "abc" of card "argh"
...


...

--
-Mark Wieder
 [EMAIL PROTECTED]


Regards

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

___
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


QuickTime Annotations

2005-09-20 Thread david bovill
Can't find a solid way to add annotations to Spotlight metadata for  
QuickTime files... there seem to be some bugs with AppleScript adding  
metadata to QuickTime files. Tempted to look at doing this from C as  
the documentation I have seen so far from Apple gives C based  
examples


I will be putting any information I find on this on the wiki:

http://ccproducer.org/ctv/wiki/QuickTimeSpotLightMetadata

Trevor would like to make some sort of workaround for your enhanced  
QuickTime external - till such time as there is a permanent fix - if  
you have any suggestions maybe we could have a go this end?



___
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: two questions: send and references

2005-09-20 Thread Mark Smith

So

put the long id of fld "xyz" into id1
put the long id of fld "abc" into id2
send "hi id1,id2" to field "abc" of card "argh"

should work, no?

On 20 Sep 2005, at 18:01, Mark Wieder wrote:


Try stuffing the values you want to send into variables and then do
this:





get the long id of field "xyz"
send "hi it" to field "abc" of card "argh"



Thanks. Unfortunately, I need to pass two of these fully-qualified
identifiers at one pass. I'd need two separate "it" variables to do
this.



___
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: custom properties help

2005-09-20 Thread Richard Gaskin

Paul Salyers wrote:

Dear RunRev Programmers,

Can sopme1 help me with this stack, I'm trying to learn how to save 
program information in custom properties.


This may help:


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


Re: two questions: send and references

2005-09-20 Thread Mark Wieder
Trevor-

Tuesday, September 20, 2005, 8:30:20 AM, you wrote:

> Try stuffing the values you want to send into variables and then do
> this:

> get the long id of field "xyz"
> send "hi it" to field "abc" of card "argh"

Thanks. Unfortunately, I need to pass two of these fully-qualified
identifiers at one pass. I'd need two separate "it" variables to do
this.

> What you have above will work.  The array is passed by reference all
> the way down the line. In both cases you are passing the array by  
> reference.  I do this in libraries all of the time.

Thanks for the sanity check. It's the "send" and "call" functions that
are messing things up again. I'm not using the stuff2 handler directly
but trying to use a virtual pointer to it and the "send" function
isn't passing the arrays. I forgot about BZ #1240.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


RE: Insertion Point in Fields

2005-09-20 Thread Lynch, Jonathan
Try recreating the field - sometimes a field can get corrupted and do
this sort of thing.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roger Guay
Sent: Tuesday, September 20, 2005 11:51 AM
To: use-revolution@lists.runrev.com
Subject: Insertion Point in Fields

I'm sorry for the repeat, but I'm at my wits end with this seemingly  
simple problem:  I have a background group with a field in it that  
has it's sharedText set to false.  On the first card, this field  
behaves properly with a flashing insertion "|" whenever you click  
inside it.  Not so on subsequent cards!  On subsequent cards there is  
no flashing "|" no matter what you do.  Can anyone shed some light on  
this?

TIA, Roger

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


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


Re: menuItem and menuHistory Question

2005-09-20 Thread David Burgun

Thanks a lot

Cheers
Dave



Hi David,


Hi All,

If I have the name of a Menu Item (In a Tabbled Button) "OptionA", 
how can I get the Item Number associated with it. I want to set the 
menuHistory property to the Item Index of Item "OptionA". I just 
can't seem to work out how to do it!


...
 put lineoffset("OptionA", btn "my TAB button") into my_menuhistory
...


Thanks in Advance
Dave


Regards

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

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

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


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


Re: custom properties help

2005-09-20 Thread Phil Davis

Hi Paul -

In the Topics section of the Rev docs, the "Custom Properties and Custom 
Propertysets" list item is a good starting point. It covers the basics. 
Have you read through that section yet? I tried opening it here and Rev 
hung. I pressed option-period (on a Mac) to unhang it and was then able 
to see the docs.


Phil Davis



Paul Salyers wrote:

Dear RunRev Programmers,

Can sopme1 help me with this stack, I'm trying to learn how to save 
program information in custom properties.


Thank you!

Paul Salyers
PS1 - Senior Rep.
[EMAIL PROTECTED]
Http://ps1.SoftSeven.org 

___
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: menuItem and menuHistory Question

2005-09-20 Thread Klaus Major

Hi David,


Hi All,

If I have the name of a Menu Item (In a Tabbled Button) "OptionA",  
how can I get the Item Number associated with it. I want to set the  
menuHistory property to the Item Index of Item "OptionA". I just  
can't seem to work out how to do it!


...
 put lineoffset("OptionA", btn "my TAB button") into my_menuhistory
...


Thanks in Advance
Dave


Regards

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

___
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: AppleScript - Silent Running?

2005-09-20 Thread Bruce Robertson
> I'm using AppleScript to access a local FileMaker Pro 7 database
> under OS X 10.3/10.4 from my Rev stack.  This works fine except
> there's an awful lot of "screen flashing" going on - i.e. every time
> I use some AppleScript to access the FM Pro database, FM Pro becomes
> visible and is the front application.  The user sees my Rev window
> initially, then flashes of the FM Pro user interface and finally the
> Rev window again!
> 
> I use AppleScript to send "hide yourself" to FM Pro whenever
> possible, but this doesn't help when I'm trying to access the
> database since I have to start my AppleScripts with 'activate'.

Not true. 

___
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


menuItem and menuHistory Question

2005-09-20 Thread David Burgun

Hi All,

If I have the name of a Menu Item (In a Tabbled Button) "OptionA", 
how can I get the Item Number associated with it. I want to set the 
menuHistory property to the Item Index of Item "OptionA". I just 
can't seem to work out how to do it!


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


Re: Insertion Point in Fields

2005-09-20 Thread Chris Sheffield

Hi Roger,

Not sure if you've gotten a response to this or not, but just in case  
you haven't...


I seem to remember a problem where if the rect of a group overlaps a  
field, you don't see the field's insertion point.  Could this be the  
case?  I've had this happen before and not even realized it.  It  
seems like if you simply change the layer of your field so that it's  
in front of the group, it should fix it.


Chris


On Sep 20, 2005, at 9:51 AM, Roger Guay wrote:

I'm sorry for the repeat, but I'm at my wits end with this  
seemingly simple problem:  I have a background group with a field  
in it that has it's sharedText set to false.  On the first card,  
this field behaves properly with a flashing insertion "|" whenever  
you click inside it.  Not so on subsequent cards!  On subsequent  
cards there is no flashing "|" no matter what you do.  Can anyone  
shed some light on this?


TIA, Roger

___
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



--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


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


Re: Insertion Point in Fields

2005-09-20 Thread Mark Smith
'Fraid I can't replicate the problem here - seems to be working  
properly...


Mark

Mac OS 10.4.2
Rev 2.6

On 20 Sep 2005, at 16:51, Roger Guay wrote:

I'm sorry for the repeat, but I'm at my wits end with this  
seemingly simple problem:  I have a background group with a field  
in it that has it's sharedText set to false.  On the first card,  
this field behaves properly with a flashing insertion "|" whenever  
you click inside it.  Not so on subsequent cards!  On subsequent  
cards there is no flashing "|" no matter what you do.  Can anyone  
shed some light on this?


TIA, Roger

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

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



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


Insertion Point in Fields

2005-09-20 Thread Roger Guay
I'm sorry for the repeat, but I'm at my wits end with this seemingly  
simple problem:  I have a background group with a field in it that  
has it's sharedText set to false.  On the first card, this field  
behaves properly with a flashing insertion "|" whenever you click  
inside it.  Not so on subsequent cards!  On subsequent cards there is  
no flashing "|" no matter what you do.  Can anyone shed some light on  
this?


TIA, Roger

___
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: AppleScript - Silent Running?

2005-09-20 Thread Bruce Robertson
> You could use the built-in web interfaces. I believe FileMaker can
> supply HTML or XML. This has the advantage of being "silent" as you
> say, and cross-platform.
> 
> On Sep 20, 2005, at 3:47 AM, Peter Reid wrote:
> 
>> I'm using AppleScript to access a local FileMaker Pro 7 database
>> under OS X 10.3/10.4 from my Rev stack.
> 
>> By the way, I've ended up using AppleScript to interface with FM
>> Pro as I failed to get a free ODBC solution for OS X (Panther &
>> Tiger). Can anyone suggest a free (or very low cost) workable ODBC
>> solution for FM Pro 7, or any other connection technology or
>> approach?!.

FileMaker 7 comes with free xDBC connectivity out of the box, though there
are updaters which you should get at the FileMaker download page.

___
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: two questions: send and references

2005-09-20 Thread Trevor DeVore

On Sep 20, 2005, at 8:23 AM, Mark Wieder wrote:


All-

I've run up against a couple of problems here:

1. I'm trying to pass parameters using the "send" command. The problem
is that "send" insists on interpreting these for me rather than
sending them verbatim. In other words, if I try

send "hi" && the long id of field "xyz" to field "abc" of card "argh"


Try stuffing the values you want to send into variables and then do  
this:


get the long id of field "xyz"
send "hi it" to field "abc" of card "argh"


2. I can pass a parameter by reference once. That is,

local someArray

on stuff @pArray, pIndex, pValue
  put pValue into pArray[pIndex]
end stuff

stuff someArray, tUserID, tPassword

works fine. But I need to pass a reference to someArray to another
handler down the line. Is there a syntax that will allow me to do
this? I need a second level of indirection and I can't figure out how
to do it. I don't think passing the entire array back and forth is
going to be an option. I miss pointers...

on stuff @pArray, pIndex, pValue
  stuff2 pArray, pIndex, pValue
end stuff

on stuff2 @pArray, pIndex, pValue
  put pValue into pArray[pIndex]
end stuff2

stuff2 someArray, tUserID, tPassword


What you have above will work.  The array is passed by reference all  
the way down the line. In both cases you are passing the array by  
reference.  I do this in libraries all of the time.



--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]


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


Export Callback anyone??

2005-09-20 Thread kevin
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
 
I think the problem lies with the  site host as the command always works to
a local URL
(I manage the web site and  know I'm using the correct username & password.
also, text file updates work fine)
Is there any call back command I can use to check on the status of the
upload?
Maybe that would give me an indication of what's going wrong.
 
I've tried libURLftpUpload but as the image is only 25k max, everything
seems to be over
by the time the message gets back 
 
This one is driving me NUTS so any help greatly appreciated
 
Regards
Kevin Stallibrass
___
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


two questions: send and references

2005-09-20 Thread Mark Wieder
All-

I've run up against a couple of problems here:

1. I'm trying to pass parameters using the "send" command. The problem
is that "send" insists on interpreting these for me rather than
sending them verbatim. In other words, if I try

send "hi" && the long id of field "xyz" to field "abc" of card "argh"

What field "abc" of card "argh" receives is the *contents* of field
"xyz" rather than the long id. For my purpose I really need to send
the long id as a long id. Is there a way to coerce "send" into doing
what I tell it to do? Am I missing something simple here? Does someone
have an alternative way of doing this?

2. I can pass a parameter by reference once. That is,

local someArray

on stuff @pArray, pIndex, pValue
  put pValue into pArray[pIndex]
end stuff

stuff someArray, tUserID, tPassword

works fine. But I need to pass a reference to someArray to another
handler down the line. Is there a syntax that will allow me to do
this? I need a second level of indirection and I can't figure out how
to do it. I don't think passing the entire array back and forth is
going to be an option. I miss pointers...

on stuff @pArray, pIndex, pValue
  stuff2 pArray, pIndex, pValue
end stuff

on stuff2 @pArray, pIndex, pValue
  put pValue into pArray[pIndex]
end stuff2

stuff2 someArray, tUserID, tPassword

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: AppleScript - Silent Running?

2005-09-20 Thread Geoff Canyon
You could use the built-in web interfaces. I believe FileMaker can  
supply HTML or XML. This has the advantage of being "silent" as you  
say, and cross-platform.


On Sep 20, 2005, at 3:47 AM, Peter Reid wrote:

I'm using AppleScript to access a local FileMaker Pro 7 database  
under OS X 10.3/10.4 from my Rev stack.


By the way, I've ended up using AppleScript to interface with FM  
Pro as I failed to get a free ODBC solution for OS X (Panther &  
Tiger). Can anyone suggest a free (or very low cost) workable ODBC  
solution for FM Pro 7, or any other connection technology or  
approach?!.

___
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


custom properties help

2005-09-20 Thread Paul Salyers

Dear RunRev Programmers,

Can sopme1 help me with this stack, I'm trying to learn how to save program 
information in custom properties.


Thank you!

Paul Salyers
PS1 - Senior Rep.
[EMAIL PROTECTED]
Http://ps1.SoftSeven.org  ___
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: Why happen Topic error ; message id is not an integer

2005-09-20 Thread Klaus Major

Hello Supote,


Dear sir,
I want to know what happen of text error below. And I want to know  
how to solve this problem.


executing at 10:18:21 AM
Typecancel: message id is not an integer
ObjectNextWeek
Line   Hintbutton id 2691 of card id 1002 of stack "Calendar  
Schedule111" of stack "E:/schedule fill day month label of  
groupweek.rev"


this indicates that this object (a button apparently) is causing an  
error with its script:


button id 2691 of card id 1002 of stack "Calendar Schedule111" of .


And that the script is trying to "CANCEL" a -> "pending message" (see  
the docs for "pending message")

but is NOT supplying a correct ID number, which MUST be numeric!

Please check your script for this line:


cancel ...
...

Looks like you are providing a variable with "cancel" and the  
variable does not contain

a correct ID NUMBER.

Hope this helps.


Thank you very much.
Best Regard
Supote


Regards

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

___
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: highlight and hide field from standalone

2005-09-20 Thread Mark Smith
I'm glad you got it working. I don't know why, but it took nearly a  
week for my reply to appear



Mark

On 20 Sep 2005, at 12:30, [EMAIL PROTECTED] wrote:


Quoting Mark Smith <[EMAIL PROTECTED]>:

Hi Mark and everyone that helped with this.
I got it sorted using this script...Basically using the background  
colour.
I added another caveat that it only works when the mainstack is  
"armbase" So I
can change the mainstack name in the runtime and the fields cannot  
be eddited

:-).



on mouseup whichone
 global field2delete
 if the mainstack of this stack is "Armbase" then
 if the controlkey is down then
 if whichone = 3 then
   put the name of me into field2delete
   set the backgroundColor of fld field2delete to "red"
 end if
else exit to top
 end if
end mouseup

on deletekey
 global field2delete
 if the backgroundColor of field field2delete is "red" then
   hide fld field2delete
   end if
end deletekey

on escapekey
 global field2delete
 set the backgroundColor of fld field2delete to empty
end escapekey

Works perfectly, however, for other objects the bordercolour would  
be better.


Cheers
Bob


How about drawing a red rectangle around the field:


On mouseup whgichone
global field2delete
if the controlkey is down then
   if whichone = 3 then
 put "xyz" into field2delete
 addBorder field2delete
end if
else exit to top
end mouseup

on addBorder field2delete
  put the rect of fld field2delete into cRect
  create grc "fBorder"
  set the style of grc "fBorder" to rectangle
  set the rect of grc "fBorder" to cRect
  set the penColor of grc "fBorder" to red
end addBorder


and then

on deleteKey
global field2Delete
if intersect(fld field2delete,grc "fBorder") then
hide fld field2delete
delete grc "fBorder"
end deletekey

Cheers,

Mark


On 16 Sep 2005, at 13:39, [EMAIL PROTECTED] wrote:







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

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



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


Re: highlight and hide field from standalone

2005-09-20 Thread rev

Quoting Mark Smith <[EMAIL PROTECTED]>:

Hi Mark and everyone that helped with this.
I got it sorted using this script...Basically using the background colour.
I added another caveat that it only works when the mainstack is "armbase" So I
can change the mainstack name in the runtime and the fields cannot be eddited
:-).



on mouseup whichone
 global field2delete
 if the mainstack of this stack is "Armbase" then
 if the controlkey is down then
 if whichone = 3 then
   put the name of me into field2delete
   set the backgroundColor of fld field2delete to "red"
 end if
else exit to top
 end if
end mouseup

on deletekey
 global field2delete
 if the backgroundColor of field field2delete is "red" then
   hide fld field2delete
   end if
end deletekey

on escapekey
 global field2delete
 set the backgroundColor of fld field2delete to empty
end escapekey

Works perfectly, however, for other objects the bordercolour would be better.

Cheers
Bob

How about drawing a red rectangle around the field:


On mouseup whgichone
global field2delete
if the controlkey is down then
   if whichone = 3 then
 put "xyz" into field2delete
 addBorder field2delete
end if
else exit to top
end mouseup

on addBorder field2delete
  put the rect of fld field2delete into cRect
  create grc "fBorder"
  set the style of grc "fBorder" to rectangle
  set the rect of grc "fBorder" to cRect
  set the penColor of grc "fBorder" to red
end addBorder


and then

on deleteKey
global field2Delete
if intersect(fld field2delete,grc "fBorder") then
hide fld field2delete
delete grc "fBorder"
end deletekey

Cheers,

Mark


On 16 Sep 2005, at 13:39, [EMAIL PROTECTED] wrote:






___
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


Why happen Topic error ; message id is not an integer

2005-09-20 Thread Supote Songthammawat

Dear sir,
I want to know what happen of text error below. And I want to know how 
to solve this problem.


executing at 10:18:21 AM
Typecancel: message id is not an integer
ObjectNextWeek
Line   
Hintbutton id 2691 of card id 1002 of stack "Calendar Schedule111" 
of stack "E:/schedule fill day month label of groupweek.rev"



Thank you very much.
Best Regard
Supote
___
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


GAME DEVELOPMENT?

2005-09-20 Thread benjamin pastrana
hi!
I would like to create a MYST like adventure game
and wonder if i can be able to do the following in REVOLUTION:

1. Have quicktime videos with 3d animated "gadgets" on top (alpha channel) 
(done in
Lightwave 3d) to create "PUZZLES" with hospots/ get user actions and
then send messages in order to continue with the story.

2. Have variable and globals to keep inventory or set game progress

3. Quicktime VR with hotspots to link to other VR'S

4. Mac & Windows export

5. In the future ability to Import Lightwave 3d data (gadgets)
instead of quicktime video.

Please let me know about this!

thanks!
 
benjamin Pastrana
___
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


Artifacts and unwanted selection markers in stand-alones

2005-09-20 Thread Stephen Paul McNutt
I develop in OS X, but when I build stand-alones for either OS X or  
Windows XP, I often get unwanted graphic artifacts like a selection  
boundary around a button or field.  If I click a different button or  
field, the boundary goes away, but it's always there the next time I  
open the stand-alone.  In another case I get a black strip along the  
bottom of the stack that disappears if I click to a different card  
then back.

___
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: highlight and hide field from standalone

2005-09-20 Thread Mark Smith

How about drawing a red rectangle around the field:


On mouseup whgichone
global field2delete
if the controlkey is down then
   if whichone = 3 then
 put "xyz" into field2delete
 addBorder field2delete
end if
else exit to top
end mouseup

on addBorder field2delete
  put the rect of fld field2delete into cRect
  create grc "fBorder"
  set the style of grc "fBorder" to rectangle
  set the rect of grc "fBorder" to cRect
  set the penColor of grc "fBorder" to red
end addBorder


and then

on deleteKey
global field2Delete
if intersect(fld field2delete,grc "fBorder") then
hide fld field2delete
delete grc "fBorder"
end deletekey

Cheers,

Mark


On 16 Sep 2005, at 13:39, [EMAIL PROTECTED] wrote:



Hi Bob,




Hi Klaus



Ok I thought of another thing.
I'm playing with this one It seems quite nice. IMHO :-)

On mouseup whgichone
global field2delete
if the controlkey is down then
   if whichone = 3 then
put "xyz" into field2delete
set the bordercolor of fld field2delete to "red"
--this should make the border red but it does not???
--Q? any idea what the edge of a field is called? I tried changing  
all the

--colours to red without any luck
 end if
else exit to top
end mouseup

-- so pressing the right key when control is down puts the field  
into the

--variable

on deletekey
global field2delete
if the bordercolor of fld feld2delete is "red" then
hide fld field2delete
end deletekey

--deletes the field only if the border is red :-)

on escapekey
set the bordercolor of fld field2delete to empty
end escapekey

--escape key clears the border colour so the delete key wont work :-)


But now the problem I cant see the edge of the field being red but  
I can see it
red in the object inspector. What is the boundary of a field  
cazlled if it is

not the border colour?


Cheers
Bob

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

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





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


AppleScript - Silent Running?

2005-09-20 Thread Peter Reid
I'm using AppleScript to access a local FileMaker Pro 7 database 
under OS X 10.3/10.4 from my Rev stack.  This works fine except 
there's an awful lot of "screen flashing" going on - i.e. every time 
I use some AppleScript to access the FM Pro database, FM Pro becomes 
visible and is the front application.  The user sees my Rev window 
initially, then flashes of the FM Pro user interface and finally the 
Rev window again!


I use AppleScript to send "hide yourself" to FM Pro whenever 
possible, but this doesn't help when I'm trying to access the 
database since I have to start my AppleScripts with 'activate'.


Can anyone suggest a way of accessing the FM Pro database silently, 
i.e. with no screen activity from FM Pro itself?


By the way, I've ended up using AppleScript to interface with FM Pro 
as I failed to get a free ODBC solution for OS X (Panther & Tiger). 
Can anyone suggest a free (or very low cost) workable ODBC solution 
for FM Pro 7, or any other connection technology or approach?!.


Thanks

Peter
--
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576
E-mail: [EMAIL PROTECTED]
Web: http://www.reidit.co.uk
___
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


[OT] 70% now using 1024x768 or greater

2005-09-20 Thread Richard Gaskin
For those of you who crave designing for 1024x768 resolution, in many 
markets your day may be here - the most recent stats I could find:


July  2005

640x480:  0%  VERY old/small desktop monitors and
  laptop computers

800x600: 24%  Just about all 15" desktop monitors,
  many small laptops

1024x768:55%  Most 17" and some 15" desktop monitors;
  just about all 12"-14" laptops

> 1024x768:  15%  Some 17" & larger desktop monitors;
  just about all 15" & larger laptops



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


[ANN] ssBk 5.12 update available

2005-09-20 Thread FlexibleLearning
The Scripter's Scrapbook update v5.12 is now available, correcting a window  
layering issue in OSX when importing a backup with different Entry  
classifications.

- Registered and trial users should update within their  program under the 
Help menu.

- If you wish to try the software, you can obtain a starter kit  as a 
Revolution plugin, or as a standalone for Mac, OSX and Windows, at  
www.FlexibleLearning.com/ssbk.htm 

If your trial license expired more than 30 days ago, you can review the  
newer version by downloading a fresh starter-kit.

/H
FLCo
 
___
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