LiveCode Server Turned To Molasses

2014-04-23 Thread Scott Rossi
Hi LC Server Gurus: One day after getting an LC server-based form working, the response time of the server has suddenly decreased substantially. I put up a simple one line script that returns the long time, and here it takes between 20 and 30 seconds to execute. A simple HTML page with hello

Re: LiveCode Server Turned To Molasses

2014-04-23 Thread Peter W A Wood
Hi Scott One thing to check is if the machine has lots of zombie LiveCode processes just in case LiveCode is not terminating correctly. Regards Peter On 23 Apr 2014, at 14:02, Scott Rossi wrote: Hi LC Server Gurus: One day after getting an LC server-based form working, the response time

Re: LiveCode Server Turned To Molasses

2014-04-23 Thread Scott Rossi
Hi Peter: How is this check done? The installation of LCserver is on a commercial host. And what would be the process to enable LC to terminate properly? Thanks for your help. Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/23/14 12:00 AM, Peter W A Wood

Re: LiveCode Server Turned To Molasses

2014-04-23 Thread Scott Rossi
Well, after contacting DreamHost, the support dude said there were some hung processes on the server and that they would reset it (he thought they were PHP processes but wasn't sure). Doing so fixed the problem, but I'm worried something in my scripts or my setup contributed to the problem. We'll

Re: file checksums

2014-04-23 Thread Martin Baxter
On 23/04/14 01:38, Richard Gaskin wrote: I see a lot of sites that offer files to download also including an MD5 value or other checksum, ostensibly so we can verify the integrity of the package before running it. Sounds good, but if a hacker has sufficient control of a server to replace

globalLoc returns wrong values!

2014-04-23 Thread Tiemo Hollmann TB
Hi, With LC 6.5.2 on Windows 7 I am taking a screenshot from a rect like this: put globalLoc (the topleft of image Image) into tTopLeft put globalLoc (the bottomright of image Image) into tBotRight put tTopLeft , tBotRight into tRectSnap export snapshot from rect tRectSnap to

AW: globalLoc returns wrong values!

2014-04-23 Thread Tiemo Hollmann TB
In my case I think I can workaround this issue by changing my snapshot parameter from rect to obj, when changing some more lines around. But I wonder what to do, when you need the rect Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im

Re: Installer Maker Spring Offer

2014-04-23 Thread Mark Schonewille
Hello, Today is the last day when you can take advantage of the Installer Maker Spring Offer. We are offering everyone who bought a license in the past a one-time opportunity to upgrade this license at the upgrade price of € 16,95, even if your license has expired. Is your license over a

Re: Installer Maker Spring Offer

2014-04-23 Thread Dirk prive
Thanks for reminding me. I almost forgot. Just ordered. Have a nice day. On Wed, Apr 23, 2014 at 1:19 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hello, Today is the last day when you can take advantage of the Installer Maker Spring Offer. We are offering everyone who

Re: globalLoc returns wrong values!

2014-04-23 Thread Trevor DeVore
On Wed, Apr 23, 2014 at 5:14 AM, Tiemo Hollmann TB toolb...@kestner.dewrote: With LC 6.5.2 on Windows 7 I am taking a screenshot from a rect like this: put globalLoc (the topleft of image Image) into tTopLeft put globalLoc (the bottomright of image Image) into tBotRight put

How to open a stack at a custom position without flipping?

2014-04-23 Thread Tiemo Hollmann TB
Hello, I would like to open my stack window at the last screen position. Therefore I store the last position in a ini file, read it in preopenstack at set the window to the last position in my preopenstack handler. This works so far, but I have to gotchas. 1. Though I set a screenlock at

HTPPS problem with a web service

2014-04-23 Thread David Bovill
I'm having an https problem with a RESTful web service I am calling. Here is the url (which works in the browser but not from the IDE): https://api.dreamhost.com/?key=6SHU5P2HLDAYECUMcmd=user-list_users_no_pwunique_id=4082432format=perl I've tried libUrlSetSSLVerificition false and made a stab

AW: globalLoc returns wrong values!

2014-04-23 Thread Tiemo Hollmann TB
I didn't knew, that 150% = high-dpi mode, that’s good to know Thanks for the info Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Trevor DeVore Gesendet: Mittwoch, 23. April 2014 14:17 An: How to use LiveCode Betreff:

Re: LiveCode Server Turned To Molasses

2014-04-23 Thread Peter W A Wood
Hi Scott Sorry that I didn't reply earlier, I had to go out after sending the message. The way to check which processes are running is to use the ps command. I'm pretty certain that on a shared host you'll only be able to see your own processes (but one of the Linux gurus should be able to

Re: How to open a stack at a custom position without flipping?

2014-04-23 Thread Dave Kilroy
Hi Tiemo For your first issue I would so something like set the visible of me to false early on in your preOpenStack handler, and once you were sure everything was in the right place do a set the visible of me to true Regarding your second issue can you not populate your fields inside a

Re: HTPPS problem with a web service

2014-04-23 Thread Peter W A Wood
David This worked for me in the message box: Command: put URL https://api.dreamhost.com/?key=6SHU5P2HLDAYECUMcmd=user-list_users_no_pwunique_id=4082432format=perl; Output: $result = { 'data' = 'unique_id_already_used', 'result' = 'error' }; I haven't been

Re: MS SQL

2014-04-23 Thread Peter Haworth
In gmail, you can fix that by using the Paste and match style option on the edit menu. Pete lcSQL Software On Apr 22, 2014 7:34 PM, J. Landman Gay jac...@hyperactivesw.com wrote: On 4/22/14, 6:49 PM, Kay C Lan wrote: I don't know if it's just your email client but what I'm seeing is an

Populating a DataGrid on a card problem

2014-04-23 Thread Mark Stuart
Hi all, This script: set the dgText[false] of grp dgVariables of cd Variables to empty throws this error: Script compile error: Error description: round: bad parameter And this script throws the same error: put false into HasHeaders set the dgText[HasHeaders] of grp

Printing a RTF file saved as a custom properties of a stack

2014-04-23 Thread Charles Szasz
I was able to save a template document as a RTF as a custom properties of a stack. I want to retrieve the template to print it. I can retrieve the file as a variable (see script below) but I do not know how to script printing it as a RTF. Any suggestions? set the itemdelimiter to /

[Enhancement Request] Open and BackUp in LiveCode DP and RC

2014-04-23 Thread Alejandro Tejada
Hi All, Just added this enhancement request: http://quality.runrev.com/show_bug.cgi?id=12279 Every announcement of a new LiveCode version includes this message: WARNING: this is not a stable release. Please ensure you back up your stacks before testing them. RunRev could add the following

Re: [Enhancement Request] Open and BackUp in LiveCode DP and RC

2014-04-23 Thread Richard Gaskin
Stacks can be opened many ways. In most of my projects I only manually open one stack in the IDE, and the scripts in that stack may load as many as a dozen others. To satisfy the request the engine would have to intercept all attempts to open stacks, or maybe just the save command, and then

Re: file checksums

2014-04-23 Thread Alejandro Tejada
How difficult could be to create a custom file (using a stack as basis) that opens only within a custom player? This custom file could provide to the custom player an encrypted checksum. Could this actually be more secure? Al -- View this message in context:

Re: Reference Material Discussion Application Architecture Strategies

2014-04-23 Thread prothero
Michael: I was wrong. All I have to do to activate a substack is just start using stack theLibStackName Bill proth...@earthednet.org http://es.earthednet.org On Apr 20, 2014, at 9:35 AM, Michael Doub miked...@gmail.com wrote: My coding style has evolved to trying to put code in

Re: [Enhancement Request] Open and BackUp in LiveCode DP and RC

2014-04-23 Thread Alejandro Tejada
Then, a plug-in stack would do. Does LiveCode includes the Engine version in each saved stack? http://docs.runrev.com/Function/version http://docs.runrev.com/Property/stackFileVersion If this is true, then LiveCode could provide a warning when developers open a stack created with a different

Re: Reference Material Discussion Application Architecture Strategies

2014-04-23 Thread Alejandro Tejada
Does exists a tutorial explaining How To implement MVC using LiveCode? http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller Al -- View this message in context:

Re: Reference Material Discussion Application Architecture Strategies

2014-04-23 Thread Andrew Kluthe
Andre Garzia did a talk on it at runrev live last year didn't he? I remember watching it and starting to reorganize one of my applications the next day. Basically, treat ui stacks as view, put all your business logic that can be separated into library stacks and use a pub-sub to lessen the burden.

Re: Printing a RTF file saved as a custom properties of a stack

2014-04-23 Thread stephen barncard
Check out RTFText in the docs. I assume you created the template in a livecode field obtained the RTFText of the field into a variable, then set a custom prop to that data, right? then just get the data from the custom property and set the RTFText of a field to it. Livecode now tracks RTF data

Re: [Enhancement Request] Open and BackUp in LiveCode DP and RC

2014-04-23 Thread Richmond
On 23/04/14 23:04, Alejandro Tejada wrote: Then, a plug-in stack would do. Does LiveCode includes the Engine version in each saved stack? http://docs.runrev.com/Function/version http://docs.runrev.com/Property/stackFileVersion If this is true, then LiveCode could provide a warning when

Re: Printing a RTF file saved as a custom properties of a stack

2014-04-23 Thread stephen barncard
On Wed, Apr 23, 2014 at 12:16 PM, Charles Szasz csz...@me.com wrote: I can retrieve the file as a variable (see script below) but I do not know how to script printing it as a RTF. Any suggestions? Ok, I hope I've been understanding that your stumbling block was using RTF text. Or do you

Re: [Enhancement Request] Open and BackUp in LiveCode DP and RC

2014-04-23 Thread Alejandro Tejada
Hi Richmond, Richmond Mathewson-2 wrote How about something like this: on saveStackRequest put (the short name of this stack the version) into NOM put NOM into fld NOM set the name of this stack to NOM pass saveStackRequest end saveStackRequest Certainly works for

Re: MS SQL

2014-04-23 Thread Rodney Green
I turned on tracing in the odbc driver and I can see field names in the data. So I'm assuming the query is working. But still can't figure out why LC is hanging. I have database checked in the stand alone settings, not sure if this matters while in LC. Any ideas how I can track down why LC is

Using Profiles

2014-04-23 Thread Peter Haworth
I get the idea from the list archives that profiles are about at the same level of reliability as the Geometry Manager but the posts are a couple of years old or more so hoping things may have improved. I set up a really simple test: 1. Created a label control with its contents set to Red 2. In

Re: LiveCode Server Turned To Molasses

2014-04-23 Thread Alejandro Tejada
Peter W A Wood wrote One thing to check is if the machine has lots of zombie LiveCode processes just in case LiveCode is not terminating correctly. This is exactly what I noticed here, but I could not create a recipe to catch this bug... Al -- View this message in context:

Re: file checksums

2014-04-23 Thread Paul Dupuis
On 4/22/2014 8:38 PM, Richard Gaskin wrote: What am I missing? Not much. If a website is hacked then the file contents and posted checksum can be changed and then, as you noted, the checksum is useless as a form of security. Checksums were originally intended for file integrity security for

Re: Printing a RTF file saved as a custom properties of a stack

2014-04-23 Thread Charles Szasz
Stephen, I created a Rtf document using TextEdit and save it as a Rtf. Then I successfully created a custom property and programmatically store the Rft as a custom property. I then set up a field import in a new substack of my program. I then try the following script: set the itemdelimiter

Re: Email Using LiveCode Server?

2014-04-23 Thread Michael Doub
I am using postmark for both sending and receiving emails. Works great for me. -= Mike constant APIKEY = “your_key_goes_here constant API_URL = https://api.postmarkapp.com/email; --http://developer.postmarkapp.com/developer-build.html For addtional API Information function

Re: Using Profiles

2014-04-23 Thread Alejandro Tejada
What properties could we change using profiles? Could we change all properties of each object inside a group? (like changing geometry for different resolutions and stacks orientations) Could we change the points, ink and fillgradient of a graphic? (like frames of an animation) Al -- View

Re: Using Profiles

2014-04-23 Thread Peter Haworth
I believe you can change any built-in property but I'm just starting to learn about profiles so could be wrong. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Wed, Apr 23, 2014 at

Re: MS SQL

2014-04-23 Thread Peter Haworth
That seems strange - I wouldn't expect to see field names, just the data in them. What version of LC are you using? Might be time to enter a bug report. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin

playing an mp3 file

2014-04-23 Thread larry
I know I can play a .wav file without having to use a player. But I want to play a .mp3 file and for that I think I have to use a player, right? And if I do use a player to play an mp3 file, then build my app as a standalone for Windows, do I need to include anything in the app? I mean, if

Re: Installer Maker Spring Offer

2014-04-23 Thread Mark Schonewille
Hi, I've received an e-mail with some questions about when the offer finishes exactly. I thought it would be finished by now (24th April, 00:00h) but I'll keep the sale going until tomorrow. By doing so, I'll be sure that everyone who planned to buy a license on Wedneday, can actually do

Re: MS SQL

2014-04-23 Thread Rodney Green
I tried it in 6.6 and 6.6.1. I'm using Actual Technologies ODBC manager (demo). And I can connect successfully to the SQL server with Navicat. I'm on a Mac (10.9.2) and connecting via a VPN. On Wed, Apr 23, 2014 at 7:17 PM, Peter Haworth p...@lcsql.com wrote: That seems strange - I wouldn't

Re: [Enhancement Request] Open and BackUp in LiveCode DP and RC

2014-04-23 Thread Kay C Lan
On Thu, Apr 24, 2014 at 3:37 AM, Richard Gaskin ambassa...@fourthworld.comwrote: Stacks can be opened many ways. I'm with Richard on this one. I have stacks I wont risk with anything other than GM versions of LC. Those stacks I am willing to risk I simply duplicate then start them up with an

Re: Using Profiles

2014-04-23 Thread Mark Wieder
Pete- Wednesday, April 23, 2014, 4:13:10 PM, you wrote: I believe you can change any built-in property but I'm just starting to learn about profiles so could be wrong. I gave up trying to figure out profiles a long time ago. They didn't seem to do what I seemed to think they should do. I

Re: [Enhancement Request] Open and BackUp in LiveCode DP and RC

2014-04-23 Thread J. Landman Gay
I got tired of that so now I just type the version into the message box. On April 23, 2014 8:20:56 PM CDT, Kay C Lan lan.kc.macm...@gmail.com wrote: The problem I have is I occasionally accidentally start the wrong version so I'm constantly needing to visit the About LiveCode to confirm which

Re: [Enhancement Request] Open and BackUp in LiveCode DP and RC

2014-04-23 Thread Dar Scott
With a file-format change happening, and two fronts of development, this is even more important. Maybe the mouse pointer can be red for dp and orange for rc. Or it can speak “seven point zero” whenever I bring a window forward. Or a way to make version icons for aliases. Dar On Apr 23,

Re: Using Profiles

2014-04-23 Thread Guglielmo Braguglia
Hi to all, sorry but ... I don't agree ... :D :D :D Living in Switzerland, I often need to write programs in our national languages (Italian French and German), plus, obviously, English and I have always used, not without some minor difficulties, especially with accented characters on