Re: Escape key to dismiss dialogs

2007-02-27 Thread Dave Cragg


On 27 Feb 2007, at 05:56, Bill Vlahos wrote:

 It is common for dialog boxes to cancel when the user presses the  
Esc key. Unfortunately when I press the Esc key on an ask dialog it  
simply enters something in the field.


Is this a bug? How do I get the desired behavior?


One way I've handled this is to put the following handler in the  
stack script of the main stack.


on escapeKey
  if there is a button Cancel then
click at the loc of button Cancel
  else if there is a button Close then
   click at the loc of button Close
 end if
end escapeKey

Cheers
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: Groovy Graphical Demos

2007-02-27 Thread Ben Rubinstein
Thanks Marielle, Jacque, Chipp: that was all the good stuff I needed.  Actually
just the http://www.tactilemedia.com/download/ demos on their own make a very
good case.

- Ben

___
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: Quicktime -- Vista

2007-02-27 Thread Ben Rubinstein
J. Landman Gay [EMAIL PROTECTED] writes:

 
 Ian Wood wrote:
  Apple software isn't *certified* for Vista yet. Which also applies to 
  certain bits of MS software. Compatibility is a totally different matter 
  - iTunes needed a patch, but apart from that I believe it all works OK.
  
  With the exception of QT on Vista 64-bit, which is no surprise as QT 
  didn't work properly on XP 64-bit. 
 
 It would be good to know for sure, since this issue will affect a lot of 
 us, and the article said not compatible specifically. Are you running 
 Vista yet? Would it be possible for you to check for us?
 

I can offer a single datapoint: a CD-ROM we last updated a couple of years
ago, which comes with QT 6.4 on the disk.   We've been asked by the client,
who's still selling the stock, to check and did this yesterday.  Ran fine
on Vista Business, installing QT off the disk; and we then tried de-installing
that and installing the latest QT (7.1) from Apple's web site, and it still
seemed fine. 

In fact Vista fixes a bug that appeared in our product when QT 6 was released
on XP.

However, this product really doesn't exercise QT at all hard - so it's just
a datapoint.  But certainly evidence that not certified != doesn't work.

- Ben

___
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: Itemization of detailed files changed in v 2.8?

2007-02-27 Thread Mark Powell
How to use Revolution

 Joe Lewis Wilkins wrote:
 Actually, it was easy to run the older version, once 
 I found it! (smile) That did improve the situation, 

 Trevor DeVore wrote:
 the bug appeared in 2.7.5 betas (which became 2.8).  
 detailed files works fine in 2.7.4 which was the 
 last released version of 2.7.x.

I believe it is too generous to say that it improves the situation *not*
to upgrade.  Forego a new version, because you can't trust it is not a
solution, it is a coping mechanism. (-:  

What is particularly frustrating about this bug is that it looks simply
like bad counting on the part of the engine.  The permissions component
is just wrong, but the mod date is now item 6 of detailed files instead
of item 5.  Grrr.  I make lots of mistakes and the ones that grind on me
the most are ones like this that are due to my own sloppy housekeeping.
So my advice to the Rev team:  shoot for the stars in improvements, yes,
but make sure the on-board toilet keep working while you are on the
journey.   

Thanks to all for responding.  This list is cheaper than counseling, and
much more effective.

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


Re: Itemization of detailed files changed in v 2.8?

2007-02-27 Thread Joe Lewis Wilkins

Mark, Beautifully stated. May I quote you elsewhere?

Joe Wilkins

On Feb 27, 2007, at 3:18 AM, Mark Powell wrote:


How to use Revolution


Joe Lewis Wilkins wrote:
Actually, it was easy to run the older version, once
I found it! (smile) That did improve the situation,



Trevor DeVore wrote:
the bug appeared in 2.7.5 betas (which became 2.8).
detailed files works fine in 2.7.4 which was the
last released version of 2.7.x.


I believe it is too generous to say that it improves the situation  
*not*
to upgrade.  Forego a new version, because you can't trust it is  
not a

solution, it is a coping mechanism. (-:

What is particularly frustrating about this bug is that it looks  
simply
like bad counting on the part of the engine.  The permissions  
component
is just wrong, but the mod date is now item 6 of detailed files  
instead
of item 5.  Grrr.  I make lots of mistakes and the ones that grind  
on me
the most are ones like this that are due to my own sloppy  
housekeeping.
So my advice to the Rev team:  shoot for the stars in improvements,  
yes,

but make sure the on-board toilet keep working while you are on the
journey.

Thanks to all for responding.  This list is cheaper than  
counseling, and

much more effective.

--Mark


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


Re: Bar code generation readin

2007-02-27 Thread Sarah Reichelt

On 2/27/07, Peter Alcibiades [EMAIL PROTECTED] wrote:

Wonder whether someone with experience of bar codes could help with this -
Sarah??

My bar code reading app now finally seems to work, and the reader is on a Y
connection with the keyboard (so called Wedge).  All the commercially printed
codes I've tried work fine, even the most tiny ones, or ones partly obscured
by a price sticker.  So its a fine reader (Gryphon).  There is just one last
glitch.

Reading codes we generate doesn't work.  I am using kbarcode, saving them as
pngs, and then printing on a laser printer on ordinary paper. The great merit
of kbarcode is of course, it is free and will also do label printing

I've used code 39 as well as others, makes no odds.  The size of the png also
makes no odds.  .

Is there some special magic to generating and printing readable bar codes?

Peter



Well yes, there IS special magic to generating barcodes :-)
although not to printing as far as I know.

You can't just convert text to a barcode font, it has to have the
special header  footer to identify it's code to the scanner. I
haven't worked with Code39, but for Code128, I made a barcode
generator http://www.troz.net/Rev/misc/Barcodes.rev.gz that takes
your text and fills in the special stuff at either end, does any other
processing needed (I think spaces require encoding), then uses a
barcode font to display the final code.

I am not familiar with kbarcode, but I assume it should be doing this also.

Is your reader configured to read Code39? Are you sure the code is
really being generated? If you like to send me the text and the png
off-list, I'd be happy to test with a few different scanners and see
what I can find.

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


Re: XCode 3.0

2007-02-27 Thread Joe Lewis Wilkins
Mark, I agree. It seems that life is always made tougher before it is  
made easier; or what is the old expression? It's always darkest  
before the dawn!


Joe Wilkins

On Feb 26, 2007, at 10:45 PM, Mark Wieder wrote:


Joe-

Sunday, February 25, 2007, 10:13:00 AM, you wrote:


http://theappleblog.com/2006/08/07/xcode-30-a-great-developer-

addition/

Sounds promising. I do want to point out, however, that garbage
collection is one of those good news/bad news things. It's great not
to have to worry about remembering to free up the memory that you
allocate and when to do it and in what order to do it. It's definitely
one of the more programmer-friendly techniques to come along in the
last decade or so. But the fact that you're deferring that task to the
underlying engine means that you give up the ability to decide when it
happens. And this can come back and bite you in real-time apps: in the
middle of an action game, during a midi sequence, etc. It's supposed
to happen during idle time, but I've had to hack my way around it in
an embedded java system before...

Just my two cents. I *am* looking forward to xcode 3.0.

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


___
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


How to use XFCNs XCMDs in Rev?

2007-02-27 Thread Tim MacKenzie


How do you install and use XFCNs and XCMDs in Rev?

- Tim MacKenzie

___
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


Beep not working in 2.7.x and 2.8.x ????

2007-02-27 Thread Dave

Hi,

I can't get beep to work on 2.7.x and 2.8.x. I running on Mac OS X  
10.4.8 on a Mac Pro.


Is this a known problem?

Thanks a lot and All the Best
Dave

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


Re: How to use XFCNs XCMDs in Rev?

2007-02-27 Thread Dave

Hi.

Something like this should do it:


on preOpenStack
  local myExternalFilePathName

  set the externals of this stack to empty

  put the_full_path_external into myExternalFilePathName

--
--  Have to test for a folder here since on MacOS X the external is a  
bundle which looks like a folder to RunRev

--
  if there is a folder myExternalFilePathName then
put myExternalFilePathName  cr into myExternalFilePathName
set the externals of this stack to myExternalFilePathName
  else
beep
answer External File Not Found:   cr  myExternalFilePathName
  end if
end preOpenStack


Hope this Helps
All the Best
Dave


On 27 Feb 2007, at 12:53, Tim MacKenzie wrote:



How do you install and use XFCNs and XCMDs in Rev?

- Tim MacKenzie

___
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: Beep not working in 2.7.x and 2.8.x ????

2007-02-27 Thread Mark Schonewille

Hi Dave,

What does can't get to work mean? What does or doesn't happen and  
if it doesn't do what you expect, what does it do instead?


I have problems with beep too and am interested in your observations.

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 27-feb-2007, om 14:42 heeft Dave het volgende geschreven:


Hi,

I can't get beep to work on 2.7.x and 2.8.x. I running on Mac OS  
X 10.4.8 on a Mac Pro.


Is this a known problem?

Thanks a lot and All the Best
Dave


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


Re: Printing Problem

2007-02-27 Thread LunchnMeets

In a message dated 2/27/07 1:26:12 AM, [EMAIL PROTECTED] writes:


 Hello Yves,
 I have a print routine that worked fine under 2.6.1 but now prints 
 mostly (but not completely) blank space.   I am busy poking about to 
 determine where the issue may lie.  If you learn anything in the 
 meanwhile I hope you will post your discovery.
 

I also experienced this printing problem with 2.8 so I went back to 2.7.4 and 
everything is fine again. I’m on mac OSX

Joe, Orlando, Florida


**
 AOL now offers 
free email to everyone.  Find out more about what's free from AOL at 
http://www.aol.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


Well done by someone....!

2007-02-27 Thread Peter Alcibiades
http://www.regdeveloper.co.uk/2007/02/27/revolution_runtime/
___
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: Beep not working in 2.7.x and 2.8.x ????

2007-02-27 Thread Dave

Hi,

Well, beep doesn't beep! I have one button in a stack with the  
following script:


on mouseUp
beep
end mouseUp

when I hit the button, it doesn't beep! The same script works fine  
under 2.6.6.152.


I have only tried this on MacOS X and only under the IDE.

All the Best
Dave

On 27 Feb 2007, at 13:58, Mark Schonewille wrote:


Hi Dave,

What does can't get to work mean? What does or doesn't happen and  
if it doesn't do what you expect, what does it do instead?


I have problems with beep too and am interested in your  
observations.


Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store  
software. Download at http://www.salery.biz


Op 27-feb-2007, om 14:42 heeft Dave het volgende geschreven:


Hi,

I can't get beep to work on 2.7.x and 2.8.x. I running on Mac OS  
X 10.4.8 on a Mac Pro.


Is this a known problem?

Thanks a lot and All the Best
Dave


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

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


___
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: Beep not working in 2.7.x and 2.8.x ????

2007-02-27 Thread Mark Schonewille

Hi Dave,

Do other applications beep? Have you checked the two different  
settings in the Sound control panel, for regular beeps and warning  
signals?


Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 27-feb-2007, om 15:30 heeft Dave het volgende geschreven:


Hi,

Well, beep doesn't beep! I have one button in a stack with the  
following script:


on mouseUp
beep
end mouseUp

when I hit the button, it doesn't beep! The same script works fine  
under 2.6.6.152.


I have only tried this on MacOS X and only under the IDE.

All the Best
Dave



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


Re: Beep not working in 2.7.x and 2.8.x ????

2007-02-27 Thread Dave

Hi,

Yes, other Apps beep and RunRev 2.6.6.152 beeps but nothing from  
2.7.x onwards beeps!


Checked the Sound Control Panels all set as normal.

All the Best
Dave

On 27 Feb 2007, at 14:57, Mark Schonewille wrote:


Hi Dave,

Do other applications beep? Have you checked the two different  
settings in the Sound control panel, for regular beeps and warning  
signals?


Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store  
software. Download at http://www.salery.biz


Op 27-feb-2007, om 15:30 heeft Dave het volgende geschreven:


Hi,

Well, beep doesn't beep! I have one button in a stack with the  
following script:


on mouseUp
beep
end mouseUp

when I hit the button, it doesn't beep! The same script works fine  
under 2.6.6.152.


I have only tried this on MacOS X and only under the IDE.

All the Best
Dave



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

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


___
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


Droplets and AppleEvents

2007-02-27 Thread Dave

Hi,

I have an application that is built into a standalone. If the app is  
launched by double-clicking it then I want to display a (prefs)  
window (whether the app is already running or not)  if the app is  
launched by dragging and dropping a file into the App's Icon, then I  
want to process the file(s).


I have my Standalone structured so that a Splash Screen is made into  
a Standalone and it calls other Stacks inside the App bundle. This  
all works fine. However, if I launch the app, let the Splash Screen  
Splash, then drag and drop a file onto the App Icon, the Icon  
Highlights as expected but I don't get the AppleEvent - ever. If in  
the secondary stack I press a button that simply has this script  
attached:


on mouseUp
answer Hello World
end mouseUp

I get the Hello World dialog then hit ok and then AppleEvents seem  
to get thru, e.g. I can drag and drop files onto the Apps Icon and  
the appleEvent handler below runs and I get the odoc event.


Here is the AppleEvent Script handler in the Stack Script of the  
Splash Screen:


 
-

--
--  appleEvent
--
 
---

on appleEvent theClass,theID
  local myAppleEventData

  request appleEvent data

  put it into myAppleEventData
  answer theClass:   theClasstheID:   theID  cr  Data:  
  myAppleEventData

  pass appleEvent
end appleEvent

Any ideas on how I can make this work correctly??

Thanks a lot
All the Best
Dave





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


Re: Escape key to dismiss dialogs

2007-02-27 Thread Trevor DeVore

On Feb 26, 2007, at 9:56 PM, Bill Vlahos wrote:

 It is common for dialog boxes to cancel when the user presses the  
Esc key. Unfortunately when I press the Esc key on an ask dialog it  
simply enters something in the field.


Is this a bug? How do I get the desired behavior?


Dave already provided a solution but here is a bug report I filed in  
case you are interested:


http://quality.runrev.com/qacenter/show_bug.cgi?id=3956

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.com
[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: Beep not working in 2.7.x and 2.8.x ????

2007-02-27 Thread Joe Lewis Wilkins
My beeper works, with OS 10.4.8 on a Mini-mac with external speakers  
and Rev 2.8 gm3.


Joe Wilkins

On Feb 27, 2007, at 5:42 AM, Dave wrote:


Hi,

I can't get beep to work on 2.7.x and 2.8.x. I running on Mac OS  
X 10.4.8 on a Mac Pro.


Is this a known problem?

Thanks a lot and All the Best
Dave

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

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


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


Re: How to use XFCNs XCMDs in Rev?

2007-02-27 Thread Joe Lewis Wilkins
Dave, while we're at it, and I know this has been asked and answered  
a kajillion times: is there any chance that HC XCMDs and XFCNs will  
work with Rev? They were created with CompileIt mucho years ago!


Joe Wilkins

On Feb 27, 2007, at 5:45 AM, Dave wrote:


Hi.

Something like this should do it:


on preOpenStack
  local myExternalFilePathName

  set the externals of this stack to empty

  put the_full_path_external into myExternalFilePathName

--
--  Have to test for a folder here since on MacOS X the external is  
a bundle which looks like a folder to RunRev

--
  if there is a folder myExternalFilePathName then
put myExternalFilePathName  cr into myExternalFilePathName
set the externals of this stack to myExternalFilePathName
  else
beep
answer External File Not Found:   cr  myExternalFilePathName
  end if
end preOpenStack


Hope this Helps
All the Best
Dave


On 27 Feb 2007, at 12:53, Tim MacKenzie wrote:



How do you install and use XFCNs and XCMDs in Rev?

- Tim MacKenzie

___
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


___
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: Well done by someone....!

2007-02-27 Thread Ken Ray
On Tue, 27 Feb 2007 14:03:59 +, Peter Alcibiades wrote:

 http://www.regdeveloper.co.uk/2007/02/27/revolution_runtime/

Great review! Glad to see more of Rev in the press. Congrats, RunRev!


Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.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: Beep not working in 2.7.x and 2.8.x ????

2007-02-27 Thread Trevor DeVore

On Feb 27, 2007, at 7:30 AM, Dave wrote:


Hi,

Yes, other Apps beep and RunRev 2.6.6.152 beeps but nothing from  
2.7.x onwards beeps!


Checked the Sound Control Panels all set as normal.


Dave,

The beep is working in the dev environment under 2.8 on OS X.4.8 on  
an Intel.  I tried from the message box.


--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.com
[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


AW: Beep not working in 2.7.x and 2.8.x ????

2007-02-27 Thread Tiemo Hollmann TB
My Rev 2.8.0 Build 350 beeps on WinXP
Tiemo

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:use-revolution-
 [EMAIL PROTECTED] Im Auftrag von Dave
 Gesendet: Dienstag, 27. Februar 2007 16:30
 An: How to use Revolution
 Betreff: Re: Beep not working in 2.7.x and 2.8.x 
 
 Hi,
 
 Yes, other Apps beep and RunRev 2.6.6.152 beeps but nothing from
 2.7.x onwards beeps!
 
 Checked the Sound Control Panels all set as normal.
 
 All the Best
 Dave
 
 On 27 Feb 2007, at 14:57, Mark Schonewille wrote:
 
  Hi Dave,
 
  Do other applications beep? Have you checked the two different
  settings in the Sound control panel, for regular beeps and warning
  signals?
 
  Best,
 
  Mark
 
  --
 
  Economy-x-Talk
  Consultancy and Software Engineering
  http://economy-x-talk.com
  http://www.salery.biz
 
  Get your store on-line within minutes with Salery Web Store
  software. Download at http://www.salery.biz
 
  Op 27-feb-2007, om 15:30 heeft Dave het volgende geschreven:
 
  Hi,
 
  Well, beep doesn't beep! I have one button in a stack with the
  following script:
 
  on mouseUp
  beep
  end mouseUp
 
  when I hit the button, it doesn't beep! The same script works fine
  under 2.6.6.152.
 
  I have only tried this on MacOS X and only under the IDE.
 
  All the Best
  Dave
 
 
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
 
 ___
 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: How to use XFCNs XCMDs in Rev?

2007-02-27 Thread Dave

Hi,

I'm really not sure, but I guess it would depend on the Platform. I'm  
pretty sure it won't work under MacOS X, but under Windows it may  
well work since I think the DLL format is compatible.


All the Best
Dave

On 27 Feb 2007, at 15:52, Joe Lewis Wilkins wrote:

Dave, while we're at it, and I know this has been asked and  
answered a kajillion times: is there any chance that HC XCMDs and  
XFCNs will work with Rev? They were created with CompileIt mucho  
years ago!


Joe Wilkins

On Feb 27, 2007, at 5:45 AM, Dave wrote:


Hi.

Something like this should do it:


on preOpenStack
  local myExternalFilePathName

  set the externals of this stack to empty

  put the_full_path_external into myExternalFilePathName

--
--  Have to test for a folder here since on MacOS X the external  
is a bundle which looks like a folder to RunRev

--
  if there is a folder myExternalFilePathName then
put myExternalFilePathName  cr into myExternalFilePathName
set the externals of this stack to myExternalFilePathName
  else
beep
answer External File Not Found:   cr  myExternalFilePathName
  end if
end preOpenStack


Hope this Helps
All the Best
Dave


On 27 Feb 2007, at 12:53, Tim MacKenzie wrote:



How do you install and use XFCNs and XCMDs in Rev?

- Tim MacKenzie

___
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


___
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


Droplets and AppleEvents

2007-02-27 Thread Dave

Hi,

I added an AppleEvent handler to the Main Window Stack and I now get  
the the AppleEvents ok. I had thought that the Splash Screen would  
always get the message. What is the action here? If the user drops a  
file into the Standalone Icon, where should the AppleEvent get sent?


One other thing, I want to give my App a Creator type of CR01, but I  
want to be able to Drop Movie Files into it. How do I go about  
setting this up in the Standalone settings dialog.


Thanks a lot
All the Best
Dave

 



Hi,

I have an application that is built into a standalone. If the app is  
launched by double-clicking it then I want to display a (prefs)  
window (whether the app is already running or not)  if the app is  
launched by dragging and dropping a file into the App's Icon, then I  
want to process the file(s).


I have my Standalone structured so that a Splash Screen is made into  
a Standalone and it calls other Stacks inside the App bundle. This  
all works fine. However, if I launch the app, let the Splash Screen  
Splash, then drag and drop a file onto the App Icon, the Icon  
Highlights as expected but I don't get the AppleEvent - ever. If in  
the secondary stack I press a button that simply has this script  
attached:


on mouseUp
answer Hello World
end mouseUp

I get the Hello World dialog then hit ok and then AppleEvents seem  
to get thru, e.g. I can drag and drop files onto the Apps Icon and  
the appleEvent handler below runs and I get the odoc event.


Here is the AppleEvent Script handler in the Stack Script of the  
Splash Screen:


 
-

--
--  appleEvent
--
 
---

on appleEvent theClass,theID
  local myAppleEventData

  request appleEvent data

  put it into myAppleEventData
  answer theClass:   theClasstheID:   theID  cr  Data:  
  myAppleEventData

  pass appleEvent
end appleEvent

Any ideas on how I can make this work correctly??

Thanks a lot
All the Best
Dave





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

http://lists.runrev.com/mailman/listinfo/use-revolution
___
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: Drag and drop from a list field

2007-02-27 Thread Ken Ray
On Mon, 26 Feb 2007 21:39:29 -0800, Bill Vlahos wrote:

 Klaus has a great demo stack in RevOnLine on dragging and dropping a 
 file on the computer desktop into a field or stack. What I want to 
 know is how to drag and drop out of a list field onto the desktop.
 
 There is a sample drag and drop in the Rev docs using graphics 
 objects for dragging the name of a color graphic to another object on 
 the same card. Essentially the object has the script:
 
 on mouseDown
   set the dragData[text] to the short name of the target
   set the borderWidth of the target to 3
 end mouseDown
 
 on dragEnd
   set the borderWidth of the target to 1
 end dragEnd
 
 
 I have two questions.
 
 1. How do I get the content of the line of text (the one that is 
 selected) in a list field that I want to drag from?

You could:

  set the dragData[text] to the hilitedText of the target

However, the cursor changes to be the can't drag cursor, even though 
you can drop the text into the Message Box or another app without a 
problem, so you'd have to change the cursor too:

on mouseDown
  lock cursor
  set cursor to arrow
  set the dragData[text] to the hilitedText of the target
end mouseDown

The problem with *that* is that you're releasing outside of the main 
card window, so no mouseUp/mouseRelease message will be sent. So you'd 
need to poll for the mouseState like this:

on mouseDown
  lock cursor
  set cursor to 24   -- the drag cursor
  send checkMouse to me in 100 milliseconds
  set the dragData[text] to the hilitedText of the target
end mouseDown

on checkMouse
  if the mouse is up then
unlock cursor
  else
send checkMouse to me in 100 milliseconds
  end if
end checkMouse

 2. How do I send it outside the stack to the desktop to make a file 
 on the desktop?

Well, if you're just dragging text, then the OS does it for you - when 
you drag text into the Finder (or Windows Explorer) and release, it 
will make a clipping file for you - basically it detects the type of 
dragData (text in this case), and handles it for you. However I don't 
know how to find out exactly *where* the file ends up. That is, what 
folder, etc. received the clipping.

It would really be great if the dragDestination could be updated to 
contain this kind of information, but right now the destination can 
only be other objects in Rev.

Anyone have any ideas on how to find out where the clipping was dropped?

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.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: How to use XFCNs XCMDs in Rev?

2007-02-27 Thread J. Landman Gay

Tim MacKenzie wrote:


How do you install and use XFCNs and XCMDs in Rev?


In most casess, you won't need to because Revolution is so feature-rich 
that most of the things HyperCard required XCMDs to do are already built 
into Revolution. So before you even try to use an XCMD, see if the 
feature is already available in native Revolution. In all the years I've 
been using Revolution, I have only had to use an external two or three 
times. Virtually everything I used to use HC XCMDs for can be done in 
regular scripting.


If you really, really do need an XCMD or XFCN, be aware that they will 
only work on OS 9 standalones. If you want to use them in OS X, you'll 
need to program a Revolution external (different than an XCMD) using the 
Revolution API.


There is currently no OS 9 engine for the latest Revolution build, so 
you will need to regress to 2.6.x to get that engine when buildling a 
standalone. Once you have that and have built the standalone, open a 
resource fork using ResEdit (or similar) and install the XCMD just as 
you did with HyperCard. After that, usage is the same as in HC. Just 
call the XCMD using the syntax you used in HC.


One other thing: only XCMDs/XFCNs that use the older 1.0 interface will 
work. XCMDs that use the 2.0 format cannot be used. This means that 
basically any XCMD written after HC 2.0 was released cannot be used.


Given all the restrictions on XCMDs/XFCNs in Revolution, it is really 
much better to see if you can rewrite the functionality using native 
syntax. Revolution is so fast that a native solution almost always runs 
faster than an XCMD because you avoid the overhead of calling out to an 
external.


If you want to let us know about some of the XCMDs/XFCNs you need, we 
can probably tell you how to do the same thing in native scripts.


--
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: How to use XFCNs XCMDs in Rev?

2007-02-27 Thread Klaus Major

Hi Dave and Joe,


Hi,

I'm really not sure, but I guess it would depend on the Platform.  
I'm pretty sure it won't work under MacOS X, but under Windows it  
may well work since I think the DLL format is compatible.


I'm afraid that you can ONLY use HC XCMDs and XFCNs with REV on Mac  
OS = 9.x.


These are code resources stored in the resource-fork of the stacks  
and the format is not

compatible with the OS X bundle or Windows DLL format.

You will have to convert them to the necessary format, but I have no  
idea how this could be done.

Maybe they have to be re-compiled into the necessary formats.


All the Best
Dave

On 27 Feb 2007, at 15:52, Joe Lewis Wilkins wrote:

Dave, while we're at it, and I know this has been asked and  
answered a kajillion times: is there any chance that HC XCMDs and  
XFCNs will work with Rev? They were created with CompileIt mucho  
years ago!


Joe Wilkins

On Feb 27, 2007, at 5:45 AM, Dave wrote:


Hi.

Something like this should do it:
...


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: How to use XFCNs XCMDs in Rev?

2007-02-27 Thread Mark Smith

I'm pretty sure that they'd only work under Mac OS 9.

Best,

Mark

On 27 Feb 2007, at 15:52, Joe Lewis Wilkins wrote:

Dave, while we're at it, and I know this has been asked and  
answered a kajillion times: is there any chance that HC XCMDs and  
XFCNs will work with Rev? They were created with CompileIt mucho  
years ago!


Joe Wilkins

On Feb 27, 2007, at 5:45 AM, Dave wrote:


Hi.

Something like this should do it:


on preOpenStack
  local myExternalFilePathName

  set the externals of this stack to empty

  put the_full_path_external into myExternalFilePathName

--
--  Have to test for a folder here since on MacOS X the external  
is a bundle which looks like a folder to RunRev

--
  if there is a folder myExternalFilePathName then
put myExternalFilePathName  cr into myExternalFilePathName
set the externals of this stack to myExternalFilePathName
  else
beep
answer External File Not Found:   cr  myExternalFilePathName
  end if
end preOpenStack


Hope this Helps
All the Best
Dave


On 27 Feb 2007, at 12:53, Tim MacKenzie wrote:



How do you install and use XFCNs and XCMDs in Rev?

- Tim MacKenzie

___
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


___
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: Copy Paste update

2007-02-27 Thread Bob Warren

Chipp Walters wrote:


I've created a plugin which steps in front of Rev's frontscripts and

manages all Copy/Paste keyboard commands. Like some of our others,
it's very small, and is comprised of a simple checkbox to turn it on
and off, and an UPDATE button.


It's only tested on WinXP, but seems to work fine for me. Works with
altPluginToolbar. If you're interested in testing it out, give me a
shout and I'll send you the URL. I'll post it later after it's banged
on a bit more.

--
Is it likely to work in Rev/Linux 2.6.1 or the pending 2.8?
If so, I would certainly be interested.
Using Ubuntu 6.06 Dapper Drake, copy/paste rarely, if ever, works at all using 
the keyboard!
Does (or will) your plugin include the CTRL+S and CTRL+A functions?
At the moment, I have to close the code editor and message box in order to save 
from the menu. Not exactly convenient!

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


Re: Droplets and AppleEvents

2007-02-27 Thread Jim Ault
On 2/27/07 8:08 AM, Dave [EMAIL PROTECTED] wrote:
 I added an AppleEvent handler to the Main Window Stack and I now get
 the the AppleEvents ok. I had thought that the Splash Screen would
 always get the message. What is the action here? If the user drops a
 file into the Standalone Icon, where should the AppleEvent get sent?
 
 One other thing, I want to give my App a Creator type of CR01, but I
 want to be able to Drop Movie Files into it. How do I go about
 setting this up in the Standalone settings dialog.
 
I think one answer to your first question (I don't know the second one) is
that you can trap the event several places, just don't pass it.  One
technique could be to put the trap in a back script and then all stacks
would be before it in the message path.  The execption could be the splash
screen.

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: Bar code generation readin

2007-02-27 Thread Mikey

Sarah,

The easiest way to generate a barcode using a font in Code 39 is to:

1) Make sure you have the prefix and postfix characters appended.  For
Code 39 that's an asterisk.  Your reader will eat this character, so
it won't display when you scan it.

2) Figure out if your reader is requiring a checksum.  If it is, email
me privately and I'll send you the algorithm.

3) Figure out what Code 39 characters and symbology you need.  The
place to start is to make a number to encode.  Try 12345...except to
make it code 39 you have to use *12345* (assuming no checksum).  After
you can verify that this works, then you have to decide if you want
the full ASCII character set to be encodable, or just a subset
(uppercase alpha characters, number, and a couple of symbols).  Email
me privately for more on this as well so we make sure that you are
properly encoding your string.

Mike.
___
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


More Droplets and AppleEvents

2007-02-27 Thread Dave

Hi,

I can't find any information on how this is supposed to work. The  
built-in documentation says that the appleEvent message is sent to  
the current card, however I have the appleEvent message handler in my  
Stack Script and it gets called. So where exactly is the message sent  
to?


 The Splash Screen Stack used to just be hidden, I now close it so  
that there would be no chance that appleEvents get sent it it,  
however, I still sometimes get the appleEvent handler in the Splash  
stack is getting called, even though it is closed and gone How  
can this be? This is the handler:



on appleEvent theClass,theID
  local myAppleEventData

  if (the environment  development) then
request appleEvent data
put it into myAppleEventData
answer the name of me  cr  theClass:   theClasstheID:  
  theID  cr  Data:   myAppleEventData

  end if

  pass appleEvent
end appleEvent


I have this in the Splash Screen Stack and the Main Stack. I have a  
number of other stacks that are open, one is a Place Holder for  
loading externals and a couple that hold global functions. I'm  
guessing that these stacks are eating the appleEvents. IMO, the way  
in which appleEvents are handled needs to be improved. It's senseless  
to have the appleEvent sent to the current card or even the current  
stack, they should always be sent to one place. My suggestion would  
be to have a global property that specifies the stack to send the  
message to, e.g.


set the appleEventStack to myAppleEventStack

Anyway, is there any secret on how to have this work?

Thanks a lot
All the Best
Dave
 


Hi,

I added an AppleEvent handler to the Main Window Stack and I now get  
the the AppleEvents ok. I had thought that the Splash Screen would  
always get the message. What is the action here? If the user drops a  
file into the Standalone Icon, where should the AppleEvent get sent?


One other thing, I want to give my App a Creator type of CR01, but I  
want to be able to Drop Movie Files into it. How do I go about  
setting this up in the Standalone settings dialog.


Thanks a lot
All the Best
Dave

 



Hi,

I have an application that is built into a standalone. If the app is  
launched by double-clicking it then I want to display a (prefs)  
window (whether the app is already running or not)  if the app is  
launched by dragging and dropping a file into the App's Icon, then I  
want to process the file(s).


I have my Standalone structured so that a Splash Screen is made into  
a Standalone and it calls other Stacks inside the App bundle. This  
all works fine. However, if I launch the app, let the Splash Screen  
Splash, then drag and drop a file onto the App Icon, the Icon  
Highlights as expected but I don't get the AppleEvent - ever. If in  
the secondary stack I press a button that simply has this script  
attached:


on mouseUp
answer Hello World
end mouseUp

I get the Hello World dialog then hit ok and then AppleEvents seem  
to get thru, e.g. I can drag and drop files onto the Apps Icon and  
the appleEvent handler below runs and I get the odoc event.


Here is the AppleEvent Script handler in the Stack Script of the  
Splash Screen:


 
-

--
--  appleEvent
--
 
---

on appleEvent theClass,theID
  local myAppleEventData

  request appleEvent data

  put it into myAppleEventData
  answer theClass:   theClasstheID:   theID  cr  Data:  
  myAppleEventData

  pass appleEvent
end appleEvent

Any ideas on how I can make this work correctly??

Thanks a lot
All the Best
Dave





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

http://lists.runrev.com/mailman/listinfo/use-revolution
___
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: Droplets and AppleEvents

2007-02-27 Thread Dave

Hi Jim,

Ok, that's a good idea. What I would like is to be able to have just  
one place that handles AppleEvents, I can ship the commands off to  
wherever they are needed myself (I already have the mechanism for  
this). How can I use backScript I've never used it before and not  
really sure how I would go about setting this up.


Many Thanks
All the Best
Dave


On 27 Feb 2007, at 17:27, Jim Ault wrote:


On 2/27/07 8:08 AM, Dave [EMAIL PROTECTED] wrote:

I added an AppleEvent handler to the Main Window Stack and I now get
the the AppleEvents ok. I had thought that the Splash Screen would
always get the message. What is the action here? If the user drops a
file into the Standalone Icon, where should the AppleEvent get sent?

One other thing, I want to give my App a Creator type of CR01, but I
want to be able to Drop Movie Files into it. How do I go about
setting this up in the Standalone settings dialog.

I think one answer to your first question (I don't know the second  
one) is

that you can trap the event several places, just don't pass it.  One
technique could be to put the trap in a back script and then all  
stacks
would be before it in the message path.  The execption could be the  
splash

screen.

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


___
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: More Droplets and AppleEvents

2007-02-27 Thread Ken Ray
On Tue, 27 Feb 2007 17:36:17 +, Dave wrote:

 Hi,
 
 I can't find any information on how this is supposed to work. The 
 built-in documentation says that the appleEvent message is sent to 
 the current card, however I have the appleEvent message handler in my 
 Stack Script and it gets called. So where exactly is the message sent 
 to?

It's sent to the card, but if it's not trapped there, it propgates 
along the message passing hierarchy, so you can trap it in the stack 
script if you like.
 
  The Splash Screen Stack used to just be hidden, I now close it so 
 that there would be no chance that appleEvents get sent it it, 
 however, I still sometimes get the appleEvent handler in the Splash 
 stack is getting called, even though it is closed and gone How 
 can this be? 

It's because the appleEvent is sent as soon as your app starts up, and 
is sent to the first card of the first stack opened. If this is the 
Splash, then it is the stack that will receive the message, and it's 
hitting the card just before you're executing your close stack command 
to close the Splash.

 IMO, the way 
 in which appleEvents are handled needs to be improved. It's senseless 
 to have the appleEvent sent to the current card or even the current 
 stack, they should always be sent to one place. 

Well, this would be the reason to set up a backscript or library to 
catch any appleEvent messages that are sent *after* your app is already 
open. This way, you don't have to patch individual stacks, you can trap 
the event in the Splash for when the app is first launched, and then in 
a backscript for events that come in after that point.

HTH,

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.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: Copy Paste update

2007-02-27 Thread Chipp Walters

Bob,

Check it out yourself. The frontscript is pretty easy to grok, so I
imagine adding other key commands would be pretty easy...

altCopyPasteFix.rev

put in the messageBox and execute:

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

If you don't use the altPluginToolbar, be sure and click on the upper
left (just left of the checkbox) to palette it.

It has a little 'noise' which helps you to know you're actually
copying and pasting.

best,
Chipp

On 2/27/07, Bob Warren [EMAIL PROTECTED] wrote:

Chipp Walters wrote:

I've created a plugin which steps in front of Rev's frontscripts and
manages all Copy/Paste keyboard commands. Like some of our others,
it's very small, and is comprised of a simple checkbox to turn it on
and off, and an UPDATE button.


It's only tested on WinXP, but seems to work fine for me. Works with
altPluginToolbar. If you're interested in testing it out, give me a
shout and I'll send you the URL. I'll post it later after it's banged
on a bit more.

--
Is it likely to work in Rev/Linux 2.6.1 or the pending 2.8?
If so, I would certainly be interested.
Using Ubuntu 6.06 Dapper Drake, copy/paste rarely, if ever, works at all using 
the keyboard!
Does (or will) your plugin include the CTRL+S and CTRL+A functions?
At the moment, I have to close the code editor and message box in order to save 
from the menu. Not exactly convenient!

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


Re: Droplets and AppleEvents

2007-02-27 Thread Jim Ault
On 2/27/07 9:40 AM, Dave [EMAIL PROTECTED] wrote:

 Hi Jim,
 
 Ok, that's a good idea. What I would like is to be able to have just
 one place that handles AppleEvents, I can ship the commands off to
 wherever they are needed myself (I already have the mechanism for
 this). How can I use backScript I've never used it before and not
 really sure how I would go about setting this up.

Very easy.  
The docs show this under backfrontremove  the backscripts

put the script of btn scriptHolder into back
answer the backscripts
remove the script of btn scriptHolder from back
answer the backscripts

or 

put the script of fld dummyInvis into back
answer the backscripts
remove the script of btn scriptHolder from back
answer the backscripts

Sort of like the hokey pokey... you put your back script in, you take your
back script out.

Standalones are allowed 10, the dev environment is unlimited.

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: Opening terminal aps. from Rev

2007-02-27 Thread Brent Anderson

Another option would be to open a process, as in

open process /Applications/Utilities/Terminal.app

or to use AppleScript

tell application Terminal
launch
end tell

In this way, you can have more control over quitting the app when
finished. Applescript would probably be best since it doesn't leave a
process open in Revolution and it is more dynamic (Although doubtful,
what if a user moved the terminal from the Utillities folder?)

Thanks,
Brent Anderson

On 2/26/07, Hershel Fisch [EMAIL PROTECTED] wrote:

On 2/26/07 11:30 AM, Bernard Devlin [EMAIL PROTECTED]
wrote:

 Hi, is there a way to open a terminal app from within Rev
 Not a shell command
 Thanks, Hershel

 put shell(open /Applications/Utilities/Terminal.app)

 I assume you don't mind Terminal.app being opened by the Shell
 command - as long as the Terminal window is displayed :-)
Thanks, Hershel


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


___
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: If statements vs case

2007-02-27 Thread Hershel Fisch
On 2/26/07 3:39 PM, Richard Gaskin [EMAIL PROTECTED] wrote:

 Hershel Fisch wrote:
 On 2/26/07 2:27 PM, Shao Sean shaosean at wehostmacs.com wrote:
 
 There are differences between SWITCH and IF-ELSE-IF statements in other
 languages, but in regards to Revolution someone from the engine team
 would be best to answer it.
 
 In many languages SWITCH statements are converted into a hash table for
 much quicker lookups and using a SWITCH once or twice is slower than
 using an IF-ELSE-IF statement due to the SWITCH statement getting
 hashed, but using the same SWITCH statement multiple times will
 increase the speeds.
 Also, because of the fact that an IF-ELSE-IF statement is _always_
 evaluated, they can never be faster than a SWITCH statement (they can
 be just as fast, but never faster)
 Sorry, what do you mean that IF-ELSE-IF is always evaluated?
 Dosn't the else break it?
 If 
  else
   if
  end if
Ok we got it, Now the question arises how is it in the case statements to
write an else without a following if

Switch tS
 case a
 do a
 break
'''Else'''
Do b
End switch

Thanks, to all Hershel

___
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: If statements vs case

2007-02-27 Thread Mark Schonewille

Hershel,

There is an example of this in the docs:

  switch (the number of this card)
case 1
case (the number of cards)
  -- both the above case conditions execute the following
  -- statements:
  beep
  break
default
  go next card
  end switch

Default is equal to else without another if.

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz


Ok we got it, Now the question arises how is it in the case  
statements to

write an else without a following if

Switch tS
 case a
 do a
 break
'''Else'''
Do b
End switch

Thanks, to all Hershel


___
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: Quicktime -- Vista

2007-02-27 Thread Sivakatirswami

J. Landman Gay wrote:

Ian Wood wrote:

QT-specifics - on the various panoramic mailing lists that I belong to 
there have only been reports of QT failing to show some content on 
Vista 64-bit. Even then it seems to be mostly QTVR files that are 
affected rather than video/audio. There have been no reports on those 
lists of problems with Vista 32-bit, and the lists together are about 
as busy as this one is...


So no personal experience, but plenty of second-hand info.


Excellent, thanks much for the info. I don't have Vista yet either, so 
everything you've said helps. To be honest, I don't even want Vista -- 
but I know eventually I am going to have to bite the bullet.




Woefully uniformed... asks: what is the difference between Vista
64-bit and
Vista-32 bit and how would you frame a query to a Windows Vista user to
check on which version (64 bit or 32 bit) she has?

and, will a Rev get info system gestalt tell us this info?
Some of our users are pretty relaxed (trust us) about running
a full system sniffer and sending results back to the mother ship.

So, if Rev  Apps can extract this info we can do an intelligent
dialog Sorry you are using 64 bit Vista  etc.

My goodness!..one has to wonder, like some else did the other day.
whether it's worth it to even try to support Windows any more.

Our product it free...sounds almost insane, but, one
might put a disclaimer Sorry if you use Windows
you will not be able to access  and cut your losses
(time, overhead, mental re-estate etc. for Windows support)
It is no worse than This site only works on Internet Explorer...

But Mac OSX is also not the future

rambling

OT: What is the state of Quicktime for Linux?
We need to be ready for China,
and those who will follow (Malaysia, Singapore, Indonesia)
India is still in Microsoft's pocket, but even that could change.
I don't know where Japan standsbut they might also follow China

Our senior editor will be visiting Shanghai in April
working on some translation projects
so this is very close to home.

If China goes Linux, it will certainly change the global OS equation.
Rev could be at the cutting edge on this one...and media delivery
on Linux will be a key issue. (Whether from inside Revolution players
or on web pages)

We already have associates -- young, but brilliant, Indian Americans
in key IT positions, -- in the US telling me I use Ubunto at home.
When will Revolution work on that OS?

These 25-38 year olds who eat Javascript and AJAX for breakfast,
 live and die inside  a web brower,  who can
rattle off the reasons why some Javascript  calls work in Firefox but
not in IE are fed up with proprietary and their move to
open source is a silent tsunami in progress.

/rambling

Sivakatirswami
www.himalayanacademy.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: Bar code generation readin

2007-02-27 Thread Sarah Reichelt

On 2/28/07, Mikey [EMAIL PROTECTED] wrote:

Sarah,

The easiest way to generate a barcode using a font in Code 39 is to:

1) Make sure you have the prefix and postfix characters appended.  For
Code 39 that's an asterisk.  Your reader will eat this character, so
it won't display when you scan it.

2) Figure out if your reader is requiring a checksum.  If it is, email
me privately and I'll send you the algorithm.

3) Figure out what Code 39 characters and symbology you need.  The
place to start is to make a number to encode.  Try 12345...except to
make it code 39 you have to use *12345* (assuming no checksum).  After
you can verify that this works, then you have to decide if you want
the full ASCII character set to be encodable, or just a subset
(uppercase alpha characters, number, and a couple of symbols).  Email
me privately for more on this as well so we make sure that you are
properly encoding your string.



Thanks for this info Mike. It was actually Peter who needed it, not me
as I am happy using Code128. However I assume that once you have
constructed your string, you then display it using a barcode font? At
least that it how I do my Code128 barcodes. I wonder if Peter has a
correct font?

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


Re: Bar code generation readin

2007-02-27 Thread Mikey

I clearly was drinking too much this AM.

You can do this one of two ways:  1) Use a BC font, or 2) Build the
barcode graphically from scratch.  The advantage of 2 is that you are
not reliant on the character substitution that every font performs, so
the solution is more portable.
___
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: Beep not working in 2.7.x and 2.8.x ????

2007-02-27 Thread Chipp Walters

I've heard Vista's computers first ask to 'allow or deny' the beep.
But after that it works.
___
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: Beep not working in 2.7.x and 2.8.x ????

2007-02-27 Thread Marielle Lange

I've heard Vista's computers first ask to 'allow or deny' the beep.


You mean like this:
http://images.apple.com/movies/us/apple/getamac/apple-getamac- 
security_480x376.mov

(sorry, couldn't resist)

Marielle

___
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: Beep not working in 2.7.x and 2.8.x ????

2007-02-27 Thread Scott Rossi
Recently, Chipp Walters wrote:

 I've heard Vista's computers first ask to 'allow or deny' the beep.

Actually it's Cancel or Allow.

COL (chuckling out loud).

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.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: If statements vs case

2007-02-27 Thread Hershel Fisch
On 2/27/07 4:53 PM, Mark Schonewille [EMAIL PROTECTED]
wrote:

Thanks, I saw it after I asked sorry about that.

But by the way besides speed I think there is an additional difference which
I think is the nested if's, vs. case I don¹t think this is possible
Thanks, Hershel
 Hershel,
 
 There is an example of this in the docs:
 
  switch (the number of this card)
case 1
case (the number of cards)
  -- both the above case conditions execute the following
  -- statements:
  beep
  break
default
  go next card
  end switch
 
 Default is equal to else without another if.
 
 Best,
 
 Mark
 
 --
 
 Economy-x-Talk
 Consultancy and Software Engineering
 http://economy-x-talk.com
 http://www.salery.biz
 
 
 Ok we got it, Now the question arises how is it in the case
 statements to
 write an else without a following if
 
 Switch tS
  case a
  do a
  break
 '''Else'''
 Do b
 End switch
 
 Thanks, to all Hershel
 
 ___
 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: Opening terminal aps. from Rev

2007-02-27 Thread Hershel Fisch
On 2/27/07 3:04 PM, Brent Anderson [EMAIL PROTECTED] wrote:

 Another option would be to open a process, as in
 
 open process /Applications/Utilities/Terminal.app
 
 or to use AppleScript
 
 tell application Terminal
 launch
 end tell
The question was to open a compiled c++ app in a terminal window and the
apple script doesn't work for that
 
 In this way, you can have more control over quitting the app when
 finished. Applescript would probably be best since it doesn't leave a
 process open in Revolution and it is more dynamic (Although doubtful,
 what if a user moved the terminal from the Utillities folder?)
 
 Thanks,
 Brent Anderson
 
 On 2/26/07, Hershel Fisch [EMAIL PROTECTED] wrote:
 On 2/26/07 11:30 AM, Bernard Devlin [EMAIL PROTECTED]
 wrote:
 
 Hi, is there a way to open a terminal app from within Rev
 Not a shell command
 Thanks, Hershel
 
 put shell(open /Applications/Utilities/Terminal.app)
 
 I assume you don't mind Terminal.app being opened by the Shell
 command - as long as the Terminal window is displayed :-)
 Thanks, Hershel
 
 
 Bernard
 ___
 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
 
 ___
 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: Escape key to dismiss dialogs

2007-02-27 Thread Bill Vlahos

Neat solution.

I think I'll limit to just the Cancel button because I don't want  
the user to close the stack if they press escape in the normal window.


Thanks Dave.

Bill Vlahos

On Feb 27, 2007, at 12:06 AM, Dave Cragg wrote:



On 27 Feb 2007, at 05:56, Bill Vlahos wrote:

 It is common for dialog boxes to cancel when the user presses the  
Esc key. Unfortunately when I press the Esc key on an ask dialog  
it simply enters something in the field.


Is this a bug? How do I get the desired behavior?


One way I've handled this is to put the following handler in the  
stack script of the main stack.


on escapeKey
  if there is a button Cancel then
click at the loc of button Cancel
  else if there is a button Close then
   click at the loc of button Close
 end if
end escapeKey

Cheers
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


___
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: Well done by someone....!

2007-02-27 Thread Mark Wieder
Peter-

 http://www.regdeveloper.co.uk/2007/02/27/revolution_runtime/

Nice. I wasn't even aware that the Register had a developer section.
And kudos to Bill and Ben for some excellent quotes.

-- 
-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: Drag and drop from a list field

2007-02-27 Thread Bill Vlahos
Ken's suggestion works for making a text clipping on the desktop with 
the both the name of the file and contents of the file whatever was in 
the line of the field being dragged.


I need to intercept this and put something else in those places. In my 
case the field is a list of names each of which represents a data 
record (with multiple fields) but is not the complete data record in 
the list field. I want to collect and format a vCARD from the data base 
and have that be deposited as a vCARD on the desktop.


Bill Vlahos

On Feb 27, 2007, at 8:17 AM, Ken Ray wrote:


On Mon, 26 Feb 2007 21:39:29 -0800, Bill Vlahos wrote:


Klaus has a great demo stack in RevOnLine on dragging and dropping a
file on the computer desktop into a field or stack. What I want to
know is how to drag and drop out of a list field onto the desktop.

There is a sample drag and drop in the Rev docs using graphics
objects for dragging the name of a color graphic to another object on
the same card. Essentially the object has the script:

on mouseDown
  set the dragData[text] to the short name of the target
  set the borderWidth of the target to 3
end mouseDown

on dragEnd
  set the borderWidth of the target to 1
end dragEnd


I have two questions.

1. How do I get the content of the line of text (the one that is
selected) in a list field that I want to drag from?


You could:

  set the dragData[text] to the hilitedText of the target

However, the cursor changes to be the can't drag cursor, even though
you can drop the text into the Message Box or another app without a
problem, so you'd have to change the cursor too:

on mouseDown
  lock cursor
  set cursor to arrow
  set the dragData[text] to the hilitedText of the target
end mouseDown

The problem with *that* is that you're releasing outside of the main
card window, so no mouseUp/mouseRelease message will be sent. So you'd
need to poll for the mouseState like this:

on mouseDown
  lock cursor
  set cursor to 24   -- the drag cursor
  send checkMouse to me in 100 milliseconds
  set the dragData[text] to the hilitedText of the target
end mouseDown

on checkMouse
  if the mouse is up then
unlock cursor
  else
send checkMouse to me in 100 milliseconds
  end if
end checkMouse


2. How do I send it outside the stack to the desktop to make a file
on the desktop?


Well, if you're just dragging text, then the OS does it for you - when
you drag text into the Finder (or Windows Explorer) and release, it
will make a clipping file for you - basically it detects the type of
dragData (text in this case), and handles it for you. However I don't
know how to find out exactly *where* the file ends up. That is, what
folder, etc. received the clipping.

It would really be great if the dragDestination could be updated to
contain this kind of information, but right now the destination can
only be other objects in Rev.

Anyone have any ideas on how to find out where the clipping was 
dropped?


Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

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


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


writing to external file from Windows standalone: empty files

2007-02-27 Thread Curtis Ford
My project needs to allow the user to enter data which is then saved to
an external text file. It has worked fine on OS X in the IDE and
standalone. When I tried from a Windows standalone, the external file is
written but is empty (0 kb). Here's the code:

on saveNewFile
  global gMyFileName,gEntireList,gMyLoop,gCurrentSet
  ask file Save list as with MyList.txt
  put it into gMyFileName
  --separate handler saves current set of data to gCurrentSet
  saveCurrentSet
--is the current set already in gEntireList?
  put lineOffset(itemIDnum=  gMyLoop, gEntireList) into tSetStart
  if tSetStart = 0 then
--it wasn't there, so append the set just entered to the end of
gEntireList
put gCurrentSet after gEntireList
  end if
  open file gMyFileName for update
  answer now doing saveNewFile: gEntireList is  gEntireList
  put gEntireList into URL (file:  gMyFileName)
end saveNewFile

I put the 'answer' command right before the final 'put gEntireList..'
command to make sure the variable had the expected contents, and it did;
but the resulting text file is always empty on XP. 

I'm developing on OS X 10.4.8, testing on Windows XP; using Rev 2.8, but
I checked earlier versions of the project and the problem is there in
2.6 as well.

I don't know a lot about Windows or where to go on with troubleshooting.
Help! Thanks in advance!

Curt

Dr. Curtis Ford
Instructor of Russian and Linguistics
Dept of Languages, Literatures and Cultures
University of South Carolina
(803) 777-9615
[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: writing to external file from Windows standalone: empty files

2007-02-27 Thread Sarah Reichelt

On 2/28/07, Curtis Ford [EMAIL PROTECTED] wrote:

My project needs to allow the user to enter data which is then saved to
an external text file. It has worked fine on OS X in the IDE and
standalone. When I tried from a Windows standalone, the external file is
written but is empty (0 kb). Here's the code:

on saveNewFile
  global gMyFileName,gEntireList,gMyLoop,gCurrentSet
  ask file Save list as with MyList.txt
  put it into gMyFileName
  --separate handler saves current set of data to gCurrentSet
  saveCurrentSet
--is the current set already in gEntireList?
  put lineOffset(itemIDnum=  gMyLoop, gEntireList) into tSetStart
  if tSetStart = 0 then
--it wasn't there, so append the set just entered to the end of
gEntireList
put gCurrentSet after gEntireList
  end if
  open file gMyFileName for update
  answer now doing saveNewFile: gEntireList is  gEntireList
  put gEntireList into URL (file:  gMyFileName)
end saveNewFile

I put the 'answer' command right before the final 'put gEntireList..'
command to make sure the variable had the expected contents, and it did;
but the resulting text file is always empty on XP.

I'm developing on OS X 10.4.8, testing on Windows XP; using Rev 2.8, but
I checked earlier versions of the project and the problem is there in
2.6 as well.

I don't know a lot about Windows or where to go on with troubleshooting.
Help! Thanks in advance!




Put a line after the put into URL line saying:
if the result is empty then answer the result

This is at least tell you if there is an error while saving. My guess
would be that you are running into a permissions problem - you are
coming to a sad realization :-). If you are trying to save to the
Program Files folder (or a sub-folder in it), then unless you have
admin privileges, this will fail I think. Like you I am not a Windows
expert, but I think that is correct. Try saving the file in other
locations and seeing if that works. Ken Ray's site lists the codes
needed to get specialFolderPath to give you the path to various
Windows folders.

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


Re: writing to external file from Windows standalone: empty files

2007-02-27 Thread Bill Marriott
Isn't the problem the open file statement? You would use write to file 
subsequent to that.

As far as I know, the put into URL approach doesn't need an open file to 
precede it, and may even be blocked (because the file is already open for 
writing?)

- Bill

Sarah Reichelt [EMAIL PROTECTED] 
wrote in message 
news:[EMAIL PROTECTED]
 On 2/28/07, Curtis Ford [EMAIL PROTECTED] 
 wrote:
 My project needs to allow the user to enter data which is then saved to
 an external text file. It has worked fine on OS X in the IDE and
 standalone. When I tried from a Windows standalone, the external file is
 written but is empty (0 kb). Here's the code:

 on saveNewFile
   global gMyFileName,gEntireList,gMyLoop,gCurrentSet
   ask file Save list as with MyList.txt
   put it into gMyFileName
   --separate handler saves current set of data to gCurrentSet
   saveCurrentSet
 --is the current set already in gEntireList?
   put lineOffset(itemIDnum=  gMyLoop, gEntireList) into tSetStart
   if tSetStart = 0 then
 --it wasn't there, so append the set just entered to the end of
 gEntireList
 put gCurrentSet after gEntireList
   end if
   open file gMyFileName for update
   answer now doing saveNewFile: gEntireList is  gEntireList
   put gEntireList into URL (file:  gMyFileName)
 end saveNewFile

 I put the 'answer' command right before the final 'put gEntireList..'
 command to make sure the variable had the expected contents, and it did;
 but the resulting text file is always empty on XP.

 I'm developing on OS X 10.4.8, testing on Windows XP; using Rev 2.8, but
 I checked earlier versions of the project and the problem is there in
 2.6 as well.

 I don't know a lot about Windows or where to go on with troubleshooting.
 Help! Thanks in advance!



 Put a line after the put into URL line saying:
 if the result is empty then answer the result

 This is at least tell you if there is an error while saving. My guess
 would be that you are running into a permissions problem - you are
 coming to a sad realization :-). If you are trying to save to the
 Program Files folder (or a sub-folder in it), then unless you have
 admin privileges, this will fail I think. Like you I am not a Windows
 expert, but I think that is correct. Try saving the file in other
 locations and seeing if that works. Ken Ray's site lists the codes
 needed to get specialFolderPath to give you the path to various
 Windows folders.

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



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


Site for sore eyes

2007-02-27 Thread [EMAIL PROTECTED]

Look at this and make your comments!
The Register - Hypercard on Steroids by Phil Manchester
http://www.regdeveloper.co.uk/2007/02/27/revolution_runtime/
Cheers Barry


--
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada28eb07


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


Re: How to tell when last stack closed

2007-02-27 Thread Bill Vlahos

Neat solution. It works.

Thanks.
Bill Vlahos

On Feb 20, 2007, at 9:56 PM, J. Landman Gay wrote:


Bill Vlahos wrote:
I have a standalone which launches one or more stacks but then 
disappears once they are opened.
The user can close the stacks when they are done but when the last 
open stack is closed I want to quit the standalone too.

How can I tell when there are no daughter stacks open?


Depending on how your stacks are displayed, you may be able to use:

 if the number of lines in the openstacks = 1 then quit

This assumes that the mainstack is open (though hidden) and other 
stacks are completely closed.


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


___
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: Drag and drop from a list field

2007-02-27 Thread Ken Ray
On Tue, 27 Feb 2007 20:03:13 -0800, Bill Vlahos wrote:

 Ken's suggestion works for making a text clipping on the desktop with 
 the both the name of the file and contents of the file whatever was 
 in the line of the field being dragged.
 
 I need to intercept this and put something else in those places. In 
 my case the field is a list of names each of which represents a data 
 record (with multiple fields) but is not the complete data record in 
 the list field. I want to collect and format a vCARD from the data 
 base and have that be deposited as a vCARD on the desktop.

Well the first part is as easy as setting the dragData[text] to the 
vCard data you want to export... the second one is the hard one - 
knowing where the file is going to end up so you can make sure the file 
name is changed to .vcf.

Any ideas anyone?

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.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:Groovy Graphic Demos

2007-02-27 Thread [EMAIL PROTECTED]
Having already viewed or downloaded all these graphical marvels, can any one 
tell me why I cannot import a simple transparent  b/w outline image, in png or 
gif format, to a stack (Media  Studio)and then floodfill a color or flip-it 
without it deteriating into something that looks like it has been dragged 
through a hedge backwards? The stack I am trying to develop only has to do 
these two operations; something I find any kid's art application can do nicely.
My 5yo grandson would be very grateful if someone can solve this for me!
Cheers Barry


--
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada28eb07


___
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