Re: Where Do You Save User Prefs?

2012-05-27 Thread Igor de Oliveira Couto
Pete & Andrew, thank you both very much for the info: So, the information we have so far: 1) MacOS X Prefs Location: specialFolderPath("Home") & "/Application Support/MyApp/" Prefs Name: anything you wish 2) Windows Prefs Location: specialFolderPath("28") & "/MyApp/" Prefs Name: anything you wis

Re: ANN: PowerDebug 1.1.7

2012-05-27 Thread Igor de Oliveira Couto
On 27/05/2012, at 3:28 PM, Mark Wieder wrote: > We're a month away from the 2011 LiveCode Developer Conference [...] Your personal Groundhog Day?... ;-) -- Igor Couto Sydney, Australia ___ use-livecode mailing list use-livecode@lists.runrev.com Ple

Re: Where Do You Save User Prefs?

2012-05-27 Thread Igor de Oliveira Couto
Re-reading the answers here and the information in the dictionary for the 'specialFolderPath' - and after some more Googling - I have gathered the following info, which may or may not be correct: 1) MacOS X Prefs Location: specialFolderPath("Home") & "/Library/Application Support/MyApp/" Prefs

Re: Where Do You Save User Prefs?

2012-05-27 Thread Guglielmo Braguglia
Hi Igor, using the /MyAppBundleID /it's a good practice, and suggested by Apple, also on Mac OSX, so, the correct path for your point 1. is : 1) *MacOS X* Prefs Location: specialFolderPath("Home") & "/Library/Application Support//MyAppBundleID //" Prefs Name: anything you wish See Table 1-3

Re: Where Do You Save User Prefs?

2012-05-27 Thread Guglielmo Braguglia
... Sorry ... obviously there are NOT // ... it's because I wrote in Thunderbird using the Italic char format and ... the plain text formatting of Italic is // ... :-) specialFolderPath("Home") & "/Library/Application Support/MyAppBundleID/" Guglielmo On 27.05.2012 11:29, Guglielmo Bragugli

Re: Where Do You Save User Prefs?

2012-05-27 Thread Igor de Oliveira Couto
Thank you for the info, Guglielmo!: On 27/05/2012, at 7:29 PM, Guglielmo Braguglia wrote: [...] > See Table 1-3, paragraph "The Library Directory Stores App-Specific Files", > on > :http://developer.apple.com/library/mac/documentation/FileManagement/Conceptual/FileSystemProgrammingGUide/FileSy

Linux Postgres Authentication Error

2012-05-27 Thread Glen Bojsza
Hello, I have a stack that needs to connect over a network to a postgres database running on Linux where the pg_hba.conf file is configured as follows # TYPE DATABASEUSERADDRESS METHOD host all glen 0.0.0.0/0 md5 I

What is the way to replace frames on a website?

2012-05-27 Thread Richard Miller
I want to build a new website heavily driven by LC & cgi. It needs to appear to use frames so that content is instantly updated throughout a given web page without having to reload the entire page. But I know not to use frames. What's the best alternative? iFrames? CSS? divs? php? I'd REALLY

Re: What is the way to replace frames on a website?

2012-05-27 Thread Mark Schonewille
Hi Richard, What you want is probably AJAX. You can try JQuery. The server side can still be LC server or PHP and CGI. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277

Re: What is the way to replace frames on a website?

2012-05-27 Thread Michael Kann
http://www.w3schools.com/ajax/ajax_intro.asp ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Linux Postgres Authentication Error

2012-05-27 Thread Bernard Devlin
I never hook up Postgres so that the service talks to the outside world, so this is just a guess. Did you format your submitted password using md5digest() when you changed from "trust" to "md5"? (You at least know you are talking to Postgres (the FATAL: response looks like a Postgres response).

Re: Linux Postgres Authentication Error

2012-05-27 Thread Pierre Sahores
Local network ? Le 27 mai 2012 à 16:06, Glen Bojsza a écrit : > Hello, > > I have a stack that needs to connect over a network to a postgres database > running on Linux where the pg_hba.conf file is configured as follows > > # TYPE DATABASEUSERADDRESS METHOD

Re: What is the way to replace frames on a website?

2012-05-27 Thread Bernard Devlin
I would have a look at something Igor brought up on the list a few days ago. http://angularjs.org/ See the video on the todo list. Bernard On Sun, May 27, 2012 at 3:16 PM, Richard Miller wrote: > I want to build a new website heavily driven by LC & cgi. It needs to appear > to use frames so t

Re: What is the way to replace frames on a website?

2012-05-27 Thread Pierre Sahores
HTML5, aka divs + css + js on client side and revcgi or, best, lcserver (libs.livecode and scripts.lc). Nothing you could't do is this ways that could be better done in any other n-tiers environment (J2SE, PHP, RoR, Perl, etc...). Le 27 mai 2012 à 16:16, Richard Miller a écrit : > I want to bui

Re: What is the way to replace frames on a website?

2012-05-27 Thread Pierre Sahores
Yep, JQuery is a perfect client-side JS precoded lib. and excellent fellow for LCServer Le 27 mai 2012 à 16:20, Mark Schonewille a écrit : > Hi Richard, > > What you want is probably AJAX. You can try JQuery. The server side can still > be LC server or PHP and CGI. > > -- > Best regards, > >

Re: Linux Postgres Authentication Error

2012-05-27 Thread Glen Bojsza
Hi Bernard, Yes, I tried with and without using md5digest on the password. And glen is setup as a user with a password. Glen On May 27, 2012, at 10:30 AM, Bernard Devlin wrote: > I never hook up Postgres so that the service talks to the outside > world, so this is just a guess. > > Did you f

Re: Linux Postgres Authentication Error

2012-05-27 Thread Glen Bojsza
Currently it is a local network... later it will be remote networks. On Sun, May 27, 2012 at 10:34 AM, Pierre Sahores wrote: > Local network ? > > Le 27 mai 2012 à 16:06, Glen Bojsza a écrit : > > > Hello, > > > > I have a stack that needs to connect over a network to a postgres > database > > r

Re: What is the way to replace frames on a website?

2012-05-27 Thread Colin Holgate
WIth a div you can set the innerhtml of the div, to get the effect of loading another bit of content. I gather that frames are more like having another window inside your page, but they don't seem to work on iPad. The url of the iframe takes over the whole page. On May 27, 2012, at 10:16 AM, R

(OT) 3D Contest this Weekend, Give it a Shot

2012-05-27 Thread Lynn Fredricks
My art team is running a contest this weekend for a free copy of Shade 3D Professional ($749) value. It's a suggest a product type contest - give it a shot if you are interested :-) http://meshbox.org/81-news/74-meshbox-3d-contest-memorial-day-2012 Best regards, Lynn Fredricks President Proactiv

Re: (OT) 3D Contest this Weekend, Give it a Shot

2012-05-27 Thread Colin Holgate
Are there any sample models that can be downloaded? From a quick look it seems that the formats are ones that I wouldn't be able to use, at least not in Director or Unity. Do any of the sets have 3DS or FBX formats? ___ use-livecode mailing list use-liv

Saving the status of an option menu button in a text file

2012-05-27 Thread Charles Szasz
How do you save the status of an option menu button when saving as a text file? I know how to save the status of a check box and fields in a text file but never had the need to save the status of an option menu button. Charles Szasz csz...@mac.com __

Re: Saving the status of an option menu button in a text file

2012-05-27 Thread Guglielmo Braguglia
Just get the *menuHistory* and save it :-) Guglielmo On 27.05.2012 19:15, Charles Szasz wrote: How do you save the status of an option menu button when saving as a text file? I know how to save the status of a check box and fields in a text file but never had the need to save the status of a

Re: Linux Postgres Authentication Error

2012-05-27 Thread Pierre Sahores
Best to connect your client app to a cgi and the cgi to postgresql, so you don't have to open a pg access to the outside world... Le 27 mai 2012 à 16:47, Glen Bojsza a écrit : > Currently it is a local network... later it will be remote networks. > > On Sun, May 27, 2012 at 10:34 AM, Pierre Sah

Re: ANN: PowerDebug 1.1.7

2012-05-27 Thread Mark Wieder
Igor- Sunday, May 27, 2012, 12:47:15 AM, you wrote: > On 27/05/2012, at 3:28 PM, Mark Wieder wrote: >> We're a month away from the 2011 LiveCode Developer Conference > [...] > Your personal Groundhog Day?... > ;-) ...just think of it as a zero-based 2012... https://xkcd.com/163/ -- -Mark

Re: What is the way to replace frames on a website?

2012-05-27 Thread Mark Wieder
Pierre- Sunday, May 27, 2012, 7:42:37 AM, you wrote: > Yep, JQuery is a perfect client-side JS precoded lib. and excellent fellow > for LCServer Yes and no. My problem with JQuery is that it encourages dense, arcane, and difficult-to-read code for efficiency. It requires a lot of commenting to

Re: Where Do You Save User Prefs?

2012-05-27 Thread J. Landman Gay
On 5/27/12 6:30 AM, Igor de Oliveira Couto wrote: 5) Android Prefs Location: ??? Prefs Name: ??? Does anyone have any further info or corrections to offer?... SpecialFolderPath() on Android offers very few choices. You can't write to the engine folder and cache folder contents are temporary,

Re: Linux Postgres Authentication Error

2012-05-27 Thread Bernard Devlin
If you check the pg_authid table, do you find the same password (hashed or unhashed) as you are sending? Bernard On Sun, May 27, 2012 at 3:50 PM, Glen Bojsza wrote: > Hi Bernard, > > Yes, I tried with and without using md5digest on the password. And glen is > setup as a user with a password. >

Playing MP3

2012-05-27 Thread Michael Kann
This should be an easy one. It just doesn't seem to work here on Vista -- 4.0.0 build 950. I want to play a section of an mp3.  This is my script: on mouseUpset the filename of player 1 to "a.mp3"set the playSelection of player 1 to trueset the startTime of player 1 to 53000set the stopTime of p

Re: Playing MP3

2012-05-27 Thread Michael Kann
My first post got all bunched up for some reason. Meanwhile, found another complication. If you set the currentTime of player 1 to zero does that mean the start of the selection, or the start of the file?  This should be an easy one. It just doesn't seem to work here on Vista -- 4.0.0 build

Re: Playing MP3

2012-05-27 Thread Colin Holgate
Pretty sure that currentTie would be the current time based on the start of the sound. Instead of stopTime you should be using endTime. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and ma

Re: Playing MP3

2012-05-27 Thread Michael Kann
Colin, Much appreciated. Mike --- On Sun, 5/27/12, Colin Holgate wrote: From: Colin Holgate Subject: Re: Playing MP3 To: "How to use LiveCode" Date: Sunday, May 27, 2012, 4:26 PM Pretty sure that currentTie would be the current time based on the start of the sound. Instead of stopTime you s

Re: What is the way to replace frames on a website?

2012-05-27 Thread Alex Tweedly
Mark, is there a better alternative that you could recommend over jQuery ? Thanks -- Alex. On 27/05/2012 18:50, Mark Wieder wrote: Pierre- Sunday, May 27, 2012, 7:42:37 AM, you wrote: Yep, JQuery is a perfect client-side JS precoded lib. and excellent fellow for LCServer Yes and no. My pr

Re: Playing MP3

2012-05-27 Thread Dar Scott
On May 27, 2012, at 3:26 PM, Colin Holgate wrote: > Instead of stopTime you should be using endTime. Custom properties are cool, but I often get caught by using the wrong name for a built-in property. Dar ___ use-livecode mailing list use-livecode@

Re: Playing MP3

2012-05-27 Thread Peter Haworth
Yes, me too. I wish there was some way of having a "strict" mode where references to nonexistant cprops would result in a compile error. You'd have to specifically define them in the Inspecor cProps panel but I think I'd be willing to pay that price. Pete lcSQL Software

Re: How Do You UNDO?

2012-05-27 Thread Monte Goulding
Hi Igor Firstly, g'day from Tas ;-) Secondly your preferences and undo questions might indicate you haven't seen the GLX app framework yet. Take a look at: http://revolution.screenstepslive.com/s/revolution/m/glxapp Cheers Monte On 27/05/2012, at 12:42 PM, Igor de Oliveira Couto wrote: > De

Re: What is the way to replace frames on a website?

2012-05-27 Thread Mark Wieder
Alex- Sunday, May 27, 2012, 3:26:01 PM, you wrote: > Mark, > is there a better alternative that you could recommend over jQuery ? No, JQuery is great and powerful and flexible. I just hesitate to call it "perfect". You can achieve great efficiency by writing unreadable code. At work our JQuery

RE: (OT) 3D Contest this Weekend, Give it a Shot

2012-05-27 Thread Lynn Fredricks
> Are there any sample models that can be downloaded? From a > quick look it seems that the formats are ones that I wouldn't > be able to use, at least not in Director or Unity. Do any of > the sets have 3DS or FBX formats? Models are licensed in two ways: art (Art) and real-time (PRO). The art

Re: What is the way to replace frames on a website?

2012-05-27 Thread Peter W A Wood
Alex On 28 May 2012, at 06:26, Alex Tweedly wrote: > Mark, > > is there a better alternative that you could recommend over jQuery ? > > Thanks > -- Alex. There are a number of alternatives which take a slightly different approach in that they add a "sort of compile step" to optimise the JavaS

Re: How Do You UNDO?

2012-05-27 Thread Igor de Oliveira Couto
Hey, a fellow Aussie! On 28/05/2012, at 9:44 AM, Monte Goulding wrote: > Firstly, g'day from Tas ;-) G'day from Sydney! :-) > Secondly your preferences and undo questions might indicate you haven't seen > the GLX app framework yet. Take a look at: > http://revolution.screenstepslive.com/s/rev

Re: Where Do You Save User Prefs?

2012-05-27 Thread Igor de Oliveira Couto
Thank you very much, Jacqueline: On 28/05/2012, at 4:01 AM, J. Landman Gay wrote: > SpecialFolderPath() on Android offers very few choices. You can't write to > the engine folder and cache folder contents are temporary, so that leaves > only specialFolderPath("documents"). I've used the documen

Re: (OT) 3D Contest this Weekend, Give it a Shot

2012-05-27 Thread Colin Holgate
The site does mention MAX as a format, and lists the art ones you mentioned, but does not say 3DS. I mean, it mentions 3DS on the home page I think, but in the individual store pages it doesn't. Are there any entries for the competition yet?I have an idea for something, but it isn't a style, it

Re: How Do You UNDO?

2012-05-27 Thread Monte Goulding
>> Secondly your preferences and undo questions might indicate you haven't seen >> the GLX app framework yet. Take a look at: >> http://revolution.screenstepslive.com/s/revolution/m/glxapp > > Wow, and this is FREE? Does it work with the latest LiveCode? This is > awesome!!! Yep, it really is

Re: What is the way to replace frames on a website?

2012-05-27 Thread Igor de Oliveira Couto
On 28/05/2012, at 8:26 AM, Alex Tweedly wrote: > is there a better alternative that you could recommend over jQuery ? JQuery is excellent, but it has limitations, and using JQuery exclusively to build a web app on the client side can make your code difficult to maintain, depending on the comple

Re: How Do You UNDO?

2012-05-27 Thread Igor de Oliveira Couto
Monte, thank you for the info, too: On 28/05/2012, at 12:16 PM, Monte Goulding wrote: > Yep, it really is a much better starting point for desktop app development in > LiveCode. If your doing anything with LiveCode server don't miss revIgniter > either. I appreciate Trevor and Ralf's contributi

Re: ANN: PowerDebug 1.1.7

2012-05-27 Thread Igor de Oliveira Couto
Dear Mark, On 28/05/2012, at 3:46 AM, Mark Wieder wrote: > Igor- > > Sunday, May 27, 2012, 12:47:15 AM, you wrote: > >> On 27/05/2012, at 3:28 PM, Mark Wieder wrote: > >>> We're a month away from the 2011 LiveCode Developer Conference > >> [...] > >> Your personal Groundhog Day?... > >> ;-)

Re: How Do You UNDO?

2012-05-27 Thread Peter Haworth
Monte, You're in Tasmania? I spent several happy days there a few years ago when my band played at a folk festival in Georgetown. Never forgget, the hospitality, the climate diversity, and the litte penguins dashing across the beach in the evening! Pete lcSQL Software PS Oh

Re: Where Do You Save User Prefs?

2012-05-27 Thread Peter Haworth
Hi Igor, I'm not sure the comment about having to use the bundle ID is true. From what I've read (and not from personal experience), Apple seem to be somehat flexible after you get into the Application SUpport folder. I'm pretty sure they allow your company name as the folder within Application s

Re: How Do You UNDO?

2012-05-27 Thread Monte Goulding
On 28/05/2012, at 1:27 PM, Peter Haworth wrote: > Monte, > You're in Tasmania? I spent several happy days there a few years ago when > my band played at a folk festival in Georgetown. Never forgget, the > hospitality, the climate diversity, and the litte penguins dashing across > the beach in t

is Loki down?

2012-05-27 Thread Andre Garzia
Folks, Can anyone confirm that Loki is down? Cheers andre -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subs