selectedchunk anyone?

2007-01-17 Thread Chipp Walters
I'm trying to figure out where the I-beam cursor sits in a field. Not hard, check the selectedChunk. But what if AFTER I've clicked a list field? Even with TraversalOn set to false for a list field, it still insists on resetting the selectedChunk to it's own 'hilitedline' even though the I-beam cu

Re: Common writable folders

2007-01-17 Thread sims
At 12:45 AM -0600 1/18/07, Ken Ray wrote: Son of a gun! I never knew this! would have saved me a lot of trouble... You should have come to Malta and asked me! ;-) Save up some more questions in case I am foolish enough to host another EuroRevCon. ;-) I have been known to be very foolish!

Re: Common writable folders

2007-01-17 Thread Ken Ray
On Jan 18, 2007, at 12:26 AM, sims wrote: At 8:48 PM -0800 1/17/07, Richard Gaskin wrote: You mean Apple provides no way for any scripting language to request authorization on its own? Not even AppleScript? For the dialog use AppleScript: do shell script "command" with administrator privil

Re: Common writable folders

2007-01-17 Thread sims
At 8:48 PM -0800 1/17/07, Richard Gaskin wrote: You mean Apple provides no way for any scripting language to request authorization on its own? Not even AppleScript? For the dialog use AppleScript: do shell script "command" with administrator privileges To pass other items use: do shell script

Re: Common writable folders

2007-01-17 Thread Trevor DeVore
On Jan 17, 2007, at 8:48 PM, Richard Gaskin wrote: Trevor DeVore wrote: > On Jan 17, 2007, at 10:55 AM, Richard Gaskin wrote: > >> But now I wonder: Is there a way to do this from within a custom >> Rev-based installer? How does one trigger the OS X authentication >> dialog? > > Last weekend

Re: Common writable folders

2007-01-17 Thread Richard Gaskin
Trevor DeVore wrote: > On Jan 17, 2007, at 10:55 AM, Richard Gaskin wrote: > >> But now I wonder: Is there a way to do this from within a custom >> Rev-based installer? How does one trigger the OS X authentication >> dialog? > > Last weekend I played experimented with an external that will > d

SFTP

2007-01-17 Thread Bridger Maxwell
Hey, I am trying to get a server set up on a School District's network, but they won't let me open an FTP port to the internet unless it is an SFTP connection. As far as I can tell, Revolution is not able to open Secure FTP connections out of the box, but are there any workarounds that anyone kn

Re: Common writable folders

2007-01-17 Thread Trevor DeVore
On Jan 17, 2007, at 10:55 AM, Richard Gaskin wrote: But now I wonder: Is there a way to do this from within a custom Rev-based installer? How does one trigger the OS X authentication dialog? Richard, Last weekend I played experimented with an external that will display the OS X authen

Very often crash

2007-01-17 Thread Hershel Fisch
Hello I'd wish how to go about this. When ever I need to edit any thing on the layout that has to do with a group my blood pressure is up the creek. 95% of the time it crashes Rev. I don't know if its a bug or I'm the bug?(lol) I don't remember form previous threads if the report to apple also rep

Re: Printing Question

2007-01-17 Thread Sarah Reichelt
On 1/18/07, Charles Szasz <[EMAIL PROTECTED]> wrote: I have on my card six option menu buttons. One set has the year, months and days based on the system date. The other buttons have the year, months and days entered by the user. I want to print the card that has also text on it but I only want

Printing Question

2007-01-17 Thread Charles Szasz
I have on my card six option menu buttons. One set has the year, months and days based on the system date. The other buttons have the year, months and days entered by the user. I want to print the card that has also text on it but I only want to print the label or content of the option men

Re: Will revOpenDatabase work in a shared-hosting environment

2007-01-17 Thread Luis
Yep, there's that and some that run a VPN server. Maybe I should have rephrased it to: I haven't found any that will allow 'standard' remote connections, but some do provide other means of access... Cheers, Luis. On 17 Jan 2007, at 18:14, Stephen Barncard wrote: Dreamhost. http://drea

Re: Common writable folders

2007-01-17 Thread Ken Ray
On Jan 17, 2007, at 2:23 PM, Richard Gaskin wrote: Ken Ray wrote: J. Landman Gay wrote: Richard Gaskin wrote: But now I wonder: Is there a way to do this from within a custom Rev-based installer? How does one trigger the OS X authentication dialog? Well, that's the deal. I couldn't

Re: play vs. start

2007-01-17 Thread Phil Davis
Thanks Jackie. Actually I'm using .WAV and .AIF files, ranging in size from 200KB to maybe 5MB. I'll set up some all-night automated tests using both methods on both target platforms and see what happens. As they used to say in old-media days, "film at 11". I'll report back. Thanks - Phil J.

Re: play vs. start

2007-01-17 Thread J. Landman Gay
Phil Davis wrote: I still need the info, so... I maintain an application that sometimes plays 100's of external digital audio files during a single usage session. Currently the app uses 'start player' method of playing them. Sometimes the app will freeze up, and I think it's related to audio p

Re: Common writable folders

2007-01-17 Thread Richard Gaskin
Ken Ray wrote: J. Landman Gay wrote: Richard Gaskin wrote: But now I wonder: Is there a way to do this from within a custom Rev-based installer? How does one trigger the OS X authentication dialog? Well, that's the deal. I couldn't find a way to do that without using Apple's installer

Re: Common writable folders

2007-01-17 Thread Ken Ray
On Jan 17, 2007, at 1:08 PM, J. Landman Gay wrote: Richard Gaskin wrote: J. Landman Gay wrote: Richard Gaskin wrote: I have an app which will be for Mac and Win, and maybe Linux down the road, in which I need to store some data in a folder which needs to be writable by all users. Both M

StackRunner and MySQL

2007-01-17 Thread Sieg Lindstrom
Thanks for the suggestion, Ken. I tried it as follows. StackRunner is in the same folder that contains the folder "Externals." Here's the syntax I used... revSetDatabaseDriverPath "/Externals/Database Drivers" That didn't fix the problem. Any other suggestions? Many thanks for your advice. Sieg

Re: Common writable folders

2007-01-17 Thread J. Landman Gay
Richard Gaskin wrote: J. Landman Gay wrote: Richard Gaskin wrote: I have an app which will be for Mac and Win, and maybe Linux down the road, in which I need to store some data in a folder which needs to be writable by all users. Both Mac and Win provide common folders for reading data:

Re: Common writable folders

2007-01-17 Thread Richard Gaskin
J. Landman Gay wrote: Richard Gaskin wrote: I have an app which will be for Mac and Win, and maybe Linux down the road, in which I need to store some data in a folder which needs to be writable by all users. Both Mac and Win provide common folders for reading data: Mac /HD/System Folder/

play vs. start

2007-01-17 Thread Phil Davis
I still need the info, so... I maintain an application that sometimes plays 100's of external digital audio files during a single usage session. Currently the app uses 'start player' method of playing them. Sometimes the app will freeze up, and I think it's related to audio processing. I want to

Re: Very weird bug, crashes mac os x. (Recipe found)

2007-01-17 Thread J. Landman Gay
Andre Garzia wrote: Sarah, the script doesn't matter. If you try a simple hello world application the same thing happens. I've got a recipe, it's related to the engine that is used to run the script. If you pick the engine from inside the Standalone bundle (G4 here, so I've picked the engine

Re: Error in textFont reporting?

2007-01-17 Thread Bob Warren
Thanks for that Jim! Regards, Bob - Jim Ault wrote: Another solution (workaround): using field 1 and field 2 (hidden) on action if the selectedText is empty then exit to top copy select char 1 to -1 of fld 2 paste set the textSize of char 1

Re: Very weird bug, crashes mac os x. (Recipe found)

2007-01-17 Thread Andre Garzia
Sarah, the script doesn't matter. If you try a simple hello world application the same thing happens. I've got a recipe, it's related to the engine that is used to run the script. If you pick the engine from inside the Standalone bundle (G4 here, so I've picked the engine for PowerPC) the

Re: Common writable folders

2007-01-17 Thread J. Landman Gay
Richard Gaskin wrote: I have an app which will be for Mac and Win, and maybe Linux down the road, in which I need to store some data in a folder which needs to be writable by all users. Both Mac and Win provide common folders for reading data: Mac /HD/System Folder/Application Support Wi

Re: Will revOpenDatabase work in a shared-hosting environment

2007-01-17 Thread Stephen Barncard
Dreamhost. http://dreamhost.com They use subdomains for each virtual server. Security accomplished by only allowing the SQL server to connect to specified IPs. Easily and instantly done through the web panel. Well know you've peaked my interest. You haven't found _many_ - - - but have y

Re: Will revOpenDatabase work in a shared-hosting environment

2007-01-17 Thread RGould8
Well know you've peaked my interest. You haven't found _many_ - - - but have you found _any_ hosting companies that allow Revolution to connect to mySQL remotely? In a message dated 1/17/07 12:12:33 PM, [EMAIL PROTECTED] writes: > Good luck with that, I haven't found many that will allow th

Re: StartUp message

2007-01-17 Thread Dave Cragg
On 17 Jan 2007, at 15:12, Andre Garzia wrote: Dave, also, when you're running a text CGI, the CGI script is "inserted" into a stack named "script". if your cgi is on startup put the script of stack "script" end startup then you'll see your own source code in the result. This is speci

Re: Will revOpenDatabase work in a shared-hosting environment

2007-01-17 Thread Luis
Good luck with that, I haven't found many that will allow that. You might be better off with a virtual server, and setting your own custom permissions. Cheers, Luis. [EMAIL PROTECTED] wrote: Well, if that's the case, then simplehost.com is toast in my book. My dream hosting environment is

Re: Will revOpenDatabase work in a shared-hosting environment

2007-01-17 Thread RGould8
Well, if that's the case, then simplehost.com is toast in my book. My dream hosting environment is one where I can connect to mySQL from Revolution remotely, and run Ruby on Rails. I think it may be time for me to switch. In a message dated 1/17/07 11:32:07 AM, [EMAIL PROTECTED] writes: >

Re: Common writable folders

2007-01-17 Thread Richard Gaskin
Luis wrote: >> Other than that you could create this folder on the logged in users' >> default save location when the app starts up: Each user that uses >> the app would then have this folder on the HD in the default save >> location. > > Ooops, I meant to include: > > The folder created on the ap

Re: Will revOpenDatabase work in a shared-hosting environment

2007-01-17 Thread Luis
Hiya, Some ISPs will not allow database access from external sources. It's ok to use php and stuff on the hosting server, but anything outside their subnet is a no-no. This is the same setup for GoDaddy. Cheers, Luis. Mark Schonewille wrote: Hi, Are you sure that the MySQL server is usin

Re: Will revOpenDatabase work in a shared-hosting environment

2007-01-17 Thread Andre Garzia
Rob, I'd try to connect using one of the available third party SQL clients from the net such as MacSQL or mySQLAdmin. If you can connect from such clients, then you'd be sure the problem is on Rev side or if you can't connect, then you'd better bug your ISP. Andre On Jan 17, 2007, at 2:1

Re: Common writable folders

2007-01-17 Thread Luis
Ooops, I meant to include: The folder created on the app startup would check to see if it has already been created. The folder would be created with permissions to enable sharing of the contents and copy across the contents of any other shared folders of the same name. I think I know what I

Re: Will revOpenDatabase work in a shared-hosting environment

2007-01-17 Thread Mark Schonewille
Hi, Are you sure that the MySQL server is using old-style password? Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op

Will revOpenDatabase work in a shared-hosting environment

2007-01-17 Thread RGould8
I'm having a rough time getting revOpenDatabase to work on a mySQL database that I am presently hosting at www.simplehost.com. I've checked the ports on simplehost, and they claim that the port is 3306 for mySQL. I've written lots of php scripts which successfully pull data from the database

Re: Common writable folders

2007-01-17 Thread Trevor DeVore
On Jan 17, 2007, at 6:33 AM, Richard Gaskin wrote: Mark Schonewille wrote: Only admins can install applications that are available to all users. If a user is not an admin, you will have to write to the user's application support/data folder, which means that only the current user can u

Re: Common writable folders

2007-01-17 Thread Luis
Hiya, Is this an app for a single workstation? If not, you could create a shortcut/symlink to a location on a server and use that as a default for the app. If it's for a single workstation (with many users): I heard that in Vista it will change from the current W2K/WXP setup. Other than that

Re: Common writable folders

2007-01-17 Thread Bob Warren
Richard Gaskin wrote: >I have an app which will be for Mac and Win, and maybe Linux down the road, in which I need to store some data in a folder which needs to be writable by all users. Both Mac and Win provide common folders for reading data: Mac /HD/System Folder/Application Support Win C:

Re: StartUp message

2007-01-17 Thread Andre Garzia
Dave, also, when you're running a text CGI, the CGI script is "inserted" into a stack named "script". if your cgi is on startup put the script of stack "script" end startup then you'll see your own source code in the result. This is specially useful for debugging. So the startup context

Re: Dr. Strangelove (or: How I Learned to Stop Worrying and Love XML)

2007-01-17 Thread Ken Ray
On Jan 16, 2007, at 7:38 PM, Derek Bump wrote: Bill Marriott wrote: I can say that once you figure out what two or three commands you need to use to parse an XML file, it's way faster than using chunk expressions or some other method. This is really what I ended up doing. I created my ow

Re: StartUp message

2007-01-17 Thread Mark Schonewille
Hi Richard, I just checked it, it appears you're right. I had a reason to ask this, but I'll check out a few more things and come back to the subject later. Thanks Richard for testing and Dave for your reply. Best, Mark -- Economy-x-Talk Consultancy and Software Engineering http://econ

Re: StartUp message

2007-01-17 Thread Richard Gaskin
Mark Schonewille wrote: The startUp message is different. The docs contain the following description of the startUp message: "Sent to the first stack opened when the application starts up." So, this appears to be exactly true: the message is sent to the stack and not to the card. This cause

Re: Common writable folders

2007-01-17 Thread Richard Gaskin
Mark Schonewille wrote: Only admins can install applications that are available to all users. If a user is not an admin, you will have to write to the user's application support/data folder, which means that only the current user can use the application. Operating systems are designed this

Re: StartUp message

2007-01-17 Thread Dave Cragg
On 17 Jan 2007, at 13:14, Mark Schonewille wrote: The startUp message is different. The docs contain the following description of the startUp message: "Sent to the first stack opened when the application starts up." So, this appears to be exactly true: the message is sent to the stack and

StartUp message

2007-01-17 Thread Mark Schonewille
Dear everyone, Whenever I want a script to run only once on preOpenStack, openStack, openCard, preOpenCard, openBackground, preOpenBackground etc., I put this script into the card script of the first card of the main stack of my project. All these messages are sent to the card, rather than

Re: Common writable folders

2007-01-17 Thread Mark Schonewille
Hi Richard, Only admins can install applications that are available to all users. If a user is not an admin, you will have to write to the user's application support/data folder, which means that only the current user can use the application. Operating systems are designed this way to pre

Re: Common writable folders

2007-01-17 Thread Stephen Barncard
On the Mac, can't one use the shared folder in Users? What is the OS-recommended place to store common data which can be written by any user? -- Richard Gaskin -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - ___ use-re

Re: Error in textFont reporting?

2007-01-17 Thread Jim Ault
Another solution (workaround): using field 1 and field 2 (hidden) on action if the selectedText is empty then exit to top copy select char 1 to -1 of fld 2 paste set the textSize of char 1 to -1 of fld 2 to 12 --now same size put the effective textFont of char 1 to -1 of fld 2 into f