[1/8] from: mattsmac:ho:tmail at: 17-Nov-2003 13:56
Does anyone know why this statement only works some of the time? filepath: request-file/save/only/file filename filename is the name of the file I want to save. Sometimes the save dialog will have the filename filled in, other times it won't. It seems to be at random times. I am using REBOL/COMMAND. It always launches the save dialog and it always saves properly, it's just that sometimes it doesn't fill the name in. Matt _________________________________________________________________ MSN Shopping upgraded for the holidays! Snappier product search... http://shopping.msn.com
[2/8] from: moliad:aei:ca at: 23-Nov-2003 12:20
I think this went unanswered... any one know anything about this? -MAx
[3/8] from: antonr:iinet:au at: 24-Nov-2003 12:33
Well, I haven't got Command, but I have never seen request-file (that uses local-request-file) fill in the filename on rebol/view. What version of Command do you have, Matt? Did you notice a pattern in which filenames are filled in successfully and which aren't? Is it that a particular filename is always filled in ok? Or will a filename works sometimes and sometimes not? Anton.
[4/8] from: mattsmac:hotma:il at: 24-Nov-2003 16:59
It seems to be totally random as to when it decides to fill in the file name, but it doesn't fill it in more often than it does. REBOL Internet Protocols 220.127.116.11 14-Feb-2003/1:45:14 ODBC Access 18.104.22.168 24-Mar-2002/20:13:57 Dynamic Library Access 22.214.171.124 24-Mar-2002/20:13:53 Oracle Access 126.96.36.199 24-Mar-2002/20:13:57 MySQL Access 188.8.131.52 24-Mar-2002/20:13:57 Command Shell Access 184.108.40.206 11-Dec-2002/0:37:05 Graphics 220.127.116.11 23-Jul-2003/21:32:34 View and VID 18.104.22.168 23-Jul-2003/21:36:38 View Desktop 22.214.171.124 26-Jun-2003/6:00:34 Sound 126.96.36.199 24-Mar-2002/20:13:58 Encryption 188.8.131.52 24-Mar-2002/20:13:52 Big Numbers 184.108.40.206 24-Mar-2002/20:13:52 DH/DSA Encryption 220.127.116.11 24-Mar-2002/20:13:52 RSA Encryption 18.104.22.168 24-Mar-2002/20:13:58 FastCGI 22.214.171.124 24-Nov-2002/17:05:54 System Port 126.96.36.199 30-Nov-2002/17:24:03 Encryption Level 2 188.8.131.52 24-Jan-2002/19:54:44 Secure Socket Layer 184.108.40.206 24-Mar-2002/20:13:58 Matt -------------------------------------------------------------------- Well, I haven't got Command, but I have never seen request-file (that uses local-request-file) fill in the filename on rebol/view. What version of Command do you have, Matt? Did you notice a pattern in which filenames are filled in successfully and which aren't? Is it that a particular filename is always filled in ok? Or will a filename works sometimes and sometimes not? Anton.
>I think this went unanswered... >any one know anything about this?
<<quoted lines omitted: 9>>> > > name in. > > > Matt
_________________________________________________________________ online games and music with a high-speed Internet connection! Prices start at less than $1 a day average. https://broadband.msn.com (Prices may vary by service area.)
[5/8] from: sqlab:gmx at: 25-Nov-2003 10:38
Hi Matt I observed, that it keeps the file name, when this file exists in your directory. Maybe you should change the source of request-file, if you like a different behaviour. AR
> It seems to be totally random as to when it decides to fill in the file > name, but it doesn't fill it in more often than it does.
<<quoted lines omitted: 28>>> > > > Matt > _________________________________________________________________
-- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++
[6/8] from: mattsmac:ho:tmail at: 20-Jan-2004 17:07
I'm having a problem with the Request File Function. I have a timer as an event in the feel of a form. One of the buttons on the form launches the request file dialog box. The problem is that while that dialog box is up, my timer event is paused. I'm using the timer to check for inactive users, so the timer needs to be going at all times. Anybody have any suggestions? Here is the code for the timer: ; Probe time hold the timer interval, in my case it is usually 30 seconds main-form/rate: probe-int main-form/feel: make main-form/feel [ engage: func [face action event] [ if (event/type = 'time) [probe-messages probe-type] ] ] Thanks everyone, Matt _________________________________________________________________ Get a FREE online virus check for your PC here, from McAfee.
[7/8] from: carl:cybercraft at: 24-Jan-2004 11:51
On 21-Jan-04, Matt MacDonald wrote:
> I'm having a problem with the Request File Function. I have a timer > as an event in the feel of a form. One of the buttons on the form
<<quoted lines omitted: 11>>> ] > ]
I'm not quite sure how your program works, but the timer in the following keeps going while the file-requester is open... view layout [ button "Request" [x: request-file] time: field to-string now/time rate 1 feel [ engage: func [face action event][ if event/type = 'time [ time/text: to-string now/time show time ] ] ] ] -- Carl Read
[8/8] from: antonr:iinet:au at: 21-Jan-2004 15:00
Request-file in Rebol/View 220.127.116.11.1 uses a rebol window whereas betas since then are using the windows native file requester. On WinXP this window is modal and blocks events to the main window, including, it seems, time events. That's an interesting issue. (meaning, I don't have an answer) I will bring it up in rebol-view world, where we are working on rebol/view 1.3 Actually, it might be worth looking how request-file is implemented in View 1.2.1. You most likely can just copy the source to the request-file function into your code and use that in the newer beta I assume you are using. At least it will work. Anton.
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted