Blowing Away the Cobwebs
Hi everyone, I’m getting back to LiveCode after a fairly long absence, having been sidetracked by a massive text analysis project that required me to depend a lot on Mathematica. I’m hoping you can help with a few ad hoc questions. Does LiveCode have a matrix inverse function? I thought it did but I can’t find one. I did find the matrix multiplication function. Is there a tutorial (for dummies) on writing externals? I’d like to export some of my Mathematica code to C and use LiveCode to build a UI. I don’t know C, but I do know that Mathematica code can be exported as C. Is it possible to give fields rounded corners? I don’t see a radius property in the field inspector. I can create one by overlaying a field with a graphics rectangle that has rounded corners, but if the field property exists, I’d rather use it. Regards, Greg ___ 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: Shell Command and cURL
Hi Richard and Mark, Thanks for responding. Richard, I had tinkered with Put and libURLDownloadToFile or whatever version of libURL was available in version 7.1 (I have only today updated to 8.1.2) but the problem with those commands is that they need to make a connection or call (not sure of the proper terminology) to the remote server for every file (say, by using a Repeat For Each loop), and the server cuts me off after a random number of files. cURL makes just one connection or keeps one connection open, and it has worked like a charm. Thanks for the heads up about rsync. I hadn’t heard of it, so I’ll do my homework. Thanks for the script, Mark. Shell scripts will definitely be a new venture for me. Regards, Gregory Richard Gaskin wrote: ___ 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
Shell Command and cURL
Hello everyone, I have never used LiveCode’s Shell command, and I was hoping that someone on the forum might be able to give me an example of how to use it with cURL to download a list of files from an FTP site. I have been using cURL to download many files at a time from a given directory by pasting the code into Terminal in OS X. The problem is that Terminal cannot handle a command that is too long. This limits me to pasting no more than about 500 file paths at a time, but I need to download about 145,000 files. That’s a fair bit of manual pasting. So if someone could give me an example of using the Shell command with cURL, I’d be much obliged. Regards, Gregory ___ 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: Need Help With String Pattern Matching
Hello Quentin, Thank you for the tips on string pattern matching. I’m used to Mathematica’s string pattern syntax, which is probably built on regex, but I can see the similarities in your nice examples, particularly the using of alternatives [Joe|Anges]. While Mathematica’s string functions are insanely extensive and their implementation far more powerful that those in LiveCode, they can become arbitrarily slow if used repeatedly in loops, and unfortunately, my procedure requires repeating the functions over tens of thousands of files. That is why I want to build an alternative procedure in LiveCode. Thanks again, Gregory ___ 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
Need Help With String Pattern Matching
Hello everyone, I’ve just come back to LiveCode and I'm pretty little rusty. I used to do some basic text analysis of files where the lines containing strings of interest were consistent and therefore easy to spot. I am now working on files where the chunk of text that contains the data I want is more ambiguous. I figure I should be using MatchChunk and was wondering if anyone might give me some tips on how to do the following. The chunk that I want to extract will have a certain word or phrase near its start and a certain word or phrase near its end. There may be many such chunks like it in the document, but the best candidate contains certain other strings. Here’s an example: The chunk starts with the word *owner* or the phrase *beneficial owner*. The chunk ends with *all directors* or *less than one percent*. The chunk contains all of the following: - At least four or five big numbers, e.g., 234,879 - At least two percentages, e.g., 3.4%, or percentage signs If you are curious, this would more or less identify an ownership table in a proxy statement filed at the Securities and Exchange Commission. These are archived at the SEC in text and html (in vintages going back to about 1994). Any tips or examples would be much appreciated. Regards, Gregory ___ 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
Externals for Dummies
Howdy, I’d like to try my hand at creating externals from C code exported from Mathematica but not sure how to go about it. Anyone have a basic example of external building that they are willing to share? Mathematica produces beautiful graphs, and I’d like to create a front-end in LiveCode for my students to make graphs of portfolio frontiers interactively. Regards, Gregory ___ 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: Need Help Throttling Downloads From an FTP Site
Hi Bob Sneidar, Scott Rossi, Mike Bonner, and Jim Lambert, Thanks for your suggestions. I going to experiment with all of them and share my results with the list. Regards, Gregory ___ 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
Need Help Throttling Downloads From an FTP Site
Hello everyone, I posted about this a while back but am still having trouble. I need to download thousands of files from the Security and Exchange Commission's website. Access is through anonymous FTP with "anonymous" as the username and my email address as the password. I've been using Put in a Repeat With loop as repeat with each line remoteFilePath in listOfFilePaths — set new localFileName is set before the download request is made put url ("ftp://anonymous:myemailaddr...@ftp.sec.gov/; & remoteFilePath) into url ("file:/" & exportFolderPath & "/" & localFileName ) end repeat but my script dies (the stack is lifeless and unresponsive) after a few dozen, and sometimes a few hundred downloads. I used similar scripts in Mathematica and confirmed that the problem is session-timed-out and cannot-connect-to-server types of errors. The SEC's webmaster tells me, "There is no load/rate limiting on FTP, but if you are running a fast process, it is possible you are temporarily overwhelming the server." So, I'm thinking that I need to throttle my requests, and maybe should be using libURLDownloadToFile to check the status of the current file being downloaded and not request another file until the current download is complete. I also wonder whether I should be connecting to the FTP site only once with the username and password, loop my requests, and then close the connection. Not sure how to do either of these and would greatly appreciate any suggestions or tips. Gregory ___ 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
How can I strip away formatting from an RTF file?
Hi everyone, I imported an RTF file and put it into a field using set the RTFText of field File Text to url (file: longFileName) Of course, the text in the field is formatted as in the file that was imported. How can I import the text while stripping away the formatting, which I do not need? Gregory ___ 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: How can I strip away formatting from an RTF file?
Thanks everyone! Paste the RTF field into another field: formatting gone. Gregory ___ 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
Function to Remove HTML Tags from Text
Hello everyone, Is there a LiveCode function that will remove all HTML tags from some text? I know how to do it in Mathematica but not LiveCode. I tinkered with MatchText (maybe in combination with ReplaceText?) but I don’t think I’m getting the regular expression right (I rarely use regex) and it is not clear to me that MatchText will move through a piece of text to grab all instances of tags. Any tip would be most appreciated, Gregory ___ 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: Displaying Web Pages in a Field
Hi Devin Asay and Scott Rossi, Thanks for responding. Devin, what Scott says is true: for many of the files the tags continue to appear in the stack’s field. Scott, you mention a browser object. Where would I find it? I can’t find one in the LiveCode’s Tools palette or under the Object menu. I’m developing a desktop utility. Regards, Gregory ___ 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
Displaying Web Pages in a Field
Hi everyone, I’m a little rusty, so please excuse the lame question. I have some text files that are downloaded web pages. How can I display them in a stack field to look something like they do in a browser, that is, without the HTML tags showing? Regards, Gregory ___ 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: Need Help With FTP
Hi Mark, Richard and Dr. Hawkins, Much obliged for all the tips. Gregory ___ 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: Need Help With FTP
Hi Richard, On Tue, Apr 28, 2015, at 6:00 AM, Richard Gaskin: Seems I missed that. I thought he was posting to his own server. It wouldn't have occurred to me that a government site still uses FTP. Yes, Doc Hawkins was right: I’m downloading from the Securities and Exchange Commission’s anonymous FTP site. There was nothing on their help pages about another protocol, although I may have missed it. But your tips about shared SSH keys will be helpful to me anyway because I do run my own server on a Mac for my students at the university. Regards, Gregory ___ 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: Need Help With FTP
Hi Robert and Richard, Robert, thanks for the tip. I’ll give it a try. This may be the problem as I was able to download 60,000 of 130,000 files without a problem until it stopped. When I restarted the loop, it stopped roughly every 200. On Sat, Apr 25, 2015, at 4:44 AM,Robert Brenstein wrote: May be if you make a pause between successive downloads, the host won't mind so much. They probably don't like robotic pulls of large volumes. Richard, yes, put url works well. I too keep it simply. I’m not familiar with shared SSH keys, but I’ll look into it. Thanks. Gregory ___ 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: Need Help With FTP
Hi Phil, Thanks for the detailed handler! I’ll give it a whirl. Blocking is not really the problem for me; it’s the session timeouts or dropped connection when downloading many files in a loop. I think the public server does not like repeated calls with the same connection, but I do not know how to make a new connection for, say, every 100 downloads. Gregory Message: 12 Date: Thu, 23 Apr 2015 15:43:11 -0700 From: Phil Davis rev...@pdslabs.net To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Need Help With FTP Message-ID: 5539757f.8050...@pdslabs.net Content-Type: text/plain; charset=utf-8; format=flowed Hi Gregory, I would probably use the load command because it's a non-blocking way to do it - it doesn't prevent interaction while it's working. ___ 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
Need Help With FTP
Hello everyone, I’m working on a big research project that requires that I download many small files (under 2MB) from the US Security and Exchange Commission’s (SEC) public FTP site. I have the links to all of the files I need, and I’m wondering how I would use a LiveCode “repeat with” loop to download the files while avoiding a session timed-out error. Any tips would be much appreciated. Regards, Gregory ___ 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: use-livecode Digest, Vol 135, Issue 3
Hi Peter, Thank you for the heads up on the ps command. I was able to get Apache running with the original httpd.conf file. Apache does not run with the httpd.conf file that I modified the way you suggested in your previous post for LiveCode server. I must have entered something incorrectly or in the wrong place. I added Directory Library/WebServer/CGI-Executables/ Options +ExecCGI /Directory because the LiveCode server file is in the CGI-Executables folder. I then added ScriptAlias /livecode-cgi/ Library/WebServer/CGI-Executables/” within the existing section that begins with IfModule alias_module and ends with /IfModule And finally, I added AddHandler lcscript .lc Action lcscript /livecode-cgi/livecode-server to the existing section that begins with IfModule mime_module and ends with /IfModule I notice that in my old Mavericks httpd.conf file, the last two statements, AddHandler and Action, appear in the section Directory /Library/WebServer/Documents” rather than IfModule mime_module. Gregory On Wed, Dec 3, 2014, at 6:00 AM, use-livecode-requ...@lists.runrev.com wrote: Message: 16 Date: Wed, 3 Dec 2014 11:19:17 +0800 From: Peter W A Wood peterwaw...@gmail.com mailto:peterwaw...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com mailto:use-livecode@lists.runrev.com Subject: Re: Can't Start LiveCode Server Under Yosemite Message-ID: 6c0422d9-1743-4c33-ac28-8c132c48c...@gmail.com mailto:6c0422d9-1743-4c33-ac28-8c132c48c...@gmail.com Content-Type: text/plain; charset=utf-8 Hi Gregory The first think that I would check is whether Apache is actually running or not. This is how I checked on my machine, using the ps command: Schulz:~ fatty$ sudo apachectl start Schulz:~ fatty$ ps -U www PID TTY TIME CMD 35439 ?? 0:00.00 /usr/sbin/httpd -D FOREGROUND Schulz:~ fatty$ sudo apachectl stop Schulz:~ fatty$ ps -U www PID TTY TIME CMD Schulz:~ fatty$ sudo apachectl start Schulz:~ fatty$ ps -U www PID TTY TIME CMD 35458 ?? 0:00.00 /usr/sbin/httpd -D FOREGROUND The next thing I would check would be the Apache error log, which you you should be able to do with this command: tail /private/var/log/apache2/error_log Regards Peter ___ 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: Can't Start LiveCode Server Under Yosemite
Hi Peter, Thanks for responding. I tried starting Apache with Terminal, using both start and then restart. The command appears to have been accepted (see below) but when I type localhost into Safari, I still get the message “Safari Can’t Connect to the Server. Last login: Tue Dec 2 19:58:59 on console Gregorys-iMac-2:~ gregory$ sudo apachectl restart Password: Gregorys-iMac-2:~ gregory$ sudo apachectl start /System/Library/LaunchDaemons/org.apache.httpd.plist: Operation already in progress Gregorys-iMac-2:~ gregory$ Regards, Gregory On Tue, Dec 2, 2014, at 6:00 AM, use-livecode-requ...@lists.runrev.com wrote: Message: 19 Date: Tue, 2 Dec 2014 07:43:11 +0800 From: Peter W A Wood peterwaw...@gmail.com mailto:peterwaw...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com mailto:use-livecode@lists.runrev.com Subject: Re: Can't Start LiveCode Server Under Yosemite Message-ID: 147c4e12-083c-4384-aca2-df5325bb1...@gmail.com mailto:147c4e12-083c-4384-aca2-df5325bb1...@gmail.com Content-Type: text/plain; charset=utf-8 It isn?t as easy to start Apache on Yosemite as it was on previous versions of OS X. The option has been removed from the Sharing Preferences panel. You need to start Apache manually using the Terminal app from an admin user account. This command will start Apache sudo apachectl start This command will re-start Apache if you have made any changes to the Apache configuration file sudo apachectl restart This command will stop Apache if you want to stop Apache sudo apachectl stop Once you have started Apache, it should automatically restart if you restart or power off / power on. I hope this helps. Peter ___ 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
Can't Start LiveCode Server Under Yosemite
Hello everyone, I can’t seem to get LiveCode server working under Yosemite. I followed Peter Wood’s suggestion and modified the httpd.conf file as follows, where the path to LiveCode server is “Library/WebServer/CGI-Executables”. IfModule alias_module ScriptAlias /livecode-cgi/ Library/WebServer/CGI-Executables/ /IfModule Directory Library/WebServer/CGI-Executables Options +ExecCGI /Directory IfModule mime_module AddHandler lcscript .lc Action lcscript /livecode-cgi/livecode-server /IfModule I have LiveCode server 5.0.2 installed. When I enter localhost in Safari, I get an error message saying that Safari cannot connect to the server. Any advice would be most appreciated, Gregory ___ 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: Running Apache Under Yosemite
Thanks, Peter, Mark, Richard, and all for your good suggestions regarding Apache on Yosemite. Gregory ___ 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
Running Apache Under Yosemite
Hello everyone, I have been happily running LiveCode server under Mavericks and am soon going to upgrade to Yosemite. Can I continue to use the same modified httpd.conf file that worked under Mavericks? Regards, Gregory ___ 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: Running Apache Under Yosemite
Much obliged, Richard. Gregory On Tue, Nov 18, 2014, at 4:01 PM, use-livecode-requ...@lists.runrev.com wrote: Gregory Lypny wrote: I have been happily running LiveCode server under Mavericks and am soon going to upgrade to Yosemite. Can I continue to use the same modified httpd.conf file that worked under Mavericks? According to this blog the upgrade should allow you to use your old config, but it will replace it with a new one - this includes instructions on finding and restoring the old config: http://brianflove.com/2013/10/23/os-x-mavericks-and-apache/ http://brianflove.com/2013/10/23/os-x-mavericks-and-apache/ If this is for personal use for testing (local host only, no open ports) the security aspects probably don't matter much, but Apple ships with an outdated version of Apache which has known security issues, so you'll need to manually update it for anything exposed to the Internet: https://discussions.apple.com/thread/6363411 https://discussions.apple.com/thread/6363411 ___ 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
Matrix Recoded
Hello everyone, On the LiveCode website there is an extension for sale called Matrix Recoded. Looks like it might be handy for the times when I don’t need the power of Mathematica, but unfortunately the website doesn’t list the functions and handlers that are included. Does anyone know where I can get the list? Gregory ___ 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: LiveCode Server and Getting a List of Files in a Folder
Hi Richard, Robert, and Stephen, Thank you for responding. Richard, I am going to try your suggestion, namely, saving the default folder path: on listMyFiles put the default folder into tSaveDir set the default folder to someFolderPath get the files set the default folder to tSaveDir put it end listMyFiles I did have a line in my handler that reset the default folder but I was resetting it incorrectly to either empty (on my first attempt) or / (on my second). And Richard, you are right, I was messing up the normal path. Thanks again, Gregory ___ 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
LiveCode Server and Getting a List of Files in a Folder
Hi everyone, Have LiveCode Server running on my Mac. It is configured to look for web pages in the WebServer/Documents folder. But what do I do if I want to use the Files function to get a listing of files in another folder, say, a data folder? When I create a handler in the server using on listMyFiles set the default folder to someFolderPath put the files end listMyFiles everything gets messed up even if the handler is not called. LiveCode server stops looking for HTML pages in the Documents folder. I have to comment-out the handler to get things working right again. Gregory ___ 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
FTP and File Paths
Hello everyone, I’m having trouble getting the list of files in a subfolder, myData, of the WebServer folder on a remote Mac. I am able to get listings on any folder in my user account using put url ftp://username:password@ myRemoteMacDomain//Documents/anyFolder/“ but the following turns up empty when I direct it to the myData folder put url ftp://username:password@myRemoteMacDomain//Library/WebServer/share/httpd/myData/“ I have read and write permission to all of the relevant folders in Library/WebServer/ and the path that I use above works fine in Mathematica and FTP programs such as Interarchy. Am I specifying the path incorrectly? Any advice would be most appreciated. Gregory ___ 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
LiveCode and Mathematica
Hello everyone, I've never written an external, but I wonder whether it is possible to incorporate Mathematica code in a LiveCode app. Mathematica notebooks and functions can be exported in C code. Mathematica also has some of the best plotting functions and matrix functions that I have ever used. I would like to learn to write an external for plotting graphs and doing some fairly involved financial computations, and use LiveCode to design the front end. Is this doable? Gregory ___ 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
Arrow Key Selection in Option Menus
Hello everyone, I have a question about buttons formatted as option menus. I created a standalone for my students that allows them to submit answers to multiple choice homework assignments via FTP to my Mac at work. Once in a while I will receive a blank submission from a student using a PC version of the standalone. By blank, I mean the student's text file on my Mac, which is their log, is updated with the date and time and name of the quiz, but the list of answer choices, for example, A, C, A, A, B, E, is missing. As far as I can tell, it has never happened with students using Macs. I thought it might be that some students quit the app before receiving the confirmation that their answers have gone through. I took that possibility into account by building in a progress message and a warning not to quit, and a warning for students who were actually submitting a list of blanks. One day, a PC-using student, who had had the blank experience, told me that he is able to submit successfully when he selects his answers using a trackpad or a mouse, but that when he selects answers using the arrow keys, the answers that appear selected in the option buttons are not sent. I took a look at this on my Mac, and although I seldom use the arrow keys, I can select answers in option menus using the arrow keys, and I can send them fine. My handler simply loops through the option buttons and gathers the answers by taking the value of the selected line. Is there something else I should be doing for PC users? Gregory Associate Professor Department of Finance John Molson School of Business Concordia University Montreal, Canada ___ 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: Arrow Key Selection in Option Menus
Hello Paul, Jacqueline, and Peter, Thank you for responding to my question on arrow-key selection of option menu items. It was generous of you to go out of your way to test things on a Windows box. Recently, I built in a check that warns students of the number of blanks, if any, they are submitting. I will tinker with your suggestions to use a menuPick message or grab the label of the menu rather than the selectedLine. Let you know what I find. Thanks once again, Gregory ___ 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
Close Box and Stand Alone Apps in LiveCode
Hi Everyone, If a standalone LiveCode app in Windows has only one window open and the user clicks the close box in the window, does this quit the app or is there still an app menu from which the user must shut down? I ask because I develop on Macs and do not have easy access to a Windows computer to compare. Much obliged, Gregory ___ 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: Close Box and Stand Alone Apps in LiveCode
Thanks Bob, Much appreciated. Since I want to have my students log their signing out when quitting, I guess I should determine how many windows are open at the time a close box is clicked, and then assume that the intention is to quit if there is only one. Gregory The app quits. This is typical Windows behavior, and confuses a lot of people switching from Windows to Mac. I cannot speak for going the other direction because I have never seen a case where that actually happened. jab! ;-) Bob ___ 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
Bug in libURLSetLogField and libURLSetFTPListCommand
Hello everyone, I have a stack with libURLSetLogField (field quote FTP Log quote) followed by libURLSetFTPListCommand NLST in the openCard handler of a stack. When the stack is opened in the IDE, it more often than not fails and gives the message Handler: can't find handler It does not, however, fail when the stack has been saved to a standalone. This was a bug in the previous version of LiveCode. I guess it has not been fixed in 5.5.1. Gregory ___ 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
Ensuring a Windows Splash Screen Has a Close Box
Hello everyone, Would this do the trick in the preOpenStack handler? if the platform is MacOS then set the decorations of this stack to empty else set the decorations of this stack to close end if Gregory ___ 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
Close Box and Stand Alone Apps in LiveCode
Good suggestion, Bob. Thank you. Gregory The way to mimic the normal behavior of a Mac application staying open when the last window is closed, is to have you main stack be a splash stack that remains hidden the entire time, and you true application stack be an included stack or substack. Create a menu for the mainstack so you can reopen other stacks in your app. Bob ___ 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: ShutDownRequest
Hi Jacqueline, Thank you! Gregory A click in the close box should trigger a closeStackRequest message. ___ 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: Appending Data Via FTP
Hello Richard, Thanks for the tip. I think I will switch from the app to LiveCode server and then do all data transfers through a web site using CGIs. Using FTP for now, I can download all of the data, because the files are small, append new data and then upload. The only catch is the odd occasion when a student quits the app before the upload is complete or is otherwise interrupted. That is what I think has resulted in an empty data file appearing on the server. Gregory I think what'll happen there is that the url expression will be evaluated first, and you'll wind up with the local variable it appended and the item on the server untouched. The most efficient way to do this would be to have a CGI receive the data and append it to the file, easily sendable with POST. Using FTP, I believe the only solution would be to download the file, append it, and re-upload it. There may be other options in the FTP spec, though, but still I'd consider using the CGI solution first as it would be simple and fast. -- Richard Gaskin Fourth World ___ 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: Using Stacks With LiveCode Server
Hello everyone, When I try put the stacksInUse it comes up empty. Could there be something missing in y httpd.conf file (Mac OS X Mountain Lion)? The only two lines that I have added under Directory /Library/WebServer/Documents are AddHandler livecode-script .lc Action livecode-script /cgi-bin/livecode-server Gregory ___ 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: Using Stacks With LiveCode Server
Hi Phil, Thanks, but no go. I put the stack on my desktop and used start using /Users/gregory/Desktop/ParetoServer (Legacy 2.7).livecode and from the name of the stack, you can see that I took Mike Bonner's advice and saved it in legacy format. Gregory On Wed, Aug 29, 2012, at 10:27 AM, Phil Davis wrote: Hi Gregory, Try using the full path to the stackfile in your start using statement. That should work. Like so: start using /Users/me/Documents/mystackfile.livecode Best - Phil Davis ___ 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: Using Stacks With LiveCode Server
Thanks Andre, Mike, and Phil, I have it straight now. Stacks go in the web server's root and only legacy stacks will work. Thank you also for your patience. My Internet coding abilities are primitive to say the least. If only the RunRev people would write documentation with some clarity. It would be pure coincidence to stumble upon the legacy part. That's an untold number of work hours lost! Regards, Gregory ___ 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
ShutDownRequest
Hello everyone, I have a handler in a library stack that handles the shutDownRequest message. It enters logs the date and time when a student click a Sign Out button in a stack that makes use of the library. However, I don't think I am catching the message when a student clicks the close button in the top left of the window on Mac or equivalent on Windows. How can I ensure that a log entry will be made when the app quits? Regards, Gregory ___ 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
Appending Data Via FTP
Hello everyone, Is it okay to append data to a file on a remote Mac using put return theLineOfData after URL (ftp://; pathToTheFile) where, theLineOfData is a single line of data? I figure that's safer than downloading all of the data from the URL into a variable, appending the new data, and then uploading the whole thing. Gregory ___ 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
Any Changes to LiveCode Server Setup for Mountain Lion
Hello everyone, I recently upgraded to Mountain Lion. Are there any changes to the setup procedures for LiveCode server? Gregory ___ 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: Any Changes to LiveCode Server Setup for Mountain Lion
Thanks Mike, Much obliged. I got the second part of the message as well. Gregory On Tue, Aug 28, 2012, at 11:33 AM, use-livecode-requ...@lists.runrev.com wrote: Message: 23 Date: Tue, 28 Aug 2012 09:20:32 -0600 From: Mike Bonner bonnm...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Any Changes to LiveCode Server Setup for Mountain Lion Message-ID: CAG1cpSpV1Zd-38c4m55cWT6y=gvy7dswhok6zwf-x2pmba7...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 If you've installed the 'Server' from the app store, then the config files are in /Library/Server/Web/Config/apache2 You can add the 2 following lines to httpd_server_app.conf (there is also httpd_server_app.conf.default which might work, if I recall the httpd.conf that is in there did NOT work but http_server_app.conf did) AddHandler lc-script .lc Action lc-script /cgi-bin/livecode-server Then of course add livecode-server and its folders to /Library/Server/Web/Data/CGI-Executables If you aren't using the server addon I believe the files you need to update are in ___ 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
Using Stacks With LiveCode Server
Hello everyone, I've got LiveCode server up and running on my Mac (OS X Mountain Lion). I'd like to be able to store a bunch of handlers in the stack script of a library stack, but I am not sure where to place the stack and how to refer to it from within web pages. Suppose I have a simple test page named LiveCodeServerTest.lc that is in my Sites folder. The HTML code in it is below. Notice that in the code, I have a line that refers to a stack called ServerLibrary.livecode. The next line calls a handler named serverTest, which resides in the stack script of the stack. When I load the page, I get the following error: file /Users/gregory/Sites/livecodeservertest.lc row 15, col 1: start: can't find object I have tried different paths with no luck. What am I doing wrong? Regards, Gregory The test page: html head titleMy LiveCode Server Test Page/title /head body h1My LiveCode Server Test Page/h1 ?lc put pHello World! from LiveCode Server/p put pThe date is the long date the long time /p start using ServerLibrary.livecode serverTest ? /body /html ___ 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
How Do I Change My Main On-Rev Domain Name
Hello everyone, Is it possible to change my main on-rev domain name? If so, how can I do that? Regards, Gregory ___ 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: Code Security When Using LiveCode Server
Hello Jacqueline, Richard, Mike, Pierre, and Phil, Thank you for your helpful thoughts on web code security. I think I’ll prototype with a combination of stacks for sensitive things (I’ll do some homework on where to place the stacks and how to refer to them) and embedded lines for innocuous things. Gregory Lypny Associate Professor of Finance John Molson School of Business Concordia University ___ 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: Can't Get Server Engine to Work on My Mac
Hi Alex, Not a stupid question at all. I hang my head in shame. I was so focussed on working out server installation details and glitches that I forgot to change the filename on my test page. Sigh. Thanks. Gregory On Sat, Apr 21, 2012, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote: This is probably a stupid question but .. your page that includes calls to Livecode from within a web page - that is called something.lc, isn't it ? It can't be called something.html and have the livecode calls work. Sorry if that's off track, -- Alex. ___ 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: Can't Get Server Engine to Work on My Mac
Thanks Alex, Mike, and Stephen, All great tips that have helped me iron out the glitches. Very much appreciated, Gregory ___ 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
Code Security When Using LiveCode Server
Hello everyone, In developing a site using LiveCode server, I’d be interested in your thoughts on keeping prying eyes away from LiveCode scripts. I imagine that keeping the scripts in files and stacks, as opposed to embedded in web pages, is the best thing. Gregory ___ 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: Can't Get Server Engine to Work on My Mac
Much appreciated, Mike. I will tinker with it this afternoon, and post what I find. Gregory On 2012-04-20, at 10:28 AM, use-livecode-requ...@lists.runrev.com wrote: Message: 17 Date: Fri, 20 Apr 2012 04:13:14 -0600 From: Mike Bonner bonnm...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Can't Get Server Engine to Work on My Mac Message-ID: cag1cpspsgtsq1xnciyleeioym1ppfkks8c1vdu6n8s_uaho...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 Hey, there should be a line to set the options for that directory, might make sure that ExecCGI is there in the conf file. Also, while not sure how likely this is, when you go looking for the right set of conf files to modify, make sure that you don't have both /etc/httpd folder and /etc/apache2 If you have both, the most likely location that you should be modifying is the /etc/apache2 stuff. Also again if you have both there is a chance that the set up of the files is a bit different in that you won't modify the httpd.conf itself (though I think this can be made to work) but instead there are a couple of folders for 'sites' (one contains symlinks of the files of the other. Any file that has a symlink is an active 'site' for your server) Let me know if this is the case for you and i'll see if I can dig up my info on setting up LC with the alternative structure. I know its around here somewhere. ___ 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: Can't Get Server Engine to Work on My Mac
Hi again Mike, Thanks for the advice. I was able to get the server working, at least partly. I have the LiveCode executable in the CGI-Executables folder on my Mac. I created the one-line script put the long date in a file named longDate.lc, and placed it in the Sites folder of my user account. I was able to run it by entering http://webSiteAddress/~user/longDate.lc What does not work at the moment is calls to LiveCode from within a web page. So, p ?lc put the long date ? p/ does nothing. I'll keep tinkering. Thanks again, Gregory ___ 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: Can't Download Server Engine
Thank you, Mike. On Thu, Apr 19, 2012, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote: Message: 1 Date: Wed, 18 Apr 2012 11:04:17 -0600 From: Mike Bonner bonnm...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Can't Download Server Engine Message-ID: cag1cpsolgjckadu0x2r6tyknphn7kyh6qiy5wgcsbp0onj4...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 You are using 'server' as the username right? (lowercase) ___ 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
Can't Download Server Engine
Hello everyone, I'm on my account page at RunRev and am trying to download the server engine, but when I click the link, I am prompted for a name and password. I've tried both my RunRev username and password as well as the ones provided in parentheses beside each server engine link. None works. How can I download the engine? Gregory ___ 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
Can't Get Server Engine to Work on My Mac
Hello everyone, I must have missed something because I can't get the server engine to work on my Mac. Here's what I did. 1. I placed the livecode-server executable and the drivers and externals folder into /Library/WebServer/CGI-Executables/ 2. I added these two lines AddHandler livecode-script .lc Action livecode-script /cgi-bin/livecode-server at the end of the Directory /Library/WebServer/Documents section of httpd.conf 3. I restarted Apache by toggling the web sharing checkbox in system preferences To test the server, I created a page in iWeb and added an HTML snippet containing p The internet date is ?rev put the internet date ?/p Nothing from the snippet appears on the page. What am I doing wrong? Gregory ___ 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: Getting the Date and Time From a Remote Computer
Thanks again, Mike! Much obliged. Gregory On Mon, Jan 16, 2012, at 6:16 AM, use-livecode-requ...@lists.runrev.com wrote: Message: 9 Date: Sun, 15 Jan 2012 12:52:33 -0700 From: Mike Bonner bonnm...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Getting the Date and Time From a Remote Computer Message-ID: CAG1cpSpm4tc75nqB7P1OW=ejdjnpr0spkhwzp0relwzfxvp...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 Yep the revonrockets and http stack by Andre works great and already has a sample of returning the time. It works great. The time example uses a .rev stack as a cgi. (look in the stacks folder) The stack script has examples of how to use the cgi stack. Currently it has a method for getting the internet time, but its easy to add your own for long time, long date, etc. Whatever you need. This means leaving the http stack running on the remote machine but it is so easy and works so well that its most likely worth it. If you want the stack and the rev on rockets stuff thats with it you can grab it here. http://www.andregarzia.com/download/revhttp.zip ___ 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
Getting the Date and Time From a Remote Computer
Hello everyone, Is there a LiveCode handler that can be used to get the date and time from a remote Mac that has a static IP address? Regards, Gregory ___ 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: Windows Standalone Does Not Have an App Menu
Hello Roger and Mark, Thanks for responding and clarifying the Windows app question for me. Mark, I have no problem including decorations. If this is a convention on Windows, that is, that an app menu does not appear when a modal window is frontmost, so that the user cannot quit or cannot know that the app is running if they have switched workspaces, then I don’t see how it promotes or meets expectations. If I can start something up, I expect that I should be able to see how to shut it down. Gregory On Wed, Jan 4, 2012, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote: That is certainly the easiest way. It is still odd to me that RunRev does not to show a running app in the taskbar when it has no decorations. Older versions of Revolution (way back in 2.x) would still show the program running. Also strange is that an App menu was auto generated in 5.0.1 (Mac-like), then removed in 5.0.2, according to the OP. I have not tested this. ?Roger ___ 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: PDFs Not Downloading Properly From FTP Server
Thank you, Roger. Works like a charm! Gregory On Tue, Jan 3, 2012, at 12:37 AM, Roger wrote: Have you tried binfile: instead of file: to prevent alteration? In certain cases, you may not need the // either. ?Roger ___ 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
Windows Standalone Does Not Have an App Menu
Hello everyone, I develop LiveCode apps for my students on my Mac, and I sometimes have limited opportunities to fully test them on PCs. I recently updated to LiveCode 5.0.2 and rebuilt a stack that was originally coded in 5.0.1. I saved the stack as Mac and Windows standalones for distribution to my students. One of my Windows-using students told me today that the app does not have a default App menu, e.g., My App, with whatever menu items the Windows app menu would have, but especially Quit (or Exit)! Because there is no Quit menu item, there is no way to exit the app when the undecorated splash screen appears. I don’t know what the Windows equivalent to the dock on the Mac is, but there appears to be no icon on his Windows box to indicate the app is open or to provide another means to quit. How do I get the default app menu to appear on the Windows standalone like it used to? Has something changed with 5.0.2? Regards, Gregory ___ 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
PDFs Not Downloading Properly From FTP Server
Hello everyone, I use LiveCode to upload PDFs to a remote Mac using put url (binfile: longFileName) into url (ftp://; aFTPAddress newFileName) but when I download those same PDFs by using put url (ftp://; aFTPAddress newFileName) into url(file:// aLocalAddress newFileName) it appears to be corrupted or at least there is a lot of gibberish. What am I doing wrong? Should the last url reference, that is, the location on the local machine, be binfile rather than file? Regards, Gregory ___ 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: libURL Script Error After Upgrading to LiveCode 5.02
Hi Guglielmo, Thank you for your response. I will do what you say while revising my app, but does it mean that the standalone will not be affected? Gregory On Fri, Dec 30, 2011, at 1:00 PM, Guglielmo wrote: Yes, same behavior for me with different handlers ... ... there must be an error on Livecode 5.02 ... it seems to start your application before he has finished loading its own modules :( If you first open Livecode 5.02, wait until Livecode is completely started and then you start your application ... no problem and all work fine. Hope this help, Guglielmo ___ 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: libURL Script Error After Upgrading to LiveCode 5.02
Thanks again Guglielmo, That’s a relief. The Rev team needs to get its act together. There are too many such incidences. Gregory On Fri, Dec 30, 2011, at 8:19 PM, use-livecode-requ...@lists.runrev.com wrote: No, fortunately the standalone applications seem to work normally (/... tried on OS X 10.6.8 and Win 7 64 bit/) ... :-) Guglielmo ___ 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
libURL Script Error After Upgrading to LiveCode 5.02
Hello everyone, The following two lines used to work fine in a startup script. libURLSetLogField the long id of fld “Connection Log of card Connection of stack “Headquarters libURLSetFTPListCommand “NLST” Today I upgraded to version 5.02 of LiveCode and I get the following error message. Handler:can't find handler Object: Sign In Line: libURLSetLogField the long id of fld Connection Log of card Connection of stack Headquarters” Hint: libURLSetLogField Any thoughts? Regards, Gregory ___ 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: Confirming an FTP Upload
Hi Stephen, Thanks for the tip. I was aware that LiveCode does not do SFTP. I had to get my Mac to start running regular FTP to work with it. I am using a separate account. Regards, Gregory On Wed, Dec 7, 2011, at 8:50 AM, use-livecode-requ...@lists.runrev.com wrote: You should know that the password and username are sent as plain text and can be easily sniffed. This is NOT secure FTP and can expose an entire account. Create a special FTP space for this purpose, not your website. Secure FTP is a long-awaited feature that is still not available in livecode except with externals. sqb ___ 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
Confirming an FTP Upload
Hi everyone, I was wondering whether anyone would be willing to share scripting tips on how to monitor and confirm the uploading of files via FTP. I’m using the simple PUT URL form rather than the revFTP library stuff because the latter’s examples are not particularly well documented in the built-in help feature of LiveCode. Gregory ___ 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: Confirming an FTP Upload
Hi Mark, Much appreciated! Just the kind of thing I was looking for. Regards, Gregory On Tue, Dec 6, 2011, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote: Greg, Here's how I submit data using the Put URL approach... ___ 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
Questions About Uploading Files to an FTP Server
Hello everyone, Still tweaking an app to allow my students to upload files to an FTP server and save a log of their submissions. I would like to restrict the size of files they upload, and want to know whether the way to do that is to first set the defaultFolder to the folder in which the file they have chosen resides and then collect information about it. If so, will resetting the defaultFolder mess up a standalone app in any way? Should I immediately reset it to empty after the upload? As for students saving data to disk, I learned from this list that writing data using the put URL form should be followed by file: for Windows users (I am a Mac user and accustomed to file://). What is the correct path form for Linux? Regards, Gregory ___ 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: Windows Standalone Will Not Save Data to File
Thanks Mar, Much obliged. Gregory ___ 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
Windows Standalone Will Not Save Data to File
Hello everyone, I built a small utility app for my students. It was scripted on a Mac. It has the following handler to allow them to save their work to disk. It works on Mac stand-alones but not Windows. My PC-using students have shown me how it does not save. Is the problem the two forward slashes in the argument to the URL? put “My File” into theFileName put “1,2,3,4,5” into theData if the hilite of button Save of this card is true then ask file Where would you like to save your data backup? with (theFileName -Backup.csv) if it is not empty then put theData into url (file:// it) end if Regards, Gregory ___ 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: Can't Get libURLftpUploadFile to Work
Excellent, Roger! I missed that bit. This fits the bill perfectly. Thank you, Gregory On Tue, Sep 27, 2011, at 7:18 AM, Roger Eller wrote: Whatever you put into tFileName will be the name on the server. It does not have to be the same as the source name. ___ 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: Can't Get libURLftpUploadFile to Work
Hello Roger, Thanks for the heads up. You’re suggesting that I do not use libURLftpUploadFile. Fair enough. I’m used to uploading data using the PUT URL form. Any suggestion as to how I might change the name of the file, on its way, or once it reaches the server? These files will be uploaded by my students, and I’d like to impose a consistent naming convention. Regards, Gregory On Mon, Sep 26, 2011, at 1:00 PM, Roger Eller wrote: Hi Gregory. This is the form I typically use for FTP uploading: on mouseUp set the itemDel to / answer file Choose the file if it is not empty then put it into myFile put item -1 of myFile into tFileName -- change user:pass below to your credentials on FTP server put URL (binfile: myFile) into URL ( ftp://user:p...@server.com/path/; tFileName) end if end mouseUp ___ 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
Can't Get libURLftpUploadFile to Work
Hello everyone, Took my first stab at using libURLftpUploadFile My URL is of the form theURL = ftp://server Path//Documents/This Folder/That Folder/And Now Here and the file myFile = /Users/gregory/Desktop/My Assignment.csv I use the standard answer dialog to prompt for file selection, but when the script is run, nothing is transferred to the server. on mouseUp answer file Choose the file if it is not empty then put it into myFile libURLftpUploadFile myFile,theURL end if end mouseUp I know that the address is correct because I can upload data to the server using put URL (“ftp://“ etc.) What am I doing wrong? Regards, Gregory ___ 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
IP Address Function
Hello everyone, Is there a LiveCode function that returns the IP address of the computer on which LiveCode or a LiveCode standalone is running? Regards, Gregory ___ 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: Comma-Delimited Files on Macs
Hi Richard, Interesting, didn’t know that. Educating users is, or will be, no mean task, though. Thanks for sharing, Gregory On Mon, Sep 19, 2011, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote: Gregory Lypny wrote: Richard, I?m afraid that changing the extension does not cause the type to change. It's worse than you think: file types have no meaning anymore in OS X. In versions prior to Snow Leopard they did, but they were deprecated in Snow Leopard and will eventually be gone from the system entirely. Instead, the way forward is fully dependent on the file name extension. One of the byproducts of the loss of file type and creator codes is that we no longer have a means of binding a file to a particular app without adjusting the Open With... settings in the Finder's Get Info window. If you choose a reasonably unique file type extension (e.g. .livecode) you have better chances of it launching the app you want, but for more generic types it's anyone's guess as to what will happen. Given the ambiguity inherent in the new paradigm with regard to which app will be launched when a document is double-clicked, for generic types like txt and csv the best move is to educate users to open a file from within their application. -- Richard Gaskin ___ 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
Comma-Delimited Files on Macs
Hello everyone, When I create comma-delimited files with LiveCode by running handlers such as repeat with i=1 to 10 put i comma “something” comma “more stuff” return after theData end repeat put theData into url (“file://“ filePath) the file type shows up as Document rather than CSV Document in the Finder’s Get Info window. Why is that, and is it possible to save as CSV Document? Regards, Gregory ___ 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: Comma-Delimited Files on Macs
Hi Matthias and Richard, Thanks for the tip Matthias. I’ll give it a try. Richard, I’m afraid that changing the extension does not cause the type to change. I’ve been saving them with the extension “csv” and even even changed them manually to “txt” and then back to “csv”. The Get Info window lists them as either Document or a Microsoft Workbook. Regards, Gregory On Sat, Sep 17, 2011, at 7:33 PM, Matthias wrote i had a similiar question today. Just put one of the following lines set the filetype to CSV set the filetype to XCELCSV in the script before you write the file. means the CSV file is opened in the default application set in the system?s preferences.XCEL means the file is assigned to be opened by Excel ( if installed). HTH, Matthias On Sat, Sep 17, 2011, at 7:33 PM, Richard wrote: The Finder doesn't know about the internal structure of a file. What it reports is just what it can derive from the file name extension. If you change the file name to end in .csv, the Finder will report it as being comma separated values. That said, tab-delimited is a better choice. CSV must die: http://www.fourthworld.com/embassy/articles/csv-must-die.html -- Richard Gaskin ___ 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
LiveCode FTP Hanging in Some Instances
Hello everyone, Once again, I am trying to weed out the few remaining, infrequent bugs that have cropped up in a little FTP app that I have developed for my students. The app is working fine in that almost 100 students have been able to run it on their Macs or PCs, sign in, create an account on my server (my office Mac), respond to a questionnaire (a simple experiment requiring a choice), and submit trial answers to a quiz. However, three students have gotten back to me reporting that the app starts up but hangs when trying to connect to the FTP site. They say that the program freezes on “Connecting...”. Below is a snippet of the startup procedure. You can see that the first line is the message “Connecting...” put in a field to let users know what is happening. The rest is equally simple (famous last words). The handler starts using a library stack that contains two handlers that are referenced during start up. One is a function, isConnected(), that confirms whether the computer is connected to the Internet by returning True or False; the other is a command, cleanLineEndings, that ensures that all of the line endings in the files being downloaded use Return. isConnected() is in the last block of code in the snippet. My guess as to the problem is that the students experiencing it are Windows users, and that they have moved the app file out of the folder in which the library file resides, When isConnected() is called, I assume that nothing is returned because the function can’t be found, and because I’ve only included False in my If statement, there isn’t a condition to exit when nothing is returned. Could the missing library be causing the problem? If so, all I have to do is expand the conditions in that last block. But wouldn’t a call to a function that can't be found generate an error message from the engine? # Startup Procedure put “Connecting...” into fld “Message start using stack LP Library libURLSetLogField the long id of fld FTP Log of card Connection of stack “Connection libURLSetFTPListCommand NLST --FTP Information get fld FTP Addresses of card Connection of stack Connection split it by return and comma set the cFTPAddressArray of stack Connection to it put the cFTPAddressArray of stack Connection into aFTPAddress # Registration Information put url (ftp://; aFTPAddress[Students Folder]) into students cleanLineEndings students filter students without .DS_Store —And so on until # Internet Connection -- To work, the app needs to be connected to the Internet and have access to the registration and accounts files if not isConnected() then go to card Not Connected exit openStack else if students is empty or accounts is empty or instructors is empty then go to card Student List Not Available exit openStack end if end if — And then more stuff Regards, Gregory ___ 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: Question About PreOpenStack
Thanks Bob, Another good tip to add to my notebook! Unintended re-initialization can bring disastrous consequences. This, I have discovered. Sigh. Gregory On Mon, Sep 12, 2011, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote: One of the things I do to prevent re-initialization of a card or stack is I create a global, and upon successful initialization I set it to true. I check it's value before initializing and only call the initialization handler if the global is not set to true. This has the benefit of being able to recall the initialization if needed during development without having to quit or close.remove from memory the stack. In the message box: global stackInit;put false into stackInit;openStack Bob ___ 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: Question About PreOpenStack
Thanks Craig, Your thoughts on this are much appreciated. Darn right about the dangers! Gregory On Mon, Sep 12, 2011, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote: Gregory. Glad to see you have worked it out. It is a subtle danger, that other messages can insinuate themselves into what we try to contain in what we believe is a well defined situation. This is especially true with the very similar open/preOpen and stack/card messages. Craig Newman ___ 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: LiveCode FTP Hanging in Some Instances
Hi Andy, Good points, all. isConnected() only checks for an Internet connection and is invoked by the OpenStack handler of a stack that represents the splash screen of the app. I will most definitely include a check for the library stack loading. I suspect it is the culprit. After posting my original message to this list, I received an email from one of my students who said that he suspected that Norton Anti-virus on his PC was somehow preventing the app from running properly. Need to follow up on that. Gregory On Mon, Sep 12, 2011, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote: Hi Gregory, Your isConnected(), does this just check for an internet connection or does this check for a connection to the ftp server? If the later do you have a mechanism for logging the ftp server reponses? Does you ftp server have a low concurrent users limit?...are the users hitting a connect button again and again .. You should include a check on openStack to test for any libraries that are required and throw up a dialogue if they are not found explaining what to do to the user if not found. - Andy Piddock ___ 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: Question About PreOpenStack
Hi Mark and Jacqueline, The substacks had PreOpenStack handlers that called a library stack and sometimes emptied out some fields, but what they did not have OpenStack handlers. The absence of OpenStack handlers appears to have been the problem because, after the the sub-stack executes its own PreOpenStack, the main stack, for whatever reason, executes its OpenStack. This, of course, can be disastrous if the main stack is intended to initialize an app or perhaps contains sensitive material that should not be revisited! My fix is to include an OpenStack handler with nothing in it in every sub-stack in order to trap the message. on OpenStack — Do nothing end OpenStack Gregory ___ 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: Question About PreOpenStack
Good stuff. Thank you, Mark. I’ll give that a shot. Regards, Gregory On Sun, Sep 11, 2011, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote: Hi Gregory, Instead of putting an openStack handler in every substack, it is much easier to move the openStack in your main stack from stack level to card level. If the openStack handler is in a card script, it won't be triggered by opening a substack. -- Best regards, Mark Schonewille ___ 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: Question About PreOpenStack
Hi Craig, I had posted this right (see below) after you in message 21. On reflection, the behaviour makes sense, and so does Mark’s suggestion that I move the main stack’s OpenStack handler to the card script. Gregory Hi Mark and Jacqueline, The substacks had PreOpenStack handlers that called a library stack and sometimes emptied out some fields, but what they did not have OpenStack handlers. The absence of OpenStack handlers appears to have been the problem because, after the the sub-stack executes its own PreOpenStack, the main stack, for whatever reason, executes its OpenStack. This, of course, can be disastrous if the main stack is intended to initialize an app or perhaps contains sensitive material that should not be revisited! My fix is to include an OpenStack handler with nothing in it in every sub-stack in order to trap the message. on OpenStack ? Do nothing end OpenStack Gregory On Sun, Sep 11, 2011, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote: Gregory, do you understand these nuances? Or is my original test, a simple mainStack/subStack file with a preOpenStack handler in each stack script, basically what you already have? Write back... Craig Newman ___ 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
Curious Glitch in My FTP App
Hello everyone, I created a desktop utility that allows my students to access files on my Mac via FTP. I compiled it for Mac, Windows, and Linux. The app opens with a user ID and password field so that students can create accounts. Most students have been able to create accounts without a problem, but I have had three or four instances of students not being able to sign back in after creating an account. The sign-in process is a simple one where the user ID and password they provide in the app is used to retrieve the account file and authenticate. Seems that for some of my Windows users, nothing happens when they click the Sign In button, that is, there is no error but the app is not picking anything up to authenticate. Here’s an excerpt of an email from one of my students, who refers to the sign-in not working from her PC laptop. When I tried to sign in on my laptop it still didn't work. But when I tried on a Mac I was able to access it. Any thoughts? Gregory ___ 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: Curious Glitch in My FTP App
Hello Pierre, Thank you for responding. Yes, it may be. The account files are comma-delimited text and are sitting on my remote Mac, which acts as the server. What you do suggest? Clean the line endings? I’ve also been looking for a LiveCode function that tells me the OS os the user but cannot find one. I know it exists! Gregory On Fri, Sep 9, 2011, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote: Could it not be related to urlencode / charset handling troubles ? ___ 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: Curious Glitch in My FTP App
Hi Pierre and Scott, Thanks for responding. Yes, Scott, it was Platform that I was looking for. Thanks. Pierre, it looks like my students may, in fact, be writing to the account files using a variety of line endings. When I replace various endings with Return, it seems to go away. Thanks for the tips. Regards, Gregory On Fri, Sep 9, 2011, at 10:26 PM, Pierre wrote: How are your account files handled, by hand (if yes, try how it goes in saving them in different charset (UTF-8, ISO-8859-1 (Latin 1), ... in using TextMate or the excellent free TextWrangler) and different line ending options ((LF, CR, CRLF) to track the problem) or programmatically (if yes, way one test should help too)? ___ 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: Question About Windows Standalone
Thanks everyone, I get it. Windows builds pretty much need the whole thing. I don’t like the stack files sitting there though. I think I will turn them into sub-stacks and have users save their data to text files. Regards, Gregory ___ 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: Question About Windows Standalone
Thanks for the heads-up, Mark. I’ll look into the plug in. Gregory On Tue, Sep 6, 2011, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote: Hi Gregory, You need to send the entire Windows folder to your users. This includes the separate stack files, referenced files if there are any, and the externals folder. You might leave out the externals folder if you really want to. If you prefer to send just one file, you could use the Installer Maker Plugin. This plugin creates one .exe file, which you don't need to compress to send it to your users. The .exe file doesn't need any externals, so you don't need to include that folder, even if your own standalone needs externals (but you need to include the externals when you make the installer). You can find the Installer Maker Plugin herehttp://qery.us/za -- Best regards, Mark Schonewille ___ 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
Question About Windows Standalone
Hello everyone, I’m am Mac user who doesn’t know much, if anything, about Windows. I’ve just built a standalone for Mac and Windows and I’d like to confirm what it is I need to provide to Windows users. The Standalone Builder produced a folder called Windows. Inside of it is a folder called Externals, which is empty because I have none, the executable file, and the stack files I used in the project. Do I give users the entire Windows folder or just the executable? The reason that I ask is that the Mac build hides everything nicely in a package, and I was a little concerned seeing those stack files sitting out in the open. Regards, Gregory ___ 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: Filtering Out Hidden Files
I want the user of the LiveCode application to see only the files that they would have put into a particular folder for use with the application. Gregory On Thu, Aug 25, 2011, at 8:46 PM, Mark Wieder wrote: There are. What is it you're trying to do? Do you want not to show hidden files regardless of whether the user has set preferences to show them? Do you care about the OS preferences? Do you care about ..? Do you care about permissions? -- -Mark Wieder ___ 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: The Cross-platform Fonts Issue
Much obliged, Ken. When I have time to get a little fancier, I suppose I can set something up with PreOpenStack that will identify the OS and set the fonts of all of the objects. Regards, Gregory Lypny Associate Professor of Finance John Molson School of Business Concordia University On Fri, Aug 26, 2011, at 1:00 PM, Ken Ray wrote: So, I?m creating an app on a Mac to be compiled for Mac and Windows. It?s a simple FTP front end for students. Would I be safe with various sizes of Lucida Grande throughout? Or perhaps Lucida Grande for buttons and Helvetica for all other objects? Lucida Grande will be remapped to Helvetica on Windows, so if that's not a big deal for you it should be fine the way you have it. Ken Ray ___ 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: Accessing Functions in the Script of the Main Stack
Thanks everyone who responded. A library stack works like a charm. I will now be a dedicated user of the Start Using command. Regards, Gregory ___ 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
The Cross-platform Fonts Issue
So, I’m creating an app on a Mac to be compiled for Mac and Windows. It’s a simple FTP front end for students. Would I be safe with various sizes of Lucida Grande throughout? Or perhaps Lucida Grande for buttons and Helvetica for all other objects? Regards, Gregory ___ 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
Filtering Out Hidden Files
Hi everyone, On the Mac, I use filter theFileList without .DS_Store” to clean up the list of files that The Files function returns. Are there similar hidden files that turn up on Windows? Gregory ___ 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
Avoiding File Update Anomalies (Collisions) on a Server
Hello everyone, I would appreciate your thoughts on how to avoid collisions on a server on those presumably rare occasions when two or more visitors attempt to write to a file at exactly the same time. In my case, it’s students writing via FTP to a text log file, but the same situation can occur if visitors to a web site, for example, submitting an entry to a guest book, do it at the same time. I don’t know what the consequences of this are. My crude and imperfect attempt to minimize this possibility is to have a Busy file that acts as a flag when the log file is being written to. It contains just one line of data: False, the seconds If the first item is False, it means that the log file is not currently being written to. A user about to write to the file invokes a handler that changes this first item to True, and inserts a timestamp in the form of the seconds. When they are finished writing to the file, the same handler sets the Busy file to False and inserts a new timestamp. The purpose of the timestamp is to cover for the possibility of the write process or the handler being aborted, therefore failing to set the Busy file back to False. If the timestamp is more than, say, four minutes old, the True flag can be overridden. This method is obviously imperfect because it is possible that two people might be writing to the Busy file at the same time! I’m curious to know of other handler-based approaches that do not involve setting up separate databases. Regards, Gregory ___ 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: New App Developed in LiveCode
Bingo. Thank you, Colin. I did run through the login items but must have missed it the first time. Gregory On Mon, Aug 22, 2011, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote: Message: 7 Date: Sun, 21 Aug 2011 23:39:40 -0400 From: Colin Holgate co...@verizon.net To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: New App Developed in LiveCode Message-ID: b657c7ac-ed9b-436f-9247-b1511a862...@verizon.net Content-Type: text/plain; charset=us-ascii Go into System Preferences, Accounts, select your account and choose Login Items. There you'll see a list of things that are loaded when you log in. Select Clarify Helper and click the minus button to remove it. At least I think that's how you would do it! On Aug 21, 2011, at 10:57 PM, Gregory Lypny wrote: I noticed that when the application is deleted from my Applications folder, a camera icon reappears in the Finder menubar every time I start up. How can I remove it? ___ 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: Avoiding File Update Anomalies (Collisions) on a Server
Hi Pierre Sahores and Bob Sneider, Thanks for the tips. I’m getting the message that an external database (PHP or mySQL) is the way to go. Regards, Gregory ___ 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: New App Developed in LiveCode
Hello Trevor, Elegant interface, nice and clean. I can see a market among IT and systems types who work in educational institutions and are constantly having to explain various computer and network things to faculty and staff. Site licenses might be a good option. I noticed that when the application is deleted from my Applications folder, a camera icon reappears in the Finder menubar every time I start up. How can I remove it? Gregory ___ 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