Re: deleting every other line in an image

2007-11-14 Thread BNig
Hi Josh, this script works with your picture but gives you an image half the width and heigth of the original on mouseUp put the width of image P1 into theImagWidth put the height of image P1 into theImageHeight put the imagedata of image P1 into theDataToWorkon if

Re: Of Tiger Stripes and Blue Leopards

2007-11-14 Thread Christian Langers
Before reading my mails I already wrote this : Hi all, I don't know if you noticed, but I think there is a difference between Leo running on an Intel Mac and Leo running on a PPC (in relation to Revolution): - on Intel Mac : the REV IDE is light blue ; I think Ken noticed that it has to

Re: ResumeStack message... bug?

2007-11-14 Thread Ralf Bitter
On 13. Nov 2007, at 18:57, Klaus Major wrote: I have the feeling that resume-/suspendstack is not send reliably. This is my observation too but I noticed, that the results differ dependent on the operating system. Boy, I spent an incredible amount of time with this subject. At the end I

Re: ResumeStack message... bug?

2007-11-14 Thread Klaus Major
Hi Ralf, On 13. Nov 2007, at 18:57, Klaus Major wrote: I have the feeling that resume-/suspendstack is not send reliably. This is my observation too but I noticed, that the results differ dependent on the operating system. And the problem ist there is no recipe or obvious legality. Boy, I

RE: (mac) application menu

2007-11-14 Thread Shari
Couldn't he just capture shutDownRequest? on shutDownRequest cleanUpStuff end shutDownRequest on cleanUpStuff # do all your special quit things here quit # actually quits when you're done saving or changing or whatever end cleanUpStuff or... on cleanUpStuff # do all your special quit

Re: Problem with more than one open stack

2007-11-14 Thread Dave
Hi, Thanks that was the problem all right I'd forgotton to add the file to the Standalone Setting. All the Best Dave On 13 Nov 2007, at 03:50, J. Landman Gay wrote: Dave wrote: HI, i tried go stack Progress Window set the defaultstack to Original Stack And it's works fine in the IDE, but

Re: (mac) application menu

2007-11-14 Thread Mark Schonewille
Hi Peter, Just make sure to give the standalone the preferred name in the Standalone Application Settings. You will find this name in the General pane. Best regards, Mark Schonewille -- Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz

Problem with closing Windows App

2007-11-14 Thread Charles Szasz
I can quit my Windows application with the Quit command and restart again with no problem. But if I quit the program by using the red X in the upper right corner of the application window, and try to start the program again using a shortcut or actually double clicking on the exec. file, the

Re: Problem with closing Windows App

2007-11-14 Thread Eric Chatonet
Hi Charles, Le 14 nov. 07 à 17:12, Charles Szasz a écrit : I can quit my Windows application with the Quit command and restart again with no problem. But if I quit the program by using the red X in the upper right corner of the application window, and try to start the program again using

Re: Problem with closing Windows App

2007-11-14 Thread Devin Asay
On Nov 14, 2007, at 9:12 AM, Charles Szasz wrote: I can quit my Windows application with the Quit command and restart again with no problem. But if I quit the program by using the red X in the upper right corner of the application window, and try to start the program again using a

Re: (mac) application menu

2007-11-14 Thread Marty Knapp
In my experience, capturing the shutDownRequest on a Mac is not reliable. For me it works most of the time, but then it gets me about 1 time out of ten. I've implemented the AppleEvent solution (thanks to Ken Ray) and that has been 100% reliable. Marty Knapp Couldn't he just capture

Read from file problem

2007-11-14 Thread Dave
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

Re: Read from file problem

2007-11-14 Thread SimPLsol
Dave, You could put the file in a variable, then replace cr with lf (or vice versa). You probably want to use the ASCII number of cr and lf to be safe. PL ** See what's new at http://www.aol.com ___ use-revolution

Re: Read from file problem

2007-11-14 Thread Brian Yennie
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

How do I create an Icon View

2007-11-14 Thread mfstuart
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:

Re: How do I create an Icon View

2007-11-14 Thread Björnke von Gierke
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

libURLSetFTPStopTime

2007-11-14 Thread Sarah Reichelt
I seem to be failing to understand the use of the libURLSetFTPStopTime command. The docs say: When Revolution opens a socket to a host in order to upload or download a file via ftp, or to delete a file, it leaves the connection open for a time after the transaction completes. If another file is

Re: exportscripts.rev

2007-11-14 Thread Josh Mellicker
Just wanted to let everyone know I updated this little script exporter a little, the new version is here: http://revcoders.org/resources/exportscripts.rev.zip It will now export all your project's scripts as text files every 30 minutes (or whatever time interval you set), into a uniquely

Re: Problem with closing Windows App

2007-11-14 Thread Ken Ray
On Wed, 14 Nov 2007 08:12:47 -0800 (PST), Charles Szasz wrote: I can quit my Windows application with the Quit command and restart again with no problem. But if I quit the program by using the red X in the upper right corner of the application window, and try to start the program again

Scriptlimits Barrier

2007-11-14 Thread Bridger Maxwell
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

Re: How do I create an Icon View

2007-11-14 Thread mfstuart
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

[OT] Mac OS 10.4.11

2007-11-14 Thread Richmond Mathewson
Well! http://docs.info.apple.com/article.html?artnum=306297 Guess I have to go out and eat poo in the light of my earlier posting:) This update seems extremely good: especially for us who are using PPCs below spec. for Leopard. sincerely, Richmond Mathewson

Re: exportscripts.rev

2007-11-14 Thread Jim Ault
On 11/14/07 9:01 PM, Josh Mellicker [EMAIL PROTECTED] wrote: Just wanted to let everyone know I updated this little script exporter a little, the new version is here: http://revcoders.org/resources/exportscripts.rev.zip It will now export all your project's scripts as text files every 30