Re: Anyone noticing stalled uploading? find a solution?

2007-11-15 Thread Mark Talluto


On Nov 9, 2007, at 1:52 PM, Josh Mellicker wrote:

Has anyone else experienced stalled libURL operations when  
uploading or downloading a list of files? Did you find a solution?



I wrote a simple FTP program that I use on a daily basis.  Minus Revs  
wonky drag and drop (soon to be fixed in 2.9), it works very well.


You can download it here:



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

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


Bigger is better

2007-11-15 Thread Cal Horner
I have a Background object that I use as a pin board in one of my projects.
I have made this pin board a scrolling group object .  I have managed to
make the Background object 32767 x 32765. Which suits at present.

What bothers me is the worry that I may need to make the background object
larger than 32767 x 32767. You know the old saying "Bigger is Better"?

I have tried using the properties panel to enlarge the background, but the
panel seems to disappear into another time continuum when the number goes
above 32767

Is this a limit imposed by Revolution or do any of you have a tried and true
method for making a object  larger area than 32767 x 32767?

Cal
___
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: (mac) application menu

2007-11-15 Thread Mark Schonewille

Peter,

When you use the Quit menu item, Mac OS X sends an event to  
Revolution. You can catch this message with the AppleEvent handler or  
the shutdownRequest handler. On Mac OS X, I prefer to use the  
AppleEvent handler most of the time.


If you use either the AppleEvent handler or the shutdownRequest  
handler without a pass command, the application will not quit by  
itself (you can also lock messages and issue the quit command).


When you press command-Q, the Quit menu item should work just like  
when you use the mouse to select this menu item and you can catch the  
AppleEvent and shutdownRequest messages again. However, your script  
may catch the commandKeyDown message. If you don't pass this message  
with the pass command, your application may not quit.


There are versions of Revolution that don't pass the commandKeydown  
message because of a bug. There are also versions that don't pass the  
AppleEvent message.


If you are using Rev 2.8.1, problems with quitting are probably due  
to a script.


Best regards,

Mark Schonewille

--

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

Quickly extract data from your HyperCard stacks with DIFfersifier.  
http://differsifier.economy-x-talk.com



Op 15-nov-2007, om 23:08 heeft Peter Brigham het volgende geschreven:

Now, the other mystery -- I convert my stack to a standalone (now  
with the correct application name in the Mac manubar!) and when I  
select "quit  from the application menu, nothing happens.  
Anyone have any ideas what could cause this behavior? Per my  
previous experiments, this is probably *not* due to anything in my  
scripting, as it seems that the quit command is handled by the  
system. So what could be the problem?


-- Peter


___
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: Bigger is better

2007-11-15 Thread SimPLsol
Cal,
If I've done the math right, a 32767 pin board is over 10 meters square.
Even if it could be made larger, there would be a lot of scrolling on even 
the largest monitor available today.
I'm not sure what your goal is but there may be other ways of achieving it. 
Perhaps you could store each pinned object in an individual card and just 
display an index of the cards to find the appropriate one.
Paul Looney


**
 See what's new 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


Re: libURLSetFTPStopTime

2007-11-15 Thread Sarah Reichelt
> > However I find that if I am transferring lots of files, that Rev opens
> > a new connection for each file regardless and I rapidly get to a stage
> > where the server is rejecting my commands because I have too many
> > connections open.
>
> Quick response:
>
> Are you doing anything that might close the socket used after each
> transfer? This would cause a new session to be opened with the
> server, while the server might see the previous session as still
> being open.

Not that I know of. I use a libURLftpUploadFile or
libURLDownloadToFile command with a callback. During the transfer I
monitor the URLstatus. In the callback, I check the status again and
it the status is "uploaded" or "downloaded", I just go on to issue the
next libURLftpUploadFile or libURLDownloadToFile command.

> Are you checking for errors after each download? An error would cause
> libUrl to close the socket, which might result in what you are seeing.

Yes, I check for errors after every transfer. If I encounter an error
then I stop the process myself.

> Decreasing the stop time as you did causes the session to close
> cleanly (using the QUIT command) which will keep the server happy.
> However, you shouldn't have to do this.

Yes, it woould be neater if the same connection could be kept open,
however I have got a workable solution now.

Thanks for the quick response,
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: (mac) application menu

2007-11-15 Thread Devin Asay


On Nov 15, 2007, at 3:08 PM, Peter Brigham wrote:


Mark Schonewille:


Maybe I was wrong with my previous suggestion. Have you tried
changing both the Name field in the General pane and the Name field
in the OSX pane?

I did have the same problem some time ago and I am sure I solved it
by changing one of these fields.

Yes. I just discovered this for myself. The name that gets put in  
the Mac menubar as the application name is the name you specify in  
the OSX plist section. Good to know. Thanks.


Now, the other mystery -- I convert my stack to a standalone (now  
with the correct application name in the Mac manubar!) and when I  
select "quit  from the application menu, nothing happens.  
Anyone have any ideas what could cause this behavior? Per my  
previous experiments, this is probably *not* due to anything in my  
scripting, as it seems that the quit command is handled by the  
system. So what could be the problem?


Peter,

I believe that you must script the Quit menu to make it work when you  
choose Quit from the menu with the mouse. It is when you use the  
shortcut keys Command-Q that the OS takes over and quits no matter  
what you scripted. If you want to override this behavior you have to  
use an AppleScript routine. I know Ken Ray has a note on his web site  
about how to do this. See www.sonsothunder.com.


Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: (mac) application menu

2007-11-15 Thread Peter Brigham

Mark Schonewille:


Maybe I was wrong with my previous suggestion. Have you tried
changing both the Name field in the General pane and the Name field
in the OSX pane?

I did have the same problem some time ago and I am sure I solved it
by changing one of these fields.

Yes. I just discovered this for myself. The name that gets put in the  
Mac menubar as the application name is the name you specify in the  
OSX plist section. Good to know. Thanks.


Now, the other mystery -- I convert my stack to a standalone (now  
with the correct application name in the Mac manubar!) and when I  
select "quit  from the application menu, nothing happens.  
Anyone have any ideas what could cause this behavior? Per my previous  
experiments, this is probably *not* due to anything in my scripting,  
as it seems that the quit command is handled by the system. So what  
could be the problem?


-- Peter

Peter M. Brigham
[EMAIL PROTECTED]
http://home.comcast.net/~pmbrig/

--  I know where it's at, but I forget what it's for.


___
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: Bigger is better

2007-11-15 Thread Eric Chatonet

Hi Cal,

No time to dig in but 32767 is 2^15 -1: this sounds as a possible limit.

Le 15 nov. 07 à 22:05, Cal Horner a écrit :

I have a Background object that I use as a pin board in one of my  
projects.
I have made this pin board a scrolling group object .  I have  
managed to

make the Background object 32767 x 32765. Which suits at present.

What bothers me is the worry that I may need to make the background  
object

larger than 32767 x 32767. You know the old saying "Bigger is Better"?

I have tried using the properties panel to enlarge the background,  
but the
panel seems to disappear into another time continuum when the  
number goes

above 32767

Is this a limit imposed by Revolution or do any of you have a tried  
and true

method for making a object  larger area than 32767 x 32767?

Cal


Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.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: Stack Files Pane in Property Inspector

2007-11-15 Thread Sarah Reichelt
> I've been wondering this for a while. What is the "Stack Files" Pane
> or in the Stack Property Inspector?

If your stack has to use other stacks that are not in the same file,
it needs to know where to find them. This pane allows you to tell the
stack which other stack files it will need and then you can just refer
to them by their short name instead of having to tell the stack where
they are. For example, suppose I have a stack that uses a library
called "RevLibrary". The library is kept in
"Users/sarah/Documents/Libraries/RevLibrary.rev" folder and the stack
I am working on is somewhere else. If I use this pane to tell my stack
where the library file is, then I can just say: start using stack
"RevLibrary" or go to stack "RevLibrary" and not have to worry where
the RevLibrary stack actually is. Also, when a standalone is built,
this library stack will be included automatically.

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: Windows Display Problems

2007-11-15 Thread Eric Chatonet

Hi Dave,

Sorry, but information you provide is not precise enough to be able  
to help you :-(
About the "Stack Files" pane in the Stack Property Inspector, just  
see 'stackFiles' property in the dictionary :-)


Best regards from Paris,
Eric Chatonet.

Le 15 nov. 07 à 19:03, Dave a écrit :


Hi,

The stuff I posted was just pseudo code, the real code is as shown  
below. The Handlers are in the scripts of the objects, the Progress  
Bar Itself and a field.


I call a function which does the sends, this message has an array  
that matches the MessageID and the theMessageKind and sends it to  
the correct control. All this is working, except on windows it  
doesn't update correctly. Neither the field or the progress bar  
gets changed.


All the Best
Dave


On 15 Nov 2007, at 17:39, Eric Chatonet wrote:


The code is here, this in in the Progress Bar Script:

---
--
--  HandleProgressUpdate
--
---
on HandleProgressUpdate theMessageID,theMessageKind,theMessageData
  local myMessageData

  put ISMDecodeMessage(theMessageData,"String,") into myMessageData
  set the thumbPosition of me to (0 + myMessageData)
end HandleProgressUpdate

This works fine on a Mac.



The code is here, this in in the Caption Field Script:

---
--
--  HandleProgressSetCaption
--
---
on HandleProgressSetCaption  
theMessageID,theMessageKind,theMessageData

  local myMessageData

  put ISMDecodeMessage(theMessageData,"String,") into myMessageData
  set the text of me to myMessageData
end HandleProgressSetCaption



Plugins and tutorials for Revolution: http://www.sosmartsoftware.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


open file for write

2007-11-15 Thread Derek Bump
I discovered yesterday that if you "open a file for write" and you don't
write anything to it, it still erases the file when you close it.

Luckily for me, I still have a backup of my iTunes library, so I didn't
loose everything on my hard drive. *sigh*


Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.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 Display Problems

2007-11-15 Thread Dave

Hi,

Thanks for the info!

If you just did this, it would be the same:

send "HandleProgressUpdate 0,0,100" to scrollbar "Progress" of card 1  
of stack "Progress"


send "HandleProgressSetCaption 0,0," & AddQuotes("Hello World") to  
field "Caption" of card 1 of stack "Progress"


Wow! I didn't know you could set stackFiles manually, cool!

All the best
Dave


On 15 Nov 2007, at 18:20, Eric Chatonet wrote:


Hi Dave,

Sorry, but information you provide is not precise enough to be able  
to help you :-(
About the "Stack Files" pane in the Stack Property Inspector, just  
see 'stackFiles' property in the dictionary :-)


Best regards from Paris,
Eric Chatonet.

Le 15 nov. 07 à 19:03, Dave a écrit :


Hi,

The stuff I posted was just pseudo code, the real code is as shown  
below. The Handlers are in the scripts of the objects, the  
Progress Bar Itself and a field.


I call a function which does the sends, this message has an array  
that matches the MessageID and the theMessageKind and sends it to  
the correct control. All this is working, except on windows it  
doesn't update correctly. Neither the field or the progress bar  
gets changed.


All the Best
Dave


On 15 Nov 2007, at 17:39, Eric Chatonet wrote:


The code is here, this in in the Progress Bar Script:

---
--
--  HandleProgressUpdate
--
---
on HandleProgressUpdate theMessageID,theMessageKind,theMessageData
  local myMessageData

  put ISMDecodeMessage(theMessageData,"String,") into myMessageData
  set the thumbPosition of me to (0 + myMessageData)
end HandleProgressUpdate

This works fine on a Mac.



The code is here, this in in the Caption Field Script:

---
--
--  HandleProgressSetCaption
--
---
on HandleProgressSetCaption  
theMessageID,theMessageKind,theMessageData

  local myMessageData

  put ISMDecodeMessage(theMessageData,"String,") into myMessageData
  set the text of me to myMessageData
end HandleProgressSetCaption



___
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 Display Problems

2007-11-15 Thread Dave

Hi,

The stuff I posted was just pseudo code, the real code is as shown  
below. The Handlers are in the scripts of the objects, the Progress  
Bar Itself and a field.


I call a function which does the sends, this message has an array  
that matches the MessageID and the theMessageKind and sends it to the  
correct control. All this is working, except on windows it doesn't  
update correctly. Neither the field or the progress bar gets changed.


All the Best
Dave


On 15 Nov 2007, at 17:39, Eric Chatonet wrote:


The code is here, this in in the Progress Bar Script:

---
--
--  HandleProgressUpdate
--
---
on HandleProgressUpdate theMessageID,theMessageKind,theMessageData
  local myMessageData

  put ISMDecodeMessage(theMessageData,"String,") into myMessageData
  set the thumbPosition of me to (0 + myMessageData)
end HandleProgressUpdate

This works fine on a Mac.



The code is here, this in in the Caption Field Script:

---
--
--  HandleProgressSetCaption
--
---
on HandleProgressSetCaption  
theMessageID,theMessageKind,theMessageData

  local myMessageData

  put ISMDecodeMessage(theMessageData,"String,") into myMessageData
  set the text of me to myMessageData
end HandleProgressSetCaption

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


Stack Files Pane in Property Inspector

2007-11-15 Thread Dave

Hi,

I've been wondering this for a while. What is the "Stack Files" Pane  
or in the Stack Property Inspector?


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


Problem with closing Windows App

2007-11-15 Thread Charles Szasz

Thanks to everyone for their help. The problem was with close stack command.
Now it works fine.
-- 
View this message in context: 
http://www.nabble.com/Problem-with-closing-Windows-App-tf4815883.html#a13777473
Sent from the Revolution - User mailing list archive at Nabble.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 do I create an Icon View

2007-11-15 Thread mfstuart

Hi Viktoras, anyone...
Thanx for the link, I've checked that out before - subscribed to the
newsletter. That example illustrates the left hand side of the form.

Really what I'm trying to do is the right hand side of the Icons View
display.
On either platform - OSX or WinXP - if you load the Finder or Win Explorer,
you can opt for the Icons View.
On the left hand side are the folders, on the right hand side are the
details of the selected folder, displayed as icons, with an associated name.
This right hand side is what I'm trying to build.

Would someone kindly describe how to do this?

Thanx,
Mark Stuart




Viktoras Didziulis wrote:
> 
> Hi Mark,
> 
> if I understood you correctly, you need a field which displays contents 
> of a folder (table, database, etc) in a list where icons indicate the 
> type of a resource displayed.
> 
> Basically you will need to "set the imageSource of char 1 to yourimg" 
> for each line in a field describing a resource. If you wish to show it 
> in 2 or 3 columns - just insert tabs where appropriate, "set the 
> itemdelimiter to tab", and "set the imageSource of char 1 to yourimg"  
> for each item...
> 
> An example that might serve you as a source of ideas is described (and 
> can be downloaded and reused) at
> http://www.runrev.com/newsletter/september/issue32/newsletter3.php
> 
> Viktoras
> 
> 
> mfstuart wrote:
>> If I may explain a little more...
>> I would like the display to behave like the Icons View. This view is
>> loaded
>> dynamically from say the contents of a folder, or selected rows in a SQL
>> database, or whatever the criteria. Even links to PDF files. User clicks
>> on
>> the icon and the script launches and opens the file.
>>
>> If I were to load each of the icons (an image) and icon text name
>> dynamically onto a form, what kind of container (or object) would I load
>> them into? A table object?
>> Would the contents be something like...?
>> First row:
>> Load the table object with an icon then TAB (as the delimiter) then icon,
>> etc., with the row height say upto something like 80.
>> Alternate row:
>> Name of the icon TAB (as delimiter) then icon, etc.
>>
>> Is this how to approach it?
>>
>> And would I have to set the property of this table object to HTMLtext, or
>> something? Not sure.
>>
>> Thanx again,
>> Mark Stuart
>> 
>>
>> Björnke von Gierke wrote:
>>   
>>> You need buttons which have an icon, but no showBorder, threeD and no  
>>> hiliteBorder. Look them up in the docu, as well as the icons & border  
>>> part of the inspector.
>>>
>>> On 14 Nov 2007, at 21:46, mfstuart wrote:
>>>
>>> 
 Hi all,

 On Mac and Win platforms, the Explorer and Finder have an Icon View.
 Where each icon (and icon name) appear in a grid type of layout?

 How would I create this type of layout with RunRev?

 Thanx,
 Mark Stuart
 -- 
 View this message in context:
 http://www.nabble.com/How-do-I-create-an-Icon-View-tf4807893.html#a13756153
 Sent from the Revolution - User mailing list archive at Nabble.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
>>>
>>>
>>> 
>>
>>   
> 
> ___
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-do-I-create-an-Icon-View-tf4807893.html#a13775611
Sent from the Revolution - User mailing list archive at Nabble.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 Display Problems

2007-11-15 Thread Eric Chatonet

Hi Dave,

I don't understand:
You say you use send "ProgressUpdate theProgressAmount" to stack  
"Progress"

And you send code snippets that refer to HandleProgressUpdate?
In addition, this code is in the progress bar's script and not in the  
stack's script.
Have you a ProgressUpdate handler in the script of your "Progress"  
stack?
This is the one that would be fine to know in order to be able to  
help you.


Best regards from Paris,
Eric Chatonet.

Le 15 nov. 07 à 18:23, Dave a écrit :



On 15 Nov 2007, at 16:40, Eric Chatonet wrote:


Hi Dave,

I'm sorry too.
I copied pasted the wrong line!
You write:


send "ProgressUpdate "theProgressAmount" to stack "Progress"


I just wanted to tell you that this above line can't work:
Or you write 'send "ProgressUpdate theProgressAmount" to stack  
"Progress"'

Or 'send "ProgressUpdate" && theProgressAmount to stack "Progress"'
But not 'send "ProgressUpdate "theProgressAmount" to stack  
"Progress"'

There is a problem with quotes here :-)


Sorry, this was just a typeo on my part. It works fine on the Mac.



If you could send the code in ProgressUpdate, it would be easier  
to help you...


The code is here, this in in the Progress Bar Script:

---
--
--  HandleProgressUpdate
--
---
on HandleProgressUpdate theMessageID,theMessageKind,theMessageData
  local myMessageData

  put ISMDecodeMessage(theMessageData,"String,") into myMessageData
  set the thumbPosition of me to (0 + myMessageData)
end HandleProgressUpdate

This works fine on a Mac.



The code is here, this in in the Caption Field Script:

---
--
--  HandleProgressSetCaption
--
---
on HandleProgressSetCaption theMessageID,theMessageKind,theMessageData
  local myMessageData

  put ISMDecodeMessage(theMessageData,"String,") into myMessageData
  set the text of me to myMessageData
end HandleProgressSetCaption

All the Best
Dave



Le 15 nov. 07 à 17:08, Dave a écrit :


Hi,

Sorry you have lost me! What are you saying? Do I need to change  
the way I do the "Send" ?



It's not just the progress window, how can this ever work if when  
you say put xxx into field y it doesn't change the screen?


Thanks a lot
All the Best
Dave



Plugins and tutorials for Revolution: http://www.sosmartsoftware.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: Windows Display Problems

2007-11-15 Thread Dave


On 15 Nov 2007, at 16:40, Eric Chatonet wrote:


Hi Dave,

I'm sorry too.
I copied pasted the wrong line!
You write:


send "ProgressUpdate "theProgressAmount" to stack "Progress"


I just wanted to tell you that this above line can't work:
Or you write 'send "ProgressUpdate theProgressAmount" to stack  
"Progress"'

Or 'send "ProgressUpdate" && theProgressAmount to stack "Progress"'
But not 'send "ProgressUpdate "theProgressAmount" to stack "Progress"'
There is a problem with quotes here :-)


Sorry, this was just a typeo on my part. It works fine on the Mac.



If you could send the code in ProgressUpdate, it would be easier to  
help you...


The code is here, this in in the Progress Bar Script:

---
--
--  HandleProgressUpdate
--
---
on HandleProgressUpdate theMessageID,theMessageKind,theMessageData
  local myMessageData

  put ISMDecodeMessage(theMessageData,"String,") into myMessageData
  set the thumbPosition of me to (0 + myMessageData)
end HandleProgressUpdate

This works fine on a Mac.



The code is here, this in in the Caption Field Script:

---
--
--  HandleProgressSetCaption
--
---
on HandleProgressSetCaption theMessageID,theMessageKind,theMessageData
  local myMessageData

  put ISMDecodeMessage(theMessageData,"String,") into myMessageData
  set the text of me to myMessageData
end HandleProgressSetCaption

All the Best
Dave



Le 15 nov. 07 à 17:08, Dave a écrit :


Hi,

Sorry you have lost me! What are you saying? Do I need to change  
the way I do the "Send" ?



It's not just the progress window, how can this ever work if when  
you say put xxx into field y it doesn't change the screen?


Thanks a lot
All the Best
Dave


Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.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


___
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 Display Problems

2007-11-15 Thread Eric Chatonet

Hi Dave,

I'm sorry too.
I copied pasted the wrong line!
You write:


send "ProgressUpdate "theProgressAmount" to stack "Progress"


I just wanted to tell you that this above line can't work:
Or you write 'send "ProgressUpdate theProgressAmount" to stack  
"Progress"'

Or 'send "ProgressUpdate" && theProgressAmount to stack "Progress"'
But not 'send "ProgressUpdate "theProgressAmount" to stack "Progress"'
There is a problem with quotes here :-)

If you could send the code in ProgressUpdate, it would be easier to  
help you...


Le 15 nov. 07 à 17:08, Dave a écrit :


Hi,

Sorry you have lost me! What are you saying? Do I need to change  
the way I do the "Send" ?



It's not just the progress window, how can this ever work if when  
you say put xxx into field y it doesn't change the screen?


Thanks a lot
All the Best
Dave


Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.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: libURLSetFTPStopTime

2007-11-15 Thread Dave Cragg


On 15 Nov 2007, at 04:35, Sarah Reichelt wrote:


However I find that if I am transferring lots of files, that Rev opens
a new connection for each file regardless and I rapidly get to a stage
where the server is rejecting my commands because I have too many
connections open.


Quick response:

Are you doing anything that might close the socket used after each  
transfer? This would cause a new session to be opened with the  
server, while the server might see the previous session as still  
being open.


Are you checking for errors after each download? An error would cause  
libUrl to close the socket, which might result in what you are seeing.


Decreasing the stop time as you did causes the session to close  
cleanly (using the QUIT command) which will keep the server happy.  
However, you shouldn't have to do this.


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: Scriptlimits Barrier

2007-11-15 Thread Mark Schonewille

Hi Bridger,

You can't set scripts (longer than 10 lines?) in a standalone. Why  
don't you use a stack to store the objects and copy these objects  
from the stack into the standalone when needed?


Best regards,

Mark Schonewille

--

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

Quickly extract data from your HyperCard stacks with DIFfersifier.  
http://differsifier.economy-x-talk.com



Op 15-nov-2007, om 6:59 heeft Bridger Maxwell het volgende geschreven:


Hello,
  I am writing an app in which I would like to save objects to a  
file, and
restore them later.  I am able to store all of their properties as  
XML and
restore the object fine in the IDE, but the scriptlimits poses a  
problem.
Because many of these objects need script to be restored, it is  
impossible
to recreate them in a standalone without hitting the scriptlimits  
barrier.
Is there an alternative way around this?  Does the scriptlimits  
apply when
you use the copy command?  Perhaps I should use a frontscript that  
acts as
the script for different types of objects.  Neither of these  
workarounds
sounds particularly clean to me though.  If anyone has any  
experience with

this kind of problem I would love to hear your thoughts.


  Thank You,
 Bridger Maxwell


___
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 Display Problems

2007-11-15 Thread Dave

Hi,

Sorry you have lost me! What are you saying? Do I need to change the  
way I do the "Send" ?



It's not just the progress window, how can this ever work if when you  
say put xxx into field y it doesn't change the screen?


Thanks a lot
All the Best
Dave

On 15 Nov 2007, at 15:02, Eric Chatonet wrote:


Hi Dave,

send "ProgressInitialize theProgressEndValue" to stack "Progress"  
could be written:

send "ProgressInitialize" && theProgressEndValue to stack "Progress"
Assuming that 'theProgressEndValue' is a var... and that nothing  
locks the screen during the process ;-)


Best regards from Paris,
Eric Chatonet.

Le 15 nov. 07 à 14:29, Dave a écrit :

The progress stack had a number of Command Handlers that get  
called by the using stack:


ProgressInitialize - Initializes the Progress Bar and set the  
Ending Limit in the Scroll Bar.

ProgressFinalize - Closes the Progress Stack.
ProgressUpdate  - Sets the Value of the Scroll Bar,
ProgressSetCaption - Sets a message to be displayed in a field.

The main stack then works like this:

go stack "Progress"  --Initially Hiddens
set the defaultStack to 

send "ProgressInitialize theProgressEndValue" to stack "Progress"

then in a loop:

ProgressSetCaption("The Caption")
send "ProgressUpdate "theProgressAmount" to stack "Progress"


and finally

send "ProgressFinalize " to stack "Progress"  --Hides the Progress  
Window and closes it


That's about it really. This works fine on a mac!



Plugins and tutorials for Revolution: http://www.sosmartsoftware.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


___
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: Multiuser or not multiuser

2007-11-15 Thread Henk van der Velden

Hi William,

goeiemiddag..

Indeed, the other question is how to approach the multi-user issue in  
this case.
Blocking clients like this can be a bit unfriendly, and it also poses  
issues when the 'inuse' variable isn't saved properly. You could end  
up with a completely blocked application.


One approach could be to use a database. Database engines have their  
own record blocking mechanisms, so one user can't overwrite the  
record of another user.


Or, if you don't want to setup a database, you could probably create  
a folder on every day, and have each user add his / her own textfile  
to that folder. If you put both the username and the chosen lunch  
into the file, a user could eventually turn back and change his choice.
You could create another app that collects all the text files and  
creates a list out of it.


Kind regards,
Henk


On 15-nov-2007, at 15:56, [EMAIL PROTECTED] wrote:


Because the app is put on a Server 2003 with XP clients it needs to be
multiuser or not.


___
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 Display Problems

2007-11-15 Thread Eric Chatonet

Hi Dave,

send "ProgressInitialize theProgressEndValue" to stack "Progress"  
could be written:

send "ProgressInitialize" && theProgressEndValue to stack "Progress"
Assuming that 'theProgressEndValue' is a var... and that nothing  
locks the screen during the process ;-)


Best regards from Paris,
Eric Chatonet.

Le 15 nov. 07 à 14:29, Dave a écrit :

The progress stack had a number of Command Handlers that get called  
by the using stack:


ProgressInitialize - Initializes the Progress Bar and set the  
Ending Limit in the Scroll Bar.

ProgressFinalize - Closes the Progress Stack.
ProgressUpdate  - Sets the Value of the Scroll Bar,
ProgressSetCaption - Sets a message to be displayed in a field.

The main stack then works like this:

go stack "Progress"  --Initially Hiddens
set the defaultStack to 

send "ProgressInitialize theProgressEndValue" to stack "Progress"

then in a loop:

ProgressSetCaption("The Caption")
send "ProgressUpdate "theProgressAmount" to stack "Progress"


and finally

send "ProgressFinalize " to stack "Progress"  --Hides the Progress  
Window and closes it


That's about it really. This works fine on a mac!



Plugins and tutorials for Revolution: http://www.sosmartsoftware.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: (mac) application menu

2007-11-15 Thread Eric Chatonet

Hi Peter,

Standalone settings are kept in a custom property set that Rev  
creates automatically at the stack level.
It's named cRevStandaloneSettings and shows up in the stack's  
property palette if 'View/Revolution UI Elements in Lists' menu item  
is checked.
Probably you could check some of these custom properties to find this  
name that should not show up and modify it manually.


Best regards from Paris,
Eric Chatonet.

Le 15 nov. 07 à 13:56, Peter Brigham a écrit :

On Wed, 14 Nov 2007 15:19:4, Mark Schonewille  
<[EMAIL PROTECTED]> wrote:




Problem 2. When I first created my recipe stack I named things
somewhat hastily, and I tried once when I was mostly done to create
a standalone, then went back to revise a bunch of things. As I
developed it further I renamed the stack file and the main stack,
which was originally named "recipeFile". I also chose a different
name in the standalone preferences for the eventual application.
When I converted it to a standalone finally, it was named properly
in the Finder (as specified in the standalone preferences), but the
application name as it appears in the application menu on the mac
(and in the "quit " menuitem) is the original name of the
main stack, "recipeFile". And nothing I do results in altering
this. I have changed the name of the main stack, the label of the
main stack, the name of the application bundle in the standalone
preferences, the name of the stack file, but the old "recipeFile"
stubbornly continues to be what appears next to the apple menu in
the standalone, and in the "quit" item of that menu. There is
*nothing* now in the stack file that bears the name "recipeFile" --
not the name of the stack in the Finder, not the main stack name,
not the main stack label, nothing. I don't know where the
standalone builder is getting the string "recipeFile" from at this
point. Did it somehow save it from when I originally tried to make
the first standalone?


Just make sure to give the standalone the preferred name in the
Standalone Application Settings. You will find this name in the
General pane.


Well, that's what I would expect. But the name that appears next to  
the Apple menu that's supposed to be the name of the application is  
*not* the name I give the application in the standalone settings.  
It is the original mainstack name. And nothing I do changes that.  
I've tried setting a different name for the app in the standalone  
settings, setting a different name for the main stack, setting a  
different name for the stack in the Finder, setting a different  
label for the mainstack. Each time I create a standalone, the name  
for the standalone in the Finder is indeed what the standalone  
settings instruct, but the name that appears in the menubar when I  
run the standalone is the original mainstack name. It's as though  
the standalone builder somehow is stuck on that name for this app,  
even though there is nothing with that name anywhere in the stack  
system any more.


Can someone please try the recipe and tell me if this is a bug, or  
some weirdness with my setup? Create a stack, name it something,  
make it into a standalone, then toss that standalone, open the  
stack again in the IDE, change the name of the stack, change the  
name for the app in the standalone settings and make a standalone  
again. What happens when you run the app? I'm using Mac OS 10.4.10,  
Studio 2.8.1 build 471, iBook G4.


-- Peter

Peter M. Brigham
[EMAIL PROTECTED]
http://home.comcast.net/~pmbrig/



Plugins and tutorials for Revolution: http://www.sosmartsoftware.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: Windows Display Problems

2007-11-15 Thread xavier . bury
Hi Dave - nice to scan u2!

Funny, i had the same setup in my old server operations control panel 
stack with nearly the same number and functions of calls...

[long term memory restore]

I had problems with that setup besides the missed screen updates i recall, 
i scratched the update dialog also because it couldn't catch an event when 
i press the cancel button while
something else was running in the back (unless i did lots more additions 
to my already big loop)!. 

I put the progress back in a group that was just a group simulating a 
dialog over the main interface window - and it worked out much better 
though it didn't look as professional... Some limitations sometimes 
requires these silly workarounds. :))

cheers
-=-
Xavier Bury

[EMAIL PROTECTED] wrote on 15/11/2007 14:29:33:

> Hi Xavier,
> 
> Long time no scan! Thanks for the help on this. The way I am using 
> the Progress Bar is as follows:
> 
> 
> The progress stack had a number of Command Handlers that get called 
> by the using stack:
> 
> ProgressInitialize - Initializes the Progress Bar and set the Ending 
> Limit in the Scroll Bar.
> ProgressFinalize - Closes the Progress Stack.
> ProgressUpdate  - Sets the Value of the Scroll Bar,
> ProgressSetCaption - Sets a message to be displayed in a field.
> 
> The main stack then works like this:
> 
> go stack "Progress"  --Initially Hiddens
> set the defaultStack to 
> 
> send "ProgressInitialize theProgressEndValue" to stack "Progress"
> 
> then in a loop:
> 
> ProgressSetCaption("The Caption")
> send "ProgressUpdate "theProgressAmount" to stack "Progress"
> 
> 
> and finally
> 
> send "ProgressFinalize " to stack "Progress"  --Hides the Progress 
> Window and closes it
> 
> That's about it really. This works fine on a mac!
> 
> All the Best
> Dave
> 
> On 15 Nov 2007, at 12:57, [EMAIL PROTECTED] wrote:
> 
> > Hi Dave,
> >
> > I've seen this happen often. Seemingly the application is hung while
> > working (most noticeable on vmware, citrix or Terminal
> > servers)...
> >
> > What works in these cases is giving your monitoring window 
> > (progress bar)
> > a real event instead of a "Send" update
> > event. Sending the update event usually means that there is a wait and
> > sometimes this
> > event never seems to get there. Another issue is the lock screen which
> > sometimes doesn't unlock out of context.
> >
> > I may be wrong and never really investigated since im the sole user 
> > of my
> > programs which usually run all day long
> > updating things - so when i dont see something updated, i know 
> > where to
> > look...
> >
> > Please give us more details how you update your progress bar to get an
> > idea...
> >
> > Regards,
> > -=-
> > Xavier Bury
> >
> >
> > [EMAIL PROTECTED] wrote on 15/11/2007 13:10:49:
> >
> >> Hi,
> >>
> >> I have an that is built as a standalone, part of it uses a Stack/
> >> Window to show a progress bar. On the Mac it works fine, on Windows
> >> however, it doesn't update, the window gets displayed, but the
> >> contents of a Text Field and the Progress bar itself never change.
> >>
> >> Any ideas on what might cause this?
> >>
> >> All the Best
> >> Dave
> >>




Clearstream Services S.A.
42 Avenue JF Kennedy, L-1855 Luxembourg
Société anonyme is organised with limited liability
in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911.


-
Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents
of this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you
are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. Any views expressed in
this e-mail are those of the individual sender, except where the
sender specifically states them to be the views of Clearstream
International or of any of its affiliates or subsidiaries.

Legally required information for business correspondence/
Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:
http://deutsche-boerse.com/letterhead

END OF DISCLAIMER
___
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: Read from file problem

2007-11-15 Thread Dave


On 15 Nov 2007, at 12:37, Trevor DeVore wrote:


On Nov 15, 2007, at 7:20 AM, Dave wrote:

I tied all this, unfortunately it doesn't work, cos (on Mac  
anyway) cr = lf = 0x0A, e.g. RunRev maps cr or lf into a lf.


Try this in the message box:

put chartoNum(lf) && chartoNum(cr)


Just use numToChar(10) for linefeed.


Not much help if RunRev is mapping cr and lf to 0x0A, I want to check  
if a char is cr, but I never see a cr cos RunRev swipes em!


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: Read from file problem

2007-11-15 Thread Trevor DeVore

On Nov 15, 2007, at 9:17 AM, Dave wrote:


On 15 Nov 2007, at 12:37, Trevor DeVore wrote:



Just use numToChar(10) for linefeed.


Not much help if RunRev is mapping cr and lf to 0x0A, I want to  
check if a char is cr, but I never see a cr cos RunRev swipes em!


Yo could try to open as binary. Rev doesn't standardize line endings  
if you open as binary.


--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.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: (mac) application menu

2007-11-15 Thread Mark Schonewille

Hi Peter,

Maybe I was wrong with my previous suggestion. Have you tried  
changing both the Name field in the General pane and the Name field  
in the OSX pane?


I did have the same problem some time ago and I am sure I solved it  
by changing one of these fields.


Best regards,

Mark Schonewille

--

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

Quickly extract data from your HyperCard stacks with DIFfersifier.  
http://differsifier.economy-x-talk.com


Well, that's what I would expect. But the name that appears next to  
the Apple menu that's supposed to be the name of the application is  
*not* the name I give the application in the standalone settings.  
It is the original mainstack name. And nothing I do changes that.  
I've tried setting a different name for the app in the standalone  
settings, setting a different name for the main stack, setting a  
different name for the stack in the Finder, setting a different  
label for the mainstack. Each time I create a standalone, the name  
for the standalone in the Finder is indeed what the standalone  
settings instruct, but the name that appears in the menubar when I  
run the standalone is the original mainstack name. It's as though  
the standalone builder somehow is stuck on that name for this app,  
even though there is nothing with that name anywhere in the stack  
system any more.


Can someone please try the recipe and tell me if this is a bug, or  
some weirdness with my setup? Create a stack, name it something,  
make it into a standalone, then toss that standalone, open the  
stack again in the IDE, change the name of the stack, change the  
name for the app in the standalone settings and make a standalone  
again. What happens when you run the app? I'm using Mac OS 10.4.10,  
Studio 2.8.1 build 471, iBook G4.


-- Peter


___
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: (mac) application menu

2007-11-15 Thread Peter Brigham
On Wed, 14 Nov 2007 15:19:4, Mark Schonewille <[EMAIL PROTECTED] 
x-talk.com> wrote:




Problem 2. When I first created my recipe stack I named things
somewhat hastily, and I tried once when I was mostly done to create
a standalone, then went back to revise a bunch of things. As I
developed it further I renamed the stack file and the main stack,
which was originally named "recipeFile". I also chose a different
name in the standalone preferences for the eventual application.
When I converted it to a standalone finally, it was named properly
in the Finder (as specified in the standalone preferences), but the
application name as it appears in the application menu on the mac
(and in the "quit " menuitem) is the original name of the
main stack, "recipeFile". And nothing I do results in altering
this. I have changed the name of the main stack, the label of the
main stack, the name of the application bundle in the standalone
preferences, the name of the stack file, but the old "recipeFile"
stubbornly continues to be what appears next to the apple menu in
the standalone, and in the "quit" item of that menu. There is
*nothing* now in the stack file that bears the name "recipeFile" --
not the name of the stack in the Finder, not the main stack name,
not the main stack label, nothing. I don't know where the
standalone builder is getting the string "recipeFile" from at this
point. Did it somehow save it from when I originally tried to make
the first standalone?


Just make sure to give the standalone the preferred name in the
Standalone Application Settings. You will find this name in the
General pane.


Well, that's what I would expect. But the name that appears next to  
the Apple menu that's supposed to be the name of the application is  
*not* the name I give the application in the standalone settings. It  
is the original mainstack name. And nothing I do changes that. I've  
tried setting a different name for the app in the standalone  
settings, setting a different name for the main stack, setting a  
different name for the stack in the Finder, setting a different label  
for the mainstack. Each time I create a standalone, the name for the  
standalone in the Finder is indeed what the standalone settings  
instruct, but the name that appears in the menubar when I run the  
standalone is the original mainstack name. It's as though the  
standalone builder somehow is stuck on that name for this app, even  
though there is nothing with that name anywhere in the stack system  
any more.


Can someone please try the recipe and tell me if this is a bug, or  
some weirdness with my setup? Create a stack, name it something, make  
it into a standalone, then toss that standalone, open the stack again  
in the IDE, change the name of the stack, change the name for the app  
in the standalone settings and make a standalone again. What happens  
when you run the app? I'm using Mac OS 10.4.10, Studio 2.8.1 build  
471, iBook G4.


-- Peter

Peter M. Brigham
[EMAIL PROTECTED]
http://home.comcast.net/~pmbrig/

--  Every experiment turns out right -- although not necessarily the  
way you expected. (Nor do you have to understand it.)

___
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 Display Problems

2007-11-15 Thread Dave

Hi Xavier,

Long time no scan! Thanks for the help on this. The way I am using  
the Progress Bar is as follows:



The progress stack had a number of Command Handlers that get called  
by the using stack:


ProgressInitialize - Initializes the Progress Bar and set the Ending  
Limit in the Scroll Bar.

ProgressFinalize - Closes the Progress Stack.
ProgressUpdate  - Sets the Value of the Scroll Bar,
ProgressSetCaption - Sets a message to be displayed in a field.

The main stack then works like this:

go stack "Progress"  --Initially Hiddens
set the defaultStack to 

send "ProgressInitialize theProgressEndValue" to stack "Progress"

then in a loop:

ProgressSetCaption("The Caption")
send "ProgressUpdate "theProgressAmount" to stack "Progress"


and finally

send "ProgressFinalize " to stack "Progress"  --Hides the Progress  
Window and closes it


That's about it really. This works fine on a mac!

All the Best
Dave

On 15 Nov 2007, at 12:57, [EMAIL PROTECTED] wrote:


Hi Dave,

I've seen this happen often. Seemingly the application is hung while
working (most noticeable on vmware, citrix or Terminal
servers)...

What works in these cases is giving your monitoring window  
(progress bar)

a real event instead of a "Send" update
event. Sending the update event usually means that there is a wait and
sometimes this
event never seems to get there. Another issue is the lock screen which
sometimes doesn't unlock out of context.

I may be wrong and never really investigated since im the sole user  
of my

programs which usually run all day long
updating things - so when i dont see something updated, i know  
where to

look...

Please give us more details how you update your progress bar to get an
idea...

Regards,
-=-
Xavier Bury


[EMAIL PROTECTED] wrote on 15/11/2007 13:10:49:


Hi,

I have an that is built as a standalone, part of it uses a Stack/
Window to show a progress bar. On the Mac it works fine, on Windows
however, it doesn't update, the window gets displayed, but the
contents of a Text Field and the Progress bar itself never change.

Any ideas on what might cause this?

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




-- 
--

Clearstream Services S.A.
42 Avenue JF Kennedy, L-1855 Luxembourg
Société anonyme is organised with limited liability
in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911.


-
Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents
of this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you
are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. Any views expressed in
this e-mail are those of the individual sender, except where the
sender specifically states them to be the views of Clearstream
International or of any of its affiliates or subsidiaries.

Legally required information for business correspondence/
Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:
http://deutsche-boerse.com/letterhead

END OF DISCLAIMER
___
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: Windows Display Problems

2007-11-15 Thread xavier . bury
Hi Dave,

I've seen this happen often. Seemingly the application is hung while 
working (most noticeable on vmware, citrix or Terminal
servers)...

What works in these cases is giving your monitoring window (progress bar) 
a real event instead of a "Send" update
event. Sending the update event usually means that there is a wait and 
sometimes this 
event never seems to get there. Another issue is the lock screen which 
sometimes doesn't unlock out of context.

I may be wrong and never really investigated since im the sole user of my 
programs which usually run all day long
updating things - so when i dont see something updated, i know where to 
look...

Please give us more details how you update your progress bar to get an 
idea...

Regards,
-=-
Xavier Bury


[EMAIL PROTECTED] wrote on 15/11/2007 13:10:49:

> Hi,
> 
> I have an that is built as a standalone, part of it uses a Stack/ 
> Window to show a progress bar. On the Mac it works fine, on Windows 
> however, it doesn't update, the window gets displayed, but the 
> contents of a Text Field and the Progress bar itself never change.
> 
> Any ideas on what might cause this?
> 
> 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




Clearstream Services S.A.
42 Avenue JF Kennedy, L-1855 Luxembourg
Société anonyme is organised with limited liability
in the Grand Duchy of Luxembourg R.C.S. Luxembourg B 60911.


-
Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents
of this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you
are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. Any views expressed in
this e-mail are those of the individual sender, except where the
sender specifically states them to be the views of Clearstream
International or of any of its affiliates or subsidiaries.

Legally required information for business correspondence/
Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:
http://deutsche-boerse.com/letterhead

END OF DISCLAIMER
___
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: Read from file problem

2007-11-15 Thread Trevor DeVore

On Nov 15, 2007, at 7:20 AM, Dave wrote:

I tied all this, unfortunately it doesn't work, cos (on Mac anyway)  
cr = lf = 0x0A, e.g. RunRev maps cr or lf into a lf.


Try this in the message box:

put chartoNum(lf) && chartoNum(cr)


Just use numToChar(10) for linefeed.

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.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: Read from file problem

2007-11-15 Thread Martin Baxter
Dave

try:

open file for binary read
.

I think that should leave the line ending characters intact.

Martin Baxter

Dave wrote:
> Hi,
> 
> I tied all this, unfortunately it doesn't work, cos (on Mac anyway) cr =
> lf = 0x0A, e.g. RunRev maps cr or lf into a lf.
> 
> Try this in the message box:
> 
> put chartoNum(lf) && chartoNum(cr)
> 
> Cheers
> Dave
> 
> 
> On 14 Nov 2007, at 19:51, Brian Yennie wrote:
> 
>> Dave,
>>
>> How about something like this. Untested, but the idea is:
>>
>> Read in the lines as if they are all "cr" delimited. If the first
>> character of a line is a linefeed, then you just passed a crlf ending
>> (so just delete the linefeed). For any additional embedded linefeeds,
>> split them off as new lines.
>>
>>
>> read from file theXMLFilePathName until cr
>> put it into tLine
>> if (char 1 of tLine = linefeed) then delete char 1 of tLine
>> replace linefeed with cr in tLine
>> repeat for each line l in tLine
>>processLine l
>> end repeat
>>
>>> Hi,
>>>
>>> I am trying to read text files line by line, but have come across a
>>> file that doesn't have consistent line endings. The command I use is:
>>>
>>>   read from file theXMLFilePathName until cr
>>>
>>> When I looked in the file it has some lines ending in cr, some in lf
>>> and some in crlf.
>>>
>>> How can I read up to either of these characters (cr/lf) ?
>>>
>>> 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: Read from file problem

2007-11-15 Thread Dave

Hi,

I tied all this, unfortunately it doesn't work, cos (on Mac anyway)  
cr = lf = 0x0A, e.g. RunRev maps cr or lf into a lf.


Try this in the message box:

put chartoNum(lf) && chartoNum(cr)

Cheers
Dave


On 14 Nov 2007, at 19:51, Brian Yennie wrote:


Dave,

How about something like this. Untested, but the idea is:

Read in the lines as if they are all "cr" delimited. If the first  
character of a line is a linefeed, then you just passed a crlf  
ending (so just delete the linefeed). For any additional embedded  
linefeeds, split them off as new lines.



read from file theXMLFilePathName until cr
put it into tLine
if (char 1 of tLine = linefeed) then delete char 1 of tLine
replace linefeed with cr in tLine
repeat for each line l in tLine
   processLine l
end repeat


Hi,

I am trying to read text files line by line, but have come across  
a file that doesn't have consistent line endings. The command I  
use is:


  read from file theXMLFilePathName until cr

When I looked in the file it has some lines ending in cr, some in  
lf and some in crlf.


How can I read up to either of these characters (cr/lf) ?

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


Windows Display Problems

2007-11-15 Thread Dave

Hi,

I have an that is built as a standalone, part of it uses a Stack/ 
Window to show a progress bar. On the Mac it works fine, on Windows  
however, it doesn't update, the window gets displayed, but the  
contents of a Text Field and the Progress bar itself never change.


Any ideas on what might cause this?

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: Multiuser or not multiuser

2007-11-15 Thread Sarah Reichelt
> I am working on a small restaurant app for my school.
> Now there is a paper list where you put your name on and choose your lunch.
> The teacher, who works with disabled children in the restaurant, wants it to
> be more streamlined so therefore my app.
>
> Because the app is put on a Server 2003 with XP clients it needs to be
> multiuser or not.
> What I did is that I put on startup the code:
> on openstack
> add 1 to fld "inuse"
> if fld "inuse" = 1 then go stack "order"
> if fld "inuse" = 2
> then answer "Sorry, software in use try again in a few minutes!"
> then quit stack "order"
> end if
> end openstack
>
> This doesn't work with clients in a netwerk!

When the first client gets access to the stack, they need to save it
after setting the "inuse" field to 2. Otherwise they are only changing
the copy in their own RAM and not doing anything to the copy filed on
the server. In the same way, once the client leaves the program, they
need to reduce the value of "inuse" and save again.

An alternative might be to have a text file on the server that just
stores whether the stack is in use, or possibly who is using it.

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


Multiuser or not multiuser

2007-11-15 Thread William de Smet
Hi there,

I am working on a small restaurant app for my school.
Now there is a paper list where you put your name on and choose your lunch.
The teacher, who works with disabled children in the restaurant, wants it to
be more streamlined so therefore my app.

Because the app is put on a Server 2003 with XP clients it needs to be
multiuser or not.
What I did is that I put on startup the code:
on openstack
add 1 to fld "inuse"
if fld "inuse" = 1 then go stack "order"
if fld "inuse" = 2
then answer "Sorry, software in use try again in a few minutes!"
then quit stack "order"
end if
end openstack

This doesn't work with clients in a netwerk!

Is there a simple way to do wat I want?
Could anyone give me an example?
I am not that experienced with REV like most of you but I am getting better
in it ;-)

greetings,

William de Smet
___
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 do I create an Icon View

2007-11-15 Thread viktoras didziulis

Hi Mark,

if I understood you correctly, you need a field which displays contents 
of a folder (table, database, etc) in a list where icons indicate the 
type of a resource displayed.


Basically you will need to "set the imageSource of char 1 to yourimg" 
for each line in a field describing a resource. If you wish to show it 
in 2 or 3 columns - just insert tabs where appropriate, "set the 
itemdelimiter to tab", and "set the imageSource of char 1 to yourimg"  
for each item...


An example that might serve you as a source of ideas is described (and 
can be downloaded and reused) at

http://www.runrev.com/newsletter/september/issue32/newsletter3.php

Viktoras


mfstuart wrote:

If I may explain a little more...
I would like the display to behave like the Icons View. This view is loaded
dynamically from say the contents of a folder, or selected rows in a SQL
database, or whatever the criteria. Even links to PDF files. User clicks on
the icon and the script launches and opens the file.

If I were to load each of the icons (an image) and icon text name
dynamically onto a form, what kind of container (or object) would I load
them into? A table object?
Would the contents be something like...?
First row:
Load the table object with an icon then TAB (as the delimiter) then icon,
etc., with the row height say upto something like 80.
Alternate row:
Name of the icon TAB (as delimiter) then icon, etc.

Is this how to approach it?

And would I have to set the property of this table object to HTMLtext, or
something? Not sure.

Thanx again,
Mark Stuart


Björnke von Gierke wrote:
  
You need buttons which have an icon, but no showBorder, threeD and no  
hiliteBorder. Look them up in the docu, as well as the icons & border  
part of the inspector.


On 14 Nov 2007, at 21:46, mfstuart wrote:



Hi all,

On Mac and Win platforms, the Explorer and Finder have an Icon View.
Where each icon (and icon name) appear in a grid type of layout?

How would I create this type of layout with RunRev?

Thanx,
Mark Stuart
--
View this message in context:
http://www.nabble.com/How-do-I-create-an-Icon-View-tf4807893.html#a13756153
Sent from the Revolution - User mailing list archive at Nabble.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





  


___
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