Re: Drop destination path

2009-08-12 Thread Jim Ault
On Aug 12, 2009, at 7:09 PM, Tariel Gogoberidze wrote: On Wed, 12 Aug 2009 12:35:22 +0200, Klaus Major wrote: if I drop some text or image from Revolution into some arbitrary folder on hard disk, how do I get the path to this folder? I also would like to get this, but I'm afraid there is n

Re: Re-2: Revlet goURL

2009-08-12 Thread J. Landman Gay
runrev260...@m-r-d.de wrote: Hi, tried it here also. But it does not work in Firefox although there is no such NoScript extension installed. Also in IE8 it does not work. What am i doing wrong? I'm not sure...can you post the script? -- Jacqueline Landman Gay | jac...@hyperactiv

Re: Drop destination path

2009-08-12 Thread Jim Sims
On Aug 13, 2009, at 4:09 AM, Tariel Gogoberidze wrote: On Wed, 12 Aug 2009 12:35:22 +0200, Klaus Major wrote: if I drop some text or image from Revolution into some arbitrary folder on hard disk, how do I get the path to this folder? I need a user to be able to drag line with movie name

Re: Using zip to package a folder with subfolders

2009-08-12 Thread Tereza Snyder
Thanks Trevor, I updated my vast store of purloined scripts with the contents of your web page. I'm cookin' now! Three different methods! Always learning, t On Aug 12, 2009, at 9:44 PM, Trevor DeVore wrote: On Aug 12, 2009, at 2:37 PM, Tereza Snyder wrote: Do I need to use a shell comman

Re: Using zip to package a folder with subfolders

2009-08-12 Thread Trevor DeVore
On Aug 12, 2009, at 2:37 PM, Tereza Snyder wrote: Do I need to use a shell command, or can a sequence of revzip commands do the trick? What script commands are needed? Okay, I actually forgot to include a number of handlers. I remember why I neglected to post this before: it has lots of sup

Re: Using zip to package a folder with subfolders

2009-08-12 Thread Trevor DeVore
On Aug 12, 2009, at 2:37 PM, Tereza Snyder wrote: Thanks Trevor for your noCommentsNeededOnAccountOfLongVariableNames script. The main mystery, "How do I zip a folder?" is solved! :-) I forgot to include one supporting function that is called: filesFilesInFolder. Here it is. Regards, --

Re: Drop destination path

2009-08-12 Thread Tariel Gogoberidze
On Wed, 12 Aug 2009 12:35:22 +0200, Klaus Major wrote: if I drop some text or image from Revolution into some arbitrary folder on hard disk, how do I get the path to this folder? I also would like to get this, but I'm afraid there is no way to get the "dropdestination" from oustside of Rev/MC

Re: Revlet question

2009-08-12 Thread Jim Ault
On Aug 12, 2009, at 1:23 PM, Yves COPPE wrote: Hi list Suppose you have a revlet imbed in a html page and this revlet contains in his (pre)openstack script confidential password; Can this confidential data be vulnerable to an attack ? Why would you decide to make the password a single str

Revlet question

2009-08-12 Thread Yves COPPE
Hi list Suppose you have a revlet imbed in a html page and this revlet contains in his (pre)openstack script confidential password; Can this confidential data be vulnerable to an attack ? thanks. Greetings. Yves COPPE yvesco...@skynet.be ___ use-

Re-2: Revlet goURL

2009-08-12 Thread runrev260805
Hi, tried it here also. But it does not work in Firefox although there is no such NoScript extension installed. Also in IE8 it does not work. What am i doing wrong? Regards, Matthias Original Message Subject: Re: Revlet goURL (11-Aug-2009 1:03) From:J. Landman Gay To:

Re: Mac to Windows Standalone Question

2009-08-12 Thread Devin Asay
On Aug 12, 2009, at 11:35 AM, Joe F. wrote: True, your comment at the bottom. But no mention of the "not equal" sign "≠" which was widely used in Hypercard and works in Rev. I'm surprised that compiling a standalone for Windows doesn't catch that. The option width thing I haven't run into yet,

Re: Why no ScreenUp Dates

2009-08-12 Thread Sivakatirswami
Ben Rubinstein wrote: On 12/8/09 10:35, Mark Smith wrote: Sivakatirswami , inserting a "wait 0 millisecs with messages" just after "calcTime" might help. Sometimes loops are fast enough to get in the way of rendering the screen, and a 'wait' will give the engine enough time to update the scree

Re: Using zip to package a folder with subfolders

2009-08-12 Thread Jim Ault
Additional info regarding ZIP and FOLDERS I use " TAR " because it allows files of the same name that reside in different folders in the tree. For web designers, this is valuable since linked support files are critical and most are named the same and replicated within and across web sites.

Re: Using zip to package a folder with subfolders

2009-08-12 Thread Tereza Snyder
On Aug 12, 2009, Trevor DeVore & Mark Schonewille answered my plea: Do I need to use a shell command, or can a sequence of revzip commands do the trick? What script commands are needed? both ways! Thanks Trevor for your noCommentsNeededOnAccountOfLongVariableNames script. The main myste

Re: Using zip to package a folder with subfolders

2009-08-12 Thread Klaus on-rev
Hi all, Am 12.08.2009 um 19:13 schrieb Mark Schonewille: Hi Tereza, This is what I use: on mouseUp set the itemDel to slash if there is a folder fld "File" or there is a file fld "File" then set the directory to item 1 to -2 of fld "File" put item -1 of fld "File" & ".zip" into

Re: Mac to Windows Standalone Question

2009-08-12 Thread Joe F.
True, your comment at the bottom. But no mention of the "not equal" sign "≠" which was widely used in Hypercard and works in Rev. I'm surprised that compiling a standalone for Windows doesn't catch that. The option width thing I haven't run into yet, but I'll be watching for it. So, as it

Re: Using zip to package a folder with subfolders

2009-08-12 Thread Mark Schonewille
Hi Tereza, This is what I use: on mouseUp set the itemDel to slash if there is a folder fld "File" or there is a file fld "File" then set the directory to item 1 to -2 of fld "File" put item -1 of fld "File" & ".zip" into myZipFile put "zip -r" && quote & myZipFile & quot

Re: Using zip to package a folder with subfolders

2009-08-12 Thread Trevor DeVore
On Aug 12, 2009, at 1:02 PM, Tereza Snyder wrote: I need to zip up a folder that contains files and subfolders. Do I need to use a shell command, or can a sequence of revzip commands do the trick? What script commands are needed? I should point out that you need to open/close the zip archiv

Re: Using zip to package a folder with subfolders

2009-08-12 Thread Trevor DeVore
On Aug 12, 2009, at 1:02 PM, Tereza Snyder wrote: I need to zip up a folder that contains files and subfolders. Do I need to use a shell command, or can a sequence of revzip commands do the trick? What script commands are needed? You can use revZip if you want. Here are two (uncommented) ha

Using zip to package a folder with subfolders

2009-08-12 Thread Tereza Snyder
It's probably elementary for old hands on the list, but I've never done it: I need to zip up a folder that contains files and subfolders. Do I need to use a shell command, or can a sequence of revzip commands do the trick? What script commands are needed? I'm working in MacOS, rev 3.5,

Firefox works for revlet but not IE? was - Re: cookbook for putting Rev app on the web?

2009-08-12 Thread Sadhu Nadesan
Status Ok, the app failure to launch in a web page on our work web servers must have something to do with the configuration of my browser, Apache, my PC, our firewall rules, etc. Reason is - I can put the 2 same files, one test.html file and one revlet, on my home web server and it works jus

Re: wake from sleep

2009-08-12 Thread Ben Rubinstein
Possibly helpful, but somewhat messy: * at least on Mac, if the screensaver kicks in when your stack is on top, it will get a 'suspendStack' message; when the user breaks out of the screensaver, and the stack becomes active again, it gets a 'resumeStack' message * at least on Mac, you can use

Re: Releasing Memory and Virtual Memory

2009-08-12 Thread viktoras d.
OK, that's also possibly why I have been experiencing strange crashes upon loading large images into a hidden stack, reading their image data, importing RGB values into a table in sqlite database, deleting image and closing. Then if I open another image within the same handler application myste

Re: Bytes (was: password in a script)

2009-08-12 Thread Ben Rubinstein
See also Engine Release Log for 3.0. You would perform a kindness if you added a QC note that the documentation hasn't been updated to match. Ben ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, uns

Re: Releasing Memory and Virtual Memory

2009-08-12 Thread Ben Rubinstein
Notwithstanding that Derek's case seems actually have been different: I certainly have run afoul of this problem, that there is no garbage collection until a handler ends, in a similar situation: a script where image objects were created and deleted, when given a large enough job on a machine wi

Re: Why no ScreenUp Dates

2009-08-12 Thread Ben Rubinstein
On 12/8/09 10:35, Mark Smith wrote: Sivakatirswami , inserting a "wait 0 millisecs with messages" just after "calcTime" might help. Sometimes loops are fast enough to get in the way of rendering the screen, and a 'wait' will give the engine enough time to update the screen. My impression is a

Re: [ANN] Teacher Friday for tRev this week

2009-08-12 Thread Jerry Daniels
I neglected to mention the time for Teacher Friday: 10:00 AM Central Daylight Time / US Best, Jerry Daniels Watch tRev - The Movie http://reveditor.com/trev-the-movie On Aug 12, 2009, at 10:01 AM, Jerry Daniels wrote: Script editor aficionados, This week we have already added several very n

[ANN] Teacher Friday for tRev this week

2009-08-12 Thread Jerry Daniels
Script editor aficionados, This week we have already added several very nice features and enhancements to tRev, the new script editor for Revolution that operates as a separate application. We have continued our good track record of keeping Revolution stable, fast and happy. The tRev app

Re: Bytes (was: password in a script)

2009-08-12 Thread Jan Schenkel
The 'byte' chunk type and friends ('byteToNum' and 'numToByte') were introduced in Revolution 3.0 - and guarantee linear access to a piece in a container (variable, field, etc) The idea is to let you retrieve individual bytes in a container, even when there's a mix of ASCII and Unicode in there.

Re: Bytes (was: password in a script)

2009-08-12 Thread Mark Schonewille
Hi Craig, Currently, chars and bytes are synonyms. This might change in the future. Perhaps ask for more info on the Enterprise list? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com Download Snapper Screen Recorder at http://sn

Bytes (was: password in a script)

2009-08-12 Thread DunbarX
Just curious, "byte" seems to be a native word in Rev, though I don't see it in the dictionary. I know there are memos and addendums galore. Is it a synonym for "char", as it seems to be, or something more? Craig Newman In a message dated 8/12/09 9:19:24 AM, li...@futilism.com writes: > on t

Re: wake from sleep

2009-08-12 Thread Thomas McGrath III
Thanks Bernd, That worked and now to clean it up. FWIW the stack keeps ticking after the screensaver launches. Thanks again, I will share the code later once I clean it up. Tom McGrath III Lazy River Software 3mcgr...@comcast.net iTunes Library Suite - libITS Information and download can be

Re: password in a script

2009-08-12 Thread Mark Smith
Yves, you're sending the password in the clear, so you're vulnerable to a 'man-in-the-middle' attack, whereby someone could discover the password. A scheme for avoiding this is to use what's called a "nonce" value to create an md5digest with your password. Here's roughly how it works: on

Re: revLet image

2009-08-12 Thread Richard Miller
Some interesting behaviors with revlets. These work: For an image file on a server: set the filename of image 1 to "http://www.test.com/file1.jpg"; For a local image file: put url "binfile:c:/file1.jpg" into image 1 For a QT file on a server: set the filename of player 1 to "http://www.test

password in a script

2009-08-12 Thread Yves COPPE
Hello, i've made a simple script : put "myLogIn" into userName put "myPasswd" into userPassword put "http://"; & URLEncode(userName) & ":" & URLEncode(userPassword) & "@www.mondomaine.com/MyFileText.txt" into fileURLToGet put URL fileURLToGet into tmp answer tmp It runs v

Re: revLet image

2009-08-12 Thread Kenji Kojima
Richard, Andre, Sarah set the filename of image 1 to "http://kenjikojima.com/Photo/myImage.jpg " It worked. I thought I did exactly same, but maybe I did something wrong. The test page is: http://www.kenjikojima.com/Photo/test.html Thanks, -- Kenji Kojima http://www.kenjikojima.com/ On

Re: revLet image

2009-08-12 Thread Sarah Reichelt
> set the filename of image 1 to "myImage.jpg" > set the filename of image 1 to "http://kenjikojima.com/Photo/myImage.jpg"; > And used Network of Standalone Application setting. > But I could not show the image. It was just a gray image object. > > Does anybody know how I can show an image. I had

Re: revLet image

2009-08-12 Thread Andre Garzia
if it is a revlet then this would not work since the images would not be stored locally. Kenji, try this put URL "http://kenjikojima.com/Photo/myImage.jpg"; into image 1 that might work. On Wed, Aug 12, 2009 at 11:44 AM, Richard Miller wrote: > Hi Kenji, > > This works for a locally-stored im

Re: revLet image

2009-08-12 Thread Richard Miller
Hi Kenji, This works for a locally-stored image: set the filename of image 1 to "file:///c:/folder1/folder2/myImage.jpg" You should include the full local path to the image... not just the relative path, along with the prefix "file:///" This should work for an image stored on a server:

Re: Drop destination path

2009-08-12 Thread Klaus Major
Hi Tariel, HI, I guess it's something obvious, but I'm not very familiar yet with new drag / drop syntax. if I drop some text or image from Revolution into some arbitrary folder on hard disk, how do I get the path to this folder? I also would like to get this, but I'm afraid there is no w

revLet image

2009-08-12 Thread Kenji Kojima
Hi, I cannot set image filename of revLet. I tried them. set the filename of image 1 to "myImage.jpg" set the filename of image 1 to "http://kenjikojima.com/Photo/ myImage.jpg" And used Network of Standalone Application setting. But I could not show the image. It was just a gray image object.

Drop destination path

2009-08-12 Thread Tariel Gogoberidze
HI, I guess it's something obvious, but I'm not very familiar yet with new drag / drop syntax. if I drop some text or image from Revolution into some arbitrary folder on hard disk, how do I get the path to this folder? Thanks in advance Tariel ___

Re: wake from sleep

2009-08-12 Thread BNig
Tom, if you are worried about querying every second or so you could cut down on querying while the screensaver is not on to lets say every minute. Than as soon as your stack gets the notice that screensaver is on you change to query every second, your stack will probably idle when the screensaver

Re: Why no ScreenUp Dates

2009-08-12 Thread Mark Smith
Sivakatirswami , inserting a "wait 0 millisecs with messages" just after "calcTime" might help. Sometimes loops are fast enough to get in the way of rendering the screen, and a 'wait' will give the engine enough time to update the screen. Best, Mark Smith On 12 Aug 2009, at 03:49, Sivaka