From james at thehales.id.au Sun Mar 1 07:45:48 2015 From: james at thehales.id.au (James Hale) Date: Sun, 1 Mar 2015 23:45:48 +1100 Subject: LiveCode 7.0.3: a new meme Message-ID: Paul wrote... > I ran Disk Utility to check the HD for repair/permissions and all is fine. Checking the permissions only checks software installed by Apple giants their receipts. Nothing else is checked, certainly nothing related to directory structures. If DO you think there might have been some corruption or glitch in the folder structure then you might want to use the disk utility to verify the volume. You could also boot in single user mode and run fsck as indicated on screen once the boot is complete. James From ambassador at fourthworld.com Sun Mar 1 11:03:42 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 01 Mar 2015 08:03:42 -0800 Subject: LiveCode 7.0.3: a new meme In-Reply-To: References: Message-ID: <54F3385E.8040306@fourthworld.com> James Hale wrote: > Paul wrote... >> I ran Disk Utility to check the HD for repair/permissions and all > is fine. > > > Checking the permissions only checks software installed by Apple > giants their receipts. Nothing else is checked, certainly nothing > related to directory structures. > > If DO you think there might have been some corruption or glitch in > the folder structure then you might want to use the disk utility to > verify the volume. You could also boot in single user mode and run > fsck as indicated on screen once the boot is complete. Excellent advice for disk checking, but I think Jacque's on it with the way the IDE touches the disk each time a menu is accessed. Before I started using OwnCloud to sync my plugins folder, all my machines shared a network-mounted volume. The IDE was very very slow with menu access because the time it takes to do file operations over the network is of course much longer than locally. With OwnCloud I now get syncing (and backup and versioning and more - great toolkit) so I haven't spent much time looking into this, but it seems odd that the IDE would care about things outside of the specific folders it needs (Plugins, Externals, etc.). So even though Paul's stuff was in his My LiveCode folder, I can't imagine how any other folders there would affect the IDE. But apparently they do. It would be cool if someone had the time to go through the IDE code to find out exactly what's going on, or alternatively I don't think it would be overreaching to file an enhancement request to refine the way file access is done in response to menu access. We all want the IDE to be as responsive as possible, so things like this, which can be mysterious to try to track down, become problems for even experienced users. I like to believe there may be some other way to do what the IDE needs to do without having to make several disk accesses every time a menu is accessed. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From ambassador at fourthworld.com Sun Mar 1 12:27:06 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 01 Mar 2015 09:27:06 -0800 Subject: DB connection times Message-ID: <54F34BEA.6060801@fourthworld.com> Dr. Hawkins and others have noted that the time required for LC to connect to a database can be long enough to add up under load. To get a good feel for the implications of this, and to explore options for possibly mitigating it, it would be helpful if any of you happen to have measurements of that connection time. On the one hand, for LC to connect to a DB does require quite a few steps: your code is interpreted, passed from the engine to the external, the external reformats it into a form the DB will understand, then the DB works with it and sends back a value, which then is reformatted by the external and sent back to the engine, which then delivers it to your script. But on the other hand, each of those steps should be pretty small, and most of them are taking place in compiled object code. I may take the time in the future to set up some tests to measure connection times myself, but before I do it seems useful to see if any of you already have such measurements. If you do, I'd be very interested in hearing what sorts of times you find not only for connections, but queries as well. TIA - -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From t.heaford at icloud.com Sun Mar 1 11:51:16 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Sun, 01 Mar 2015 16:51:16 +0000 Subject: Drawing a line in LC7 Message-ID: <2EE9BAD7-3F72-455A-BE64-5AF1C2351224@icloud.com> I use the following routine to draw lines for charts in LC 6.7.3 on drawLine x,y,x1,y1,tColor lock screen set the style of the templateGraphic to polygon create grc in me put the id of the last grc of me into tID set the forecolor of grc id tID to tColor set the points of grc id tID to x,y,x1,y1 set the locked of grc id tID to true unlock screen end drawLine When I run the project in LC 7.0.3 the lines do not draw. Is there a reason for this? When I look in the group, all the graphics exist. All the best Terry From pmbrig at gmail.com Sun Mar 1 13:04:10 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 1 Mar 2015 13:04:10 -0500 Subject: Because LC can't do two things at once. In-Reply-To: <54E83AC7.2000307@fourthworld.com> References: <54E83AC7.2000307@fourthworld.com> Message-ID: <53710DF0-4037-4249-8008-FCC82E09013C@gmail.com> Just closing the loop on this one (the power source of a laptop). (Calling Richard Gaskin re the Linux case...) -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig --------- function getPowerSource -- returns the current power source for a laptop -- "AC" or "Battery" -- requires caseSwitch() switch the platform case "MacOS" -- thanks to Martin Koob, use-LC list put shell ("pmset -g batt") into tSource -- returns something like: -- Currently drawing from 'AC Power' -- -InternalBattery-0 99%; finishing charge; 0:00 remaining return char 2 to -1 of word -2 of line 1 of tSource break case "Win32" -- thanks to Bob Sneidar, use-LC list -- someone with a Windows machine should test this case put shell("WMIC Path Win32_Battery GetAvailability") into tSource -- Line 3 will contain 2 if the battery is charging, 3 if running on battery put line 3 of tSource into tStatus return caseSwitch(tStatus,"3=Battery","*=AC") break default -- Linux awaiting Richard Gaskin... end switch end getPowerSource function caseSwitch -- does a quick inline switch/case -- param 1 is checkValue -- params 2+ are in the form matchValue(s)>= -- if no match and no default value specified, then returns empty -- usage: -- put caseSwitch(len(tZip),"5=zip","10=zip+4","*=not a zip code") \ -- into zipCodeType -- from Ken Ray, use-LC list, originally named stsSwitch() put param(1) into tCheckValue set the itemDel to "=" put "" into tDefault repeat with x = 2 to the paramCount put param(x) into tCheck put item 1 of tCheck into tMatch put item 2 of tCheck into tRetVal replace "," with "=" in tMatch if tCheckValue is among the items of tMatch then return tRetVal if tMatch = "*" then if tRetVal = "*" then put tCheckValue into tDefault else put tRetVal into tDefault end if end if end repeat return tDefault end caseSwitch ---------- On Feb 21, 2015, at 2:59 AM, Richard Gaskin wrote: > Peter M. Brigham wrote: > >> Just out of curiosity, how *would* you do this via shell call or >> the equivalent on a Windows laptop? > > Good question. > > Thanks to the beautiful simplicity of the Linux /proc directory I was able to find: > > cat /proc/acpi/battery/BAT1/state > > The "charging state" field there will contain "charging" or "discharging". > > Now if we can turn up a Win command line solution I'll write a handler for this that'll make it convenient to get this info on all three platforms. > > Martin, thanks for handling the Mac side - nice work. > > >> On Feb 20, 2015, at 11:19 AM, Martin Koob wrote: >> >>> Hi Richard >>> >>> I noticed in your bug report was for Mac so till that enhancement gets >>> implemented you could use this. >>> >>> function powerStatus >>> put shell ("pmset -g batt") into tPowerStatus >>> put matchtext(tPowerStatus, "'([^']*)",tPowerSource) into tSuccess >>> return tPowerSource >>> end powerStatus > > > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and Web > ____________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sun Mar 1 14:17:17 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 01 Mar 2015 11:17:17 -0800 Subject: Drawing a line in LC7 In-Reply-To: <2EE9BAD7-3F72-455A-BE64-5AF1C2351224@icloud.com> References: <2EE9BAD7-3F72-455A-BE64-5AF1C2351224@icloud.com> Message-ID: <54F365BD.7060005@fourthworld.com> Terence Heaford wrote: > I use the following routine to draw lines for charts in LC 6.7.3 > > on drawLine x,y,x1,y1,tColor > lock screen > set the style of the templateGraphic to polygon > create grc in me > put the id of the last grc of me into tID > set the forecolor of grc id tID to tColor > set the points of grc id tID to x,y,x1,y1 > set the locked of grc id tID to true > unlock screen > end drawLine > > When I run the project in LC 7.0.3 the lines do not draw. > Is there a reason for this? > > When I look in the group, all the graphics exist. Looks like they fixed a bug in v7: The correct format for the points property is that each point is a comma-separated pair, with each pair separated by CR. Apparently older versions allowed multiple points on a single comma-delimited line. If you change this: set the points of grc id tID to x,y,x1,y1 ..to this: set the points of grc id tID to x,y &cr& x1,y1 ..it works fine. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From t.heaford at icloud.com Sun Mar 1 15:15:40 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Sun, 01 Mar 2015 20:15:40 +0000 Subject: Drawing a line in LC7 In-Reply-To: <54F365BD.7060005@fourthworld.com> References: <2EE9BAD7-3F72-455A-BE64-5AF1C2351224@icloud.com> <54F365BD.7060005@fourthworld.com> Message-ID: <164DA475-834A-4E15-8705-2451FA882855@icloud.com> LC need to change the documentation. Tip: When setting the points property, you can separate the individual points with a comma instead of a return. The points property is always reported with the points on separate lines, however. Makes life rather challenging & irritating. Thanks for your help. All the best Terry > On 1 Mar 2015, at 19:17, Richard Gaskin wrote: > > Terence Heaford wrote: > > > I use the following routine to draw lines for charts in LC 6.7.3 > > > > on drawLine x,y,x1,y1,tColor > > lock screen > > set the style of the templateGraphic to polygon > > create grc in me > > put the id of the last grc of me into tID > > set the forecolor of grc id tID to tColor > > set the points of grc id tID to x,y,x1,y1 > > set the locked of grc id tID to true > > unlock screen > > end drawLine > > > > When I run the project in LC 7.0.3 the lines do not draw. > > Is there a reason for this? > > > > When I look in the group, all the graphics exist. > > Looks like they fixed a bug in v7: > > The correct format for the points property is that each point is a comma-separated pair, with each pair separated by CR. > > Apparently older versions allowed multiple points on a single comma-delimited line. > > If you change this: > set the points of grc id tID to x,y,x1,y1 > > ..to this: > set the points of grc id tID to x,y &cr& x1,y1 > > ..it works fine. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sun Mar 1 15:16:16 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 01 Mar 2015 12:16:16 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <53710DF0-4037-4249-8008-FCC82E09013C@gmail.com> References: <53710DF0-4037-4249-8008-FCC82E09013C@gmail.com> Message-ID: <54F37390.4050507@fourthworld.com> Peter M. Brigham wrote: > Just closing the loop on this one (the power source of a laptop). > (Calling Richard Gaskin re the Linux case...) Thanks, Peter. I'd provided what I think might work some time ago, lost in the long thread as it's run across many topics (hence my taking the liberty of changing the thread title): If anyone here running Linux could test that on their system to see if it works as well for you as it does for me we have have all three platforms now covered. Thanks again for putting the handler together, Peter. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sun Mar 1 15:23:11 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 01 Mar 2015 12:23:11 -0800 Subject: Drawing a line in LC7 In-Reply-To: <164DA475-834A-4E15-8705-2451FA882855@icloud.com> References: <164DA475-834A-4E15-8705-2451FA882855@icloud.com> Message-ID: <54F3752F.4080900@fourthworld.com> Ah - thanks. I haven't even seen a comma-only use of points since my old SuperCard days, so I didn't know LC supported that format. But since the docs says that form is supported, and it used to work in earlier versions, clearly it's a bug. I've submitted the report for you: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Terence Heaford wrote: > LC need to change the documentation. > > Tip: When setting the points property, you can separate the individual points with a comma instead of a return. The points property is always reported with the points on separate lines, however. > > > Makes life rather challenging & irritating. > > Thanks for your help. > > > All the best > > Terry > > > >> On 1 Mar 2015, at 19:17, Richard Gaskin wrote: >> >> Terence Heaford wrote: >> >> > I use the following routine to draw lines for charts in LC 6.7.3 >> > >> > on drawLine x,y,x1,y1,tColor >> > lock screen >> > set the style of the templateGraphic to polygon >> > create grc in me >> > put the id of the last grc of me into tID >> > set the forecolor of grc id tID to tColor >> > set the points of grc id tID to x,y,x1,y1 >> > set the locked of grc id tID to true >> > unlock screen >> > end drawLine >> > >> > When I run the project in LC 7.0.3 the lines do not draw. >> > Is there a reason for this? >> > >> > When I look in the group, all the graphics exist. >> >> Looks like they fixed a bug in v7: >> >> The correct format for the points property is that each point is a comma-separated pair, with each pair separated by CR. >> >> Apparently older versions allowed multiple points on a single comma-delimited line. >> >> If you change this: >> set the points of grc id tID to x,y,x1,y1 >> >> ..to this: >> set the points of grc id tID to x,y &cr& x1,y1 >> >> ..it works fine. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com From pmgresham at gmail.com Sun Mar 1 16:40:35 2015 From: pmgresham at gmail.com (Paul G) Date: Sun, 1 Mar 2015 13:40:35 -0800 (PST) Subject: Drawing a line in LC7 In-Reply-To: <54F3752F.4080900@fourthworld.com> References: <2EE9BAD7-3F72-455A-BE64-5AF1C2351224@icloud.com> <54F365BD.7060005@fourthworld.com> <164DA475-834A-4E15-8705-2451FA882855@icloud.com> <54F3752F.4080900@fourthworld.com> Message-ID: <1425246035780-4689528.post@n4.nabble.com> D*mn, checked 7 Geometry stacks and they no longer work because of this... At least I know why now. Appreciate the info -- thanks Richard. Paul -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drawing-a-line-in-LC7-tp4689522p4689528.html Sent from the Revolution - User mailing list archive at Nabble.com. From gerry.orkin at gmail.com Sun Mar 1 18:25:33 2015 From: gerry.orkin at gmail.com (Gerry) Date: Sun, 01 Mar 2015 23:25:33 +0000 Subject: RELEASE 6.7.3 / 7.0.3 References: <1424966484204-4689345.post@n4.nabble.com> <3DD6F512-C626-4B5B-BF20-EE9725925D45@earthednet.org> <75E8A3D6-30E5-45DA-8F66-5C0F0C63C738@sweattechnologies.com> <30063021-71BC-4123-8A53-906C4610DA05@sweattechnologies.com> Message-ID: Hey Monte, do you have an ETA for the new versions? Gerry OK, I worked out the issue and my build script is running. It takes a while > to build everything for all the different SDKs etc but hopefully I'll have > new versions up tonight or in the morning. > > From pete at lcsql.com Sun Mar 1 18:29:34 2015 From: pete at lcsql.com (Peter Haworth) Date: Sun, 01 Mar 2015 23:29:34 +0000 Subject: [ANN] SQLiteAdmin 1.3.6 Released Message-ID: I'm happy to announce the release of v1.3.6 of SQLiteAdmin, an SQLite Database administration tool. This is a free release for current users. SQLiteAdmin provides a GUI-based approach to creating your database schema including many capabilities not possible within the SQLite language, and browsing and editing the data in your databases. A free trial version is available at www.lcsql.com/sqliteadmin.htm . Please note that the current price of $24.99 will be increased to $29.99 on Sunday March 8th, 2015. The complete release notes for v1.3.6 are available at http://tinyurl.com/o746roq. Some notable enhancements are: - Support for inserting and viewing BLOB columns - The ability to create database diagrams in various formats showing the foreign key relationships between tables and a list of columns and constraints in each table. - Separate preference settings for each database you open. - Open a database by drag/dropping it onto the SQLiteAdmin application window. From monte at sweattechnologies.com Sun Mar 1 18:46:20 2015 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 2 Mar 2015 10:46:20 +1100 Subject: RELEASE 6.7.3 / 7.0.3 In-Reply-To: References: <1424966484204-4689345.post@n4.nabble.com> <3DD6F512-C626-4B5B-BF20-EE9725925D45@earthednet.org> <75E8A3D6-30E5-45DA-8F66-5C0F0C63C738@sweattechnologies.com> <30063021-71BC-4123-8A53-906C4610DA05@sweattechnologies.com> Message-ID: <42B00938-8261-4DD4-9761-D7D0F53A7A9A@sweattechnologies.com> On 2 Mar 2015, at 10:25 am, Gerry wrote: > Hey Monte, do you have an ETA for the new versions? Hopefully today, most of them built fine but there are a few that I need to massage a little. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From bvg at mac.com Sun Mar 1 18:57:14 2015 From: bvg at mac.com (Bjoernke von Gierke) Date: Mon, 02 Mar 2015 00:57:14 +0100 Subject: open socket /accept secure In-Reply-To: References: Message-ID: Not possible, missing feature. > On 28 Feb 2015, at 01:50, Dr. Hawkins wrote: > > I'm looking at the open socket/accept connection behavior. > > I see clearly that I can "open secure". > > What I don't see is anything in accept to *only* accept secure/encrypted. > > I would like to open the socket, keep it open as as secure & encrypted, and > pass database queries to the server by a write from the client, and pick up > the results on a read. > > However, I'm not seeing a way to do this without adding my own > encryption/authentication to every write. > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Sun Mar 1 20:01:47 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 1 Mar 2015 20:01:47 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54F37390.4050507@fourthworld.com> References: <53710DF0-4037-4249-8008-FCC82E09013C@gmail.com> <54F37390.4050507@fourthworld.com> Message-ID: <3DDFE4DA-4CB6-4081-8D0B-9BE386F8AA49@gmail.com> On Mar 1, 2015, at 3:16 PM, Richard Gaskin wrote: > Peter M. Brigham wrote: > > > Just closing the loop on this one (the power source of a laptop). > > (Calling Richard Gaskin re the Linux case...) > > Thanks, Peter. > > I'd provided what I think might work some time ago, lost in the long thread as it's run across many topics (hence my taking the liberty of changing the thread title): > > > If anyone here running Linux could test that on their system to see if it works as well for you as it does for me we have have all three platforms now covered. > > Thanks again for putting the handler together, Peter. Yes, I did get that message: > Thanks to the beautiful simplicity of the Linux /proc directory I was > able to find: > > cat /proc/acpi/battery/BAT1/state > > The "charging state" field there will contain "charging" or "discharging". Question: this looks like a file on disk. I didn't know what you meant by the "'charging state' field." What is the format of the file? Is this a text file, an XML file, or something else? If you could give me a sample to look at I can parse it to get the info and complete the handler. I don't have a linux system to work with for this. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From mikedoub at gmail.com Sun Mar 1 20:24:25 2015 From: mikedoub at gmail.com (Michael Doub) Date: Sun, 01 Mar 2015 20:24:25 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <3DDFE4DA-4CB6-4081-8D0B-9BE386F8AA49@gmail.com> References: <53710DF0-4037-4249-8008-FCC82E09013C@gmail.com> <54F37390.4050507@fourthworld.com> <3DDFE4DA-4CB6-4081-8D0B-9BE386F8AA49@gmail.com> Message-ID: <54F3BBC9.7090304@gmail.com> I don't know if this helps since the only linux system i have is a raspberryPi, but I get a file not found message when typing cat /proc/acpi/battery/BAT1/state in a terminal window. -= Mike On 3/1/15 8:01 PM, Peter M. Brigham wrote: > On Mar 1, 2015, at 3:16 PM, Richard Gaskin wrote: > >> Peter M. Brigham wrote: >> >>> Just closing the loop on this one (the power source of a laptop). >>> (Calling Richard Gaskin re the Linux case...) >> Thanks, Peter. >> >> I'd provided what I think might work some time ago, lost in the long thread as it's run across many topics (hence my taking the liberty of changing the thread title): >> >> >> If anyone here running Linux could test that on their system to see if it works as well for you as it does for me we have have all three platforms now covered. >> >> Thanks again for putting the handler together, Peter. > Yes, I did get that message: > >> Thanks to the beautiful simplicity of the Linux /proc directory I was >> able to find: >> >> cat /proc/acpi/battery/BAT1/state >> >> The "charging state" field there will contain "charging" or "discharging". > Question: this looks like a file on disk. I didn't know what you meant by the "'charging state' field." What is the format of the file? Is this a text file, an XML file, or something else? If you could give me a sample to look at I can parse it to get the info and complete the handler. I don't have a linux system to work with for this. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From vclement at gmail.com Sun Mar 1 20:40:24 2015 From: vclement at gmail.com (Vaughn Clement) Date: Sun, 1 Mar 2015 18:40:24 -0700 Subject: [ANN] SQLiteAdmin 1.3.6 Released In-Reply-To: References: Message-ID: Hi Pete What happened to the Beta? I've been so busy both writing new courses in databases for the last three months that I haven't followed up with you. I still have one database and working on but my courseware is done as of Sunday. Where are you at on LiveCode database development? Thank you Vaughn Clement On Target Solutions LLC (Support) On Target Solutions LLC Website: http://www.ontargetsolutions.biz Email: ontargetsolutions at yahoo.com Skype: vaughn.clement FaceTime: vclement at gmail.com Ph. 928-254-9062 On Sun, Mar 1, 2015 at 4:29 PM, Peter Haworth wrote: > I'm happy to announce the release of v1.3.6 of SQLiteAdmin, an SQLite > Database administration tool. This is a free release for current users. > > SQLiteAdmin provides a GUI-based approach to creating your database schema > including many capabilities not possible within the SQLite language, and > browsing and editing the data in your databases. A free trial version is > available at www.lcsql.com/sqliteadmin.htm > . Please note that the current > price of $24.99 will be increased to $29.99 on Sunday March 8th, 2015. > > The complete release notes for v1.3.6 are available at > http://tinyurl.com/o746roq. Some notable enhancements are: > > - Support for inserting and viewing BLOB columns > - The ability to create database diagrams in various formats showing the > foreign key relationships between tables and a list of columns and > constraints in each table. > - Separate preference settings for each database you open. > - Open a database by drag/dropping it onto the SQLiteAdmin application > window. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Sun Mar 1 22:17:04 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 1 Mar 2015 19:17:04 -0800 Subject: open socket /accept secure In-Reply-To: References: Message-ID: On Sun, Mar 1, 2015 at 3:57 PM, Bjoernke von Gierke wrote: > Not possible, missing feature. > Yikes. All I really need is a secure option for postgres, like there is for mySQL. Or to do ssl, well, securely. I suppose I can use sockets with a key number as the first element (to know which decryption key to use), and the rest decrypted. But it seems such a waste to encrypt for ssl just to make it fail at the other end if it's anything else . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sun Mar 1 22:22:24 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 1 Mar 2015 19:22:24 -0800 Subject: sane way to keep menubar on mac (and what about windows???) Message-ID: My primary target is mac, but I'll probably sell more windows than mac over the long run, so I can't *completely* ignore it. After mucking around and installing menus, I'm not seeing a sane solution to keep application menus around. My experimenting suggests that to keep the menu for the main stack (which I've made the default menu), the main stack needs to be visible. I tried to make the main stack invisible, but this gives me the single application menu, rather than its. My interim solution is rather than invisibility, it pops to above the screen with a negative bottom, and flipping down when needed. This, however, seems just plain nuts. And WIndows would present the same problem To reveal my windows side ignorance (yes, I've really never owned a windows box!), just how *does* a windows program present a menu or choices before it has a user window open? Leave around a gratuities window? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From paul at livecode.org Sun Mar 1 22:48:02 2015 From: paul at livecode.org (Paul Hibbert) Date: Sun, 1 Mar 2015 19:48:02 -0800 Subject: LiveCode 7.0.3: a new meme In-Reply-To: References: Message-ID: <2D645378-C1A6-4231-B8E5-7A848A720C1B@livecode.org> Thanks for reminding me about fsck, I haven't used that in a long time, then after reading this article I remembered why? https://support.apple.com/en-ca/HT203176 ?it's no longer recommended by Apple since OS X 10.4, but I do realise it can be a useful fallback if all else fails. I had already used Disk Utility to check the volume and it didn't come up with anything, but because I can't replicate the original problem now, even by putting all files back where they were, that's why I suspected a folder index problem. The disk on this iMac is getting a bit old now (5 yrs +), so maybe it's an indication that it's time to think about a replacement. Paul > On Mar 1, 2015, at 4:45 AM, James Hale wrote: > > Paul wrote... >> I ran Disk Utility to check the HD for repair/permissions and all is fine. > > > Checking the permissions only checks software installed by Apple giants their receipts. Nothing else is checked, certainly nothing related to directory structures. > > If DO you think there might have been some corruption or glitch in the folder structure then you might want to use the disk utility to verify the volume. You could also boot in single user mode and run fsck as indicated on screen once the boot is complete. > > James > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gerry.orkin at gmail.com Sun Mar 1 23:43:22 2015 From: gerry.orkin at gmail.com (Gerry) Date: Mon, 2 Mar 2015 15:43:22 +1100 Subject: RELEASE 6.7.3 / 7.0.3 In-Reply-To: <42B00938-8261-4DD4-9761-D7D0F53A7A9A@sweattechnologies.com> References: <1424966484204-4689345.post@n4.nabble.com> <3DD6F512-C626-4B5B-BF20-EE9725925D45@earthednet.org> <75E8A3D6-30E5-45DA-8F66-5C0F0C63C738@sweattechnologies.com> <30063021-71BC-4123-8A53-906C4610DA05@sweattechnologies.com> <42B00938-8261-4DD4-9761-D7D0F53A7A9A@sweattechnologies.com> Message-ID: <8CF72304-B5D8-4198-8E73-51E86E74FC2D@gmail.com> thanks :) > On 2 Mar 2015, at 10:46 am, Monte Goulding wrote: > > > On 2 Mar 2015, at 10:25 am, Gerry wrote: > >> Hey Monte, do you have an ETA for the new versions? > > Hopefully today, most of them built fine but there are a few that I need to massage a little. From gcanyon at gmail.com Mon Mar 2 00:45:29 2015 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 1 Mar 2015 23:45:29 -0600 Subject: Visual effects on iOS? Message-ID: I'm using 6.7.3 on the most recent version of Mac/iOS. This code: lock screen hide image currentImage of me show image nextImage of me unlock screen with visual effect scroll left Just swaps the images with no visual effect at all. I've tried in LC and in the simulator. I've tried other effects. No luck. Any ideas? From jhj at jhj.com Mon Mar 2 00:53:46 2015 From: jhj at jhj.com (Jerry Jensen) Date: Sun, 1 Mar 2015 21:53:46 -0800 Subject: Visual effects on iOS? In-Reply-To: References: Message-ID: I haven't tried it, but from the dictionary: Use the (optional) 'for visual effect' variant of the lock screen command if you want to subsequently unlock the screen using a visual effect. .Jerry > On Mar 1, 2015, at 9:45 PM, Geoff Canyon wrote: > > I'm using 6.7.3 on the most recent version of Mac/iOS. This code: > > lock screen > hide image currentImage of me > show image nextImage of me > unlock screen with visual effect scroll left > > Just swaps the images with no visual effect at all. I've tried in LC and in > the simulator. I've tried other effects. No luck. Any ideas? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Mon Mar 2 01:29:22 2015 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 2 Mar 2015 00:29:22 -0600 Subject: Visual effects on iOS? In-Reply-To: References: Message-ID: On Sun, Mar 1, 2015 at 11:53 PM, Jerry Jensen wrote: > Use the (optional) 'for visual effect' variant of the lock screen command > if you want to subsequently unlock the screen using a visual effect. > Interesting, I don't remember that (and didn't think to look at the entry for lock screen when I was troubleshooting) From gerry.orkin at gmail.com Mon Mar 2 02:34:58 2015 From: gerry.orkin at gmail.com (Gerry) Date: Mon, 02 Mar 2015 07:34:58 +0000 Subject: Visual effects on iOS? References: Message-ID: It's been required the whole time I've been doing iOS on LC - at least 2.5 years. g On Mon, 2 Mar 2015 at 17:30 Geoff Canyon wrote: > On Sun, Mar 1, 2015 at 11:53 PM, Jerry Jensen wrote: > > > Use the (optional) 'for visual effect' variant of the lock screen command > > if you want to subsequently unlock the screen using a visual effect. > > > > Interesting, I don't remember that (and didn't think to look at the entry > for lock screen when I was troubleshooting) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Mar 2 02:40:08 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Mar 2015 01:40:08 -0600 Subject: Visual effects on iOS? In-Reply-To: References: Message-ID: On March 2, 2015 1:34:58 AM CST, Gerry wrote: >It's been required the whole time I've been doing iOS on LC - at least >2.5 >years. Except for some navigation commands, it's been required since the engine started doing image caching. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alanstenhouse at hotmail.com Mon Mar 2 06:07:25 2015 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Mon, 2 Mar 2015 12:07:25 +0100 Subject: ANN: Re-Collections iOS app now available - FREE for a limited time Message-ID: G?day all! Just wanted to let you know I?ve just released another iOS app called ?Re-Collections?, made in LiveCode. It?s going for free the first few days so if you?re interested you can get it at: https://itunes.apple.com/app/re-collections/id948329642?mt=8&uo=4 or learn more about it on the website at: http://scruffmonkey.com/Re-Collections.html Any suggestions or bugs do let me know? Thanks!! As always, if you have time (and like it!!) please do leave a review and rating on the iTunes App Store once you?ve had a play. :-) It runs on iPad and is designed to help you record stories from your parents or grandparents (or others) about old photos. You can record both audio and text notes. The ?special? thing is something called ?continuous recording? where the audio recording keeps going automatically for each picture as you swipe through them. As they look at old pictures that you?ve scanned in, you can record their stories and catch their emotions and first reactions? Or that?s the idea. Use it for whatever you want! :-) Cheers Alan From ludovic.thebault at laposte.net Mon Mar 2 06:56:28 2015 From: ludovic.thebault at laposte.net (=?windows-1252?Q?Ludovic_Th=E9bault?=) Date: Mon, 2 Mar 2015 12:56:28 +0100 Subject: Android SDK updated but not anymore recognized Message-ID: <3EB532AA-9655-498C-A8D1-F7039481C1B2@laposte.net> Hello, Since few weeks when i've tested my app on my android tablet, all is black (expect native input field after change a card) ! So i?ve update the SDK, but since Livecode doesn?t recognize the folder and yes the 2.2 api 8 is installed. What happen ? Thanks ? Livecode 6.7.3 From sc at sahores-conseil.com Mon Mar 2 07:41:05 2015 From: sc at sahores-conseil.com (Pierre Sahores) Date: Mon, 2 Mar 2015 13:41:05 +0100 Subject: Android SDK updated but not anymore recognized In-Reply-To: <3EB532AA-9655-498C-A8D1-F7039481C1B2@laposte.net> References: <3EB532AA-9655-498C-A8D1-F7039481C1B2@laposte.net> Message-ID: Hi Ludovic, Same there some weeks ago and a TimeMachine rollback to the previous ? android-sdk-macosx ? directory solved the problem. HTH, Pierre > Le 2 mars 2015 ? 12:56, Ludovic Th?bault a ?crit : > > Hello, > > Since few weeks when i've tested my app on my android tablet, all is black (expect native input field after change a card) ! > So i?ve update the SDK, but since Livecode doesn?t recognize the folder and yes the 2.2 api 8 is installed. > > What happen ? > > Thanks ? > > Livecode 6.7.3 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From livfoss at mac.com Mon Mar 2 08:18:05 2015 From: livfoss at mac.com (Graham Samuel) Date: Mon, 02 Mar 2015 14:18:05 +0100 Subject: Drawing a line in LC7 In-Reply-To: <1425246035780-4689528.post@n4.nabble.com> References: <2EE9BAD7-3F72-455A-BE64-5AF1C2351224@icloud.com> <54F365BD.7060005@fourthworld.com> <164DA475-834A-4E15-8705-2451FA882855@icloud.com> <54F3752F.4080900@fourthworld.com> <1425246035780-4689528.post@n4.nabble.com> Message-ID: <8FC32F8F-9B63-4EA2-A90A-B7370CC4BD04@mac.com> I hit this gotcha too a few months ago, as some ancient HyperCard scripts were embedded in something I was adapting. I got the idea that the comma-separated list was never legal in LC but somehow tolerated; then suddenly not tolerated any more, then (according to the Dictionary) tolerated again. Confusing. Graham > On 1 Mar 2015, at 22:40, Paul G wrote: > > D*mn, checked 7 Geometry stacks and they no longer work because of this... > At least I know why now. > Appreciate the info -- thanks Richard. > > Paul > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Drawing-a-line-in-LC7-tp4689522p4689528.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Mon Mar 2 08:44:16 2015 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 2 Mar 2015 14:44:16 +0100 Subject: AW: sane way to keep menubar on mac (and what about windows???) In-Reply-To: References: Message-ID: <00d301d054ee$fa108280$ee318780$@kestner.de> Hi Richard, In the main stack I create a menu with the menu builder and check the option "set as stack menu bar" With this option checked, the menu will be integrated in Apples menu on Mac and on windows it get a windows menu bar at the top of your stacks window. Its' up to you, if you resize your window on Mac (less height), because you don't need the space for the menu bar in your window as on windows. I am not sure, if this is what you are asking for. Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Dr. Hawkins Gesendet: Montag, 2. M?rz 2015 04:22 An: How to use LiveCode Betreff: sane way to keep menubar on mac (and what about windows???) My primary target is mac, but I'll probably sell more windows than mac over the long run, so I can't *completely* ignore it. After mucking around and installing menus, I'm not seeing a sane solution to keep application menus around. My experimenting suggests that to keep the menu for the main stack (which I've made the default menu), the main stack needs to be visible. I tried to make the main stack invisible, but this gives me the single application menu, rather than its. My interim solution is rather than invisibility, it pops to above the screen with a negative bottom, and flipping down when needed. This, however, seems just plain nuts. And WIndows would present the same problem To reveal my windows side ignorance (yes, I've really never owned a windows box!), just how *does* a windows program present a menu or choices before it has a user window open? Leave around a gratuities window? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Mar 2 09:19:40 2015 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 02 Mar 2015 16:19:40 +0200 Subject: Drawing a line in LC7 In-Reply-To: <8FC32F8F-9B63-4EA2-A90A-B7370CC4BD04@mac.com> References: <2EE9BAD7-3F72-455A-BE64-5AF1C2351224@icloud.com> <54F365BD.7060005@fourthworld.com> <164DA475-834A-4E15-8705-2451FA882855@icloud.com> <54F3752F.4080900@fourthworld.com> <1425246035780-4689528.post@n4.nabble.com> <8FC32F8F-9B63-4EA2-A90A-B7370CC4BD04@mac.com> Message-ID: <54F4717C.8000905@gmail.com> Sorry, boys and girls, I'm just a tad late to the party; couldn't locate my leopard-skin posing briefs . . . Anyway . . . LC 7.0.3 tried this in a button: on mouseUp drawline 0,100,100,400,red end mouseUp on drawLine x,y,x1,y1,tColor lock screen set the style of the templateGraphic to polygon create grc in me put the id of the last grc of me into tID set the forecolor of grc id tID to tColor set the points of grc id tID to x,y,x1,y1 set the locked of grc id tID to true unlock screen end drawLine and, APPARENTLY got nothing . . . on closer observation found that a graphic had been created; what was WRONG was that the points had NOT been set . . . So, checked the ID of the graphic that had been created and tried THIS in the MessageBox: set the points of grc id 1009 to 0,500,100,900 and NO points were set . . . BUT they were with LC 6.7 SO, went and looked in the Dictionary: "The points of a graphic is a list of points (two integers separated by a comma), one per line." "AHA", I theatrically said, posing in a suitably pensive posture and looking round to see who was admiring my craggy, philosophical pose: the cat bit me on the nose. So tried the "carriage return" thing, & YES, it worked . . . of course the Documentation was RIGHT all along, it was the pre-7 IDE that was wrong. Mind you . . . I wondered if you couldn't do the same sort of thing with an ARRAY? Richmond. From MikeKerner at roadrunner.com Mon Mar 2 09:33:52 2015 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 2 Mar 2015 09:33:52 -0500 Subject: Because LC can't do two things at once. In-Reply-To: <53710DF0-4037-4249-8008-FCC82E09013C@gmail.com> References: <54E83AC7.2000307@fourthworld.com> <53710DF0-4037-4249-8008-FCC82E09013C@gmail.com> Message-ID: that doesn't suck and ought to be in the masterLibrary, or whatever it's called. On Sun, Mar 1, 2015 at 1:04 PM, Peter M. Brigham wrote: > Just closing the loop on this one (the power source of a laptop). (Calling > Richard Gaskin re the Linux case...) > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > --------- > > function getPowerSource > -- returns the current power source for a laptop > -- "AC" or "Battery" > -- requires caseSwitch() > switch the platform > case "MacOS" > -- thanks to Martin Koob, use-LC list > put shell ("pmset -g batt") into tSource > -- returns something like: > -- Currently drawing from 'AC Power' > -- -InternalBattery-0 99%; finishing charge; 0:00 > remaining > return char 2 to -1 of word -2 of line 1 of tSource > break > case "Win32" > -- thanks to Bob Sneidar, use-LC list > -- someone with a Windows machine should test this case > put shell("WMIC Path Win32_Battery GetAvailability") into tSource > -- Line 3 will contain 2 if the battery is charging, 3 if running > on battery > put line 3 of tSource into tStatus > return caseSwitch(tStatus,"3=Battery","*=AC") > break > default > -- Linux awaiting Richard Gaskin... > end switch > end getPowerSource > > function caseSwitch > -- does a quick inline switch/case > -- param 1 is checkValue > -- params 2+ are in the form matchValue(s)>= -- separate multiple matcheValues with commas > -- and enclose each matchValue=returnValue pair in quotes > -- if checkValue matches one or more items in matchValue(s), > -- returns returnValue > -- note that checkValue should NOT be enclosed in quotes > -- use a matchValue of "*" to specify a default value, > -- to be returned if no matches found in the list > -- if the default is "*=*" then no match returns the original > > -- if no match and no default value specified, then returns empty > -- usage: > -- put caseSwitch(len(tZip),"5=zip","10=zip+4","*=not a zip code") \ > -- into zipCodeType > -- from Ken Ray, use-LC list, originally named stsSwitch() > > put param(1) into tCheckValue > set the itemDel to "=" > put "" into tDefault > repeat with x = 2 to the paramCount > put param(x) into tCheck > put item 1 of tCheck into tMatch > put item 2 of tCheck into tRetVal > replace "," with "=" in tMatch > if tCheckValue is among the items of tMatch then return tRetVal > if tMatch = "*" then > if tRetVal = "*" then > put tCheckValue into tDefault > else > put tRetVal into tDefault > end if > end if > end repeat > return tDefault > end caseSwitch > > ---------- > > On Feb 21, 2015, at 2:59 AM, Richard Gaskin wrote: > > > Peter M. Brigham wrote: > > > >> Just out of curiosity, how *would* you do this via shell call or > >> the equivalent on a Windows laptop? > > > > Good question. > > > > Thanks to the beautiful simplicity of the Linux /proc directory I was > able to find: > > > > cat /proc/acpi/battery/BAT1/state > > > > The "charging state" field there will contain "charging" or > "discharging". > > > > Now if we can turn up a Win command line solution I'll write a handler > for this that'll make it convenient to get this info on all three platforms. > > > > Martin, thanks for handling the Mac side - nice work. > > > > > >> On Feb 20, 2015, at 11:19 AM, Martin Koob wrote: > >> > >>> Hi Richard > >>> > >>> I noticed in your bug report was for Mac so till that enhancement gets > >>> implemented you could use this. > >>> > >>> function powerStatus > >>> put shell ("pmset -g batt") into tPowerStatus > >>> put matchtext(tPowerStatus, "'([^']*)",tPowerSource) into tSuccess > >>> return tPowerSource > >>> end powerStatus > > > > > > > > -- > > Richard Gaskin > > Fourth World Systems > > Software Design and Development for Desktop, Mobile, and Web > > ____________________________________________________________ > > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From m.schonewille at economy-x-talk.com Mon Mar 2 09:38:32 2015 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 02 Mar 2015 15:38:32 +0100 Subject: sane way to keep menubar on mac (and what about windows???) In-Reply-To: References: Message-ID: <54F475E8.2070408@economy-x-talk.com> Richard: set the defaultMenubar to the long id of grp "Menubar 1" of stack "My Main stack" This makes the menubar stick. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/2/2015 04:22, Dr. Hawkins wrote: > My primary target is mac, but I'll probably sell more windows than mac over > the long run, so I can't *completely* ignore it. > > After mucking around and installing menus, I'm not seeing a sane solution > to keep application menus around. > > My experimenting suggests that to keep the menu for the main stack (which > I've made the default menu), the main stack needs to be visible. I tried > to make the main stack invisible, but this gives me the single application > menu, rather than its. > > My interim solution is rather than invisibility, it pops to above the > screen with a negative bottom, and flipping down when needed. > > This, however, seems just plain nuts. > > And WIndows would present the same problem > > To reveal my windows side ignorance (yes, I've really never owned a windows > box!), just how *does* a windows program present a menu or choices before > it has a user window open? Leave around a gratuities window? > From mikedoub at gmail.com Mon Mar 2 10:20:54 2015 From: mikedoub at gmail.com (mikedoub at gmail.com) Date: Mon, 02 Mar 2015 10:20:54 -0500 Subject: Because LC can't do two things at once. In-Reply-To: References: <54E83AC7.2000307@fourthworld.com> <53710DF0-4037-4249-8008-FCC82E09013C@gmail.com> Message-ID: <20150302152054.6107286.53154.10617@gmail.com> It will be added when the linux part is sorted out. :) Mike ? Original Message ? From: Mike Kerner Sent: Monday, March 2, 2015 9:35 AM To: How to use LiveCode Reply To: How to use LiveCode Subject: Re: Because LC can't do two things at once. that doesn't suck and ought to be in the masterLibrary, or whatever it's called. On Sun, Mar 1, 2015 at 1:04 PM, Peter M. Brigham wrote: > Just closing the loop on this one (the power source of a laptop). (Calling > Richard Gaskin re the Linux case...) > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > --------- > > function getPowerSource > -- returns the current power source for a laptop > -- "AC" or "Battery" > -- requires caseSwitch() > switch the platform > case "MacOS" > -- thanks to Martin Koob, use-LC list > put shell ("pmset -g batt") into tSource > -- returns something like: > -- Currently drawing from 'AC Power' > -- -InternalBattery-0 99%; finishing charge; 0:00 > remaining > return char 2 to -1 of word -2 of line 1 of tSource > break > case "Win32" > -- thanks to Bob Sneidar, use-LC list > -- someone with a Windows machine should test this case > put shell("WMIC Path Win32_Battery GetAvailability") into tSource > -- Line 3 will contain 2 if the battery is charging, 3 if running > on battery > put line 3 of tSource into tStatus > return caseSwitch(tStatus,"3=Battery","*=AC") > break > default > -- Linux awaiting Richard Gaskin... > end switch > end getPowerSource > > function caseSwitch > -- does a quick inline switch/case > -- param 1 is checkValue > -- params 2+ are in the form matchValue(s)>= -- separate multiple matcheValues with commas > -- and enclose each matchValue=returnValue pair in quotes > -- if checkValue matches one or more items in matchValue(s), > -- returns returnValue > -- note that checkValue should NOT be enclosed in quotes > -- use a matchValue of "*" to specify a default value, > -- to be returned if no matches found in the list > -- if the default is "*=*" then no match returns the original > > -- if no match and no default value specified, then returns empty > -- usage: > -- put caseSwitch(len(tZip),"5=zip","10=zip+4","*=not a zip code") \ > -- into zipCodeType > -- from Ken Ray, use-LC list, originally named stsSwitch() > > put param(1) into tCheckValue > set the itemDel to "=" > put "" into tDefault > repeat with x = 2 to the paramCount > put param(x) into tCheck > put item 1 of tCheck into tMatch > put item 2 of tCheck into tRetVal > replace "," with "=" in tMatch > if tCheckValue is among the items of tMatch then return tRetVal > if tMatch = "*" then > if tRetVal = "*" then > put tCheckValue into tDefault > else > put tRetVal into tDefault > end if > end if > end repeat > return tDefault > end caseSwitch > > ---------- > > On Feb 21, 2015, at 2:59 AM, Richard Gaskin wrote: > > > Peter M. Brigham wrote: > > > >> Just out of curiosity, how *would* you do this via shell call or > >> the equivalent on a Windows laptop? > > > > Good question. > > > > Thanks to the beautiful simplicity of the Linux /proc directory I was > able to find: > > > > cat /proc/acpi/battery/BAT1/state > > > > The "charging state" field there will contain "charging" or > "discharging". > > > > Now if we can turn up a Win command line solution I'll write a handler > for this that'll make it convenient to get this info on all three platforms. > > > > Martin, thanks for handling the Mac side - nice work. > > > > > >> On Feb 20, 2015, at 11:19 AM, Martin Koob wrote: > >> > >>> Hi Richard > >>> > >>> I noticed in your bug report was for Mac so till that enhancement gets > >>> implemented you could use this. > >>> > >>> function powerStatus > >>> put shell ("pmset -g batt") into tPowerStatus > >>> put matchtext(tPowerStatus, "'([^']*)",tPowerSource) into tSuccess > >>> return tPowerSource > >>> end powerStatus > > > > > > > > -- > > Richard Gaskin > > Fourth World Systems > > Software Design and Development for Desktop, Mobile, and Web > > ____________________________________________________________ > > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Mar 2 10:30:04 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Mar 2015 07:30:04 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <3DDFE4DA-4CB6-4081-8D0B-9BE386F8AA49@gmail.com> References: <3DDFE4DA-4CB6-4081-8D0B-9BE386F8AA49@gmail.com> Message-ID: <54F481FC.1010005@fourthworld.com> Peter M. Brigham wrote: > On Mar 1, 2015, at 3:16 PM, Richard Gaskin wrote: >> Thanks to the beautiful simplicity of the Linux /proc directory >> I was able to find: >> >> cat /proc/acpi/battery/BAT1/state >> >> The "charging state" field there will contain "charging" or >> "discharging". > > Question: this looks like a file on disk. I didn't know what you > meant by the "'charging state' field." What is the format of the > file? Is this a text file, an XML file, or something else? One of the guiding design principles of Unix is "everything is a file", which allows us to access not only those byte streams that are actual files, but also system and process info such as that commonly mounted at /proc, all with the same common tools (cd, ls, cat, grep, more, less, etc.) - this page explains it well: Being a certified Unix OS X probably has a /proc, but some Unix flavors don't mount it; most Linux distros do. > If you could give me a sample to look at I can parse it to get > the info and complete the handler. I don't have a linux system > to work with for this. In my brief searching on this there were two files commonly noted, the one shown above and also /BAT0/state. I'm not exactly sure why my laptop has a BAT1 but not a BAT0, and I'll see what I can turn up. That said, given the increasing role of servers in our connected world, I can't say enough encouraging things about putting together a VM with Linux in it. Tons of fun, very educational, and you can't beat the price. And if you're a history buff, there's a version of Debian with OpenStep pre-installed so you can explore the look-and-feel of NeXT. :) Michael Doub wrote: > I don't know if this helps since the only linux system i have is a > raspberryPi, but I get a file not found message when typing cat > /proc/acpi/battery/BAT1/state in a terminal window. Thanks for trying that, Michael. It may be helpful to also check for BAT0, but it may also be that because the Pi doesn't ship with a battery that's not normally part of the info the system provides. While battery packs are available for Pi*, the device itself doesn't distinguish it from running on a wall socket; it's not integrated with battery monitoring firmware like laptops are. If that hunch is correct, the absence of a battery info element in /proc may be an accurate reflection of the system state. I'll do some more digging and see what I can find.... * I've been looking for a Pi case with an integrated battery pack. I've seen several battery packs as separate cases, but I'd really prefer everything in one box. Anyone here seen one? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From t.heaford at icloud.com Mon Mar 2 10:36:04 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Mon, 02 Mar 2015 15:36:04 +0000 Subject: Drawing a line in LC7 In-Reply-To: <54F4717C.8000905@gmail.com> References: <2EE9BAD7-3F72-455A-BE64-5AF1C2351224@icloud.com> <54F365BD.7060005@fourthworld.com> <164DA475-834A-4E15-8705-2451FA882855@icloud.com> <54F3752F.4080900@fourthworld.com> <1425246035780-4689528.post@n4.nabble.com> <8FC32F8F-9B63-4EA2-A90A-B7370CC4BD04@mac.com> <54F4717C.8000905@gmail.com> Message-ID: This in the docs: "Tip: When setting the points property, you can separate the individual points with a comma instead of a return. The points property is always reported with the points on separate lines, however.? Terry > On 2 Mar 2015, at 14:19, Richmond wrote: > > So tried the "carriage return" thing, & YES, it worked . . . of course the Documentation was RIGHT all along, it was the pre-7 IDE > that was wrong. From richmondmathewson at gmail.com Mon Mar 2 10:53:15 2015 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 02 Mar 2015 17:53:15 +0200 Subject: Drawing a line in LC7 In-Reply-To: References: <2EE9BAD7-3F72-455A-BE64-5AF1C2351224@icloud.com> <54F365BD.7060005@fourthworld.com> <164DA475-834A-4E15-8705-2451FA882855@icloud.com> <54F3752F.4080900@fourthworld.com> <1425246035780-4689528.post@n4.nabble.com> <8FC32F8F-9B63-4EA2-A90A-B7370CC4BD04@mac.com> <54F4717C.8000905@gmail.com> Message-ID: <54F4876B.1050607@gmail.com> On 02/03/15 17:36, Terence Heaford wrote: > This in the docs: > > > "Tip: When setting the points property, you can separate the individual points with a comma instead of a return. The points property is always reported with the points on separate lines, however.? > > > Terry > Aha: so the 'Tip' now needs to be removed. I wonder exactly WHY the thing was changed? From the point of view of teaching & writing a book on Livecode, a Language-cum-IDE that keeps changing features like that (especially if those changes are left for folk to stumble on, rather than documenting them in LARGE, RED letters) is going to be seen as a pain-in-the-B. Certainly, it would be VERY NICE indeed if the "good folks" at RunRev could put together a COMPREHENSIVE list of changes (i.e. not just the fancy, eye-catching ones they use for marketting) post version 7 so that people like myself, who haven't got all the time in the world for messing around with Livecode on the off-chance that well stumble upon some new, undocumented change, can plan our Summer courses properly so we don't end up with egg all over our faces come July. >> On 2 Mar 2015, at 14:19, Richmond wrote: >> >> So tried the "carriage return" thing, & YES, it worked . . . of course the Documentation was RIGHT all along, it was the pre-7 IDE >> that was wrong. > Richmond. From mikedoub at gmail.com Mon Mar 2 11:01:36 2015 From: mikedoub at gmail.com (Michael Doub) Date: Mon, 02 Mar 2015 11:01:36 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54F481FC.1010005@fourthworld.com> References: <3DDFE4DA-4CB6-4081-8D0B-9BE386F8AA49@gmail.com> <54F481FC.1010005@fourthworld.com> Message-ID: <54F48960.1080102@gmail.com> Looking around in /proc I found no acpi on the Pi. -= Mike On 3/2/15 10:30 AM, Richard Gaskin wrote: > Peter M. Brigham wrote: > > > On Mar 1, 2015, at 3:16 PM, Richard Gaskin wrote: > > >> Thanks to the beautiful simplicity of the Linux /proc directory > >> I was able to find: > >> > >> cat /proc/acpi/battery/BAT1/state > >> > >> The "charging state" field there will contain "charging" or > >> "discharging". > > > > Question: this looks like a file on disk. I didn't know what you > > meant by the "'charging state' field." What is the format of the > > file? Is this a text file, an XML file, or something else? > > One of the guiding design principles of Unix is "everything is a > file", which allows us to access not only those byte streams that are > actual files, but also system and process info such as that commonly > mounted at /proc, all with the same common tools (cd, ls, cat, grep, > more, less, etc.) - this page explains it well: > > > Being a certified Unix OS X probably has a /proc, but some Unix > flavors don't mount it; most Linux distros do. > > > > If you could give me a sample to look at I can parse it to get > > the info and complete the handler. I don't have a linux system > > to work with for this. > > In my brief searching on this there were two files commonly noted, the > one shown above and also /BAT0/state. I'm not exactly sure why my > laptop has a BAT1 but not a BAT0, and I'll see what I can turn up. > > That said, given the increasing role of servers in our connected > world, I can't say enough encouraging things about putting together a > VM with Linux in it. Tons of fun, very educational, and you can't > beat the price. > > And if you're a history buff, there's a version of Debian with > OpenStep pre-installed so you can explore the look-and-feel of NeXT. :) > > > Michael Doub wrote: > > I don't know if this helps since the only linux system i have is a > > raspberryPi, but I get a file not found message when typing cat > > /proc/acpi/battery/BAT1/state in a terminal window. > > Thanks for trying that, Michael. > > It may be helpful to also check for BAT0, but it may also be that > because the Pi doesn't ship with a battery that's not normally part of > the info the system provides. > > While battery packs are available for Pi*, the device itself doesn't > distinguish it from running on a wall socket; it's not integrated with > battery monitoring firmware like laptops are. > > If that hunch is correct, the absence of a battery info element in > /proc may be an accurate reflection of the system state. > > I'll do some more digging and see what I can find.... > > > > * I've been looking for a Pi case with an integrated battery pack. > I've seen several battery packs as separate cases, but I'd really > prefer everything in one box. Anyone here seen one? > From t.heaford at icloud.com Mon Mar 2 11:04:44 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Mon, 02 Mar 2015 16:04:44 +0000 Subject: Drawing a line in LC7 In-Reply-To: <54F4876B.1050607@gmail.com> References: <2EE9BAD7-3F72-455A-BE64-5AF1C2351224@icloud.com> <54F365BD.7060005@fourthworld.com> <164DA475-834A-4E15-8705-2451FA882855@icloud.com> <54F3752F.4080900@fourthworld.com> <1425246035780-4689528.post@n4.nabble.com> <8FC32F8F-9B63-4EA2-A90A-B7370CC4BD04@mac.com> <54F4717C.8000905@gmail.com> <54F4876B.1050607@gmail.com> Message-ID: <29D1B399-0C8E-4625-B8CF-A320D3746650@icloud.com> I suppose in a way it is easy. Whenever you change something in the code, visit the documentation and change that as well or is changing the docs not in the job description of those carrying out the programming. If not it should be. If you do not change the docs and inform then what chance have mere mortals got. All the best Terry > On 2 Mar 2015, at 15:53, Richmond wrote: > > On 02/03/15 17:36, Terence Heaford wrote: >> This in the docs: >> >> >> "Tip: When setting the points property, you can separate the individual points with a comma instead of a return. The points property is always reported with the points on separate lines, however.? >> >> >> Terry >> > > Aha: so the 'Tip' now needs to be removed. > > I wonder exactly WHY the thing was changed? > > From the point of view of teaching & writing a book on Livecode, a Language-cum-IDE that keeps changing features like that > (especially if those changes are left for folk to stumble on, rather than documenting them in LARGE, RED letters) is going to > be seen as a pain-in-the-B. > > Certainly, it would be VERY NICE indeed if the "good folks" at RunRev could put together a COMPREHENSIVE list of changes > (i.e. not just the fancy, eye-catching ones they use for marketting) post version 7 so that people like myself, who haven't > got all the time in the world for messing around with Livecode on the off-chance that well stumble upon some new, undocumented > change, can plan our Summer courses properly so we don't end up with egg all over our faces come July. > >>> On 2 Mar 2015, at 14:19, Richmond wrote: >>> >>> So tried the "carriage return" thing, & YES, it worked . . . of course the Documentation was RIGHT all along, it was the pre-7 IDE >>> that was wrong. >> > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Mon Mar 2 11:06:10 2015 From: prothero at earthednet.org (Earthednet-wp) Date: Mon, 2 Mar 2015 08:06:10 -0800 Subject: LiveCode 7.0.3: a new meme In-Reply-To: <2D645378-C1A6-4231-B8E5-7A848A720C1B@livecode.org> References: <2D645378-C1A6-4231-B8E5-7A848A720C1B@livecode.org> Message-ID: For disk repair, I use Disk Warrior. Your disc should,be ok using Disc Utility, tho. But Disk Warrior has saved data not readable by Disc Utility for me. Bill William Prothero http://es.earthednet.org > On Mar 1, 2015, at 7:48 PM, Paul Hibbert wrote: > > Thanks for reminding me about fsck, I haven't used that in a long time, then after reading this article I remembered why? > > https://support.apple.com/en-ca/HT203176 > > ?it's no longer recommended by Apple since OS X 10.4, but I do realise it can be a useful fallback if all else fails. > > I had already used Disk Utility to check the volume and it didn't come up with anything, but because I can't replicate the original problem now, even by putting all files back where they were, that's why I suspected a folder index problem. The disk on this iMac is getting a bit old now (5 yrs +), so maybe it's an indication that it's time to think about a replacement. > > Paul > >> On Mar 1, 2015, at 4:45 AM, James Hale wrote: >> >> Paul wrote... >>> I ran Disk Utility to check the HD for repair/permissions and all is fine. >> >> >> Checking the permissions only checks software installed by Apple giants their receipts. Nothing else is checked, certainly nothing related to directory structures. >> >> If DO you think there might have been some corruption or glitch in the folder structure then you might want to use the disk utility to verify the volume. You could also boot in single user mode and run fsck as indicated on screen once the boot is complete. >> >> James >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Mar 2 11:09:38 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Mar 2015 08:09:38 -0800 Subject: Drawing a line in LC7 In-Reply-To: <54F4876B.1050607@gmail.com> References: <54F4876B.1050607@gmail.com> Message-ID: <54F48B42.2030608@fourthworld.com> Richmond wrote: > Aha: so the 'Tip' now needs to be removed. > > I wonder exactly WHY the thing was changed? > > From the point of view of teaching & writing a book on Livecode, a > Language-cum-IDE that keeps changing features like that > (especially if those changes are left for folk to stumble on, rather > than documenting them in LARGE, RED letters) is going to > be seen as a pain-in-the-B. > > Certainly, it would be VERY NICE indeed if the "good folks" at RunRev > could put together a COMPREHENSIVE list of changes > (i.e. not just the fancy, eye-catching ones they use for marketting) > post version 7 so that people like myself, who haven't > got all the time in the world for messing around with Livecode on the > off-chance that well stumble upon some new, undocumented > change, can plan our Summer courses properly so we don't end up with egg > all over our faces come July. That presumes it was changed intentionally, rather than merely a bug perhaps caused by some of the sweeping changes for Unicode. My guess would be that so very few people use the write-only comma-only form that the team member updating that routine may just not have been aware of that option. Intentional changes are noted in the Release Notes accompanying each build. Any change not listed there is a bug. And existing syntax very rarely changes. In the Release Notes you'll also find a list of Dictionary changes, which since the engine went open source are usually kept in sync with any additions or enhancements made with each version. Once in a while something slips through the cracks, but lately not often as their process now includes tracking of the docs along with the rest of the change process. I've already file a report on this: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Mar 2 11:15:24 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Mar 2015 08:15:24 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54F48960.1080102@gmail.com> References: <54F48960.1080102@gmail.com> Message-ID: <54F48C9C.5030606@fourthworld.com> Michael Doub wrote: > Looking around in /proc I found no acpi on the Pi. Thanks for checking, Michael. That would make sense, because AFAIK the Pi has no Advanced Configuration and Power Interface in its chip set, and hence the absence of that key in /proc would accurately reflect a non-discharging battery state (since there ain't no battery at all). I'll explore further to see if I can find a definitive reference on that, but so far it looks like we're on our way. For any Linux-using laptop owners here (that means you, Mark Wieder ): do you find your charging status in: /proc/acpi/battery/BAT1/state ...or: /proc/acpi/battery/BAT0/state ? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Mar 2 11:18:11 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Mar 2015 08:18:11 -0800 Subject: Drawing a line in LC7 In-Reply-To: <8FC32F8F-9B63-4EA2-A90A-B7370CC4BD04@mac.com> References: <8FC32F8F-9B63-4EA2-A90A-B7370CC4BD04@mac.com> Message-ID: <54F48D43.2080103@fourthworld.com> Graham Samuel wrote: > I hit this gotcha too a few months ago, as some ancient HyperCard > scripts were embedded in something I was adapting. On what objects did HyperCard apply points? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bodine at bodinetraininggames.com Mon Mar 2 11:10:13 2015 From: bodine at bodinetraininggames.com (tbodine) Date: Mon, 2 Mar 2015 08:10:13 -0800 (PST) Subject: ANN: Re-Collections iOS app now available - FREE for a limited time In-Reply-To: References: Message-ID: <1425312613953-4689562.post@n4.nabble.com> Great concept, Alan! Congrats on the app. Will try to carve out some time to give it a go. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Re-Collections-iOS-app-now-available-FREE-for-a-limited-time-tp4689545p4689562.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Mon Mar 2 11:21:31 2015 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 02 Mar 2015 18:21:31 +0200 Subject: Drawing a line in LC7 In-Reply-To: <29D1B399-0C8E-4625-B8CF-A320D3746650@icloud.com> References: <2EE9BAD7-3F72-455A-BE64-5AF1C2351224@icloud.com> <54F365BD.7060005@fourthworld.com> <164DA475-834A-4E15-8705-2451FA882855@icloud.com> <54F3752F.4080900@fourthworld.com> <1425246035780-4689528.post@n4.nabble.com> <8FC32F8F-9B63-4EA2-A90A-B7370CC4BD04@mac.com> <54F4717C.8000905@gmail.com> <54F4876B.1050607@gmail.com> <29D1B399-0C8E-4625-B8CF-A320D3746650@icloud.com> Message-ID: <54F48E0B.6040607@gmail.com> On 02/03/15 18:04, Terence Heaford wrote: > I suppose in a way it is easy. > > Whenever you change something in the code, visit the documentation and change that as well or is changing the docs not in the job description of those carrying out the programming. Job Descriptions are the death of creativity. > > If not it should be. > > If you do not change the docs and inform then what chance have mere mortals got. > > > All the best > > Terry > > > >> On 2 Mar 2015, at 15:53, Richmond wrote: >> >> On 02/03/15 17:36, Terence Heaford wrote: >>> This in the docs: >>> >>> >>> "Tip: When setting the points property, you can separate the individual points with a comma instead of a return. The points property is always reported with the points on separate lines, however.? >>> >>> >>> Terry >>> >> Aha: so the 'Tip' now needs to be removed. >> >> I wonder exactly WHY the thing was changed? >> >> From the point of view of teaching & writing a book on Livecode, a Language-cum-IDE that keeps changing features like that >> (especially if those changes are left for folk to stumble on, rather than documenting them in LARGE, RED letters) is going to >> be seen as a pain-in-the-B. >> >> Certainly, it would be VERY NICE indeed if the "good folks" at RunRev could put together a COMPREHENSIVE list of changes >> (i.e. not just the fancy, eye-catching ones they use for marketting) post version 7 so that people like myself, who haven't >> got all the time in the world for messing around with Livecode on the off-chance that well stumble upon some new, undocumented >> change, can plan our Summer courses properly so we don't end up with egg all over our faces come July. >> >>>> On 2 Mar 2015, at 14:19, Richmond wrote: >>>> >>>> So tried the "carriage return" thing, & YES, it worked . . . of course the Documentation was RIGHT all along, it was the pre-7 IDE >>>> that was wrong. >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Mar 2 11:24:03 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Mar 2015 08:24:03 -0800 Subject: [Almost OT] Interfacing with GNUCash In-Reply-To: References: Message-ID: <54F48EA3.1010008@fourthworld.com> Peter W A Wood wrote: > Has anybody written a LiveCode script which posts transactions > directly into the GNUCash accounting system (or similar)? > > I know that GNUCash stores its data in SQLite so there is the option > to write the data directly to the GNUCash database but I was > wondering if anybody knows a better way. I haven't, but I'm curious: why GNUCash? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From livfoss at mac.com Mon Mar 2 11:35:02 2015 From: livfoss at mac.com (Graham Samuel) Date: Mon, 02 Mar 2015 17:35:02 +0100 Subject: Drawing a line in LC7 In-Reply-To: <54F48D43.2080103@fourthworld.com> References: <8FC32F8F-9B63-4EA2-A90A-B7370CC4BD04@mac.com> <54F48D43.2080103@fourthworld.com> Message-ID: You've confused me now... are you saying it wasn't HyperCard? The objects were all polygons, representing various mathematical curves. Didn't HyperCard allow vector-type polygons? If not, then it's a mystery which I don't think I can really resolve. Graham > On 2 Mar 2015, at 17:18, Richard Gaskin wrote: > > Graham Samuel wrote: > > I hit this gotcha too a few months ago, as some ancient HyperCard > > scripts were embedded in something I was adapting. > > On what objects did HyperCard apply points? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Mar 2 11:42:34 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Mar 2015 08:42:34 -0800 Subject: sane way to keep menubar on mac (and what about windows???) In-Reply-To: References: Message-ID: <54F492FA.90000@fourthworld.com> Dr. Hawkins wrote: > To reveal my windows side ignorance (yes, I've really never owned > a windows box!), just how *does* a windows program present a menu > or choices before it has a user window open? Leave around a > gratuities window? The others here have answered the Mac side well, so all I could add here is another recommendation for VirtualBox. Microsoft explicitly allows you to run any licensed non-OEM version on VMs. (I wish Apple did this, and I understand why they don't, but it would be nice.) So with VirtualBox being free and open, and a Win license being under $100, you can have the benefits of a Windows box without ever leaving the OS you prefer. There are some advantages with running Windows on native iron, but with the quality of modern VMs those are few for application work like we do with LC. Spending time exploring each of our target OSes is critical for delivering designs that will meet our users' expectations. While it's true that all modern GUI OSes have far more in common than they have differences, those differences are worth knowing. Mac, Windows, and Linux each bring a different set of design goals to the table, and while each of us may prefer one or the other all them bring interesting and useful things to the table. As for the menubar, Mac is the only one of the three that allows apps to stay open with no visible windows. Even though it's something us long-time Mac folks are used to, when I train newcomers this is often a source of confusion; it's so easy to just click the Finder's desktop, and suddenly File->Open doesn't work the way it did just a moment ago in whatever app was open. With Windows and most Linux desktop environments, menus are present only when a window for that app is visible. Most of them display the menus at the top of the window, though recent versions of Ubuntu use a global menu bar like Mac (something I'd love to see supported in LiveCode). But even in Ubuntu, an app quits when its last window is closed. Even on Mac, the convention of allowing apps to remain running even with no windows present is not consistently followed. For example, most document-centric apps will remain open without any windows open, but many utilities, like System Settings, will quit when the window is closed, and even some non-utility apps like iTunes as well; QuickTime Player seems to decide for itself when it no longer needs to remain running, using some algo I haven't been able to discern. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Mar 2 11:46:51 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Mar 2015 08:46:51 -0800 Subject: Drawing a line in LC7 In-Reply-To: References: Message-ID: <54F493FB.5020807@fourthworld.com> Graham Samuel wrote: > On 2 Mar 2015, at 17:18, Richard Gaskin wrote: >> Graham Samuel wrote: >> > I hit this gotcha too a few months ago, as some ancient HyperCard >> > scripts were embedded in something I was adapting. >> >> On what objects did HyperCard apply points? > > You've confused me now... are you saying it wasn't HyperCard? The > objects were all polygons, representing various mathematical curves. > Didn't HyperCard allow vector-type polygons? If not, then it's a > mystery which I don't think I can really resolve. SuperCard perhaps? IIRC it was the only xTalk at the time (until Sybase Gain Momentum came out later for Unix, followed by MetaCard and others) that provided scriptable vector graphics. I believe all versions of HyperCard only natively supported bitmaps, and only two per card, one at the background level and one on the card. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Mon Mar 2 12:11:01 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 2 Mar 2015 17:11:01 +0000 Subject: Standalones requiring force-quit (and messages?) In-Reply-To: References: Message-ID: Only time I have to force quit is if I made a database call to a stale database connection, and that of course is my fault for not closing the connection when done with it. About the only way to find something like this is to have a logging system that records everything your application does, then look at the last thing it attempted to do. The problem will be in the thing you told it to do AFTER that, since that thing was what crashed the app. Bob S > On Feb 27, 2015, at 09:56 , Dr. Hawkins wrote: > > I've been force-quitting the IDE as my standard so long that I don't give > it any thought . . . the frequency with which it gets lost, beachballs, or > whatever is high enough that I usually don't even try a plain quit. > > Anyway, as I'm being advised that the standalones that people are testing > are needing force quits, I recalled that there seems to be something that > frequently stops the quit, even when the IDE is behaving. I also found > that at least sometimes, turning messages off allows the quit to happen > quickly. > > There isn't any code that should be intercepting the quit or shutdown > requests, but I'm wondering if the period handlers could be somehow > blocking this? e.g., ones like > > on doIt > doSomething > send "doIt" to me in 100 milliseconds > end doIt > > This means that there are always messages in the queue; is the engine > waiting for that to empty, or do i have something more awkward on my hands? > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Mar 2 12:15:55 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 2 Mar 2015 17:15:55 +0000 Subject: App on different systems In-Reply-To: <54F0E037.2080001@fourthworld.com> References: <54F0CE88.3010201@gmail.com> <54F0E037.2080001@fourthworld.com> Message-ID: <1AE8586C-267D-4D08-89F5-B31A70E4C8BA@iotecdigital.com> If memory serves, I attempted to use VirtualBox once but some software I was trying to run was incompatible. I couldn?t swear to it though. As much as I love Parallels, I am fairly certain it is causing my system to become woefully unresponsive if I leave it running, and restoring sessions only exacerbates the problems. I know it?s not memory as I have 8 gigs. I might look into this. Will it import Parallels Virtual Machines? Bob S > On Feb 27, 2015, at 13:23 , Richard Gaskin wrote: > > Richmond wrote: > > > I would recommend VirtualBox: > > https://www.virtualbox.org/wiki/Downloads > > +100 > > I used Parallels for many years and was happy with it, and for a long time Mark Wieder kept telling me that if I only took a moment to try VirtualBox I'd be even happier. > > Finally I got around to it, and felt dumb for all the time I'd lost putting it off. :) > > VirtualBox has all the features I needed in Parallels, but restored sessions MUCH faster. Extra bonus points that it's also free and open and runs on anything, so I can install it anywhere I need VMs easily. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jiml at netrin.com Mon Mar 2 12:22:59 2015 From: jiml at netrin.com (Jim Lambert) Date: Mon, 2 Mar 2015 09:22:59 -0800 Subject: ANN: Re-Collections iOS app now available In-Reply-To: References: Message-ID: Alan, Nice app. Congratulations! Jim Lambert From bobsneidar at iotecdigital.com Mon Mar 2 12:25:40 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 2 Mar 2015 17:25:40 +0000 Subject: DB connection times In-Reply-To: <54F34BEA.6060801@fourthworld.com> References: <54F34BEA.6060801@fourthworld.com> Message-ID: <95324A7F-C99B-474C-907B-FB508A696437@iotecdigital.com> To optimize connections and transfer of data, one of the things you can do is use VarChar() instead of TEXT whenever possible. A very knowledgable web designer explained to me that TEXT types pad the storage values to fill the defined storage size for that column, whereas VarChar only stores as much data as is in the column for that record. Another thing you can do is avoid querying for BLOB types until you actually need the data. Thirdly, I suspect as others have said, that using transactional querying, and combining all your SQL statements into one using the semi-colon delimiter is probably going to save some time overall. I have a habit of querying the entire record so that I do not have to refactor my code every time I add or remove a column in my tables. But I am willing to live with the performance hit, at least for now, and make sure I only query the data I happen to need at the moment. Bob S > On Mar 1, 2015, at 09:27 , Richard Gaskin wrote: > > Dr. Hawkins and others have noted that the time required for LC to connect to a database can be long enough to add up under load. > > To get a good feel for the implications of this, and to explore options for possibly mitigating it, it would be helpful if any of you happen to have measurements of that connection time. > > On the one hand, for LC to connect to a DB does require quite a few steps: your code is interpreted, passed from the engine to the external, the external reformats it into a form the DB will understand, then the DB works with it and sends back a value, which then is reformatted by the external and sent back to the engine, which then delivers it to your script. > > But on the other hand, each of those steps should be pretty small, and most of them are taking place in compiled object code. > > I may take the time in the future to set up some tests to measure connection times myself, but before I do it seems useful to see if any of you already have such measurements. > > If you do, I'd be very interested in hearing what sorts of times you find not only for connections, but queries as well. > > TIA - > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Mar 2 12:28:31 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Mar 2015 09:28:31 -0800 Subject: App on different systems In-Reply-To: <1AE8586C-267D-4D08-89F5-B31A70E4C8BA@iotecdigital.com> References: <1AE8586C-267D-4D08-89F5-B31A70E4C8BA@iotecdigital.com> Message-ID: <54F49DBF.20107@fourthworld.com> Bob Sneidar wrote: > If memory serves, I attempted to use VirtualBox once but some > software I was trying to run was incompatible. I couldn?t swear > to it though. As much as I love Parallels, I am fairly certain it > is causing my system to become woefully unresponsive if I leave > it running, and restoring sessions only exacerbates the problems. > I know it?s not memory as I have 8 gigs. I might look into this. > Will it import Parallels Virtual Machines? I don't know the answer to that, so the best I can offer on importing would be to check the docs or the forums for Virtual Box. But I do know that Virtual Box offers a wide range of virtual hardware settings to emulate a very wide range of hardware expectations. So if you still find the most recent version of Virtual Box doesn't run the software you need with its default settings, try adjusting them in the System pane and hopefully you'll have as much good fortune with it as I have. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pmbrig at gmail.com Mon Mar 2 13:36:50 2015 From: pmbrig at gmail.com (Peter Brigham) Date: Mon, 2 Mar 2015 13:36:50 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54F48C9C.5030606@fourthworld.com> References: <54F48960.1080102@gmail.com> <54F48C9C.5030606@fourthworld.com> Message-ID: What gets returned in get URL "/proc/acpi/battery/BAT1/state" on Unix? If you give me a sample to work with I will finish the handler and post it. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mon, Mar 2, 2015 at 11:15 AM, Richard Gaskin wrote: > Michael Doub wrote: > >> Looking around in /proc I found no acpi on the Pi. >> > > Thanks for checking, Michael. > > That would make sense, because AFAIK the Pi has no Advanced Configuration > and Power Interface in its chip set, and hence the absence of that key in > /proc would accurately reflect a non-discharging battery state (since there > ain't no battery at all). > > I'll explore further to see if I can find a definitive reference on that, > but so far it looks like we're on our way. > > For any Linux-using laptop owners here (that means you, Mark Wieder ): > do you find your charging status in: > > /proc/acpi/battery/BAT1/state > > ...or: > > /proc/acpi/battery/BAT0/state > > ? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Mon Mar 2 14:18:45 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Mar 2015 11:18:45 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: References: Message-ID: <54F4B795.3050703@fourthworld.com> Peter Brigham wrote: > What gets returned in > get URL "/proc/acpi/battery/BAT1/state" on Unix? > If you give me a sample to work with I will finish the handler and > post it. Further reading shows that path deprecated on many modern systems, suggesting the /sys path instead: /sys/class/power_supply/BAT0/ Of the elements found at that path "status" seems the most relevant, but at the moment I'm on a desktop workstation and my Linux laptop is at home so I can't check it right now. The key question for the moment is whether BAT0 or BAT1 is used by folks here. Oddly enough when I was using /proc I had no BAT0 but I did find the info in BAT1. Perhaps my Dell model thinks it can support multiple batteries (maybe counting the onboard clock battery? Seems unlikely). Once we discover the battery numbering scheme, parsing the byte stream at that location will be trivial. In fact, the articles I've found suggest that when that status element is present it contains just a single word, such as "charging" or "discharging", shown in the example here: I'll see if I can get some time to look into this further this evening. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Mon Mar 2 14:24:51 2015 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 02 Mar 2015 21:24:51 +0200 Subject: App on different systems In-Reply-To: <54F49DBF.20107@fourthworld.com> References: <1AE8586C-267D-4D08-89F5-B31A70E4C8BA@iotecdigital.com> <54F49DBF.20107@fourthworld.com> Message-ID: <54F4B903.1030405@gmail.com> On 02/03/15 19:28, Richard Gaskin wrote: > Bob Sneidar wrote: > > If memory serves, I attempted to use VirtualBox once but some > > software I was trying to run was incompatible. I couldn?t swear > > to it though. As much as I love Parallels, I am fairly certain it > > is causing my system to become woefully unresponsive if I leave > > it running, and restoring sessions only exacerbates the problems. > > I know it?s not memory as I have 8 gigs. I might look into this. > > Will it import Parallels Virtual Machines? > > I don't know the answer to that, so the best I can offer on importing > would be to check the docs or the forums for Virtual Box. > > But I do know that Virtual Box offers a wide range of virtual hardware > settings to emulate a very wide range of hardware expectations. So if > you still find the most recent version of Virtual Box doesn't run the > software you need with its default settings, try adjusting them in the > System pane and hopefully you'll have as much good fortune with it as > I have. > http://www.neilturner.me.uk/2008/11/19/how_to_migrate_a_parallel.html Richmond. From richmondmathewson at gmail.com Mon Mar 2 14:26:21 2015 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 02 Mar 2015 21:26:21 +0200 Subject: App on different systems In-Reply-To: <54F49DBF.20107@fourthworld.com> References: <1AE8586C-267D-4D08-89F5-B31A70E4C8BA@iotecdigital.com> <54F49DBF.20107@fourthworld.com> Message-ID: <54F4B95D.4000003@gmail.com> http://markcrosbie.com/2014/02/18/converting-a-parallels-desktop-image-to-run-on-virtualbox/ Richmond. From chipp at altuit.com Mon Mar 2 14:55:04 2015 From: chipp at altuit.com (Chipp Walters) Date: Mon, 2 Mar 2015 13:55:04 -0600 Subject: iOS8 Encrpytion working? Message-ID: I keep getting this error when I BUILD for iOS on 7.0.3 Any idea why? Runs fine in simulator. Encryption is checked but it's acting like it's not checked. From stgoldberg at aol.com Mon Mar 2 16:07:12 2015 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Mon, 2 Mar 2015 16:07:12 -0500 Subject: Quantum tunneling in LiveCode Message-ID: <14bdc5069b8-703f-152fe@webprd-a55.mail.aol.com> In quantum mechanics something can be in more than one place at once. A paradox of sorts seems to occur in the message chain with groups in LiveCode. Try this: 1. Place a button on a card. 2. Make the button a group. Set the group's backgroundBehavior to true. 3. Place the following script in the button: on mouseUp answer "I am a button" pass mouseUp end mouseUp 4. Place the following script in the group: on mouseUp answer "I am a strange group" pass mouseUp end mouseUp 5. On the card script write: on mouseUp answer "I am a card" pass mouseUp end mouseUp 6. In the stack script write: on mouseUp answer "I am a stack" end mouseUp 7. Now click on the button. You get the sequence: I am a button --> I am a strange group --> I am a card --> I am a stack 8. Now click on the card. You get: I am a card --> I am a strange group Where is the strange group, before or after the card? Stephen Goldberg www.medmaster.net From paul at livecode.org Mon Mar 2 16:33:08 2015 From: paul at livecode.org (Paul Hibbert) Date: Mon, 2 Mar 2015 13:33:08 -0800 Subject: Quantum tunneling in LiveCode In-Reply-To: <14bdc5069b8-703f-152fe@webprd-a55.mail.aol.com> References: <14bdc5069b8-703f-152fe@webprd-a55.mail.aol.com> Message-ID: <71C61B05-53E3-430F-8E65-817FB24F2DAD@livecode.org> Because you set the backgroundBehavior of the "strange group" to true, it's effectively after the card in the message path. There's a good explanation and diagram in chapter 5.2.3 (p.127-9) of the user guide. HTH Paul > On Mar 2, 2015, at 1:07 PM, stgoldberg at aol.com wrote: > > In quantum mechanics something can be in more than one place at once. A paradox of sorts seems to occur in the message chain with groups in LiveCode. Try this: > > > 1. Place a button on a card. > 2. Make the button a group. Set the group's backgroundBehavior to true. > 3. Place the following script in the button: > > > on mouseUp > answer "I am a button" > pass mouseUp > end mouseUp > > > 4. Place the following script in the group: > > > on mouseUp > answer "I am a strange group" > pass mouseUp > end mouseUp > > > 5. On the card script write: > > > on mouseUp > answer "I am a card" > pass mouseUp > end mouseUp > > > 6. In the stack script write: > > > on mouseUp > answer "I am a stack" > end mouseUp > > > > > 7. Now click on the button. You get the sequence: > I am a button --> I am a strange group --> I am a card --> I am a stack > > > 8. Now click on the card. You get: > I am a card --> I am a strange group > > > Where is the strange group, before or after the card? > > > Stephen Goldberg > www.medmaster.net > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Mon Mar 2 16:38:17 2015 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 2 Mar 2015 16:38:17 -0500 Subject: Quantum tunneling in LiveCode In-Reply-To: <71C61B05-53E3-430F-8E65-817FB24F2DAD@livecode.org> References: <14bdc5069b8-703f-152fe@webprd-a55.mail.aol.com> <71C61B05-53E3-430F-8E65-817FB24F2DAD@livecode.org> Message-ID: <8D223485454C8E4-13DC-D547C@webmail-va003.sysops.aol.com> Hi. What Paul said. This would be easy for old HC people, since the background group is like a HC backGround, and is higher in the hierarchy (sorry, Jacque) than a card. Craig -----Original Message----- From: Paul Hibbert To: How to use LiveCode Sent: Mon, Mar 2, 2015 4:34 pm Subject: Re: Quantum tunneling in LiveCode Because you set the backgroundBehavior of the "strange group" to true, it's effectively after the card in the message path. There's a good explanation and diagram in chapter 5.2.3 (p.127-9) of the user guide. HTH Paul > On Mar 2, 2015, at 1:07 PM, stgoldberg at aol.com wrote: > > In quantum mechanics something can be in more than one place at once. A paradox of sorts seems to occur in the message chain with groups in LiveCode. Try this: > > > 1. Place a button on a card. > 2. Make the button a group. Set the group's backgroundBehavior to true. > 3. Place the following script in the button: > > > on mouseUp > answer "I am a button" > pass mouseUp > end mouseUp > > > 4. Place the following script in the group: > > > on mouseUp > answer "I am a strange group" > pass mouseUp > end mouseUp > > > 5. On the card script write: > > > on mouseUp > answer "I am a card" > pass mouseUp > end mouseUp > > > 6. In the stack script write: > > > on mouseUp > answer "I am a stack" > end mouseUp > > > > > 7. Now click on the button. You get the sequence: > I am a button --> I am a strange group --> I am a card --> I am a stack > > > 8. Now click on the card. You get: > I am a card --> I am a strange group > > > Where is the strange group, before or after the card? > > > Stephen Goldberg > www.medmaster.net > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Mon Mar 2 17:18:39 2015 From: pete at lcsql.com (Peter Haworth) Date: Mon, 02 Mar 2015 22:18:39 +0000 Subject: Quantum tunneling in LiveCode References: <14bdc5069b8-703f-152fe@webprd-a55.mail.aol.com> <71C61B05-53E3-430F-8E65-817FB24F2DAD@livecode.org> <8D223485454C8E4-13DC-D547C@webmail-va003.sysops.aol.com> Message-ID: Right, but if you click the button, the group comes before the card not after the card, I think that's the point of interest. On Mon, Mar 2, 2015 at 1:38 PM wrote: > Hi. > > > What Paul said. > > > This would be easy for old HC people, since the background group is like a > HC backGround, and is higher in the hierarchy (sorry, Jacque) than a card. > > > Craig > > > > -----Original Message----- > From: Paul Hibbert > To: How to use LiveCode > Sent: Mon, Mar 2, 2015 4:34 pm > Subject: Re: Quantum tunneling in LiveCode > > > Because you set the backgroundBehavior of the "strange group" to true, it's > effectively after the card in the message path. There's a good explanation > and > diagram in chapter 5.2.3 (p.127-9) of the user guide. > > HTH > > Paul > > > > On Mar 2, 2015, at 1:07 PM, stgoldberg at aol.com wrote: > > > > In quantum mechanics something can be in more than one place at once. A > paradox of sorts seems to occur in the message chain with groups in > LiveCode. > Try this: > > > > > > 1. Place a button on a card. > > 2. Make the button a group. Set the group's backgroundBehavior to true. > > 3. Place the following script in the button: > > > > > > on mouseUp > > answer "I am a button" > > pass mouseUp > > end mouseUp > > > > > > 4. Place the following script in the group: > > > > > > on mouseUp > > answer "I am a strange group" > > pass mouseUp > > end mouseUp > > > > > > 5. On the card script write: > > > > > > on mouseUp > > answer "I am a card" > > pass mouseUp > > end mouseUp > > > > > > 6. In the stack script write: > > > > > > on mouseUp > > answer "I am a stack" > > end mouseUp > > > > > > > > > > 7. Now click on the button. You get the sequence: > > I am a button --> I am a strange group --> I am a card --> I am a stack > > > > > > 8. Now click on the card. You get: > > I am a card --> I am a strange group > > > > > > Where is the strange group, before or after the card? > > > > > > Stephen Goldberg > > www.medmaster.net > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at livecode.org Mon Mar 2 17:50:03 2015 From: paul at livecode.org (Paul Hibbert) Date: Mon, 2 Mar 2015 14:50:03 -0800 Subject: Quantum tunneling in LiveCode In-Reply-To: References: <14bdc5069b8-703f-152fe@webprd-a55.mail.aol.com> <71C61B05-53E3-430F-8E65-817FB24F2DAD@livecode.org> <8D223485454C8E4-13DC-D547C@webmail-va003.sysops.aol.com> Message-ID: <517EE5B9-B67C-4993-85C9-B9A7DDDB1F8C@livecode.org> That still makes sense to me, because the group is placed on this card and the button belongs to the group, so I would expect the message path to take the normal route, i.e. Button, Group, Card, Stack, why would it not? But when clicking on the card, the background is picking up the stray mouseUp message passed on from the card before it reaches the stack. Maybe my logic is questionable, but the User Guide seems to agree? P.131 - 5.3.9 Groups, Backgrounds & The Message Path Paul > On Mar 2, 2015, at 2:18 PM, Peter Haworth wrote: > > Right, but if you click the button, the group comes before the card not > after the card, I think that's the point of interest. > > On Mon, Mar 2, 2015 at 1:38 PM wrote: > >> Hi. >> >> >> What Paul said. >> >> >> This would be easy for old HC people, since the background group is like a >> HC backGround, and is higher in the hierarchy (sorry, Jacque) than a card. >> >> >> Craig >> >> >> >> -----Original Message----- >> From: Paul Hibbert >> To: How to use LiveCode >> Sent: Mon, Mar 2, 2015 4:34 pm >> Subject: Re: Quantum tunneling in LiveCode >> >> >> Because you set the backgroundBehavior of the "strange group" to true, it's >> effectively after the card in the message path. There's a good explanation >> and >> diagram in chapter 5.2.3 (p.127-9) of the user guide. >> >> HTH >> >> Paul >> >> >>> On Mar 2, 2015, at 1:07 PM, stgoldberg at aol.com wrote: >>> >>> In quantum mechanics something can be in more than one place at once. A >> paradox of sorts seems to occur in the message chain with groups in >> LiveCode. >> Try this: >>> >>> >>> 1. Place a button on a card. >>> 2. Make the button a group. Set the group's backgroundBehavior to true. >>> 3. Place the following script in the button: >>> >>> >>> on mouseUp >>> answer "I am a button" >>> pass mouseUp >>> end mouseUp >>> >>> >>> 4. Place the following script in the group: >>> >>> >>> on mouseUp >>> answer "I am a strange group" >>> pass mouseUp >>> end mouseUp >>> >>> >>> 5. On the card script write: >>> >>> >>> on mouseUp >>> answer "I am a card" >>> pass mouseUp >>> end mouseUp >>> >>> >>> 6. In the stack script write: >>> >>> >>> on mouseUp >>> answer "I am a stack" >>> end mouseUp >>> >>> >>> >>> >>> 7. Now click on the button. You get the sequence: >>> I am a button --> I am a strange group --> I am a card --> I am a stack >>> >>> >>> 8. Now click on the card. You get: >>> I am a card --> I am a strange group >>> >>> >>> Where is the strange group, before or after the card? >>> >>> >>> Stephen Goldberg >>> www.medmaster.net >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gerry.orkin at gmail.com Mon Mar 2 18:53:32 2015 From: gerry.orkin at gmail.com (Gerry) Date: Tue, 3 Mar 2015 10:53:32 +1100 Subject: Stream Video in LC Player In-Reply-To: <54DD76AB.5040403@hindu.org> References: <54DD76AB.5040403@hindu.org> Message-ID: > Any clues on improving performance? I'm looking to use this on Mobile, if possible Mobile on cellular data, or wifi? I faced the same problem and ended up with 2 versions of the movies, one higher quality for devices connecting on wifi and one at lower quality for those on cellular connections. I found no other way to improve the streaming of video in a mobile player object on iOS. Gerry From bobsneidar at iotecdigital.com Mon Mar 2 19:09:40 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 3 Mar 2015 00:09:40 +0000 Subject: Call for testers: v7 migration tool In-Reply-To: <54F10B18.9010404@fourthworld.com> References: <54F10B18.9010404@fourthworld.com> Message-ID: <14D1CA5C-6FF6-41D3-AEDF-E17587545F43@iotecdigital.com> I?ll give it a go. Bob S > On Feb 27, 2015, at 16:26 , Richard Gaskin wrote: > > One of the things that had held me back from spending more time with v7 was the need to manually choose File-Save As to save a stack in older formats. I often need this for tools and other files I use across multiple versions. > > I recently discovered that the LiveCode IDE uses a custom property named cREVGeneral["stackFileFormat"] to change the stackFileFormat when saving using its File-Save. > > Oh so convenient. > > So to make it even more convenient I took a moment to make a tool that lets me set that property easily for any mainstack I have open: > > > Download, unzip, and put in your Plugins folder. > > Let me know if you find any issues with it. > > -- > Richard Gaskin > LiveCode Community Manager > richard at livecode.org > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Mar 2 19:11:39 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 2 Mar 2015 19:11:39 -0500 Subject: Quantum tunneling in LiveCode In-Reply-To: <14bdc5069b8-703f-152fe@webprd-a55.mail.aol.com> References: <14bdc5069b8-703f-152fe@webprd-a55.mail.aol.com> Message-ID: <002e01d05546$9f8bdf00$dea39d00$@net> Stephen, In #8 below does the message make it to the stack? Did you just leave the stack out for clarity in your example? Like... I am a card --> I am a strange group --> I am a stack Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of stgoldberg at aol.com Sent: Monday, March 02, 2015 4:07 PM To: use-livecode at lists.runrev.com Subject: Quantum tunneling in LiveCode In quantum mechanics something can be in more than one place at once. A paradox of sorts seems to occur in the message chain with groups in LiveCode. Try this: 1. Place a button on a card. 2. Make the button a group. Set the group's backgroundBehavior to true. 3. Place the following script in the button: on mouseUp answer "I am a button" pass mouseUp end mouseUp 4. Place the following script in the group: on mouseUp answer "I am a strange group" pass mouseUp end mouseUp 5. On the card script write: on mouseUp answer "I am a card" pass mouseUp end mouseUp 6. In the stack script write: on mouseUp answer "I am a stack" end mouseUp 7. Now click on the button. You get the sequence: I am a button --> I am a strange group --> I am a card --> I am a stack 8. Now click on the card. You get: I am a card --> I am a strange group Where is the strange group, before or after the card? Stephen Goldberg www.medmaster.net _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From peterwawood at gmail.com Mon Mar 2 19:16:12 2015 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 3 Mar 2015 08:16:12 +0800 Subject: [Almost OT] Interfacing with GNUCash In-Reply-To: <54F48EA3.1010008@fourthworld.com> References: <54F48EA3.1010008@fourthworld.com> Message-ID: > On 3 Mar 2015, at 00:24, Richard Gaskin wrote: > > I haven't, but I'm curious: why GNUCash? It is more than sufficient for me to keep my company accounts, it works well on Mac and the price can?t be beaten. I haven?t encountered any problems with it but my use of it is very basic. Regards Peter From bonnmike at gmail.com Mon Mar 2 19:19:31 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 2 Mar 2015 17:19:31 -0700 Subject: [Almost OT] Interfacing with GNUCash In-Reply-To: References: <54F48EA3.1010008@fourthworld.com> Message-ID: I went looking for the API, and most of the pertinent sections are non-links, in a list of links. There IS some info on interfacing python, and c also. For now, unless you want to build an external, python is probably the way to go, using shell calls from lc. Google gnucash api and see if theres enough info there to get you started. On Mon, Mar 2, 2015 at 5:16 PM, Peter W A Wood wrote: > > > On 3 Mar 2015, at 00:24, Richard Gaskin > wrote: > > > > I haven't, but I'm curious: why GNUCash? > > It is more than sufficient for me to keep my company accounts, it works > well on Mac and the price can?t be beaten. I haven?t encountered any > problems with it but my use of it is very basic. > > Regards > > Peter > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Mon Mar 2 19:20:47 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 2 Mar 2015 17:20:47 -0700 Subject: [Almost OT] Interfacing with GNUCash In-Reply-To: References: <54F48EA3.1010008@fourthworld.com> Message-ID: Hmm, just read something that seems to indicate gnucash has a rest api. If I can find a useful link I'll pop it in here. On Mon, Mar 2, 2015 at 5:19 PM, Mike Bonner wrote: > I went looking for the API, and most of the pertinent sections are > non-links, in a list of links. There IS some info on interfacing python, > and c also. For now, unless you want to build an external, python is > probably the way to go, using shell calls from lc. > > Google gnucash api and see if theres enough info there to get you started. > > > On Mon, Mar 2, 2015 at 5:16 PM, Peter W A Wood > wrote: > >> >> > On 3 Mar 2015, at 00:24, Richard Gaskin >> wrote: >> > >> > I haven't, but I'm curious: why GNUCash? >> >> It is more than sufficient for me to keep my company accounts, it works >> well on Mac and the price can?t be beaten. I haven?t encountered any >> problems with it but my use of it is very basic. >> >> Regards >> >> Peter >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > From jacque at hyperactivesw.com Mon Mar 2 20:53:35 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Mar 2015 19:53:35 -0600 Subject: [OT] Invalid host address Message-ID: <5C0F3777-CFF6-43C4-B8E7-93EDC25189E1@hyperactivesw.com> Out of thousands of users, occasionally one can't connect and repeatedly gets an invalid host address error. What causes those? All users are sending to the same server at the same domain. Naturally they all say it's only our app and never happens in a browser. Everything I've found about it is mostly gibberish to me. Is this something to do with the hosts file on the computer? The latest report says it happens on different networks (home and school) so I assume it's specific to his machine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Mon Mar 2 20:58:37 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 2 Mar 2015 18:58:37 -0700 Subject: [OT] Invalid host address In-Reply-To: <5C0F3777-CFF6-43C4-B8E7-93EDC25189E1@hyperactivesw.com> References: <5C0F3777-CFF6-43C4-B8E7-93EDC25189E1@hyperactivesw.com> Message-ID: The hosts file can be set up to provide specific name to ip address mappings. 99.9% of the time its not used, and if it is, its often a hijack. Along with the hijack thing, its also possible that a proxy has been set up unbeknownst to the user, and its munging something as it decides where they want to direct the user, rather than where the user actually wants to go. Can you post some of the gibberish? On Mon, Mar 2, 2015 at 6:53 PM, J. Landman Gay wrote: > Out of thousands of users, occasionally one can't connect and repeatedly > gets an invalid host address error. What causes those? All users are > sending to the same server at the same domain. Naturally they all say it's > only our app and never happens in a browser. > > Everything I've found about it is mostly gibberish to me. Is this > something to do with the hosts file on the computer? The latest report says > it happens on different networks (home and school) so I assume it's > specific to his machine. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Mon Mar 2 21:04:32 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 2 Mar 2015 19:04:32 -0700 Subject: [OT] Invalid host address In-Reply-To: References: <5C0F3777-CFF6-43C4-B8E7-93EDC25189E1@hyperactivesw.com> Message-ID: OH, thought just occurred to me, based on something that happened in another thread. If they're on windows, and had a proxy set up at some point, then the proxy was disabled.. The information about the proxy still shows up greyed in the settings. And it seems that LC decides the proxy is still active even though it isn't. The browser would work, because it knows the proxy has been disabled. The solution, is to clear the proxy information from the settings, even though the proxy settings are technically already disabled. On Mon, Mar 2, 2015 at 6:58 PM, Mike Bonner wrote: > The hosts file can be set up to provide specific name to ip address > mappings. 99.9% of the time its not used, and if it is, its often a > hijack. Along with the hijack thing, its also possible that a proxy has > been set up unbeknownst to the user, and its munging something as it > decides where they want to direct the user, rather than where the user > actually wants to go. > > Can you post some of the gibberish? > > On Mon, Mar 2, 2015 at 6:53 PM, J. Landman Gay > wrote: > >> Out of thousands of users, occasionally one can't connect and repeatedly >> gets an invalid host address error. What causes those? All users are >> sending to the same server at the same domain. Naturally they all say it's >> only our app and never happens in a browser. >> >> Everything I've found about it is mostly gibberish to me. Is this >> something to do with the hosts file on the computer? The latest report says >> it happens on different networks (home and school) so I assume it's >> specific to his machine. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From jacque at hyperactivesw.com Mon Mar 2 21:13:07 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Mar 2015 20:13:07 -0600 Subject: [OT] Invalid host address In-Reply-To: References: <5C0F3777-CFF6-43C4-B8E7-93EDC25189E1@hyperactivesw.com> Message-ID: <54F518B3.2020700@hyperactivesw.com> This kind of gibberish: I do understand in general what it's talking about, and I know about the computer hosts file and how it can be hijacked, but what I really need is a recipe to send to an unsophisticated user who needs to fix the problem. We suggested malware to him but he says the problem is only our app. He says he looked at some console logs (OS X) and it showed a timeout, though the return error my app displays is "invalid host address". Thanks for any info anyone has. On 3/2/2015 7:58 PM, Mike Bonner wrote: > The hosts file can be set up to provide specific name to ip address > mappings. 99.9% of the time its not used, and if it is, its often a > hijack. Along with the hijack thing, its also possible that a proxy has > been set up unbeknownst to the user, and its munging something as it > decides where they want to direct the user, rather than where the user > actually wants to go. > > Can you post some of the gibberish? > > On Mon, Mar 2, 2015 at 6:53 PM, J. Landman Gay > wrote: > >> Out of thousands of users, occasionally one can't connect and repeatedly >> gets an invalid host address error. What causes those? All users are >> sending to the same server at the same domain. Naturally they all say it's >> only our app and never happens in a browser. >> >> Everything I've found about it is mostly gibberish to me. Is this >> something to do with the hosts file on the computer? The latest report says >> it happens on different networks (home and school) so I assume it's >> specific to his machine. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 2 21:21:02 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Mar 2015 20:21:02 -0600 Subject: [OT] Invalid host address In-Reply-To: References: <5C0F3777-CFF6-43C4-B8E7-93EDC25189E1@hyperactivesw.com> Message-ID: <54F51A8E.5040603@hyperactivesw.com> I'm not sure about the other users but the latest one is on OS X. Could this affect Macs too? On 3/2/2015 8:04 PM, Mike Bonner wrote: > OH, thought just occurred to me, based on something that happened in > another thread. If they're on windows, and had a proxy set up at some > point, then the proxy was disabled.. The information about the proxy still > shows up greyed in the settings. And it seems that LC decides the proxy is > still active even though it isn't. The browser would work, because it > knows the proxy has been disabled. The solution, is to clear the proxy > information from the settings, even though the proxy settings are > technically already disabled. > > On Mon, Mar 2, 2015 at 6:58 PM, Mike Bonner wrote: > >> The hosts file can be set up to provide specific name to ip address >> mappings. 99.9% of the time its not used, and if it is, its often a >> hijack. Along with the hijack thing, its also possible that a proxy has >> been set up unbeknownst to the user, and its munging something as it >> decides where they want to direct the user, rather than where the user >> actually wants to go. >> >> Can you post some of the gibberish? >> >> On Mon, Mar 2, 2015 at 6:53 PM, J. Landman Gay >> wrote: >> >>> Out of thousands of users, occasionally one can't connect and repeatedly >>> gets an invalid host address error. What causes those? All users are >>> sending to the same server at the same domain. Naturally they all say it's >>> only our app and never happens in a browser. >>> >>> Everything I've found about it is mostly gibberish to me. Is this >>> something to do with the hosts file on the computer? The latest report says >>> it happens on different networks (home and school) so I assume it's >>> specific to his machine. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Mon Mar 2 21:29:03 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 2 Mar 2015 19:29:03 -0700 Subject: [OT] Invalid host address In-Reply-To: <54F51A8E.5040603@hyperactivesw.com> References: <5C0F3777-CFF6-43C4-B8E7-93EDC25189E1@hyperactivesw.com> <54F51A8E.5040603@hyperactivesw.com> Message-ID: Seriously doubt it would apply to macs. The note in the dictionary says that on windows machines, if a proxy is set it will use it automatically, no such note on a mac. Though I guess its possible, depending on the way LC determines if a proxy has been set. Too bad, it fit SO well for windows machines. Maybe something will pop into my head. (though, I guess it wouldn't hurt to see if stale proxy settings on a mac will do the same thing) On Mon, Mar 2, 2015 at 7:21 PM, J. Landman Gay wrote: > I'm not sure about the other users but the latest one is on OS X. Could > this affect Macs too? > > > On 3/2/2015 8:04 PM, Mike Bonner wrote: > >> OH, thought just occurred to me, based on something that happened in >> another thread. If they're on windows, and had a proxy set up at some >> point, then the proxy was disabled.. The information about the proxy still >> shows up greyed in the settings. And it seems that LC decides the proxy >> is >> still active even though it isn't. The browser would work, because it >> knows the proxy has been disabled. The solution, is to clear the proxy >> information from the settings, even though the proxy settings are >> technically already disabled. >> >> On Mon, Mar 2, 2015 at 6:58 PM, Mike Bonner wrote: >> >> The hosts file can be set up to provide specific name to ip address >>> mappings. 99.9% of the time its not used, and if it is, its often a >>> hijack. Along with the hijack thing, its also possible that a proxy has >>> been set up unbeknownst to the user, and its munging something as it >>> decides where they want to direct the user, rather than where the user >>> actually wants to go. >>> >>> Can you post some of the gibberish? >>> >>> On Mon, Mar 2, 2015 at 6:53 PM, J. Landman Gay >> > >>> wrote: >>> >>> Out of thousands of users, occasionally one can't connect and repeatedly >>>> gets an invalid host address error. What causes those? All users are >>>> sending to the same server at the same domain. Naturally they all say >>>> it's >>>> only our app and never happens in a browser. >>>> >>>> Everything I've found about it is mostly gibberish to me. Is this >>>> something to do with the hosts file on the computer? The latest report >>>> says >>>> it happens on different networks (home and school) so I assume it's >>>> specific to his machine. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From peterwawood at gmail.com Mon Mar 2 21:33:15 2015 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 3 Mar 2015 10:33:15 +0800 Subject: [Almost OT] Interfacing with GNUCash In-Reply-To: References: <54F48EA3.1010008@fourthworld.com> Message-ID: Many thanks Mike. You did better than I via Google. I found some reference to the C API but it seemed very vague. If it is a case of using the C API, I hope that we?ll be able to access it directly from LC 8 or 9. Best regards Peter > On 3 Mar 2015, at 08:20, Mike Bonner wrote: > > Hmm, just read something that seems to indicate gnucash has a rest api. If > I can find a useful link I'll pop it in here. > > On Mon, Mar 2, 2015 at 5:19 PM, Mike Bonner wrote: > >> I went looking for the API, and most of the pertinent sections are >> non-links, in a list of links. There IS some info on interfacing python, >> and c also. For now, unless you want to build an external, python is >> probably the way to go, using shell calls from lc. >> >> Google gnucash api and see if theres enough info there to get you started. >> >> >> On Mon, Mar 2, 2015 at 5:16 PM, Peter W A Wood >> wrote: >> >>> >>>> On 3 Mar 2015, at 00:24, Richard Gaskin >>> wrote: >>>> >>>> I haven't, but I'm curious: why GNUCash? >>> >>> It is more than sufficient for me to keep my company accounts, it works >>> well on Mac and the price can?t be beaten. I haven?t encountered any >>> problems with it but my use of it is very basic. >>> >>> Regards >>> >>> Peter >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From peterwawood at gmail.com Mon Mar 2 21:36:17 2015 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 3 Mar 2015 10:36:17 +0800 Subject: [Almost OT] Interfacing with GNUCash In-Reply-To: References: <54F48EA3.1010008@fourthworld.com> Message-ID: <5390497C-46FA-4F1E-9950-D792EE0E214F@gmail.com> Hi again Mike. I found this - https://github.com/loftx/gnucash-rest/blob/master/gnucash_core_c.py - but it appears to have been abandoned. However, it might come in handy with working out how to use the C API> Best regards Peter > On 3 Mar 2015, at 08:20, Mike Bonner wrote: > > Hmm, just read something that seems to indicate gnucash has a rest api. If > I can find a useful link I'll pop it in here. > > On Mon, Mar 2, 2015 at 5:19 PM, Mike Bonner wrote: > >> I went looking for the API, and most of the pertinent sections are >> non-links, in a list of links. There IS some info on interfacing python, >> and c also. For now, unless you want to build an external, python is >> probably the way to go, using shell calls from lc. >> >> Google gnucash api and see if theres enough info there to get you started. >> >> >> On Mon, Mar 2, 2015 at 5:16 PM, Peter W A Wood >> wrote: >> >>> >>>> On 3 Mar 2015, at 00:24, Richard Gaskin >>> wrote: >>>> >>>> I haven't, but I'm curious: why GNUCash? >>> >>> It is more than sufficient for me to keep my company accounts, it works >>> well on Mac and the price can?t be beaten. I haven?t encountered any >>> problems with it but my use of it is very basic. >>> >>> Regards >>> >>> Peter >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Mon Mar 2 21:41:34 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 2 Mar 2015 19:41:34 -0700 Subject: [Almost OT] Interfacing with GNUCash In-Reply-To: <5390497C-46FA-4F1E-9950-D792EE0E214F@gmail.com> References: <54F48EA3.1010008@fourthworld.com> <5390497C-46FA-4F1E-9950-D792EE0E214F@gmail.com> Message-ID: Ah, didn't know it was abandonware, Sounds like waiting till you can use the c api is probably the best way, unless you know enough c (I don't) to write an intermediate executable that you can shell to. I did see some php stuff too, but suspect it never got off the ground. On Mon, Mar 2, 2015 at 7:36 PM, Peter W A Wood wrote: > Hi again Mike. > > I found this - > https://github.com/loftx/gnucash-rest/blob/master/gnucash_core_c.py < > https://github.com/loftx/gnucash-rest/blob/master/gnucash_core_c.py> - > but it appears to have been abandoned. However, it might come in handy with > working out how to use the C API> > > Best regards > > Peter > > > On 3 Mar 2015, at 08:20, Mike Bonner wrote: > > > > Hmm, just read something that seems to indicate gnucash has a rest api. > If > > I can find a useful link I'll pop it in here. > > > > On Mon, Mar 2, 2015 at 5:19 PM, Mike Bonner wrote: > > > >> I went looking for the API, and most of the pertinent sections are > >> non-links, in a list of links. There IS some info on interfacing > python, > >> and c also. For now, unless you want to build an external, python is > >> probably the way to go, using shell calls from lc. > >> > >> Google gnucash api and see if theres enough info there to get you > started. > >> > >> > >> On Mon, Mar 2, 2015 at 5:16 PM, Peter W A Wood > >> wrote: > >> > >>> > >>>> On 3 Mar 2015, at 00:24, Richard Gaskin > >>> wrote: > >>>> > >>>> I haven't, but I'm curious: why GNUCash? > >>> > >>> It is more than sufficient for me to keep my company accounts, it works > >>> well on Mac and the price can?t be beaten. I haven?t encountered any > >>> problems with it but my use of it is very basic. > >>> > >>> Regards > >>> > >>> Peter > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From peterwawood at gmail.com Mon Mar 2 21:42:07 2015 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 3 Mar 2015 10:42:07 +0800 Subject: [OT] Invalid host address In-Reply-To: <54F51A8E.5040603@hyperactivesw.com> References: <5C0F3777-CFF6-43C4-B8E7-93EDC25189E1@hyperactivesw.com> <54F51A8E.5040603@hyperactivesw.com> Message-ID: <93F6E4EB-0157-4EF3-A496-60145A225462@gmail.com> Jacque I don?t know if this will help but I believe host can get converted to ::1 under ipv6. I know that I used to have an issue on my OS X a few versions ago and had to use 127.0.0.1 instead of localhost in URLs. Regards Peter > On 3 Mar 2015, at 10:21, J. Landman Gay wrote: > > I'm not sure about the other users but the latest one is on OS X. Could this affect Macs too? > > On 3/2/2015 8:04 PM, Mike Bonner wrote: >> OH, thought just occurred to me, based on something that happened in >> another thread. If they're on windows, and had a proxy set up at some >> point, then the proxy was disabled.. The information about the proxy still >> shows up greyed in the settings. And it seems that LC decides the proxy is >> still active even though it isn't. The browser would work, because it >> knows the proxy has been disabled. The solution, is to clear the proxy >> information from the settings, even though the proxy settings are >> technically already disabled. >> >> On Mon, Mar 2, 2015 at 6:58 PM, Mike Bonner wrote: >> >>> The hosts file can be set up to provide specific name to ip address >>> mappings. 99.9% of the time its not used, and if it is, its often a >>> hijack. Along with the hijack thing, its also possible that a proxy has >>> been set up unbeknownst to the user, and its munging something as it >>> decides where they want to direct the user, rather than where the user >>> actually wants to go. >>> >>> Can you post some of the gibberish? >>> >>> On Mon, Mar 2, 2015 at 6:53 PM, J. Landman Gay >>> wrote: >>> >>>> Out of thousands of users, occasionally one can't connect and repeatedly >>>> gets an invalid host address error. What causes those? All users are >>>> sending to the same server at the same domain. Naturally they all say it's >>>> only our app and never happens in a browser. >>>> >>>> Everything I've found about it is mostly gibberish to me. Is this >>>> something to do with the hosts file on the computer? The latest report says >>>> it happens on different networks (home and school) so I assume it's >>>> specific to his machine. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Mar 2 21:56:00 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Mar 2015 20:56:00 -0600 Subject: [OT] Invalid host address In-Reply-To: <93F6E4EB-0157-4EF3-A496-60145A225462@gmail.com> References: <5C0F3777-CFF6-43C4-B8E7-93EDC25189E1@hyperactivesw.com> <54F51A8E.5040603@hyperactivesw.com> <93F6E4EB-0157-4EF3-A496-60145A225462@gmail.com> Message-ID: <54F522C0.2080708@hyperactivesw.com> Thanks Peter, but I'm afraid you're speaking Greek to me. Would localhost matter if the app is trying to connect to a remote server? Does LC need to know about ipv6 or is that handled at the OS level? Sorry to be so uninformed, I'm out of my depth here. On 3/2/2015 8:42 PM, Peter W A Wood wrote: > Jacque > > I don?t know if this will help but I believe host can get converted to ::1 under ipv6. I know that I used to have an issue on my OS X a few versions ago and had to use 127.0.0.1 instead of localhost in URLs. > > Regards > > Peter > >> On 3 Mar 2015, at 10:21, J. Landman Gay wrote: >> >> I'm not sure about the other users but the latest one is on OS X. Could this affect Macs too? >> >> On 3/2/2015 8:04 PM, Mike Bonner wrote: >>> OH, thought just occurred to me, based on something that happened in >>> another thread. If they're on windows, and had a proxy set up at some >>> point, then the proxy was disabled.. The information about the proxy still >>> shows up greyed in the settings. And it seems that LC decides the proxy is >>> still active even though it isn't. The browser would work, because it >>> knows the proxy has been disabled. The solution, is to clear the proxy >>> information from the settings, even though the proxy settings are >>> technically already disabled. >>> >>> On Mon, Mar 2, 2015 at 6:58 PM, Mike Bonner wrote: >>> >>>> The hosts file can be set up to provide specific name to ip address >>>> mappings. 99.9% of the time its not used, and if it is, its often a >>>> hijack. Along with the hijack thing, its also possible that a proxy has >>>> been set up unbeknownst to the user, and its munging something as it >>>> decides where they want to direct the user, rather than where the user >>>> actually wants to go. >>>> >>>> Can you post some of the gibberish? >>>> >>>> On Mon, Mar 2, 2015 at 6:53 PM, J. Landman Gay >>>> wrote: >>>> >>>>> Out of thousands of users, occasionally one can't connect and repeatedly >>>>> gets an invalid host address error. What causes those? All users are >>>>> sending to the same server at the same domain. Naturally they all say it's >>>>> only our app and never happens in a browser. >>>>> >>>>> Everything I've found about it is mostly gibberish to me. Is this >>>>> something to do with the hosts file on the computer? The latest report says >>>>> it happens on different networks (home and school) so I assume it's >>>>> specific to his machine. >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peterwawood at gmail.com Mon Mar 2 22:15:22 2015 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 3 Mar 2015 11:15:22 +0800 Subject: [OT] Invalid host address In-Reply-To: <54F522C0.2080708@hyperactivesw.com> References: <5C0F3777-CFF6-43C4-B8E7-93EDC25189E1@hyperactivesw.com> <54F51A8E.5040603@hyperactivesw.com> <93F6E4EB-0157-4EF3-A496-60145A225462@gmail.com> <54F522C0.2080708@hyperactivesw.com> Message-ID: <34ADDEAC-8473-4131-98E4-F627D4E7DD90@gmail.com> Jacque Unfortunately, I?m probably almost as much out of my depth as you :-( No, localhost shouldn?t matter if the app is trying to connect to a remote server. I don?t think that LiveCode needs to know about ipv6 either (or only at a very low level). My suggestion was based on ipv6 resolving localhost differently from ipv4. Does the error message give the hostname that was considered to be an ?invalid host address?? Regards Peter > On 3 Mar 2015, at 10:56, J. Landman Gay wrote: > > Thanks Peter, but I'm afraid you're speaking Greek to me. Would localhost matter if the app is trying to connect to a remote server? > > Does LC need to know about ipv6 or is that handled at the OS level? Sorry to be so uninformed, I'm out of my depth here. > > On 3/2/2015 8:42 PM, Peter W A Wood wrote: >> Jacque >> >> I don?t know if this will help but I believe host can get converted to ::1 under ipv6. I know that I used to have an issue on my OS X a few versions ago and had to use 127.0.0.1 instead of localhost in URLs. >> >> Regards >> >> Peter >> >>> On 3 Mar 2015, at 10:21, J. Landman Gay wrote: >>> >>> I'm not sure about the other users but the latest one is on OS X. Could this affect Macs too? >>> >>> On 3/2/2015 8:04 PM, Mike Bonner wrote: >>>> OH, thought just occurred to me, based on something that happened in >>>> another thread. If they're on windows, and had a proxy set up at some >>>> point, then the proxy was disabled.. The information about the proxy still >>>> shows up greyed in the settings. And it seems that LC decides the proxy is >>>> still active even though it isn't. The browser would work, because it >>>> knows the proxy has been disabled. The solution, is to clear the proxy >>>> information from the settings, even though the proxy settings are >>>> technically already disabled. >>>> >>>> On Mon, Mar 2, 2015 at 6:58 PM, Mike Bonner wrote: >>>> >>>>> The hosts file can be set up to provide specific name to ip address >>>>> mappings. 99.9% of the time its not used, and if it is, its often a >>>>> hijack. Along with the hijack thing, its also possible that a proxy has >>>>> been set up unbeknownst to the user, and its munging something as it >>>>> decides where they want to direct the user, rather than where the user >>>>> actually wants to go. >>>>> >>>>> Can you post some of the gibberish? >>>>> >>>>> On Mon, Mar 2, 2015 at 6:53 PM, J. Landman Gay >>>>> wrote: >>>>> >>>>>> Out of thousands of users, occasionally one can't connect and repeatedly >>>>>> gets an invalid host address error. What causes those? All users are >>>>>> sending to the same server at the same domain. Naturally they all say it's >>>>>> only our app and never happens in a browser. >>>>>> >>>>>> Everything I've found about it is mostly gibberish to me. Is this >>>>>> something to do with the hosts file on the computer? The latest report says >>>>>> it happens on different networks (home and school) so I assume it's >>>>>> specific to his machine. >>>>>> >>>>>> -- >>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon Mar 2 22:47:35 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 2 Mar 2015 19:47:35 -0800 Subject: sane way to keep menubar on mac (and what about windows???) In-Reply-To: <00d301d054ee$fa108280$ee318780$@kestner.de> References: <00d301d054ee$fa108280$ee318780$@kestner.de> Message-ID: On Mon, Mar 2, 2015 at 5:44 AM, Tiemo Hollmann TB wrote: > In the main stack I create a menu with the menu builder and check the > option > "set as stack menu bar" > With this option checked, the menu will be integrated in Apples menu on Mac > and on windows it get a windows menu bar at the top of your stacks window. > Its' up to you, if you resize your window on Mac (less height), because you > don't need the space for the menu bar in your window as on windows. > I am not sure, if this is what you are asking for. > This is what I'm asking for, but it doesn't seem to be happening. I indeed have that menu checked, but I think that came when I set the defaultMenubar (in the manner Mark suggested). This seems to have it working, but I also seem to have a lost rogue menu for one of my stacks. The menubuilder doesn't find this menu, just two non-menu groups. Is there any way to search my stack for menus, particularly for a menu with specific text in it? (it has an odd phrase). When I try to use the extended search, I found a couple, but still see some menus appear with "Dictation" options and whathaveyou. Also, newly created stacks don't seem to use the menubar. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Mon Mar 2 22:48:13 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Mar 2015 21:48:13 -0600 Subject: [OT] Invalid host address In-Reply-To: References: <5C0F3777-CFF6-43C4-B8E7-93EDC25189E1@hyperactivesw.com> <54F51A8E.5040603@hyperactivesw.com> Message-ID: <54F52EFD.20505@hyperactivesw.com> The new proxy additions to libURL are supposed to find proxies automatically on any platform. I'm not sure the thread you mentioned is valid for this particular problem though, if this is the one you meant: The proxy entry in that thread is the one entered in the LC preferences, and was probably added automatically when the OP set up the proxy the first time. When he removed it from his computer later, LC didn't update its own prefs (I'm assuming) and so it continued to use the preferences entry. But in a standalone, there would be no retained proxy setup, it would have to be re-discovered on each launch. So... I'm stuck. But thanks for making me find that thread, it's still valuable. On 3/2/2015 8:29 PM, Mike Bonner wrote: > Seriously doubt it would apply to macs. The note in the dictionary says > that on windows machines, if a proxy is set it will use it automatically, > no such note on a mac. Though I guess its possible, depending on the way LC > determines if a proxy has been set. > > Too bad, it fit SO well for windows machines. Maybe something will pop > into my head. (though, I guess it wouldn't hurt to see if stale proxy > settings on a mac will do the same thing) > > On Mon, Mar 2, 2015 at 7:21 PM, J. Landman Gay > wrote: > >> I'm not sure about the other users but the latest one is on OS X. Could >> this affect Macs too? >> >> >> On 3/2/2015 8:04 PM, Mike Bonner wrote: >> >>> OH, thought just occurred to me, based on something that happened in >>> another thread. If they're on windows, and had a proxy set up at some >>> point, then the proxy was disabled.. The information about the proxy still >>> shows up greyed in the settings. And it seems that LC decides the proxy >>> is >>> still active even though it isn't. The browser would work, because it >>> knows the proxy has been disabled. The solution, is to clear the proxy >>> information from the settings, even though the proxy settings are >>> technically already disabled. >>> >>> On Mon, Mar 2, 2015 at 6:58 PM, Mike Bonner wrote: >>> >>> The hosts file can be set up to provide specific name to ip address >>>> mappings. 99.9% of the time its not used, and if it is, its often a >>>> hijack. Along with the hijack thing, its also possible that a proxy has >>>> been set up unbeknownst to the user, and its munging something as it >>>> decides where they want to direct the user, rather than where the user >>>> actually wants to go. >>>> >>>> Can you post some of the gibberish? >>>> >>>> On Mon, Mar 2, 2015 at 6:53 PM, J. Landman Gay >>>> >>>> wrote: >>>> >>>> Out of thousands of users, occasionally one can't connect and repeatedly >>>>> gets an invalid host address error. What causes those? All users are >>>>> sending to the same server at the same domain. Naturally they all say >>>>> it's >>>>> only our app and never happens in a browser. >>>>> >>>>> Everything I've found about it is mostly gibberish to me. Is this >>>>> something to do with the hosts file on the computer? The latest report >>>>> says >>>>> it happens on different networks (home and school) so I assume it's >>>>> specific to his machine. >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Mon Mar 2 23:00:57 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 2 Mar 2015 20:00:57 -0800 Subject: DB connection times In-Reply-To: <95324A7F-C99B-474C-907B-FB508A696437@iotecdigital.com> References: <54F34BEA.6060801@fourthworld.com> <95324A7F-C99B-474C-907B-FB508A696437@iotecdigital.com> Message-ID: On Mon, Mar 2, 2015 at 9:25 AM, Bob Sneidar wrote: > To optimize connections and transfer of data, one of the things you can do > is use VarChar() instead of TEXT whenever possible. A very knowledgable web > designer explained to me that TEXT types pad the storage values to fill the > defined storage size for that column, whereas VarChar only stores as much > data as is in the column for that record. > But TEXT has undefined object size. According to postgres, there is not an efficiency difference between VARCHAR an TEXT. Perhaps he/you meant CHAR(), rather than TEXT? > Another thing you can do is avoid querying for BLOB types until you > actually need the data. Thirdly, I suspect as others have said, that using > transactional querying, and combining all your SQL statements into one > using the semi-colon delimiter is probably going to save some time overall. > I don't know about BLOB, but isn't it also varying size? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Mon Mar 2 23:07:53 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Mar 2015 22:07:53 -0600 Subject: sane way to keep menubar on mac (and what about windows???) In-Reply-To: References: <00d301d054ee$fa108280$ee318780$@kestner.de> Message-ID: <54F53399.4060502@hyperactivesw.com> On 3/2/2015 9:47 PM, Dr. Hawkins wrote: > I indeed have that menu checked, but I think that came when I set the > defaultMenubar (in the manner Mark suggested). If a stack has a menubar assigned ("the menubar of this stack",) it will use that menu. If it doesn't, then it will use whatever you've set as the defaultMenuBar. If there is no defaultMenuBar then you get the bare-bones Apple and Help menus that are required by OS X. On Windows, there is no such thing as a defaultMenuBar, since each window must have its own. If you don't put a menubar in a stack, there will be nothing there. > > This seems to have it working, but I also seem to have a lost rogue menu > for one of my stacks. > > The menubuilder doesn't find this menu, just two non-menu groups. The menu builder will find all groups in the current defaultstack. A menu isn't particularly special, it's just a group full of pulldown buttons. > > Is there any way to search my stack for menus, particularly for a menu with > specific text in it? (it has an odd phrase). When I try to use the > extended search, I found a couple, but still see some menus appear with > "Dictation" options and whathaveyou. Open Find and Replace from the Edit menu. Uncheck all the tick boxes except Button Text. Put the menu item phrase into the Find field. Choose "This Stack File" from the popup meu. If all your stacks aren't substacks then you can try searching "All Open Stacks" or "All Stacks in a Folder". > > Also, newly created stacks don't seem to use the menubar. Right, you need to set the menubar of the stack after you create it. On Macs, the menubar doesn't need to be a group in that stack, it can be anywhere in any stack that you know will always be in RAM, i.e.: set the menubar of this stack to grp "menugrp" of cd 1 of stack "otherStack" But if you're planning to go cross platform then you do need to copy the menu group to every stack. Windows doesn't have a system menu bar, so if there's nothing in the stack, there's nothing to show. The other way to handle Windows menus is how LC does it -- create a separate menu bar stack that's always open and placed above your other stacks. In that case you need to determine or set the defaultstack before operating on any menu item selection. You really need to see LC on a Windows box to see how it works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Mon Mar 2 23:08:11 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 2 Mar 2015 20:08:11 -0800 Subject: DB connection times In-Reply-To: <54F34BEA.6060801@fourthworld.com> References: <54F34BEA.6060801@fourthworld.com> Message-ID: On Sun, Mar 1, 2015 at 9:27 AM, Richard Gaskin wrote: > Dr. Hawkins and others have noted that the time required for LC to connect > to a database can be long enough to add up under load. > > To get a good feel for the implications of this, and to explore options > for possibly mitigating it, it would be helpful if any of you happen to > have measurements of that connection time. > I think it might make sense to make a standardized test suite for us to run, so that we're comparing apples to apples. In my case, I know that latency is far more important than throughput, as I need the transaction to occur during using input. As a rough, from a fast link at home (10Mbs?), it takes "several" seconds for the series of transactions it takes me to open a client table, compared to "a second or two" on my desktop (which hosts the server) on a good business link. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Mon Mar 2 23:21:15 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Mar 2015 20:21:15 -0800 Subject: DB connection times In-Reply-To: References: Message-ID: <54F536BB.2000902@fourthworld.com> Dr. Hawkins wrote: > As a rough, from a fast link at home (10Mbs?), it takes "several" > seconds for the series of transactions it takes me to open a client > table, compared to "a second or two" on my desktop (which hosts the > server) on a good business link. Local DB performance like that makes a good case for working with text files. :) How many records are in there? Complex indices? What could account for so much time to connect locally? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Mon Mar 2 23:26:49 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Mar 2015 22:26:49 -0600 Subject: [OT] Invalid host address In-Reply-To: <34ADDEAC-8473-4131-98E4-F627D4E7DD90@gmail.com> References: <5C0F3777-CFF6-43C4-B8E7-93EDC25189E1@hyperactivesw.com> <54F51A8E.5040603@hyperactivesw.com> <93F6E4EB-0157-4EF3-A496-60145A225462@gmail.com> <54F522C0.2080708@hyperactivesw.com> <34ADDEAC-8473-4131-98E4-F627D4E7DD90@gmail.com> Message-ID: <54F53809.2060003@hyperactivesw.com> The "invalid" host URL is the same one all other users are contacting and is the domain of my client. Only an occasional user is getting this error when contacting the same URL(s), it works okay for almost everyone. I'm pretty sure it's a machine-based issue, and my puny knowledge base points to some kind of system setup. I'd guess it's a wonky hosts file from what little I know about it, but it seems like his browser ought to fail too in that case. Or maybe it just doesn't like Amazon. On 3/2/2015 9:15 PM, Peter W A Wood wrote: > Jacque > > Unfortunately, I?m probably almost as much out of my depth as you :-( > > No, localhost shouldn?t matter if the app is trying to connect to a remote server. I don?t think that LiveCode needs to know about ipv6 either (or only at a very low level). My suggestion was based on ipv6 resolving localhost differently from ipv4. > > Does the error message give the hostname that was considered to be an ?invalid host address?? > > Regards > > Peter > > >> On 3 Mar 2015, at 10:56, J. Landman Gay wrote: >> >> Thanks Peter, but I'm afraid you're speaking Greek to me. Would localhost matter if the app is trying to connect to a remote server? >> >> Does LC need to know about ipv6 or is that handled at the OS level? Sorry to be so uninformed, I'm out of my depth here. >> >> On 3/2/2015 8:42 PM, Peter W A Wood wrote: >>> Jacque >>> >>> I don?t know if this will help but I believe host can get converted to ::1 under ipv6. I know that I used to have an issue on my OS X a few versions ago and had to use 127.0.0.1 instead of localhost in URLs. >>> >>> Regards >>> >>> Peter >>> >>>> On 3 Mar 2015, at 10:21, J. Landman Gay wrote: >>>> >>>> I'm not sure about the other users but the latest one is on OS X. Could this affect Macs too? >>>> >>>> On 3/2/2015 8:04 PM, Mike Bonner wrote: >>>>> OH, thought just occurred to me, based on something that happened in >>>>> another thread. If they're on windows, and had a proxy set up at some >>>>> point, then the proxy was disabled.. The information about the proxy still >>>>> shows up greyed in the settings. And it seems that LC decides the proxy is >>>>> still active even though it isn't. The browser would work, because it >>>>> knows the proxy has been disabled. The solution, is to clear the proxy >>>>> information from the settings, even though the proxy settings are >>>>> technically already disabled. >>>>> >>>>> On Mon, Mar 2, 2015 at 6:58 PM, Mike Bonner wrote: >>>>> >>>>>> The hosts file can be set up to provide specific name to ip address >>>>>> mappings. 99.9% of the time its not used, and if it is, its often a >>>>>> hijack. Along with the hijack thing, its also possible that a proxy has >>>>>> been set up unbeknownst to the user, and its munging something as it >>>>>> decides where they want to direct the user, rather than where the user >>>>>> actually wants to go. >>>>>> >>>>>> Can you post some of the gibberish? >>>>>> >>>>>> On Mon, Mar 2, 2015 at 6:53 PM, J. Landman Gay >>>>>> wrote: >>>>>> >>>>>>> Out of thousands of users, occasionally one can't connect and repeatedly >>>>>>> gets an invalid host address error. What causes those? All users are >>>>>>> sending to the same server at the same domain. Naturally they all say it's >>>>>>> only our app and never happens in a browser. >>>>>>> >>>>>>> Everything I've found about it is mostly gibberish to me. Is this >>>>>>> something to do with the hosts file on the computer? The latest report says >>>>>>> it happens on different networks (home and school) so I assume it's >>>>>>> specific to his machine. >>>>>>> >>>>>>> -- >>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Mar 2 23:31:32 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Mar 2015 22:31:32 -0600 Subject: [OT] Invalid host address In-Reply-To: <54F53809.2060003@hyperactivesw.com> References: <5C0F3777-CFF6-43C4-B8E7-93EDC25189E1@hyperactivesw.com> <54F51A8E.5040603@hyperactivesw.com> <93F6E4EB-0157-4EF3-A496-60145A225462@gmail.com> <54F522C0.2080708@hyperactivesw.com> <34ADDEAC-8473-4131-98E4-F627D4E7DD90@gmail.com> <54F53809.2060003@hyperactivesw.com> Message-ID: <54F53924.4020405@hyperactivesw.com> Oh, and before anyone goes "wow, your client is Amazon"...no, I just forgot to take out that last statement. I'd originally typed that the URLs were using AWS but after double-checking I saw that the domain was my client's, not Amazon's (for a while we were directly contacting the AWS servers during testings, but no longer.) I should have deleted that last line of my message. On 3/2/2015 10:26 PM, J. Landman Gay wrote: > The "invalid" host URL is the same one all other users are contacting > and is the domain of my client. Only an occasional user is getting this > error when contacting the same URL(s), it works okay for almost everyone. > > I'm pretty sure it's a machine-based issue, and my puny knowledge base > points to some kind of system setup. I'd guess it's a wonky hosts file > from what little I know about it, but it seems like his browser ought to > fail too in that case. Or maybe it just doesn't like Amazon. > > > On 3/2/2015 9:15 PM, Peter W A Wood wrote: >> Jacque >> >> Unfortunately, I?m probably almost as much out of my depth as you :-( >> >> No, localhost shouldn?t matter if the app is trying to connect to a >> remote server. I don?t think that LiveCode needs to know about ipv6 >> either (or only at a very low level). My suggestion was based on ipv6 >> resolving localhost differently from ipv4. >> >> Does the error message give the hostname that was considered to be an >> ?invalid host address?? >> >> Regards >> >> Peter >> >> >>> On 3 Mar 2015, at 10:56, J. Landman Gay >>> wrote: >>> >>> Thanks Peter, but I'm afraid you're speaking Greek to me. Would >>> localhost matter if the app is trying to connect to a remote server? >>> >>> Does LC need to know about ipv6 or is that handled at the OS level? >>> Sorry to be so uninformed, I'm out of my depth here. >>> >>> On 3/2/2015 8:42 PM, Peter W A Wood wrote: >>>> Jacque >>>> >>>> I don?t know if this will help but I believe host can get converted >>>> to ::1 under ipv6. I know that I used to have an issue on my OS X a >>>> few versions ago and had to use 127.0.0.1 instead of localhost in URLs. >>>> >>>> Regards >>>> >>>> Peter >>>> >>>>> On 3 Mar 2015, at 10:21, J. Landman Gay >>>>> wrote: >>>>> >>>>> I'm not sure about the other users but the latest one is on OS X. >>>>> Could this affect Macs too? >>>>> >>>>> On 3/2/2015 8:04 PM, Mike Bonner wrote: >>>>>> OH, thought just occurred to me, based on something that happened in >>>>>> another thread. If they're on windows, and had a proxy set up at >>>>>> some >>>>>> point, then the proxy was disabled.. The information about the >>>>>> proxy still >>>>>> shows up greyed in the settings. And it seems that LC decides the >>>>>> proxy is >>>>>> still active even though it isn't. The browser would work, >>>>>> because it >>>>>> knows the proxy has been disabled. The solution, is to clear the >>>>>> proxy >>>>>> information from the settings, even though the proxy settings are >>>>>> technically already disabled. >>>>>> >>>>>> On Mon, Mar 2, 2015 at 6:58 PM, Mike Bonner >>>>>> wrote: >>>>>> >>>>>>> The hosts file can be set up to provide specific name to ip address >>>>>>> mappings. 99.9% of the time its not used, and if it is, its often a >>>>>>> hijack. Along with the hijack thing, its also possible that a >>>>>>> proxy has >>>>>>> been set up unbeknownst to the user, and its munging something as it >>>>>>> decides where they want to direct the user, rather than where the >>>>>>> user >>>>>>> actually wants to go. >>>>>>> >>>>>>> Can you post some of the gibberish? >>>>>>> >>>>>>> On Mon, Mar 2, 2015 at 6:53 PM, J. Landman Gay >>>>>>> >>>>>>> wrote: >>>>>>> >>>>>>>> Out of thousands of users, occasionally one can't connect and >>>>>>>> repeatedly >>>>>>>> gets an invalid host address error. What causes those? All users >>>>>>>> are >>>>>>>> sending to the same server at the same domain. Naturally they >>>>>>>> all say it's >>>>>>>> only our app and never happens in a browser. >>>>>>>> >>>>>>>> Everything I've found about it is mostly gibberish to me. Is this >>>>>>>> something to do with the hosts file on the computer? The latest >>>>>>>> report says >>>>>>>> it happens on different networks (home and school) so I assume it's >>>>>>>> specific to his machine. >>>>>>>> >>>>>>>> -- >>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>>> subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>> >>>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Mon Mar 2 23:38:04 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 2 Mar 2015 21:38:04 -0700 Subject: [OT] Invalid host address In-Reply-To: <54F53809.2060003@hyperactivesw.com> References: <5C0F3777-CFF6-43C4-B8E7-93EDC25189E1@hyperactivesw.com> <54F51A8E.5040603@hyperactivesw.com> <93F6E4EB-0157-4EF3-A496-60145A225462@gmail.com> <54F522C0.2080708@hyperactivesw.com> <34ADDEAC-8473-4131-98E4-F627D4E7DD90@gmail.com> <54F53809.2060003@hyperactivesw.com> Message-ID: The thread in question is this one: http://runtime-revolution.278305.n4.nabble.com/resetting-preferences-in-7-0-1-rc4-Windows-7-td4687125.html#a4687164 In that thread he actually had to go into the windows settings (not in lc) and actually remove the greyed out non active proxy settings so they were blank. At which point LC decided there was no system proxy. My guess is that the engine in a standalone does the same check, and on windows would think there was a proxy even if it was inactive, if the information for the proxy is still in the registry. I still don't know if it would apply to a mac of course. On Mon, Mar 2, 2015 at 9:26 PM, J. Landman Gay wrote: > The "invalid" host URL is the same one all other users are contacting and > is the domain of my client. Only an occasional user is getting this error > when contacting the same URL(s), it works okay for almost everyone. > > I'm pretty sure it's a machine-based issue, and my puny knowledge base > points to some kind of system setup. I'd guess it's a wonky hosts file from > what little I know about it, but it seems like his browser ought to fail > too in that case. Or maybe it just doesn't like Amazon. > > > > On 3/2/2015 9:15 PM, Peter W A Wood wrote: > >> Jacque >> >> Unfortunately, I?m probably almost as much out of my depth as you :-( >> >> No, localhost shouldn?t matter if the app is trying to connect to a >> remote server. I don?t think that LiveCode needs to know about ipv6 either >> (or only at a very low level). My suggestion was based on ipv6 resolving >> localhost differently from ipv4. >> >> Does the error message give the hostname that was considered to be an >> ?invalid host address?? >> >> Regards >> >> Peter >> >> >> On 3 Mar 2015, at 10:56, J. Landman Gay >>> wrote: >>> >>> Thanks Peter, but I'm afraid you're speaking Greek to me. Would >>> localhost matter if the app is trying to connect to a remote server? >>> >>> Does LC need to know about ipv6 or is that handled at the OS level? >>> Sorry to be so uninformed, I'm out of my depth here. >>> >>> On 3/2/2015 8:42 PM, Peter W A Wood wrote: >>> >>>> Jacque >>>> >>>> I don?t know if this will help but I believe host can get converted to >>>> ::1 under ipv6. I know that I used to have an issue on my OS X a few >>>> versions ago and had to use 127.0.0.1 instead of localhost in URLs. >>>> >>>> Regards >>>> >>>> Peter >>>> >>>> On 3 Mar 2015, at 10:21, J. Landman Gay >>>>> wrote: >>>>> >>>>> I'm not sure about the other users but the latest one is on OS X. >>>>> Could this affect Macs too? >>>>> >>>>> On 3/2/2015 8:04 PM, Mike Bonner wrote: >>>>> >>>>>> OH, thought just occurred to me, based on something that happened in >>>>>> another thread. If they're on windows, and had a proxy set up at some >>>>>> point, then the proxy was disabled.. The information about the proxy >>>>>> still >>>>>> shows up greyed in the settings. And it seems that LC decides the >>>>>> proxy is >>>>>> still active even though it isn't. The browser would work, because it >>>>>> knows the proxy has been disabled. The solution, is to clear the >>>>>> proxy >>>>>> information from the settings, even though the proxy settings are >>>>>> technically already disabled. >>>>>> >>>>>> On Mon, Mar 2, 2015 at 6:58 PM, Mike Bonner >>>>>> wrote: >>>>>> >>>>>> The hosts file can be set up to provide specific name to ip address >>>>>>> mappings. 99.9% of the time its not used, and if it is, its often a >>>>>>> hijack. Along with the hijack thing, its also possible that a proxy >>>>>>> has >>>>>>> been set up unbeknownst to the user, and its munging something as it >>>>>>> decides where they want to direct the user, rather than where the >>>>>>> user >>>>>>> actually wants to go. >>>>>>> >>>>>>> Can you post some of the gibberish? >>>>>>> >>>>>>> On Mon, Mar 2, 2015 at 6:53 PM, J. Landman Gay < >>>>>>> jacque at hyperactivesw.com> >>>>>>> wrote: >>>>>>> >>>>>>> Out of thousands of users, occasionally one can't connect and >>>>>>>> repeatedly >>>>>>>> gets an invalid host address error. What causes those? All users are >>>>>>>> sending to the same server at the same domain. Naturally they all >>>>>>>> say it's >>>>>>>> only our app and never happens in a browser. >>>>>>>> >>>>>>>> Everything I've found about it is mostly gibberish to me. Is this >>>>>>>> something to do with the hosts file on the computer? The latest >>>>>>>> report says >>>>>>>> it happens on different networks (home and school) so I assume it's >>>>>>>> specific to his machine. >>>>>>>> >>>>>>>> -- >>>>>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>>>>> HyperActive Software | http://www.hyperactivesw.com >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> use-livecode mailing list >>>>>>>> use-livecode at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>>> subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Mar 2 23:45:34 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Mar 2015 22:45:34 -0600 Subject: [OT] Invalid host address In-Reply-To: References: <5C0F3777-CFF6-43C4-B8E7-93EDC25189E1@hyperactivesw.com> <54F51A8E.5040603@hyperactivesw.com> <93F6E4EB-0157-4EF3-A496-60145A225462@gmail.com> <54F522C0.2080708@hyperactivesw.com> <34ADDEAC-8473-4131-98E4-F627D4E7DD90@gmail.com> <54F53809.2060003@hyperactivesw.com> Message-ID: <54F53C6E.2060409@hyperactivesw.com> Aha. Okay, it's a lead then. Maybe the same issue is happening on OS X, where it is also possible to disable a proxy on a system-wide basis. It's something to ask the user about anyway. If anyone else has suggestions I'm all ears. On 3/2/2015 10:38 PM, Mike Bonner wrote: > The thread in question is this one: > http://runtime-revolution.278305.n4.nabble.com/resetting-preferences-in-7-0-1-rc4-Windows-7-td4687125.html#a4687164 > > In that thread he actually had to go into the windows settings (not in lc) > and actually remove the greyed out non active proxy settings so they were > blank. At which point LC decided there was no system proxy. My guess is > that the engine in a standalone does the same check, and on windows would > think there was a proxy even if it was inactive, if the information for the > proxy is still in the registry. > > I still don't know if it would apply to a mac of course. > > On Mon, Mar 2, 2015 at 9:26 PM, J. Landman Gay > wrote: > >> The "invalid" host URL is the same one all other users are contacting and >> is the domain of my client. Only an occasional user is getting this error >> when contacting the same URL(s), it works okay for almost everyone. >> >> I'm pretty sure it's a machine-based issue, and my puny knowledge base >> points to some kind of system setup. I'd guess it's a wonky hosts file from >> what little I know about it, but it seems like his browser ought to fail >> too in that case. Or maybe it just doesn't like Amazon. >> >> >> >> On 3/2/2015 9:15 PM, Peter W A Wood wrote: >> >>> Jacque >>> >>> Unfortunately, I?m probably almost as much out of my depth as you :-( >>> >>> No, localhost shouldn?t matter if the app is trying to connect to a >>> remote server. I don?t think that LiveCode needs to know about ipv6 either >>> (or only at a very low level). My suggestion was based on ipv6 resolving >>> localhost differently from ipv4. >>> >>> Does the error message give the hostname that was considered to be an >>> ?invalid host address?? >>> >>> Regards >>> >>> Peter >>> >>> >>> On 3 Mar 2015, at 10:56, J. Landman Gay >>>> wrote: >>>> >>>> Thanks Peter, but I'm afraid you're speaking Greek to me. Would >>>> localhost matter if the app is trying to connect to a remote server? >>>> >>>> Does LC need to know about ipv6 or is that handled at the OS level? >>>> Sorry to be so uninformed, I'm out of my depth here. >>>> >>>> On 3/2/2015 8:42 PM, Peter W A Wood wrote: >>>> >>>>> Jacque >>>>> >>>>> I don?t know if this will help but I believe host can get converted to >>>>> ::1 under ipv6. I know that I used to have an issue on my OS X a few >>>>> versions ago and had to use 127.0.0.1 instead of localhost in URLs. >>>>> >>>>> Regards >>>>> >>>>> Peter >>>>> >>>>> On 3 Mar 2015, at 10:21, J. Landman Gay >>>>>> wrote: >>>>>> >>>>>> I'm not sure about the other users but the latest one is on OS X. >>>>>> Could this affect Macs too? >>>>>> >>>>>> On 3/2/2015 8:04 PM, Mike Bonner wrote: >>>>>> >>>>>>> OH, thought just occurred to me, based on something that happened in >>>>>>> another thread. If they're on windows, and had a proxy set up at some >>>>>>> point, then the proxy was disabled.. The information about the proxy >>>>>>> still >>>>>>> shows up greyed in the settings. And it seems that LC decides the >>>>>>> proxy is >>>>>>> still active even though it isn't. The browser would work, because it >>>>>>> knows the proxy has been disabled. The solution, is to clear the >>>>>>> proxy >>>>>>> information from the settings, even though the proxy settings are >>>>>>> technically already disabled. >>>>>>> >>>>>>> On Mon, Mar 2, 2015 at 6:58 PM, Mike Bonner >>>>>>> wrote: >>>>>>> >>>>>>> The hosts file can be set up to provide specific name to ip address >>>>>>>> mappings. 99.9% of the time its not used, and if it is, its often a >>>>>>>> hijack. Along with the hijack thing, its also possible that a proxy >>>>>>>> has >>>>>>>> been set up unbeknownst to the user, and its munging something as it >>>>>>>> decides where they want to direct the user, rather than where the >>>>>>>> user >>>>>>>> actually wants to go. >>>>>>>> >>>>>>>> Can you post some of the gibberish? >>>>>>>> >>>>>>>> On Mon, Mar 2, 2015 at 6:53 PM, J. Landman Gay < >>>>>>>> jacque at hyperactivesw.com> >>>>>>>> wrote: >>>>>>>> >>>>>>>> Out of thousands of users, occasionally one can't connect and >>>>>>>>> repeatedly >>>>>>>>> gets an invalid host address error. What causes those? All users are >>>>>>>>> sending to the same server at the same domain. Naturally they all >>>>>>>>> say it's >>>>>>>>> only our app and never happens in a browser. >>>>>>>>> >>>>>>>>> Everything I've found about it is mostly gibberish to me. Is this >>>>>>>>> something to do with the hosts file on the computer? The latest >>>>>>>>> report says >>>>>>>>> it happens on different networks (home and school) so I assume it's >>>>>>>>> specific to his machine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Tue Mar 3 00:20:17 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 2 Mar 2015 21:20:17 -0800 Subject: DB connection times In-Reply-To: <54F536BB.2000902@fourthworld.com> References: <54F536BB.2000902@fourthworld.com> Message-ID: On Mon, Mar 2, 2015 at 8:21 PM, Richard Gaskin wrote: > Local DB performance like that makes a good case for working with text > files. :) > > How many records are in there? Complex indices? What could account for > so much time to connect locally? > It *is* entirely text. "remote" postgres database has a single table, full of insertion commands into three tables. One has ~ 500 rows with about 7 or 8 columns, another has a few dozen with about 6 columns, and another typically a couple of dozen with something like 50 columns. I've seriously reduced the number of transactions, but there are still several separate db queries to get a file open and sanity checked, and to bring in a few but small tables. It's the latency that's expensive for me; the queries are cheap. For a fairly complicated debtor, the gzipped list of commands is 24kb in my backup file; 16kb is more typical. The remote query, however, going from my N-wireless to airport expres to cablebox, then across town on cox to office, into cablebox, to airport express wirelessly to my iMac seems to typically take 200-250 ms. Now, when I was doing that on exiting every field, over clear wireless internet to runrev servers, it was more like 1-2 *seconds* for a transaction . . . Thus my interest in going asynchronous with sockets . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From gerry.orkin at gmail.com Tue Mar 3 01:48:41 2015 From: gerry.orkin at gmail.com (Gerry) Date: Tue, 3 Mar 2015 17:48:41 +1100 Subject: RELEASE 6.7.3 / 7.0.3 In-Reply-To: <42B00938-8261-4DD4-9761-D7D0F53A7A9A@sweattechnologies.com> References: <1424966484204-4689345.post@n4.nabble.com> <3DD6F512-C626-4B5B-BF20-EE9725925D45@earthednet.org> <75E8A3D6-30E5-45DA-8F66-5C0F0C63C738@sweattechnologies.com> <30063021-71BC-4123-8A53-906C4610DA05@sweattechnologies.com> <42B00938-8261-4DD4-9761-D7D0F53A7A9A@sweattechnologies.com> Message-ID: <4F3CC846-1379-42AA-99E8-D23E7DF68FE2@gmail.com> Monte's externals are now available on his site. Gerry > On 2 Mar 2015, at 10:46 am, Monte Goulding wrote: > > Hopefully today, most of them built fine but there are a few that I need to massage a little. From sundown at pacifier.com Tue Mar 3 06:30:21 2015 From: sundown at pacifier.com (JB) Date: Tue, 3 Mar 2015 03:30:21 -0800 Subject: Sorting Columns Message-ID: I have a data grid and one of the columns has numbers with commas included. If I use the property inspector and select the header column I can choose sort by text or numeric. Due to the commas neither of the sort types gives me a correct sort. Do I need to make another array and strip the commas and then use that sort with columns from the original array? What is the best way to sort numeric columns with commas included in the numbers? John Balgenort From stgoldberg at aol.com Tue Mar 3 07:31:15 2015 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Tue, 3 Mar 2015 07:31:15 -0500 Subject: Fwd: Quantum tunneling in LiveCode In-Reply-To: <14bdc5069b8-703f-152fe@webprd-a55.mail.aol.com> References: <14bdc5069b8-703f-152fe@webprd-a55.mail.aol.com> Message-ID: <14bdf9e69b8-60c3-318@webprd-a88.mail.aol.com> The issue of a background group being in two places at once is not quite clarified. Getting back to the script sequence below, when there is a mouseUp handler in a background group, the message, on clicking on the grouped button goes from: button --> group --> card --> stack When clicking on the card the message goes from: card --> group --> stack In effect the group acts on both sides of the card depending on where you click. So is mistaken to think that as soon as a background group is formed it mysteriously picks up and moves from one side of the card to the other (spreading out as it does so). It in effect remains on both sides, as seen by the message sequence when clicking on the button. I think the practicality of this discussion is in the situation where one wants, say, a cluster of buttons to appear on all cards in a stack, so one makes the button cluster a background group. If the background group has a mouseUp handler, its script will confusingly be enacted not only when clicking on the buttons but also wherever one clicks on the card. I think the bottom line is to be cautious about putting mouseUp scripts in background groups, or to put a disclaimer in the group at the beginning of the group handler the line (as mentioned in the User Manual (pg 131, 5.3.9): if the owner of the target is not me then pass mouseUp Stephen Goldberg www.medmaster.net -----Original Message----- From: stgoldberg To: use-livecode Sent: Mon, Mar 2, 2015 4:07 pm Subject: Quantum tunneling in LiveCode In quantum mechanics something can be in more than one place at once. A paradox of sorts seems to occur in the message chain with groups in LiveCode. Try this: 1. Place a button on a card. 2. Make the button a group. Set the group's backgroundBehavior to true. 3. Place the following script in the button: on mouseUp answer "I am a button" pass mouseUp end mouseUp 4. Place the following script in the group: on mouseUp answer "I am a strange group" pass mouseUp end mouseUp 5. On the card script write: on mouseUp answer "I am a card" pass mouseUp end mouseUp 6. In the stack script write: on mouseUp answer "I am a stack" end mouseUp 7. Now click on the button. You get the sequence: I am a button --> I am a strange group --> I am a card --> I am a stack 8. Now click on the card. You get: I am a card --> I am a strange group --> I am a stack Where is the strange group, before or after the card? Stephen Goldberg www.medmaster.net From dunbarx at aol.com Tue Mar 3 09:18:58 2015 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 3 Mar 2015 09:18:58 -0500 Subject: Sorting Columns In-Reply-To: References: Message-ID: <8D223D41F9F08FF-13DC-DA181@webmail-va003.sysops.aol.com> An easy way is to extract the full dataset, perhaps with the "dgData". This will give you a tab and return delimited list. Then you might sort by a function: sort yourData numeric by goodNumber(item columnOfInterest of each) where: function goodNumber var repeat for each char tChar in var if var is in "0123456789" then put tChar after temp end repeat return temp end goodNumber Craig Newman -----Original Message----- From: JB To: How to use LiveCode Sent: Tue, Mar 3, 2015 6:33 am Subject: Sorting Columns I have a data grid and one of the columns has numbers with commas included. If I use the property inspector and select the header column I can choose sort by text or numeric. Due to the commas neither of the sort types gives me a correct sort. Do I need to make another array and strip the commas and then use that sort with columns from the original array? What is the best way to sort numeric columns with commas included in the numbers? John Balgenort _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Tue Mar 3 09:30:19 2015 From: sundown at pacifier.com (JB) Date: Tue, 3 Mar 2015 06:30:19 -0800 Subject: Sorting Columns In-Reply-To: <8D223D41F9F08FF-13DC-DA181@webmail-va003.sysops.aol.com> References: <8D223D41F9F08FF-13DC-DA181@webmail-va003.sysops.aol.com> Message-ID: Thank you very much, Craig! John Balgenorth On Mar 3, 2015, at 6:18 AM, dunbarx at aol.com wrote: > An easy way is to extract the full dataset, perhaps with the "dgData". This will give you a tab and return delimited list. Then you might sort by a function: > > > sort yourData numeric by goodNumber(item columnOfInterest of each) > > > where: > > > function goodNumber var > repeat for each char tChar in var > if var is in "0123456789" then put tChar after temp > end repeat > return temp > end goodNumber > > > Craig Newman > > > > -----Original Message----- > From: JB > To: How to use LiveCode > Sent: Tue, Mar 3, 2015 6:33 am > Subject: Sorting Columns > > > I have a data grid and one of the columns > has numbers with commas included. If I > use the property inspector and select the > header column I can choose sort by text > or numeric. Due to the commas neither > of the sort types gives me a correct sort. > > Do I need to make another array and strip > the commas and then use that sort with > columns from the original array? What is > the best way to sort numeric columns with > commas included in the numbers? > > John Balgenort > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Tue Mar 3 10:07:34 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 3 Mar 2015 10:07:34 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54F4B795.3050703@fourthworld.com> References: <54F4B795.3050703@fourthworld.com> Message-ID: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> So it looks from your links that I should use "/sys/class/power_supply/BAT0/" for the URL on Unix, and check for "charging" or "discharging" as the first word?? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 2, 2015, at 2:18 PM, Richard Gaskin wrote: > Peter Brigham wrote: > > > What gets returned in > > get URL "/proc/acpi/battery/BAT1/state" on Unix? > > If you give me a sample to work with I will finish the handler and > > post it. > > Further reading shows that path deprecated on many modern systems, suggesting the /sys path instead: > > /sys/class/power_supply/BAT0/ > > > > Of the elements found at that path "status" seems the most relevant, but at the moment I'm on a desktop workstation and my Linux laptop is at home so I can't check it right now. > > The key question for the moment is whether BAT0 or BAT1 is used by folks here. Oddly enough when I was using /proc I had no BAT0 but I did find the info in BAT1. > > Perhaps my Dell model thinks it can support multiple batteries (maybe counting the onboard clock battery? Seems unlikely). > > Once we discover the battery numbering scheme, parsing the byte stream at that location will be trivial. > > In fact, the articles I've found suggest that when that status element is present it contains just a single word, such as "charging" or "discharging", shown in the example here: > > > I'll see if I can get some time to look into this further this evening. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Mar 3 10:13:10 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Mar 2015 07:13:10 -0800 Subject: Fwd: Quantum tunneling in LiveCode In-Reply-To: <14bdf9e69b8-60c3-318@webprd-a88.mail.aol.com> References: <14bdf9e69b8-60c3-318@webprd-a88.mail.aol.com> Message-ID: <54F5CF86.2030104@fourthworld.com> Stephen Goldberg wrote: > I think the bottom line is to be cautious about putting mouseUp > scripts in background groups, or to put a disclaimer in the group > at the beginning of the group handler the line (as mentioned in > the User Manual (pg 131, 5.3.9): > > if the owner of the target is not me then pass mouseUp The backgroundBehavior property is a tricky thing, implemented for compatibility with imported HyperCard stacks but given the differences between the HC and LC object models it's always going to be at least a little mind-bending. In HC, there was always and only one background, which was placed below the card. In LC, there is no "background" object pe se, but instead employs groups which can be shared across cards. In LC we can have any number of groups, and they may even be nested. In LC, in the absence of an always-present background object, all objects always reside on the card. To maintain compatibility with HC, the backgroundBehavior was introduced in an attempt to account for those cases where the message handling order needed the background after the card, as it was in HC, rather than before the card as is natural in LC. In older versions of LC setting the backgroundBehavior was the only way to share groups among multiple cards, which sometimes caused problems for developers expecting the natural order of messages to be in play, reflecting the visual order in which all controls, even groups, are on top of the card. So a few versions back a new property was added: the sharedBehavior. When true this allows us to share a group across multiple cards, and when creating a new card any groups with their sharedBehavior set are automatically placed on new cards. It's related to the backgroundBehavior, but is not the same thing: When the backgroundBehavior is set, the sharedBehavior is also set. This should trigger the change you're describing, in which messages are handled by as group with the backgroundBehavior set occur after the card receives them. But the sharedBehavior can be set by itself, allowing sharing without altering LC's natural message order as reflected by what we see visually on screen: objects on top of the card get messages before the card does. So all that said, we might consider what you're seeing to be a bug. But personally, with more than a decade separating me from the last time I had a machine even capable of running HC, it's been so long since I've thought about the HC-style message order that I never rely on it. I was very glad when they introduced the sharedBehavior as a way of sharing groups while maintaining the natural, visible order of messages, and when I need messages to occur after the card I generally just put them in the stack or a library. But there are those who may need the older HC-style message order, and if so that's what the backgroundBehavior is supposed to provide. If you see a difference between LC and HC with message flow when the backgroundBehavior is set, it may be time to file a bug report. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Mar 3 10:29:26 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Mar 2015 07:29:26 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> Message-ID: <54F5D356.9060104@fourthworld.com> Peter M. Brigham wrote: > So it looks from your links that I should use "/sys/class/power_supply > /BAT0/" for the URL on Unix, and check for "charging" or > "discharging" as the first word?? ...or "full", as I saw last night while testing this. So far I'm only seeing one-word values, so using "word 1" would seem a safe choice - good call. We have one remaining mystery, however: my Dell has only one battery, but has no values at /sys/class/power_supply/BAT0/, instead using /sys/class/power_supply/BAT1/. I've read other cases online where folks find the same thing, but haven't found the definitive rule governing why. In my reading I also came across some laptop models (Toshiba came up a couple times) in which the battery firmware doesn't report its info in a standard way, making it more difficult for generalized utilities to obtain it. But frankly, if an OEM chooses to disregard published standards personally I can't see spending much time accommodating them, so I'm not too worried about such edge cases. Given all this, I would feel reasonably safe at this time with the following algorithm: First check BAT0/status If empty then check BAT1/status end if If both are empty there's probably no battery If a value is found then use it I've seen no mention of BAT2 or more, so I feel this should account for a reasonably useful range of contexts. My own goal here is to know whether I can feel save performing optional background processing which can improve performance but at the cost of battery life. So either "full" or "charging" implies that the laptop is plugged into a wall socket, so I'd proceed with those background tasks. And if no battery info can be found at all in either location (BAT0 or BAT1), it seems safe to assume we're not on a battery-powered device, so I'd also proceed with optional background tasks. So it's only when the status returns "discharging" that I know a battery is present and that it's not plugged into a wall socket, in which case I should at least let the user decide whether or not to run optional background tasks. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pete at lcsql.com Tue Mar 3 11:09:23 2015 From: pete at lcsql.com (Peter Haworth) Date: Tue, 03 Mar 2015 16:09:23 +0000 Subject: Fwd: Quantum tunneling in LiveCode References: <14bdf9e69b8-60c3-318@webprd-a88.mail.aol.com> <54F5CF86.2030104@fourthworld.com> Message-ID: Thanks for that explanation Richard. I finally get the difference between sharedBehavior and backgroundBehavior. Seems like sharedBehavior is the one to use for everything except old HC stacks. On Tue, Mar 3, 2015, 7:14 AM Richard Gaskin wrote: > Stephen Goldberg wrote: > > > I think the bottom line is to be cautious about putting mouseUp > > scripts in background groups, or to put a disclaimer in the group > > at the beginning of the group handler the line (as mentioned in > > the User Manual (pg 131, 5.3.9): > > > > if the owner of the target is not me then pass mouseUp > > The backgroundBehavior property is a tricky thing, implemented for > compatibility with imported HyperCard stacks but given the differences > between the HC and LC object models it's always going to be at least a > little mind-bending. > > In HC, there was always and only one background, which was placed below > the card. > > In LC, there is no "background" object pe se, but instead employs groups > which can be shared across cards. In LC we can have any number of > groups, and they may even be nested. > > In LC, in the absence of an always-present background object, all > objects always reside on the card. > > To maintain compatibility with HC, the backgroundBehavior was introduced > in an attempt to account for those cases where the message handling > order needed the background after the card, as it was in HC, rather than > before the card as is natural in LC. > > In older versions of LC setting the backgroundBehavior was the only way > to share groups among multiple cards, which sometimes caused problems > for developers expecting the natural order of messages to be in play, > reflecting the visual order in which all controls, even groups, are on > top of the card. > > So a few versions back a new property was added: the sharedBehavior. > When true this allows us to share a group across multiple cards, and > when creating a new card any groups with their sharedBehavior set are > automatically placed on new cards. It's related to the > backgroundBehavior, but is not the same thing: > > When the backgroundBehavior is set, the sharedBehavior is also set. > This should trigger the change you're describing, in which messages are > handled by as group with the backgroundBehavior set occur after the card > receives them. > > But the sharedBehavior can be set by itself, allowing sharing without > altering LC's natural message order as reflected by what we see visually > on screen: objects on top of the card get messages before the card does. > > So all that said, we might consider what you're seeing to be a bug. > > But personally, with more than a decade separating me from the last time > I had a machine even capable of running HC, it's been so long since I've > thought about the HC-style message order that I never rely on it. I was > very glad when they introduced the sharedBehavior as a way of sharing > groups while maintaining the natural, visible order of messages, and > when I need messages to occur after the card I generally just put them > in the stack or a library. > > But there are those who may need the older HC-style message order, and > if so that's what the backgroundBehavior is supposed to provide. > > If you see a difference between LC and HC with message flow when the > backgroundBehavior is set, it may be time to file a bug report. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mikedoub at gmail.com Tue Mar 3 12:34:29 2015 From: mikedoub at gmail.com (Michael Doub) Date: Tue, 03 Mar 2015 12:34:29 -0500 Subject: Fwd: Quantum tunneling in LiveCode In-Reply-To: <54F5CF86.2030104@fourthworld.com> References: <14bdf9e69b8-60c3-318@webprd-a88.mail.aol.com> <54F5CF86.2030104@fourthworld.com> Message-ID: <54F5F0A5.1080002@gmail.com> Richard, Very nice explanation of this. I always wondered about the relationship between this properties. Thanks, Mike On 3/3/15 10:13 AM, Richard Gaskin wrote: > Stephen Goldberg wrote: > > > I think the bottom line is to be cautious about putting mouseUp > > scripts in background groups, or to put a disclaimer in the group > > at the beginning of the group handler the line (as mentioned in > > the User Manual (pg 131, 5.3.9): > > > > if the owner of the target is not me then pass mouseUp > > The backgroundBehavior property is a tricky thing, implemented for > compatibility with imported HyperCard stacks but given the differences > between the HC and LC object models it's always going to be at least a > little mind-bending. > > In HC, there was always and only one background, which was placed > below the card. > > In LC, there is no "background" object pe se, but instead employs > groups which can be shared across cards. In LC we can have any number > of groups, and they may even be nested. > > In LC, in the absence of an always-present background object, all > objects always reside on the card. > > To maintain compatibility with HC, the backgroundBehavior was > introduced in an attempt to account for those cases where the message > handling order needed the background after the card, as it was in HC, > rather than before the card as is natural in LC. > > In older versions of LC setting the backgroundBehavior was the only > way to share groups among multiple cards, which sometimes caused > problems for developers expecting the natural order of messages to be > in play, reflecting the visual order in which all controls, even > groups, are on top of the card. > > So a few versions back a new property was added: the sharedBehavior. > When true this allows us to share a group across multiple cards, and > when creating a new card any groups with their sharedBehavior set are > automatically placed on new cards. It's related to the > backgroundBehavior, but is not the same thing: > > When the backgroundBehavior is set, the sharedBehavior is also set. > This should trigger the change you're describing, in which messages > are handled by as group with the backgroundBehavior set occur after > the card receives them. > > But the sharedBehavior can be set by itself, allowing sharing without > altering LC's natural message order as reflected by what we see > visually on screen: objects on top of the card get messages before > the card does. > > So all that said, we might consider what you're seeing to be a bug. > > But personally, with more than a decade separating me from the last > time I had a machine even capable of running HC, it's been so long > since I've thought about the HC-style message order that I never rely > on it. I was very glad when they introduced the sharedBehavior as a > way of sharing groups while maintaining the natural, visible order of > messages, and when I need messages to occur after the card I generally > just put them in the stack or a library. > > But there are those who may need the older HC-style message order, and > if so that's what the backgroundBehavior is supposed to provide. > > If you see a difference between LC and HC with message flow when the > backgroundBehavior is set, it may be time to file a bug report. > From prothero at earthednet.org Tue Mar 3 13:28:24 2015 From: prothero at earthednet.org (William Prothero) Date: Tue, 3 Mar 2015 10:28:24 -0800 Subject: ANN: Re-Collections iOS app now available - FREE for a limited time In-Reply-To: References: Message-ID: Alan: Nice Idea. I downloaded it and will try it out, but first I?ve gotta select the photos from my humungous photo library to go onto my iPad. Great work! Bill > On Mar 2, 2015, at 3:07 AM, Alan Stenhouse wrote: > > G?day all! > > Just wanted to let you know I?ve just released another iOS app called ?Re-Collections?, made in LiveCode. > > It?s going for free the first few days so if you?re interested you can get it at: > > https://itunes.apple.com/app/re-collections/id948329642?mt=8&uo=4 > > or learn more about it on the website at: > > http://scruffmonkey.com/Re-Collections.html > > Any suggestions or bugs do let me know? Thanks!! > > As always, if you have time (and like it!!) please do leave a review and rating on the iTunes App Store once you?ve had a play. :-) > > It runs on iPad and is designed to help you record stories from your parents or grandparents (or others) about old photos. You can record both audio and text notes. The ?special? thing is something called ?continuous recording? where the audio recording keeps going automatically for each picture as you swipe through them. As they look at old pictures that you?ve scanned in, you can record their stories and catch their emotions and first reactions? > > Or that?s the idea. Use it for whatever you want! :-) > > Cheers > > Alan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Mar 3 13:43:32 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Mar 2015 12:43:32 -0600 Subject: Fwd: Quantum tunneling in LiveCode In-Reply-To: <54F5CF86.2030104@fourthworld.com> References: <14bdf9e69b8-60c3-318@webprd-a88.mail.aol.com> <54F5CF86.2030104@fourthworld.com> Message-ID: <54F600D4.10307@hyperactivesw.com> On 3/3/2015 9:13 AM, Richard Gaskin wrote: > The backgroundBehavior property is a tricky thing, I think of it like this: A message to an object will always go to the object's owner group(s) first, if any. After that it hits the card and follows the normal hierarchy. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at livecode.org Tue Mar 3 13:44:24 2015 From: paul at livecode.org (Paul Hibbert) Date: Tue, 3 Mar 2015 10:44:24 -0800 Subject: Quantum tunneling in LiveCode In-Reply-To: <54F5CF86.2030104@fourthworld.com> References: <14bdf9e69b8-60c3-318@webprd-a88.mail.aol.com> <54F5CF86.2030104@fourthworld.com> Message-ID: > > On Mar 3, 2015, at 7:13 AM, Richard Gaskin wrote: > > So all that said, we might consider what you're seeing to be a bug. I think another big issue here is the lack of up-to-date documentation, and this helps to illustrate the depth of this problem. According to the dictionary 'sharedBehavior' was introduced in LC 4.6.4, but it doesn't even appear in the current user guide at all, whereas 'backgroundBehavior' is mentioned multiple times in paragraphs about the message path and groups. There is no mention of 'sharedBehavior' in the LC Lessons on-line, but there is a tutorial covering 'backgroundBehavior'. The only places to learn about 'sharedBehavior' seems to be the Dictionary or when post like this show up on this list, or the 6 entries for 'sharedBehavior' in the forums. I appreciate that some things do fall through the cracks from time to time, but the cracks in LC documentation are growing wider with every new release. I am a huge LC fan, but to me this is probably the biggest failing of RR and we see it crop up over and over again, I think many of the questions on this list and the forums could be addressed with good quality documentation, and I'm sure that it would also reduce the stress on RR support, not to mention improving the LC user experience, especially for new LC users. Personally, I wish RR would use some of the crowdfunding money to employ a good technical writer to work alongside the software engineers, the current user guide (LC7.0.3) is revision 19 (2010.11.09), that's well over 4 years out-of-date, how many entries are really missing? Now I think I understand why RR dropped it from the LC Help menu for a while, but the fact that the users wanted it re-instating should tell them how important it really is. Just my 2?. Paul From pete at lcsql.com Tue Mar 3 14:16:47 2015 From: pete at lcsql.com (Peter Haworth) Date: Tue, 03 Mar 2015 19:16:47 +0000 Subject: Fwd: Quantum tunneling in LiveCode References: <14bdf9e69b8-60c3-318@webprd-a88.mail.aol.com> <54F5CF86.2030104@fourthworld.com> <54F600D4.10307@hyperactivesw.com> Message-ID: While on the subject of out-of-the-normal message paths, I came across another one a couple of months ago. openControl messages are sent to the highest level group and then DOWN to any of it's child groups which seems the opposite of the normal message direction. It gets more interesting though. Let's say you have a group hierarchy like this: Group A GroupA.1 (child of groupA) GroupA.1.1 (child of groupA.1) If all these groups have openControl handlers, they fire in the following order GroupA GroupA.1 GroupA GroupA.1.1 GroupA.1 GroupA So not only do these messages go down to each child group but they also come back up again! In the above example, the openControl for GroupA is executed 3 times, GroupA.1 twice, and GroupA.1.1 just once. I submitted a bug report for this some time ago (#14091) and it's been stuck in Expert Review status for about 3 months. I don't know if it's a bug or not but it certainly seems like odd behavior and could certainly screw up whatever logic you have in an openControl handler. Pete On Tue, Mar 3, 2015 at 10:43 AM J. Landman Gay wrote: > On 3/3/2015 9:13 AM, Richard Gaskin wrote: > > The backgroundBehavior property is a tricky thing, > > I think of it like this: A message to an object will always go to the > object's owner group(s) first, if any. After that it hits the card and > follows the normal hierarchy. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From brahma at hindu.org Tue Mar 3 14:25:21 2015 From: brahma at hindu.org (Brahmanathaswami) Date: Tue, 03 Mar 2015 09:25:21 -1000 Subject: OT: Need Panorama Developer (for hire) Message-ID: <54F60AA1.10700@hindu.org> If you do Panorama using PanoTour Pro from Kolor.. please contact me off list Thank you. Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com From MikeKerner at roadrunner.com Tue Mar 3 14:26:14 2015 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 3 Mar 2015 14:26:14 -0500 Subject: Project Browser Disclosure Triangles Not Responding Message-ID: I have a project that seems to be having an issue with the project browser: if I click on one of the disclosure triangles, the object (even cards) won't expand. Anyone else? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bobsneidar at iotecdigital.com Tue Mar 3 14:32:29 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 3 Mar 2015 19:32:29 +0000 Subject: Because LC can't do two things at once. In-Reply-To: <20150302152054.6107286.53154.10617@gmail.com> References: <54E83AC7.2000307@fourthworld.com> <53710DF0-4037-4249-8008-FCC82E09013C@gmail.com> <20150302152054.6107286.53154.10617@gmail.com> Message-ID: Wouldn?t hurt for RunRev to add an argument to hide the Microsoft command window when shelling out. Looks ominous to an end user when a command window pops up then disappears with nothing to show for it. Bob S On Mar 2, 2015, at 07:20 , mikedoub at gmail.com wrote: It will be added when the linux part is sorted out. :) Mike From bobsneidar at iotecdigital.com Tue Mar 3 14:35:34 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 3 Mar 2015 19:35:34 +0000 Subject: sane way to keep menubar on mac (and what about windows???) In-Reply-To: <54F492FA.90000@fourthworld.com> References: <54F492FA.90000@fourthworld.com> Message-ID: Wha?? Where?? Not home but Pro? Bob S On Mar 2, 2015, at 08:42 , Richard Gaskin > wrote: So with VirtualBox being free and open, and a Win license being under $100 From sritcp at gmail.com Tue Mar 3 14:30:05 2015 From: sritcp at gmail.com (Sri) Date: Tue, 3 Mar 2015 11:30:05 -0800 (PST) Subject: Sorting Columns In-Reply-To: <8D223D41F9F08FF-13DC-DA181@webmail-va003.sysops.aol.com> References: <8D223D41F9F08FF-13DC-DA181@webmail-va003.sysops.aol.com> Message-ID: <1425411005355-4689631.post@n4.nabble.com> dunbarx wrote > An easy way is to extract the full dataset, perhaps with the "dgData". > This will give you a tab and return delimited list. 1. I think Craig meant dgText (dgData is an array). 2. Don't forget to set itemDel to tab Regards, Sri. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sorting-Columns-tp4689614p4689631.html Sent from the Revolution - User mailing list archive at Nabble.com. From pmbrig at gmail.com Tue Mar 3 14:39:21 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 3 Mar 2015 14:39:21 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54F5D356.9060104@fourthworld.com> References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> Message-ID: <00580878-3E38-4732-90A1-4AE6D5A47037@gmail.com> Assuming that when you saw "full" that meant AC connected but fully charged, here is what I have. Probably should be tested on all 3 platforms before letting it fly as a finished utility. Works a peach on the Mac. function getPowerSource -- returns the current power source for a laptop -- "AC" or "Battery" -- requires caseSwitch() switch the platform case "MacOS" -- thanks to Martin Koob, use-LC list put shell ("pmset -g batt") into tSource -- returns something like: -- Currently drawing from 'AC Power' -- -InternalBattery-0 99%; finishing charge; 0:00 remaining return char 2 to -1 of word -2 of line 1 of tSource break case "Win32" -- thanks to Bob Sneidar, use-LC list put shell("WMIC Path Win32_Battery GetAvailability") into tSource -- Line 3 will contain 2 if the battery is charging, 3 if running on battery put line 3 of tSource into tStatus return caseSwitch(tStatus,"3=Battery","*=AC") break default -- Unix, thanks to Richard Gaskin, use-LC list put url "/sys/class/power_supply/BAT0/" into tStatus if tSource = empty then put url "/sys/class/power_supply/BAT1/" into tStatus return caseSwitch(tStatus,"discharging=Battery","charging,full=AC","*=*") -- if non-standard, -- just returns whatever "/sys/class/power_supply/BATx/" reports end switch end getPowerSource -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 3, 2015, at 10:29 AM, Richard Gaskin wrote: > Peter M. Brigham wrote: > > So it looks from your links that I should use "/sys/class/power_supply > > /BAT0/" for the URL on Unix, and check for "charging" or > > "discharging" as the first word?? > > ...or "full", as I saw last night while testing this. > > So far I'm only seeing one-word values, so using "word 1" would seem a safe choice - good call. > > > We have one remaining mystery, however: my Dell has only one battery, but has no values at /sys/class/power_supply/BAT0/, instead using /sys/class/power_supply/BAT1/. > > I've read other cases online where folks find the same thing, but haven't found the definitive rule governing why. > > In my reading I also came across some laptop models (Toshiba came up a couple times) in which the battery firmware doesn't report its info in a standard way, making it more difficult for generalized utilities to obtain it. But frankly, if an OEM chooses to disregard published standards personally I can't see spending much time accommodating them, so I'm not too worried about such edge cases. > > Given all this, I would feel reasonably safe at this time with the following algorithm: > > First check BAT0/status > If empty then > check BAT1/status > end if > If both are empty there's probably no battery > If a value is found then use it > > I've seen no mention of BAT2 or more, so I feel this should account for a reasonably useful range of contexts. > > > My own goal here is to know whether I can feel save performing optional background processing which can improve performance but at the cost of battery life. > > So either "full" or "charging" implies that the laptop is plugged into a wall socket, so I'd proceed with those background tasks. > > And if no battery info can be found at all in either location (BAT0 or BAT1), it seems safe to assume we're not on a battery-powered device, so I'd also proceed with optional background tasks. > > So it's only when the status returns "discharging" that I know a battery is present and that it's not plugged into a wall socket, in which case I should at least let the user decide whether or not to run optional background tasks. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Tue Mar 3 14:41:20 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 3 Mar 2015 14:41:20 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54F5D356.9060104@fourthworld.com> References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> Message-ID: <9A446B0E-A990-4499-9262-2F62BA858B0C@gmail.com> Sorry, I left out the "word 1" part. The Unix case should read: put url "/sys/class/power_supply/BAT0/" into tStatus if tSource = empty then put url "/sys/class/power_supply/BAT1/" into tStatus put word 1 of tStatus into tStatus return caseSwitch(tStatus,"discharging=Battery","charging,full=AC","*=*") -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 3, 2015, at 10:29 AM, Richard Gaskin wrote: > Peter M. Brigham wrote: > > So it looks from your links that I should use "/sys/class/power_supply > > /BAT0/" for the URL on Unix, and check for "charging" or > > "discharging" as the first word?? > > ...or "full", as I saw last night while testing this. > > So far I'm only seeing one-word values, so using "word 1" would seem a safe choice - good call. > > > We have one remaining mystery, however: my Dell has only one battery, but has no values at /sys/class/power_supply/BAT0/, instead using /sys/class/power_supply/BAT1/. > > I've read other cases online where folks find the same thing, but haven't found the definitive rule governing why. > > In my reading I also came across some laptop models (Toshiba came up a couple times) in which the battery firmware doesn't report its info in a standard way, making it more difficult for generalized utilities to obtain it. But frankly, if an OEM chooses to disregard published standards personally I can't see spending much time accommodating them, so I'm not too worried about such edge cases. > > Given all this, I would feel reasonably safe at this time with the following algorithm: > > First check BAT0/status > If empty then > check BAT1/status > end if > If both are empty there's probably no battery > If a value is found then use it > > I've seen no mention of BAT2 or more, so I feel this should account for a reasonably useful range of contexts. > > > My own goal here is to know whether I can feel save performing optional background processing which can improve performance but at the cost of battery life. > > So either "full" or "charging" implies that the laptop is plugged into a wall socket, so I'd proceed with those background tasks. > > And if no battery info can be found at all in either location (BAT0 or BAT1), it seems safe to assume we're not on a battery-powered device, so I'd also proceed with optional background tasks. > > So it's only when the status returns "discharging" that I know a battery is present and that it's not plugged into a wall socket, in which case I should at least let the user decide whether or not to run optional background tasks. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Mar 3 14:43:36 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 03 Mar 2015 13:43:36 -0600 Subject: Because LC can't do two things at once. In-Reply-To: References: <54E83AC7.2000307@fourthworld.com> <53710DF0-4037-4249-8008-FCC82E09013C@gmail.com> <20150302152054.6107286.53154.10617@gmail.com> Message-ID: <54F60EE8.1090002@hyperactivesw.com> On 3/3/2015 1:32 PM, Bob Sneidar wrote: > Wouldn?t hurt for RunRev to add an argument to hide the Microsoft > command window when shelling out. Looks ominous to an end user when a > command window pops up then disappears with nothing to show for it. MetaCard beat you to it: hideConsoleWindows -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pmbrig at gmail.com Tue Mar 3 15:03:54 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 3 Mar 2015 15:03:54 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54F5D356.9060104@fourthworld.com> References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> Message-ID: OK, as usual, I find some tweaks *after* I hit the send button. I changed caseSwitch() so it handles the case of an empty tCheckValue, allowing getPowerSource() to report "no battery" if getting the URL returns empty. The expansion of caseSwitch() is useful in and of itself?. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig ---------- -- watch linewraps function getPowerSource -- returns the current power source for a laptop -- "AC" or "Battery" -- or "no battery" if there is no battery (Unix) -- requires caseSwitch() switch the platform case "MacOS" -- thanks to Martin Koob, use-LC list put shell ("pmset -g batt") into tSource -- returns something like: -- Currently drawing from 'AC Power' -- -InternalBattery-0 99%; finishing charge; 0:00 remaining return char 2 to -1 of word -2 of line 1 of tSource break case "Win32" -- thanks to Bob Sneidar, use-LC list put shell("WMIC Path Win32_Battery GetAvailability") into tSource -- Line 3 will contain 2 if the battery is charging, 3 if running on battery put line 3 of tSource into tStatus return caseSwitch(tStatus,"3=Battery","*=AC") break default -- Unix, thanks to Richard Gaskin, use-LC list put url "/sys/class/power_supply/BAT0/" into tStatus if tSource = empty then put url "/sys/class/power_supply/BAT1/" into tStatus put word 1 of tStatus into tStatus return caseSwitch(tStatus,"discharging=Battery","charging,full=AC","=no battery","*=*") -- if tStatus = empty, returns "no battery", else if tStatus is non-standard, -- just returns whatever "/sys/class/power_supply/BATx/" reports end switch end getPowerSource function caseSwitch -- does a quick inline switch/case -- param 1 is checkValue -- params 2+ are in the form matchValue(s)=returnValue -- separate multiple matcheValues with commas -- and enclose each matchValue=returnValue pair in quotes -- if checkValue matches one or more items in matchValue(s), -- returns returnValue -- note that checkValue should NOT be enclosed in quotes -- use a matchValue of "*" to specify a default value, -- to be returned if no matches found in the list -- if the default is "*=*" then no match returns the original checkValue -- if no match and no default value specified, then returns empty -- usage: -- put caseSwitch(len(tZip),"5=zip","10=zip+4","*=not a zip code") \ -- into zipCodeType -- from Ken Ray, use-LC list, originally named stsSwitch() -- revised by Peter M. Brigham, pmbrig at gmail.com -- to catch an empty checkValue, eg, -- ?,"=empty input",? put param(1) into tCheckValue set the itemDel to "=" put "" into tDefault repeat with x = 2 to the paramCount put param(x) into tCheck put item 1 of tCheck into tMatch put item 2 of tCheck into tRetVal replace "," with "=" in tMatch if tCheckValue = empty and tMatch = empty then return tRetVal if tCheckValue is among the items of tMatch then return tRetVal if tMatch = "*" then if tRetVal = "*" then put tCheckValue into tDefault else put tRetVal into tDefault end if end if end repeat return tDefault end caseSwitch On Mar 3, 2015, at 10:29 AM, Richard Gaskin wrote: > Peter M. Brigham wrote: > > So it looks from your links that I should use "/sys/class/power_supply > > /BAT0/" for the URL on Unix, and check for "charging" or > > "discharging" as the first word?? > > ...or "full", as I saw last night while testing this. > > So far I'm only seeing one-word values, so using "word 1" would seem a safe choice - good call. > > > We have one remaining mystery, however: my Dell has only one battery, but has no values at /sys/class/power_supply/BAT0/, instead using /sys/class/power_supply/BAT1/. > > I've read other cases online where folks find the same thing, but haven't found the definitive rule governing why. > > In my reading I also came across some laptop models (Toshiba came up a couple times) in which the battery firmware doesn't report its info in a standard way, making it more difficult for generalized utilities to obtain it. But frankly, if an OEM chooses to disregard published standards personally I can't see spending much time accommodating them, so I'm not too worried about such edge cases. > > Given all this, I would feel reasonably safe at this time with the following algorithm: > > First check BAT0/status > If empty then > check BAT1/status > end if > If both are empty there's probably no battery > If a value is found then use it > > I've seen no mention of BAT2 or more, so I feel this should account for a reasonably useful range of contexts. > > > My own goal here is to know whether I can feel save performing optional background processing which can improve performance but at the cost of battery life. > > So either "full" or "charging" implies that the laptop is plugged into a wall socket, so I'd proceed with those background tasks. > > And if no battery info can be found at all in either location (BAT0 or BAT1), it seems safe to assume we're not on a battery-powered device, so I'd also proceed with optional background tasks. > > So it's only when the status returns "discharging" that I know a battery is present and that it's not plugged into a wall socket, in which case I should at least let the user decide whether or not to run optional background tasks. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Tue Mar 3 16:57:53 2015 From: dunbarx at aol.com (dunbarx) Date: Tue, 3 Mar 2015 13:57:53 -0800 (PST) Subject: Sorting Columns In-Reply-To: <1425411005355-4689631.post@n4.nabble.com> References: <8D223D41F9F08FF-13DC-DA181@webmail-va003.sysops.aol.com> <1425411005355-4689631.post@n4.nabble.com> Message-ID: <1425419873778-4689636.post@n4.nabble.com> Sri is right about all that. I could surely have been more helpful about the difference between "dgData" and "dgText". I assumed that tab and return delimited data implied a tab delim. All good, though. Craig -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sorting-Columns-tp4689614p4689636.html Sent from the Revolution - User mailing list archive at Nabble.com. From gcanyon at gmail.com Tue Mar 3 17:16:28 2015 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 3 Mar 2015 16:16:28 -0600 Subject: Sorting Columns In-Reply-To: <8D223D41F9F08FF-13DC-DA181@webmail-va003.sysops.aol.com> References: <8D223D41F9F08FF-13DC-DA181@webmail-va003.sysops.aol.com> Message-ID: On Tue, Mar 3, 2015 at 8:18 AM, wrote: > function goodNumber var > repeat for each char tChar in var > if var is in "0123456789" then put tChar after temp > end repeat > return temp > end goodNumber > It's worth checking, but this might be faster (but less robust): function goodNumber var replace comma with empty in var return var end goodNumber if that does work, then I'd replace it with a more general function: function replaceF S,F,R replace F with R in S return S end replaceF and then call it with sort yourData numeric by replaceF(item columnOfInterest of each,comma,empty) From pmbrig at gmail.com Tue Mar 3 17:32:28 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 3 Mar 2015 17:32:28 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54F5D356.9060104@fourthworld.com> References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> Message-ID: <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> on 3/3/15, I wrote: > OK, as usual, I find some tweaks *after* I hit the send button. I changed caseSwitch() so it handles the case of an empty tCheckValue, allowing getPowerSource() to report "no battery" if getting the URL returns empty. The expansion of caseSwitch() is useful in and of itself?. Sigh. Some typos in the handler I sent -- I was changing variable names and didn't change everything. Here is the (hopefully) correct and testable handler. It never fails -- I am learning that if I want to debug something, all I have to do is send it off to this list and I'll immediately find the errors, *after* I hit send. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig ---------- function getPowerSource -- returns the current power source for a laptop -- "AC" or "Battery" -- or "no battery" if there is no battery (Unix) -- requires caseSwitch() switch the platform case "MacOS" -- thanks to Martin Koob, use-LC list put shell ("pmset -g batt") into tStatus -- returns something like: -- Currently drawing from 'AC Power' -- -InternalBattery-0 99%; finishing charge; 0:00 remaining return char 2 to -1 of word -2 of line 1 of tStatus break case "Win32" -- thanks to Bob Sneidar, use-LC list put shell("WMIC Path Win32_Battery GetAvailability") into tStatus -- Line 3 will contain 2 if the battery is charging, 3 if running on battery put line 3 of tStatus into tStatus return caseSwitch(tStatus,"3=Battery","*=AC") break default -- Unix, thanks to Richard Gaskin, use-LC list put url "/sys/class/power_supply/BAT0/" into tStatus if tStatus = empty then put url "/sys/class/power_supply/BAT1/" into tStatus put word 1 of tStatus into tStatus return caseSwitch(tStatus,"discharging=Battery","charging,full=AC",\ "=no battery","*=*") -- if tStatus = empty, returns "no battery", else if tStatus is non-standard, -- just returns whatever "/sys/class/power_supply/BATx/" reports end switch end getPowerSource From monte at sweattechnologies.com Tue Mar 3 18:00:56 2015 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 4 Mar 2015 10:00:56 +1100 Subject: mergExt Update for LC 6.7.3 and 7.0.3 Message-ID: <0C13A0C4-A20C-4108-A4F1-365B94FC2DA9@sweattechnologies.com> Hi LiveCoders I have uploaded new builds of all my iOS externals to be compatible with the latest versions of LiveCode and Apple's 64 bit requirements. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From matthias_livecode_150811 at m-r-d.de Tue Mar 3 18:19:37 2015 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Wed, 4 Mar 2015 00:19:37 +0100 Subject: mergExt Update for LC 6.7.3 and 7.0.3 In-Reply-To: <0C13A0C4-A20C-4108-A4F1-365B94FC2DA9@sweattechnologies.com> References: <0C13A0C4-A20C-4108-A4F1-365B94FC2DA9@sweattechnologies.com> Message-ID: thank you again for all your effort. Purchasing (and renewing) the mergExt Complete suite was one of my best business decisions. :) Matthias > Am 04.03.2015 um 00:00 schrieb Monte Goulding : > > Hi LiveCoders > > I have uploaded new builds of all my iOS externals to be compatible with the latest versions of LiveCode and Apple's 64 bit requirements. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Tue Mar 3 18:23:14 2015 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 4 Mar 2015 10:23:14 +1100 Subject: mergExt Update for LC 6.7.3 and 7.0.3 In-Reply-To: References: <0C13A0C4-A20C-4108-A4F1-365B94FC2DA9@sweattechnologies.com> Message-ID: On 4 Mar 2015, at 10:19 am, Matthias Rebbe | M-R-D wrote: > thank you again for all your effort. > > Purchasing (and renewing) the mergExt Complete suite was one of my best business decisions. :) Thanks Matthias The 64 bit push has been quite a bit of work over the last few weeks so it's nice to get a pat on the back. Everyone else.. listen to Matthias and buy mergExt! Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From bobsneidar at iotecdigital.com Tue Mar 3 19:02:37 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 4 Mar 2015 00:02:37 +0000 Subject: [OT] Invalid host address In-Reply-To: References: <5C0F3777-CFF6-43C4-B8E7-93EDC25189E1@hyperactivesw.com> Message-ID: <20E34018-E001-4CF5-9A4D-D5E4B6FB05E5@iotecdigital.com> Good point. I mentioned before that I have adopted the method of opening a socket to the host first, checking for errors, before actually trying to send any data. That might be something you want to implement. I put it at the start of a Database Reconnect handler I wrote just for this sort of thing. It has a repeat loop so that the end user can attempt to resolve the condition and then try again, or else cancel. If Cancel is selected, the handler quits the app. Bob S > On Mar 2, 2015, at 17:58 , Mike Bonner wrote: > > The hosts file can be set up to provide specific name to ip address > mappings. 99.9% of the time its not used, and if it is, its often a > hijack. Along with the hijack thing, its also possible that a proxy has > been set up unbeknownst to the user, and its munging something as it > decides where they want to direct the user, rather than where the user > actually wants to go. > > Can you post some of the gibberish? > > On Mon, Mar 2, 2015 at 6:53 PM, J. Landman Gay > wrote: > >> Out of thousands of users, occasionally one can't connect and repeatedly >> gets an invalid host address error. What causes those? All users are >> sending to the same server at the same domain. Naturally they all say it's >> only our app and never happens in a browser. >> >> Everything I've found about it is mostly gibberish to me. Is this >> something to do with the hosts file on the computer? The latest report says >> it happens on different networks (home and school) so I assume it's >> specific to his machine. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Mar 3 19:05:26 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 4 Mar 2015 00:05:26 +0000 Subject: [OT] Invalid host address In-Reply-To: References: <5C0F3777-CFF6-43C4-B8E7-93EDC25189E1@hyperactivesw.com> Message-ID: <1212F498-FF8C-4C74-AC70-EB4B63FEFEBE@iotecdigital.com> It sounds like their DNS might be hosed. Perhaps the user has manual assigned a DNS server instead of the local network assigning one for him. Perhaps that DNS server is inaccessible at certain locations. Some users like to manually set their DNS to Google?s DNS or OpenDNS. This can get them into trouble in school environments, where there are typically content management systems that will block any attempt to use a DNS server other than the local one. Bob S > On Mar 2, 2015, at 17:58 , Mike Bonner wrote: > > The hosts file can be set up to provide specific name to ip address > mappings. 99.9% of the time its not used, and if it is, its often a > hijack. Along with the hijack thing, its also possible that a proxy has > been set up unbeknownst to the user, and its munging something as it > decides where they want to direct the user, rather than where the user > actually wants to go. > > Can you post some of the gibberish? > > On Mon, Mar 2, 2015 at 6:53 PM, J. Landman Gay > wrote: > >> Out of thousands of users, occasionally one can't connect and repeatedly >> gets an invalid host address error. What causes those? All users are >> sending to the same server at the same domain. Naturally they all say it's >> only our app and never happens in a browser. >> >> Everything I've found about it is mostly gibberish to me. Is this >> something to do with the hosts file on the computer? The latest report says >> it happens on different networks (home and school) so I assume it's >> specific to his machine. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Mar 3 19:08:54 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 4 Mar 2015 00:08:54 +0000 Subject: DB connection times In-Reply-To: References: <54F34BEA.6060801@fourthworld.com> <95324A7F-C99B-474C-907B-FB508A696437@iotecdigital.com> Message-ID: Sorry yes, I meant Char(). Bob S > On Mar 2, 2015, at 20:00 , Dr. Hawkins wrote: > > On Mon, Mar 2, 2015 at 9:25 AM, Bob Sneidar > wrote: > >> To optimize connections and transfer of data, one of the things you can do >> is use VarChar() instead of TEXT whenever possible. A very knowledgable web >> designer explained to me that TEXT types pad the storage values to fill the >> defined storage size for that column, whereas VarChar only stores as much >> data as is in the column for that record. >> > > But TEXT has undefined object size. According to postgres, there is not an > efficiency difference between VARCHAR an TEXT. > > Perhaps he/you meant CHAR(), rather than TEXT? > > >> Another thing you can do is avoid querying for BLOB types until you >> actually need the data. Thirdly, I suspect as others have said, that using >> transactional querying, and combining all your SQL statements into one >> using the semi-colon delimiter is probably going to save some time overall. >> > > I don't know about BLOB, but isn't it also varying size? > > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Tue Mar 3 19:08:25 2015 From: sundown at pacifier.com (JB) Date: Tue, 3 Mar 2015 16:08:25 -0800 Subject: Sorting Columns In-Reply-To: <1425411005355-4689631.post@n4.nabble.com> References: <8D223D41F9F08FF-13DC-DA181@webmail-va003.sysops.aol.com> <1425411005355-4689631.post@n4.nabble.com> Message-ID: Thanks for the info, Srl. John Balgenorth On Mar 3, 2015, at 11:30 AM, Sri wrote: > dunbarx wrote >> An easy way is to extract the full dataset, perhaps with the "dgData". >> This will give you a tab and return delimited list. > > 1. I think Craig meant dgText (dgData is an array). > > 2. Don't forget to set itemDel to tab > > Regards, > Sri. > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sorting-Columns-tp4689614p4689631.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Tue Mar 3 19:13:50 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 4 Mar 2015 00:13:50 +0000 Subject: Sorting Columns In-Reply-To: <8D223D41F9F08FF-13DC-DA181@webmail-va003.sysops.aol.com> References: <8D223D41F9F08FF-13DC-DA181@webmail-va003.sysops.aol.com> Message-ID: <3F630337-1C1C-43B8-894F-D31A1DA5B1D6@iotecdigital.com> dgData returns an array. dgText returns delimited text. if the commas are thousand delimiters, then strip them. I?ve often thought of trying to implement a ?displayAs functionality for Datagrids, like Excel does, where the value is one thing but the display is another. Your situation really underscores the need for this. Bob S On Mar 3, 2015, at 06:18 , dunbarx at aol.com wrote: An easy way is to extract the full dataset, perhaps with the "dgData". This will give you a tab and return delimited list. Then you might sort by a function: From sundown at pacifier.com Tue Mar 3 19:12:21 2015 From: sundown at pacifier.com (JB) Date: Tue, 3 Mar 2015 16:12:21 -0800 Subject: Sorting Columns In-Reply-To: References: <8D223D41F9F08FF-13DC-DA181@webmail-va003.sysops.aol.com> Message-ID: <1B44882C-BD50-402D-9831-112C53A5084E@pacifier.com> Thank you, for the info and code. John Balgenorth On Mar 3, 2015, at 2:16 PM, Geoff Canyon wrote: > On Tue, Mar 3, 2015 at 8:18 AM, wrote: > >> function goodNumber var >> repeat for each char tChar in var >> if var is in "0123456789" then put tChar after temp >> end repeat >> return temp >> end goodNumber >> > > It's worth checking, but this might be faster (but less robust): > > function goodNumber var > replace comma with empty in var > return var > end goodNumber > > if that does work, then I'd replace it with a more general function: > > function replaceF S,F,R > replace F with R in S > return S > end replaceF > > and then call it with > > sort yourData numeric by replaceF(item columnOfInterest of each,comma,empty) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Tue Mar 3 19:17:33 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 4 Mar 2015 00:17:33 +0000 Subject: Quantum tunneling in LiveCode In-Reply-To: <14bdc5069b8-703f-152fe@webprd-a55.mail.aol.com> References: <14bdc5069b8-703f-152fe@webprd-a55.mail.aol.com> Message-ID: May be my mind is too small, but if this is true, then Quantum Mechanics is flawed. But I have to wonder what the quantum definition of ?at once? is. :-) Bob S On Mar 2, 2015, at 13:07 , stgoldberg at aol.com wrote: In quantum mechanics something can be in more than one place at once. A paradox of sorts seems to occur in the message chain with groups in LiveCode. Try this: From sundown at pacifier.com Tue Mar 3 19:21:46 2015 From: sundown at pacifier.com (JB) Date: Tue, 3 Mar 2015 16:21:46 -0800 Subject: Sorting Columns In-Reply-To: <3F630337-1C1C-43B8-894F-D31A1DA5B1D6@iotecdigital.com> References: <8D223D41F9F08FF-13DC-DA181@webmail-va003.sysops.aol.com> <3F630337-1C1C-43B8-894F-D31A1DA5B1D6@iotecdigital.com> Message-ID: <619FBFFE-A9AE-4984-A86D-D1E5B55CEAD8@pacifier.com> Thanks Bob! Any explanation is helpful since I am fairly new to data grids. The commas are thousands delimiters. John Balgenorth On Mar 3, 2015, at 4:13 PM, Bob Sneidar wrote: > dgData returns an array. dgText returns delimited text. if the commas are thousand delimiters, then strip them. I?ve often thought of trying to implement a ?displayAs functionality for Datagrids, like Excel does, where the value is one thing but the display is another. Your situation really underscores the need for this. > > Bob S > > > On Mar 3, 2015, at 06:18 , dunbarx at aol.com wrote: > > An easy way is to extract the full dataset, perhaps with the "dgData". This will give you a tab and return delimited list. Then you might sort by a function: > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From userev at canelasoftware.com Tue Mar 3 19:36:48 2015 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 3 Mar 2015 16:36:48 -0800 Subject: iOS8 Encrpytion working? In-Reply-To: References: Message-ID: <8B6B9A22-AB19-40AD-A3DA-208C35F919D8@canelasoftware.com> On Mar 2, 2015, at 11:55 AM, Chipp Walters wrote: > I keep getting this error when I BUILD for iOS on 7.0.3 > Any idea why? Runs fine in simulator. Encryption is checked but it's acting > like it's not checked. Chipp and I have already communicated about this. There is a problem with encryption for iOS and version 7+ of LiveCode. http://quality.runrev.com/show_bug.cgi?id=14766 Hoping 7.0.4 will have this corrected. Best regards, Mark Talluto livecloud.io canelasoftware.com From gerry.orkin at gmail.com Tue Mar 3 20:09:46 2015 From: gerry.orkin at gmail.com (Gerry) Date: Wed, 04 Mar 2015 01:09:46 +0000 Subject: mergExt Update for LC 6.7.3 and 7.0.3 References: <0C13A0C4-A20C-4108-A4F1-365B94FC2DA9@sweattechnologies.com> Message-ID: The mergext externals make it possible to do serious development on iOS in LiveCode. Without Monte's work the platform wouldn't be a serious development took for me. It's that simple. Buy 'em! Gerry On Wed, 4 Mar 2015 at 10:23 am, Monte Goulding wrote: > > On 4 Mar 2015, at 10:19 am, Matthias Rebbe | M-R-D < > matthias_livecode_150811 at m-r-d.de> wrote: > > > thank you again for all your effort. > > > > Purchasing (and renewing) the mergExt Complete suite was one of my best > business decisions. :) > > Thanks Matthias > > The 64 bit push has been quite a bit of work over the last few weeks so > it's nice to get a pat on the back. Everyone else.. listen to Matthias and > buy mergExt! > > Cheers > > Monte > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sc at sahores-conseil.com Tue Mar 3 20:49:23 2015 From: sc at sahores-conseil.com (Pierre Sahores) Date: Wed, 4 Mar 2015 02:49:23 +0100 Subject: mergExt Update for LC 6.7.3 and 7.0.3 In-Reply-To: <0C13A0C4-A20C-4108-A4F1-365B94FC2DA9@sweattechnologies.com> References: <0C13A0C4-A20C-4108-A4F1-365B94FC2DA9@sweattechnologies.com> Message-ID: Congrats and thanks, Monte. > Le 4 mars 2015 ? 00:00, Monte Goulding a ?crit : > > Hi LiveCoders > > I have uploaded new builds of all my iOS externals to be compatible with the latest versions of LiveCode and Apple's 64 bit requirements. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From dochawk at gmail.com Tue Mar 3 22:56:07 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 3 Mar 2015 19:56:07 -0800 Subject: revUnplacedGroupIDs has both false positives and negatives? Message-ID: I know that it's undocumented, but has anyone looked seriously at revUnplacedGroupIDs? As I went hunting for crud, missing menus, and whathaveyou, As I stepped through (after blowing a foot off), I found that some of the ids covered by revUnplacedGroupIDs were, in fact, placed. In one case, it was most of the groups on a card. I also find it *not* consistently finding all of the actually unplaced groups, although this is much harder to track down. Has anyone else experimented with this? And, I suppose more importantly, can anyone reproduce it? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Tue Mar 3 23:17:35 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 4 Mar 2015 04:17:35 +0000 (UTC) Subject: Power Status (was Re: Because LC can't do two things at once.) References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> Message-ID: Peter- Actually, BAT0 is a directory, so you want put url "/sys/class/power_supply/BAT0/status" into tStatus and what I see on my Thinkpad running linux Mint 17 is status returns one of three states: Unknown if the laptop is plugged into the AC adapter Discharging if running off the battery power Charging if it's (wait for it) charging the battery. If I remove the battery and run the laptop off AC power there is no BAT0 directory. -- Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Wed Mar 4 00:04:43 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 3 Mar 2015 21:04:43 -0800 Subject: Because LC can't do two things at once. In-Reply-To: <54F60EE8.1090002@hyperactivesw.com> References: <54E83AC7.2000307@fourthworld.com> <53710DF0-4037-4249-8008-FCC82E09013C@gmail.com> <20150302152054.6107286.53154.10617@gmail.com> <54F60EE8.1090002@hyperactivesw.com> Message-ID: <62864636929.20150303210443@ahsoftware.net> Jacque- Tuesday, March 3, 2015, 11:43:36 AM, you wrote: > MetaCard beat you to it: hideConsoleWindows My dyslexic eyes read that as 'MeatCard' -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From rdimola at evergreeninfo.net Wed Mar 4 01:09:15 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 4 Mar 2015 01:09:15 -0500 Subject: mergExt Update for LC 6.7.3 and 7.0.3 In-Reply-To: References: <0C13A0C4-A20C-4108-A4F1-365B94FC2DA9@sweattechnologies.com> Message-ID: <009801d05641$be7647b0$3b62d710$@net> +1 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Gerry Sent: Tuesday, March 03, 2015 8:10 PM To: How to use LiveCode Subject: Re: mergExt Update for LC 6.7.3 and 7.0.3 The mergext externals make it possible to do serious development on iOS in LiveCode. Without Monte's work the platform wouldn't be a serious development took for me. It's that simple. Buy 'em! Gerry On Wed, 4 Mar 2015 at 10:23 am, Monte Goulding wrote: > > On 4 Mar 2015, at 10:19 am, Matthias Rebbe | M-R-D < > matthias_livecode_150811 at m-r-d.de> wrote: > > > thank you again for all your effort. > > > > Purchasing (and renewing) the mergExt Complete suite was one of my > > best > business decisions. :) > > Thanks Matthias > > The 64 bit push has been quite a bit of work over the last few weeks > so it's nice to get a pat on the back. Everyone else.. listen to > Matthias and buy mergExt! > > Cheers > > Monte > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Mar 4 01:10:13 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Mar 2015 00:10:13 -0600 Subject: Because LC can't do two things at once. In-Reply-To: <62864636929.20150303210443@ahsoftware.net> References: <54E83AC7.2000307@fourthworld.com> <53710DF0-4037-4249-8008-FCC82E09013C@gmail.com> <20150302152054.6107286.53154.10617@gmail.com> <54F60EE8.1090002@hyperactivesw.com> <62864636929.20150303210443@ahsoftware.net> Message-ID: <87AF6BE2-DB40-4475-B360-84B902D05661@hyperactivesw.com> On March 3, 2015 11:04:43 PM CST, Mark Wieder wrote: >Jacque- > >Tuesday, March 3, 2015, 11:43:36 AM, you wrote: > >> MetaCard beat you to it: hideConsoleWindows > > >My dyslexic eyes read that as 'MeatCard' Call if what you want, but the real reason is that both of us are getting to be a less comfortable distance from the apocalypse. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Wed Mar 4 01:18:42 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 4 Mar 2015 01:18:42 -0500 Subject: revUnplacedGroupIDs has both false positives and negatives? In-Reply-To: References: Message-ID: <009901d05643$106de720$3149b560$@net> We had a thread a month or so ago under "Garbage Collection" I had a stack that was much larger than it should be. Contributors suggested using revUnplacedGroupIDs to loop thru and delete all the orphans. Well I did it. The stack shrunk down but had a group deleted that was placed. I thought in all the fiddling around that I might have done it by mistake. Now I know what happened but I shot off my foot regardless. Thanks for testing. Hard to submit a bug on an undocumented feature. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dr. Hawkins Sent: Tuesday, March 03, 2015 10:56 PM To: How to use LiveCode Subject: revUnplacedGroupIDs has both false positives and negatives? I know that it's undocumented, but has anyone looked seriously at revUnplacedGroupIDs? As I went hunting for crud, missing menus, and whathaveyou, As I stepped through (after blowing a foot off), I found that some of the ids covered by revUnplacedGroupIDs were, in fact, placed. In one case, it was most of the groups on a card. I also find it *not* consistently finding all of the actually unplaced groups, although this is much harder to track down. Has anyone else experimented with this? And, I suppose more importantly, can anyone reproduce it? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Wed Mar 4 01:59:04 2015 From: pete at lcsql.com (Peter Haworth) Date: Wed, 04 Mar 2015 06:59:04 +0000 Subject: revUnplacedGroupIDs has both false positives and negatives? References: <009901d05643$106de720$3149b560$@net> Message-ID: I wonder if this might be connected with the thread earlier today about the difference between sharedBehavior and backgroundBehavior. On Tue, Mar 3, 2015, 10:16 PM Ralph DiMola wrote: > We had a thread a month or so ago under "Garbage Collection" I had a stack > that was much larger than it should be. Contributors suggested using > revUnplacedGroupIDs to loop thru and delete all the orphans. Well I did it. > The stack shrunk down but had a group deleted that was placed. I thought in > all the fiddling around that I might have done it by mistake. Now I know > what happened but I shot off my foot regardless. Thanks for testing. Hard > to > submit a bug on an undocumented feature. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Dr. Hawkins > Sent: Tuesday, March 03, 2015 10:56 PM > To: How to use LiveCode > Subject: revUnplacedGroupIDs has both false positives and negatives? > > I know that it's undocumented, but has anyone looked seriously at > revUnplacedGroupIDs? > > As I went hunting for crud, missing menus, and whathaveyou, > > As I stepped through (after blowing a foot off), I found that some of the > ids covered by revUnplacedGroupIDs were, in fact, placed. In one case, it > was most of the groups on a card. > > I also find it *not* consistently finding all of the actually unplaced > groups, although this is much harder to track down. > > Has anyone else experimented with this? > > And, I suppose more importantly, can anyone reproduce it? > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From Hakan at Exformedia.se Wed Mar 4 05:56:51 2015 From: Hakan at Exformedia.se (Hakan at Exformedia.se) Date: Wed, 04 Mar 2015 11:56:51 +0100 Subject: Sorting Columns In-Reply-To: <3F630337-1C1C-43B8-894F-D31A1DA5B1D6@iotecdigital.com> References: <8D223D41F9F08FF-13DC-DA181@webmail-va003.sysops.aol.com> <3F630337-1C1C-43B8-894F-D31A1DA5B1D6@iotecdigital.com> Message-ID: <54F6E4F3.8040204@Exformedia.se> There is a lession on how to format your display here: http://lessons.runrev.com/m/datagrid/l/7327-how-do-i-override-the-default-behavior-for-rendering-data-to-a-cell In short you need to override the default behavior of the datagrid column: 1. Create a new button and select it 2. Copy the default behavior script to your button via: set the script of the selectedobject to the script of button "Default Column" of stack "revDataGridLibrary" 3. Tell the datagrid to use your behavior instead via: set the dgProps["default column behavior"] of group "Your data grid" to the long id of the selectedObject 4. Edit the script of your button What you need look for is the fillInData function Let say you want to display your big sales number as $ 1.000.000 (but still have the value saved as 1000000) you can change fillInData to on FillInData pData set the text of me to formatNumber(pData, ",", ".", "$ ") end FillInData Then you only need to add the formatNumber function... function formatNumber pNum, pSeparator, pCommaSign, pPrefix, pPostfix local tIsNegative, tRest, tCommaPos if pNum < 0 then put abs(pNum) into pNum put true into tIsNegative end if put offset(pCommaSign, pNum) into tCommaPos if tCommaPos > 0 then put char tCommaPos to -1 of pNum into tRest end if put char 1 to tCommaPos -1 of pNum into pNum repeat with i = length(pNum)-3 to 3 step -3 put pSeparator before char i+1 of pNum end repeat if tIsNegative then return pPrefix & "-" & pNum & tRest & pPostfix else return pPrefix & pNum & tRest & pPostfix end if end formatNumber Finally if you just want to target a specific column for your formatting you can use the dgColumn property (or dgColumnNumber) to ensure you only format specific columns Let's say you have a column named "Value" that you would like to format but no other columns you can change fillInData to: on FillInData pData put the dgColumn of me into tCol if tCol is "Value" then set the text of me to formatNumber(pData, " ", ".", "$ ") else set the text of me to pData end if end FillInData Happy Coding! :-H?kan > Bob Sneidar > 4 mars 2015 01:13 > dgData returns an array. dgText returns delimited text. if the commas > are thousand delimiters, then strip them. I?ve often thought of trying > to implement a ?displayAs functionality for Datagrids, like Excel > does, where the value is one thing but the display is another. Your > situation really underscores the need for this. > > Bob S > > > On Mar 3, 2015, at 06:18 , dunbarx at aol.com wrote: > > An easy way is to extract the full dataset, perhaps with the "dgData". > This will give you a tab and return delimited list. Then you might > sort by a function: > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > dunbarx at aol.com > 3 mars 2015 15:18 > An easy way is to extract the full dataset, perhaps with the "dgData". > This will give you a tab and return delimited list. Then you might > sort by a function: > > > sort yourData numeric by goodNumber(item columnOfInterest of each) > > > where: > > > function goodNumber var > repeat for each char tChar in var > if var is in "0123456789" then put tChar after temp > end repeat > return temp > end goodNumber > > > Craig Newman > > > > -----Original Message----- > From: JB > To: How to use LiveCode > Sent: Tue, Mar 3, 2015 6:33 am > Subject: Sorting Columns > > > I have a data grid and one of the columns > has numbers with commas included. If I > use the property inspector and select the > header column I can choose sort by text > or numeric. Due to the commas neither > of the sort types gives me a correct sort. > > Do I need to make another array and strip > the commas and then use that sort with > columns from the original array? What is > the best way to sort numeric columns with > commas included in the numbers? > > John Balgenort > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > JB > 3 mars 2015 12:30 > I have a data grid and one of the columns > has numbers with commas included. If I > use the property inspector and select the > header column I can choose sort by text > or numeric. Due to the commas neither > of the sort types gives me a correct sort. > > Do I need to make another array and strip > the commas and then use that sort with > columns from the original array? What is > the best way to sort numeric columns with > commas included in the numbers? > > John Balgenort > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From frans at knowlegistics.com Wed Mar 4 06:03:26 2015 From: frans at knowlegistics.com (Frans Schoffelen) Date: Wed, 4 Mar 2015 12:03:26 +0100 Subject: mergExt Update for LC 6.7.3 and 7.0.3 In-Reply-To: References: Message-ID: <065F0A55-217C-4309-8AD5-67C79F388BF5@knowlegistics.com> On 04.03.2015, at 12:00, use-livecode-request at lists.runrev.com wrote: > mergExt Update for LC 6.7.3 and 7.0.3 Hi Monte! Many thanks. To the bat-mobile! eh.. store.. Cheers Frans Frans Schoffelen, Berlin frans at knowlegistics.com SKYPE: macfrans iCHAT: frans at me.com From sundown at pacifier.com Wed Mar 4 07:27:35 2015 From: sundown at pacifier.com (JB) Date: Wed, 4 Mar 2015 04:27:35 -0800 Subject: Sorting Columns In-Reply-To: <54F6E4F3.8040204@Exformedia.se> References: <8D223D41F9F08FF-13DC-DA181@webmail-va003.sysops.aol.com> <3F630337-1C1C-43B8-894F-D31A1DA5B1D6@iotecdigital.com> <54F6E4F3.8040204@Exformedia.se> Message-ID: :-H?kan, Thank you for the link, the code and instructions. It will help a lot! And thank you again to everyone who replied. It all helps me very much and I really appreciate it. John Balgenorth On Mar 4, 2015, at 2:56 AM, Hakan at Exformedia.se wrote: > There is a lession on how to format your display here: > > http://lessons.runrev.com/m/datagrid/l/7327-how-do-i-override-the-default-behavior-for-rendering-data-to-a-cell > > In short you need to override the default behavior of the datagrid column: > > 1. Create a new button and select it > 2. Copy the default behavior script to your button via: > set the script of the selectedobject to the script of button "Default Column" of stack "revDataGridLibrary" > 3. Tell the datagrid to use your behavior instead via: > set the dgProps["default column behavior"] of group "Your data grid" to the long id of the selectedObject > 4. Edit the script of your button > > What you need look for is the fillInData function > > Let say you want to display your big sales number as $ 1.000.000 (but still have the value saved as 1000000) you can change fillInData to > > on FillInData pData > set the text of me to formatNumber(pData, ",", ".", "$ ") > end FillInData > > Then you only need to add the formatNumber function... > > function formatNumber pNum, pSeparator, pCommaSign, pPrefix, pPostfix > local tIsNegative, tRest, tCommaPos > if pNum < 0 then > put abs(pNum) into pNum > put true into tIsNegative > end if > put offset(pCommaSign, pNum) into tCommaPos > if tCommaPos > 0 then > put char tCommaPos to -1 of pNum into tRest > end if > put char 1 to tCommaPos -1 of pNum into pNum > repeat with i = length(pNum)-3 to 3 step -3 > put pSeparator before char i+1 of pNum > end repeat > if tIsNegative then > return pPrefix & "-" & pNum & tRest & pPostfix > else > return pPrefix & pNum & tRest & pPostfix > end if > end formatNumber > > Finally if you just want to target a specific column for your formatting you can use the dgColumn property (or dgColumnNumber) to ensure you only format specific columns > > Let's say you have a column named "Value" that you would like to format but no other columns you can change fillInData to: > > on FillInData pData > put the dgColumn of me into tCol > if tCol is "Value" then > set the text of me to formatNumber(pData, " ", ".", "$ ") > else > set the text of me to pData > end if > end FillInData > > Happy Coding! > > :-H?kan > >> Bob Sneidar >> 4 mars 2015 01:13 >> dgData returns an array. dgText returns delimited text. if the commas are thousand delimiters, then strip them. I?ve often thought of trying to implement a ?displayAs functionality for Datagrids, like Excel does, where the value is one thing but the display is another. Your situation really underscores the need for this. >> >> Bob S >> >> >> On Mar 3, 2015, at 06:18 , dunbarx at aol.com wrote: >> >> An easy way is to extract the full dataset, perhaps with the "dgData". This will give you a tab and return delimited list. Then you might sort by a function: >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> dunbarx at aol.com >> 3 mars 2015 15:18 >> An easy way is to extract the full dataset, perhaps with the "dgData". This will give you a tab and return delimited list. Then you might sort by a function: >> >> >> sort yourData numeric by goodNumber(item columnOfInterest of each) >> >> >> where: >> >> >> function goodNumber var >> repeat for each char tChar in var >> if var is in "0123456789" then put tChar after temp >> end repeat >> return temp >> end goodNumber >> >> >> Craig Newman >> >> >> >> -----Original Message----- >> From: JB >> To: How to use LiveCode >> Sent: Tue, Mar 3, 2015 6:33 am >> Subject: Sorting Columns >> >> >> I have a data grid and one of the columns >> has numbers with commas included. If I >> use the property inspector and select the >> header column I can choose sort by text >> or numeric. Due to the commas neither >> of the sort types gives me a correct sort. >> >> Do I need to make another array and strip >> the commas and then use that sort with >> columns from the original array? What is >> the best way to sort numeric columns with >> commas included in the numbers? >> >> John Balgenort >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> JB >> 3 mars 2015 12:30 >> I have a data grid and one of the columns >> has numbers with commas included. If I >> use the property inspector and select the >> header column I can choose sort by text >> or numeric. Due to the commas neither >> of the sort types gives me a correct sort. >> >> Do I need to make another array and strip >> the commas and then use that sort with >> columns from the original array? What is >> the best way to sort numeric columns with >> commas included in the numbers? >> >> John Balgenort >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Wed Mar 4 10:58:44 2015 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Wed, 4 Mar 2015 16:58:44 +0100 Subject: mergExt Update for LC 6.7.3 and 7.0.3 In-Reply-To: <0C13A0C4-A20C-4108-A4F1-365B94FC2DA9@sweattechnologies.com> References: <0C13A0C4-A20C-4108-A4F1-365B94FC2DA9@sweattechnologies.com> Message-ID: Monte, the mergFTPD is dated February 2015. Why wasn?t it updated? Regards, Matthias > Am 04.03.2015 um 00:00 schrieb Monte Goulding : > > Hi LiveCoders > > I have uploaded new builds of all my iOS externals to be compatible with the latest versions of LiveCode and Apple's 64 bit requirements. > > Cheers > > Monte > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Mar 4 11:15:22 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 4 Mar 2015 16:15:22 +0000 Subject: sane way to keep menubar on mac (and what about windows???) In-Reply-To: <54F53399.4060502@hyperactivesw.com> References: <00d301d054ee$fa108280$ee318780$@kestner.de> <54F53399.4060502@hyperactivesw.com> Message-ID: THAT I didn?t know. Thanks! My projects tend to have a custom menu for each substack anyway, which is why I didn?t see it before. Bob S On Mar 2, 2015, at 20:07 , J. Landman Gay > wrote: On Windows, there is no such thing as a defaultMenuBar, since each window must have its own. If you don't put a menubar in a stack, there will be nothing there. From bobsneidar at iotecdigital.com Wed Mar 4 11:35:13 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 4 Mar 2015 16:35:13 +0000 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> Message-ID: <9292AC72-7593-4E79-9166-73B752AF508E@iotecdigital.com> I thought I was the only one who did this. :-) Bob S On Mar 3, 2015, at 14:32 , Peter M. Brigham > wrote: Sigh. Some typos in the handler I sent -- I was changing variable names and didn't change everything. Here is the (hopefully) correct and testable handler. It never fails -- I am learning that if I want to debug something, all I have to do is send it off to this list and I'll immediately find the errors, *after* I hit send. -- Peter Peter M. Brigham From bobsneidar at iotecdigital.com Wed Mar 4 11:37:10 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 4 Mar 2015 16:37:10 +0000 Subject: Quantum tunneling in LiveCode In-Reply-To: <71C61B05-53E3-430F-8E65-817FB24F2DAD@livecode.org> References: <14bdc5069b8-703f-152fe@webprd-a55.mail.aol.com> <71C61B05-53E3-430F-8E65-817FB24F2DAD@livecode.org> Message-ID: I think you meant before. Groups with backgroundBehavior set to true receive the message before the card, if I am not mistaken. Bob S On Mar 2, 2015, at 13:33 , Paul Hibbert > wrote: Because you set the backgroundBehavior of the "strange group" to true, it's effectively after the card in the message path. There's a good explanation and diagram in chapter 5.2.3 (p.127-9) of the user guide. HTH Paul From bobsneidar at iotecdigital.com Wed Mar 4 11:39:24 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 4 Mar 2015 16:39:24 +0000 Subject: Quantum tunneling in LiveCode In-Reply-To: <54F5F0A5.1080002@gmail.com> References: <14bdf9e69b8-60c3-318@webprd-a88.mail.aol.com> <54F5CF86.2030104@fourthworld.com> <54F5F0A5.1080002@gmail.com> Message-ID: AHAH! Again, I didn?t know that. I thought sharedBehavior and backgroundBehavior were synonyms. Bob S On Mar 3, 2015, at 09:34 , Michael Doub > wrote: To maintain compatibility with HC, the backgroundBehavior was introduced in an attempt to account for those cases where the message handling order needed the background after the card, as it was in HC, rather than before the card as is natural in LC. From bobsneidar at iotecdigital.com Wed Mar 4 11:43:27 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 4 Mar 2015 16:43:27 +0000 Subject: Quantum tunneling in LiveCode In-Reply-To: References: <14bdf9e69b8-60c3-318@webprd-a88.mail.aol.com> <54F5CF86.2030104@fourthworld.com> <54F600D4.10307@hyperactivesw.com> Message-ID: <451EBB86-1C43-4BD2-B944-14187E9E7970@iotecdigital.com> Whoa! This may explain why in another app I was developing I inexplicably got handlers triggering twice. Bob S On Mar 3, 2015, at 11:16 , Peter Haworth > wrote: So not only do these messages go down to each child group but they also come back up again! In the above example, the openControl for GroupA is executed 3 times, GroupA.1 twice, and GroupA.1.1 just once. From bobsneidar at iotecdigital.com Wed Mar 4 11:46:19 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 4 Mar 2015 16:46:19 +0000 Subject: Because LC can't do two things at once. In-Reply-To: <62864636929.20150303210443@ahsoftware.net> References: <54E83AC7.2000307@fourthworld.com> <53710DF0-4037-4249-8008-FCC82E09013C@gmail.com> <20150302152054.6107286.53154.10617@gmail.com> <54F60EE8.1090002@hyperactivesw.com> <62864636929.20150303210443@ahsoftware.net> Message-ID: <25D4D2A0-83E2-43DA-95B5-6D3BF86C7836@iotecdigital.com> Oooh? this gives me a new idea for a Butchery app? Bob S > On Mar 3, 2015, at 21:04 , Mark Wieder wrote: > > Jacque- > > Tuesday, March 3, 2015, 11:43:36 AM, you wrote: > >> MetaCard beat you to it: hideConsoleWindows > > > My dyslexic eyes read that as 'MeatCard' > > -- > -Mark Wieder From bobsneidar at iotecdigital.com Wed Mar 4 11:49:34 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 4 Mar 2015 16:49:34 +0000 Subject: Because LC can't do two things at once. In-Reply-To: <54F60EE8.1090002@hyperactivesw.com> References: <54E83AC7.2000307@fourthworld.com> <53710DF0-4037-4249-8008-FCC82E09013C@gmail.com> <20150302152054.6107286.53154.10617@gmail.com> <54F60EE8.1090002@hyperactivesw.com> Message-ID: <0903EE66-A8D5-4F44-9868-933F5605EB2B@iotecdigital.com> If I ever see you at a conference, I owe you a steak dinner for that one. (Or a really great salad or something if you are a veg-x). Bob S On Mar 3, 2015, at 11:43 , J. Landman Gay > wrote: MetaCard beat you to it: hideConsoleWindows -- Jacqueline Landman Gay | jacque at hyperactivesw.com From bobsneidar at iotecdigital.com Wed Mar 4 11:56:29 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 4 Mar 2015 16:56:29 +0000 Subject: [Semi-OT] Execute Javascript for Acrobat Message-ID: <13BC3529-A69E-4A32-866A-E828E59A880B@iotecdigital.com> Hi all. I know there are people on the list who know if this can even be done, and if so, how to do it. Presently to have a PDF fillable form open and auto-fill with data, I must first set the PDF form up to import an FDF file upon opening, and secondly I must create an FDF file for it to import, populated with the values I want. All this I have working, but I have developed a method for doing this directly from within my LC app without resorting to FDF files, but *only* for the Mac. I want to also develop a method for use in Windows. But since Windows has no built in equivalent to Inter-Application Communications (IAC otherwise known as Applescript) I am wondering if there is a way to do this via a shell command. I can execute Javascript alright by using wscript.exe, but how to get the message to Acrobat or Reader? Bob S From dochawk at gmail.com Wed Mar 4 12:06:43 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 4 Mar 2015 09:06:43 -0800 Subject: revUnplacedGroupIDs has both false positives and negatives? In-Reply-To: References: Message-ID: On Tue, Mar 3, 2015 at 7:56 PM, Dr. Hawkins wrote: > I also find it *not* consistently finding all of the actually unplaced > groups, although this is much harder to track down. > Now I remember how I even found those. I was searching for phrases in menus with the searchtool, I think, and came up with a couple that didn't appear in the revUnplacedGroupIDs -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jiml at netrin.com Wed Mar 4 12:31:11 2015 From: jiml at netrin.com (Jim Lambert) Date: Wed, 4 Mar 2015 09:31:11 -0800 Subject: mergExt Update for LC 6.7.3 and 7.0.3 In-Reply-To: References: Message-ID: <3CD94FEC-B3D4-4DBE-AF99-F3750A1F318B@netrin.com> Thank you, Monte, for the quick update. Everyone else, buy mergExt! You won?t regret it. It?s a great collection of externals. Jim Lambert From rdimola at evergreeninfo.net Wed Mar 4 12:39:24 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 4 Mar 2015 12:39:24 -0500 Subject: mergExt Update for LC 6.7.3 and 7.0.3 In-Reply-To: <3CD94FEC-B3D4-4DBE-AF99-F3750A1F318B@netrin.com> References: <3CD94FEC-B3D4-4DBE-AF99-F3750A1F318B@netrin.com> Message-ID: <002701d056a2$27c6e020$7754a060$@net> I can't +1 this enough times. Monte's externals saved my butt BIG TIME one night. Being a LC new-be at the time he showed me how to implement the external that night with a few emails. He supports and stands behind his products. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Jim Lambert Sent: Wednesday, March 04, 2015 12:31 PM To: use-livecode at lists.runrev.com Subject: Re: mergExt Update for LC 6.7.3 and 7.0.3 Thank you, Monte, for the quick update. Everyone else, buy mergExt! You won?t regret it. It?s a great collection of externals. Jim Lambert _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From eric at canelasoftware.com Wed Mar 4 12:39:03 2015 From: eric at canelasoftware.com (Eric Corbett) Date: Wed, 4 Mar 2015 09:39:03 -0800 Subject: mergExt Update for LC 6.7.3 and 7.0.3 In-Reply-To: <002701d056a2$27c6e020$7754a060$@net> References: <3CD94FEC-B3D4-4DBE-AF99-F3750A1F318B@netrin.com> <002701d056a2$27c6e020$7754a060$@net> Message-ID: <25D8B8ED-B6A5-49D0-B9C8-FAE97575409D@canelasoftware.com> Yes, THANK YOU Monte; mergExt with LiveCode makes so much possible for iOS. eric On Mar 4, 2015, at 9:39 AM, Ralph DiMola wrote: > I can't +1 this enough times. Monte's externals saved my butt BIG TIME one night. Being a LC new-be at the time he showed me how to implement the external that night with a few emails. He supports and stands behind his products. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Jim Lambert > Sent: Wednesday, March 04, 2015 12:31 PM > To: use-livecode at lists.runrev.com > Subject: Re: mergExt Update for LC 6.7.3 and 7.0.3 > > Thank you, Monte, for the quick update. > Everyone else, buy mergExt! > You won?t regret it. It?s a great collection of externals. > > Jim Lambert > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at icloud.com Wed Mar 4 13:34:04 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Wed, 04 Mar 2015 18:34:04 +0000 Subject: Printing in LC 7.0.3 Message-ID: <5FE92245-8ACC-4FF8-A382-FDA1067A97E3@icloud.com> Mac, Yosemite 10.10.2 Why does this work in LC 6.7.3 and not LC 7.0.3 on mouseUp answer page setup as sheet if the result = "cancel" then exit mouseUp end if answer printer as sheet if the result = "cancel" then exit mouseUp end if put 0,0,300,200 into tPrintRect print card from 0,0 to 300,200 into tPrintRect end mouseUp All the best Terry From pete at lcsql.com Wed Mar 4 14:42:25 2015 From: pete at lcsql.com (Peter Haworth) Date: Wed, 04 Mar 2015 19:42:25 +0000 Subject: ScriptEditor Find/Replace Message-ID: I have a value in the "Replace with" menu of the script editor Find/Replace dialog and I can't get rid of it. Tried deleting the text in it but it's still there next time I open the window. Not a big deal but would like to get rid of it if anyone knows how. From rdimola at evergreeninfo.net Wed Mar 4 15:20:29 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 4 Mar 2015 15:20:29 -0500 Subject: ScriptEditor Find/Replace In-Reply-To: References: Message-ID: <002f01d056b8$a91d8640$fb5892c0$@net> On Windows my "recent search items" are a randomly ordered collection of some of my past searches. The most recent search sometimes never makes it into the list. If it does make it to the pull down, where it goes is sometimes random. On Mac my Recent Stacks in the file menu keeps resetting to blank every now and then. Sometimes twice a day sometimes not for a month. I've reset the prefs on Mac and no better. Maybe it's time to trash the prefs on windows. I'm trying to get a recipe together to submit bug reports for both issues, but I have not seen a pattern yet on the Mac and I need to trash the Windows prefs and see what happens with the recent search pull down. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Peter Haworth Sent: Wednesday, March 04, 2015 2:42 PM To: How to use LiveCode Subject: ScriptEditor Find/Replace I have a value in the "Replace with" menu of the script editor Find/Replace dialog and I can't get rid of it. Tried deleting the text in it but it's still there next time I open the window. Not a big deal but would like to get rid of it if anyone knows how. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Wed Mar 4 15:39:45 2015 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 5 Mar 2015 07:39:45 +1100 Subject: mergExt Update for LC 6.7.3 and 7.0.3 In-Reply-To: References: <0C13A0C4-A20C-4108-A4F1-365B94FC2DA9@sweattechnologies.com> Message-ID: <84782096-F700-4078-A68B-C15ED0BEC22A@sweattechnologies.com> Unfortunately I had a great deal of trouble trying to compile the pure-ftpd library it's based on. I'll get it sorted ASAP -- M E R Goulding Software development services mergExt - There's an external for that! > On 5 Mar 2015, at 2:58 am, Matthias Rebbe | M-R-D wrote: > > Monte, > > the mergFTPD is dated February 2015. Why wasn?t it updated? > > Regards, > > Matthias > >> Am 04.03.2015 um 00:00 schrieb Monte Goulding : >> >> Hi LiveCoders >> >> I have uploaded new builds of all my iOS externals to be compatible with the latest versions of LiveCode and Apple's 64 bit requirements. >> >> Cheers >> >> Monte >> >> -- >> M E R Goulding >> Software development services >> Bespoke application development for vertical markets >> >> mergExt - There's an external for that! >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Wed Mar 4 15:40:24 2015 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 5 Mar 2015 07:40:24 +1100 Subject: mergExt Update for LC 6.7.3 and 7.0.3 In-Reply-To: <25D8B8ED-B6A5-49D0-B9C8-FAE97575409D@canelasoftware.com> References: <3CD94FEC-B3D4-4DBE-AF99-F3750A1F318B@netrin.com> <002701d056a2$27c6e020$7754a060$@net> <25D8B8ED-B6A5-49D0-B9C8-FAE97575409D@canelasoftware.com> Message-ID: Feeling the love guys, thanks! Cheers Monte -- M E R Goulding Software development services mergExt - There's an external for that! > On 5 Mar 2015, at 4:39 am, Eric Corbett wrote: > > Yes, THANK YOU Monte; mergExt with LiveCode makes so much possible for iOS. > > eric > >> On Mar 4, 2015, at 9:39 AM, Ralph DiMola wrote: >> >> I can't +1 this enough times. Monte's externals saved my butt BIG TIME one night. Being a LC new-be at the time he showed me how to implement the external that night with a few emails. He supports and stands behind his products. >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Jim Lambert >> Sent: Wednesday, March 04, 2015 12:31 PM >> To: use-livecode at lists.runrev.com >> Subject: Re: mergExt Update for LC 6.7.3 and 7.0.3 >> >> Thank you, Monte, for the quick update. >> Everyone else, buy mergExt! >> You won?t regret it. It?s a great collection of externals. >> >> Jim Lambert >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Wed Mar 4 15:45:35 2015 From: pete at lcsql.com (Peter Haworth) Date: Wed, 04 Mar 2015 20:45:35 +0000 Subject: ScriptEditor Find/Replace References: <002f01d056b8$a91d8640$fb5892c0$@net> Message-ID: Thanks Ralph. AT least I know I'm not the only one getting problems with this. On Wed, Mar 4, 2015 at 12:19 PM Ralph DiMola wrote: > On Windows my "recent search items" are a randomly ordered collection of > some of my past searches. The most recent search sometimes never makes it > into the list. If it does make it to the pull down, where it goes is > sometimes random. On Mac my Recent Stacks in the file menu keeps resetting > to blank every now and then. Sometimes twice a day sometimes not for a > month. I've reset the prefs on Mac and no better. Maybe it's time to trash > the prefs on windows. I'm trying to get a recipe together to submit bug > reports for both issues, but I have not seen a pattern yet on the Mac and I > need to trash the Windows prefs and see what happens with the recent search > pull down. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Peter Haworth > Sent: Wednesday, March 04, 2015 2:42 PM > To: How to use LiveCode > Subject: ScriptEditor Find/Replace > > I have a value in the "Replace with" menu of the script editor Find/Replace > dialog and I can't get rid of it. Tried deleting the text in it but it's > still there next time I open the window. > > Not a big deal but would like to get rid of it if anyone knows how. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Wed Mar 4 16:13:02 2015 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Wed, 4 Mar 2015 22:13:02 +0100 Subject: mergExt Update for LC 6.7.3 and 7.0.3 In-Reply-To: <84782096-F700-4078-A68B-C15ED0BEC22A@sweattechnologies.com> References: <0C13A0C4-A20C-4108-A4F1-365B94FC2DA9@sweattechnologies.com> <84782096-F700-4078-A68B-C15ED0BEC22A@sweattechnologies.com> Message-ID: Ah, thanks for explanation. Matthias > Am 04.03.2015 um 21:39 schrieb Monte Goulding : > > Unfortunately I had a great deal of trouble trying to compile the pure-ftpd library it's based on. I'll get it sorted ASAP > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > >> On 5 Mar 2015, at 2:58 am, Matthias Rebbe | M-R-D wrote: >> >> Monte, >> >> the mergFTPD is dated February 2015. Why wasn?t it updated? >> >> Regards, >> >> Matthias >> >>> Am 04.03.2015 um 00:00 schrieb Monte Goulding : >>> >>> Hi LiveCoders >>> >>> I have uploaded new builds of all my iOS externals to be compatible with the latest versions of LiveCode and Apple's 64 bit requirements. >>> >>> Cheers >>> >>> Monte >>> >>> -- >>> M E R Goulding >>> Software development services >>> Bespoke application development for vertical markets >>> >>> mergExt - There's an external for that! >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Wed Mar 4 17:53:12 2015 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 04 Mar 2015 14:53:12 -0800 Subject: Web page fields Message-ID: <38456AAE-8DE4-4908-BB51-A4E95C24AA84@mac.com> This isn?t a LiveCode question specifically. Let?s say there is a web page and it has a search field on it. Can I make a URL that puts text into the field? In this case I don?t even need to press return as the search field will search automatically when typing text in the field. This particular web page does NOT automatically put the cursor in the search field. I?m guessing it is a javascript that does this. Thanks, Bill Vlahos From bonnmike at gmail.com Wed Mar 4 18:07:54 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 4 Mar 2015 16:07:54 -0700 Subject: Web page fields In-Reply-To: <38456AAE-8DE4-4908-BB51-A4E95C24AA84@mac.com> References: <38456AAE-8DE4-4908-BB51-A4E95C24AA84@mac.com> Message-ID: If the page isn't too complicated and you can figure out how things are being sent.. (easy if the page works with GET requests.. just look at how it structures the url, and build your own with your query in place of your experimental query) If its a post, you might be able to figure out what is being sent, and post directly to the page that handles things, but some pages seem to purposely obfuscate things so its hard to tell. I think you can use firebug to look at how things are sent too, which might be an end run around deciphering page source. An example of a get URL, simplest method for google... : https://www.google.com/search?q=bill+vlahos Replace the stuff after = with your url encoded search string. A post is, like I said, can be harder to determine depending on how complicated the page is. On Wed, Mar 4, 2015 at 3:53 PM, Bill Vlahos wrote: > This isn?t a LiveCode question specifically. > > Let?s say there is a web page and it has a search field on it. > > Can I make a URL that puts text into the field? In this case I don?t even > need to press return as the search field will search automatically when > typing text in the field. This particular web page does NOT automatically > put the cursor in the search field. > > I?m guessing it is a javascript that does this. > > Thanks, > Bill Vlahos > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Wed Mar 4 21:50:27 2015 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 5 Mar 2015 13:50:27 +1100 Subject: mergExt Update for LC 6.7.3 and 7.0.3 In-Reply-To: References: <0C13A0C4-A20C-4108-A4F1-365B94FC2DA9@sweattechnologies.com> <84782096-F700-4078-A68B-C15ED0BEC22A@sweattechnologies.com> Message-ID: <7A443247-6055-4E53-B6BF-A8DF78179B38@sweattechnologies.com> Hi Matthias I've resolved the build issue and uploaded a new version of mergFTPD Cheers Monte On 5 Mar 2015, at 8:13 am, Matthias Rebbe | M-R-D wrote: > Ah, thanks for explanation. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From stephenREVOLUTION2 at barncard.com Wed Mar 4 21:52:09 2015 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 4 Mar 2015 18:52:09 -0800 Subject: Printing in LC 7.0.3 In-Reply-To: <5FE92245-8ACC-4FF8-A382-FDA1067A97E3@icloud.com> References: <5FE92245-8ACC-4FF8-A382-FDA1067A97E3@icloud.com> Message-ID: On Wed, Mar 4, 2015 at 10:34 AM, Terence Heaford wrote: > put 0,0,300,200 into tPrintRect why no quotes around the comma delimited list? -- Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words From mikedoub at gmail.com Wed Mar 4 22:17:14 2015 From: mikedoub at gmail.com (Mike Doub) Date: Wed, 4 Mar 2015 22:17:14 -0500 Subject: Printing in LC 7.0.3 In-Reply-To: References: <5FE92245-8ACC-4FF8-A382-FDA1067A97E3@icloud.com> Message-ID: Lookup , in the dictionary. It is a function. On Wednesday, March 4, 2015, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > On Wed, Mar 4, 2015 at 10:34 AM, Terence Heaford > > wrote: > > > put 0,0,300,200 into tPrintRect > > > why no quotes around the comma delimited list? > > -- > Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Wed Mar 4 08:10:53 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Wed, 4 Mar 2015 08:10:53 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> Message-ID: <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> On Mar 3, 2015, at 11:17 PM, Mark Wieder wrote: > Peter- > > Actually, BAT0 is a directory, so you want > > put url "/sys/class/power_supply/BAT0/status" into tStatus > > and what I see on my Thinkpad running linux Mint 17 is status returns one of > three states: > > Unknown if the laptop is plugged into the AC adapter > Discharging if running off the battery power > Charging if it's (wait for it) charging the battery. Please clarify: "Unknown" if using the AC adapter, and "Charging" if it's charging the battery. How could you be charging the battery if you're not using the AC adapter? Is "Unknown" reserved for when you're plugged in and the battery is fully charged? > If I remove the battery and run the laptop off AC power there is no BAT0 > directory. OK, so a test for "no such file" is called for. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From paul at livecode.org Thu Mar 5 00:53:52 2015 From: paul at livecode.org (Paul Hibbert) Date: Wed, 4 Mar 2015 21:53:52 -0800 Subject: Printing in LC 7.0.3 In-Reply-To: <5FE92245-8ACC-4FF8-A382-FDA1067A97E3@icloud.com> References: <5FE92245-8ACC-4FF8-A382-FDA1067A97E3@icloud.com> Message-ID: I can confirm this works in LC 6.7.3 but not LC 7.0.3 on Yosemite. As far as I know this is the type of problem RR say they need to know about, so it really should be reported as a bug. If you don't wish to, or don't have the time to report it, just let me know and I'll be happy to report it for you. Paul > On Mar 4, 2015, at 10:34 AM, Terence Heaford wrote: > > Mac, Yosemite 10.10.2 > > Why does this work in LC 6.7.3 and not LC 7.0.3 > > on mouseUp > > answer page setup as sheet > if the result = "cancel" then > exit mouseUp > end if > answer printer as sheet > if the result = "cancel" then > exit mouseUp > end if > > put 0,0,300,200 into tPrintRect > > print card from 0,0 to 300,200 into tPrintRect > > end mouseUp > > > All the best > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at icloud.com Thu Mar 5 02:20:58 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Thu, 05 Mar 2015 07:20:58 +0000 Subject: Printing in LC 7.0.3 In-Reply-To: References: <5FE92245-8ACC-4FF8-A382-FDA1067A97E3@icloud.com> Message-ID: <652A22F0-038D-4A42-8D68-4C6F14291BA4@icloud.com> Will you report it please. Perhaps you will have better luck reporting BUGS than me. I?ve never had a reported bug resolved. Thanks Terry > On 5 Mar 2015, at 05:53, Paul Hibbert wrote: > > If you don't wish to, or don't have the time to report it, just let me know and I'll be happy to report it for you. From matthias_livecode_150811 at m-r-d.de Thu Mar 5 03:56:24 2015 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Thu, 5 Mar 2015 09:56:24 +0100 Subject: mergExt Update for LC 6.7.3 and 7.0.3 In-Reply-To: <7A443247-6055-4E53-B6BF-A8DF78179B38@sweattechnologies.com> References: <0C13A0C4-A20C-4108-A4F1-365B94FC2DA9@sweattechnologies.com> <84782096-F700-4078-A68B-C15ED0BEC22A@sweattechnologies.com> <7A443247-6055-4E53-B6BF-A8DF78179B38@sweattechnologies.com> Message-ID: <7FEF86A7-8F6B-4B0F-BFD9-AA3E15A1B543@m-r-d.de> Monte, thanks for doing this so quickly. Matthias > Am 05.03.2015 um 03:50 schrieb Monte Goulding : > > Hi Matthias > > I've resolved the build issue and uploaded a new version of mergFTPD > > Cheers > > Monte > > On 5 Mar 2015, at 8:13 am, Matthias Rebbe | M-R-D wrote: > >> Ah, thanks for explanation. > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at icloud.com Thu Mar 5 04:05:34 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Thu, 05 Mar 2015 09:05:34 +0000 Subject: Printing in LC 7.0.3 In-Reply-To: <5FE92245-8ACC-4FF8-A382-FDA1067A97E3@icloud.com> References: <5FE92245-8ACC-4FF8-A382-FDA1067A97E3@icloud.com> Message-ID: Out of interest and not to be to provocative, how are you supposed to migrate to LC 7 as suggested by Richard Gaskin when something as obvious as printing does not work? All the best Terry > On 4 Mar 2015, at 18:34, Terence Heaford wrote: > > Mac, Yosemite 10.10.2 > > Why does this work in LC 6.7.3 and not LC 7.0.3 > > on mouseUp > > answer page setup as sheet > if the result = "cancel" then > exit mouseUp > end if > answer printer as sheet > if the result = "cancel" then > exit mouseUp > end if > > put 0,0,300,200 into tPrintRect > > print card from 0,0 to 300,200 into tPrintRect > > end mouseUp > > > All the best > > Terry From livfoss at mac.com Thu Mar 5 06:23:01 2015 From: livfoss at mac.com (Graham Samuel) Date: Thu, 05 Mar 2015 12:23:01 +0100 Subject: Printing in LC 7.0.3 In-Reply-To: References: <5FE92245-8ACC-4FF8-A382-FDA1067A97E3@icloud.com> Message-ID: <7DE01FA5-1B72-43C0-8D39-37E1215FD081@mac.com> I don?t think ?put? is a function, it?s a command. According to the LC Dictionary, it expects "any expression that evaluates to a string.? So it is quite clever of the engine to interpret a set of numbers separated by commas as a string. LC has a number of helpful interpretations like this, but I'm not sure how many of them are official. If unofficial, then it's presumably legit (even if very annoying) when RunRev tightens the rules. Graham > On 5 Mar 2015, at 04:17, Mike Doub wrote: > > Lookup , in the dictionary. It is a function. > > > > On Wednesday, March 4, 2015, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > >> On Wed, Mar 4, 2015 at 10:34 AM, Terence Heaford > > >> wrote: >> >>> put 0,0,300,200 into tPrintRect >> >> >> why no quotes around the comma delimited list? >> >> -- >> Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Thu Mar 5 06:40:40 2015 From: mikedoub at gmail.com (Mike Doub) Date: Thu, 5 Mar 2015 06:40:40 -0500 Subject: Printing in LC 7.0.3 In-Reply-To: <7DE01FA5-1B72-43C0-8D39-37E1215FD081@mac.com> References: <5FE92245-8ACC-4FF8-A382-FDA1067A97E3@icloud.com> <7DE01FA5-1B72-43C0-8D39-37E1215FD081@mac.com> Message-ID: Graham, I think you misunderstood my comment. The comma is actually a function. It concatinates two string with a comma in the middle. Much like &&. I got confused on this one too. But it is really helpful, especially when working with screen coordinates. Mike On Thursday, March 5, 2015, Graham Samuel wrote: > I don?t think ?put? is a function, it?s a command. According to the LC > Dictionary, it expects "any expression that evaluates to a string.? So it > is quite clever of the engine to interpret a set of numbers separated by > commas as a string. > > LC has a number of helpful interpretations like this, but I'm not sure how > many of them are official. If unofficial, then it's presumably legit (even > if very annoying) when RunRev tightens the rules. > > Graham > > > On 5 Mar 2015, at 04:17, Mike Doub > > wrote: > > > > Lookup , in the dictionary. It is a function. > > > > > > > > On Wednesday, March 4, 2015, stephen barncard < > > stephenREVOLUTION2 at barncard.com > wrote: > > > >> On Wed, Mar 4, 2015 at 10:34 AM, Terence Heaford > >> > > >> wrote: > >> > >>> put 0,0,300,200 into tPrintRect > >> > >> > >> why no quotes around the comma delimited list? > >> > >> -- > >> Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Thu Mar 5 07:23:30 2015 From: livfoss at mac.com (Graham Samuel) Date: Thu, 05 Mar 2015 13:23:30 +0100 Subject: Printing in LC 7.0.3 In-Reply-To: References: <5FE92245-8ACC-4FF8-A382-FDA1067A97E3@icloud.com> <7DE01FA5-1B72-43C0-8D39-37E1215FD081@mac.com> Message-ID: <63F9DEFF-53A5-4409-8085-1238F33BF0EB@mac.com> Wow! I certainly did misunderstand. I had no idea that comma was a function. Always something new to learn. Thanks Graham > On 5 Mar 2015, at 12:40, Mike Doub wrote: > > Graham, I think you misunderstood my comment. The comma is actually a > function. It concatinates two string with a comma in the middle. Much > like &&. > > I got confused on this one too. But it is really helpful, especially when > working with screen coordinates. > > Mike > > On Thursday, March 5, 2015, Graham Samuel wrote: > >> I don?t think ?put? is a function, it?s a command. According to the LC >> Dictionary, it expects "any expression that evaluates to a string.? So it >> is quite clever of the engine to interpret a set of numbers separated by >> commas as a string. >> >> LC has a number of helpful interpretations like this, but I'm not sure how >> many of them are official. If unofficial, then it's presumably legit (even >> if very annoying) when RunRev tightens the rules. >> >> Graham >> >>> On 5 Mar 2015, at 04:17, Mike Doub > >> wrote: >>> >>> Lookup , in the dictionary. It is a function. >>> >>> >>> >>> On Wednesday, March 4, 2015, stephen barncard < >>> stephenREVOLUTION2 at barncard.com > wrote: >>> >>>> On Wed, Mar 4, 2015 at 10:34 AM, Terence Heaford > >>>> > >>>> wrote: >>>> >>>>> put 0,0,300,200 into tPrintRect >>>> >>>> >>>> why no quotes around the comma delimited list? >>>> >>>> -- >>>> Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rjb at robelko.com Thu Mar 5 09:24:44 2015 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 5 Mar 2015 15:24:44 +0100 Subject: Fwd: Quantum tunneling in LiveCode In-Reply-To: <14bdf9e69b8-60c3-318@webprd-a88.mail.aol.com> References: <14bdc5069b8-703f-152fe@webprd-a55.mail.aol.com> <14bdf9e69b8-60c3-318@webprd-a88.mail.aol.com> Message-ID: On 03.03.2015 at 7:31 Uhr -0500 stgoldberg at aol.com apparently wrote: >The issue of a background group being in two places at once is not >quite clarified. Getting back to the script sequence below, when >there is a mouseUp handler in a background group, the message, on >clicking on the grouped button goes from: > > > button --> group --> card --> stack > >When clicking on the card the message goes from: > >card --> group --> stack > >In effect the group acts on both sides of the card depending on >where you click. So is mistaken to think that as soon as a >background group is formed it mysteriously picks up and moves from >one side of the card to the other (spreading out as it does so). It >in effect remains on both sides, as seen by the message sequence >when clicking on the button. > If you write the second path as card --> background --> stack it will, may be, make more sense. RObert From jacque at hyperactivesw.com Thu Mar 5 10:26:32 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Mar 2015 09:26:32 -0600 Subject: Printing in LC 7.0.3 In-Reply-To: References: <5FE92245-8ACC-4FF8-A382-FDA1067A97E3@icloud.com> <7DE01FA5-1B72-43C0-8D39-37E1215FD081@mac.com> Message-ID: <38B5D5C9-2D1B-4263-B598-0A4CC48580FF@hyperactivesw.com> Regardless of how comma works, the result is still a string and this handler puts the literal value of that string into a variable. Literals require quotes around them, and while the engine may have been more lenient about that pre-7.0 the quotes should technically be there. So before I'd report this as a bug, I'd see If using the required syntax fixes it. On March 5, 2015 5:40:40 AM CST, Mike Doub wrote: >Graham, I think you misunderstood my comment. The comma is actually a >function. It concatinates two string with a comma in the middle. Much >like &&. > >I got confused on this one too. But it is really helpful, especially >when >working with screen coordinates. > >Mike > >On Thursday, March 5, 2015, Graham Samuel wrote: > >> I don?t think ?put? is a function, it?s a command. According to the >LC >> Dictionary, it expects "any expression that evaluates to a string.? >So it >> is quite clever of the engine to interpret a set of numbers separated >by >> commas as a string. >> >> LC has a number of helpful interpretations like this, but I'm not >sure how >> many of them are official. If unofficial, then it's presumably legit >(even >> if very annoying) when RunRev tightens the rules. >> >> Graham >> >> > On 5 Mar 2015, at 04:17, Mike Doub > >> wrote: >> > >> > Lookup , in the dictionary. It is a function. >> > >> > >> > >> > On Wednesday, March 4, 2015, stephen barncard < >> > stephenREVOLUTION2 at barncard.com > wrote: >> > >> >> On Wed, Mar 4, 2015 at 10:34 AM, Terence Heaford >> >> >> > >> >> wrote: >> >> >> >>> put 0,0,300,200 into tPrintRect >> >> >> >> >> >> why no quotes around the comma delimited list? >> >> >> >> -- >> >> Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From t.heaford at icloud.com Thu Mar 5 10:33:13 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Thu, 05 Mar 2015 15:33:13 +0000 Subject: Printing in LC 7.0.3 In-Reply-To: <38B5D5C9-2D1B-4263-B598-0A4CC48580FF@hyperactivesw.com> References: <5FE92245-8ACC-4FF8-A382-FDA1067A97E3@icloud.com> <7DE01FA5-1B72-43C0-8D39-37E1215FD081@mac.com> <38B5D5C9-2D1B-4263-B598-0A4CC48580FF@hyperactivesw.com> Message-ID: It doesn?t. Here are examples from the documentation for print print stack "Output" into 100,100,450,410 print this card from 0,0 to the mouseLoc All the best Terry > On 5 Mar 2015, at 15:26, J. Landman Gay wrote: > > So before I'd report this as a bug, I'd see If using the required syntax fixes it. From ambassador at fourthworld.com Thu Mar 5 10:47:47 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Mar 2015 07:47:47 -0800 Subject: Printing in LC 7.0.3 In-Reply-To: <652A22F0-038D-4A42-8D68-4C6F14291BA4@icloud.com> References: <652A22F0-038D-4A42-8D68-4C6F14291BA4@icloud.com> Message-ID: <54F87AA3.8080705@fourthworld.com> Terence Heaford wrote: > Will you report it please. > > Perhaps you will have better luck reporting BUGS than me. > > I?ve never had a reported bug resolved. ..except for this one: Yes, it took them a while to reproduce it, requiring the lead engineer to work with you to figure out why the issue wasn't initially something they could see on their systems, but once they did it was fixed in the very next build. As for the other three you've reported, their status varies: Bug 12586 - LC 6.6.1 Crashes when creating a chart using field objects = Status: RESOLVED CANNOT_REPRODUCE Hanson's final comment notes the effort they put into reproducing the issue, and invited you to re-open the report if you find the issue persists: Bug 11308 - Corrupt display when scrolling a data grid in OS X Mavericks Status: RESOLVED NO_FOLLOW_UP Similar case here, unable to reproduce and without follow-up from you they closed the report, inviting you to re-open it if you find the issue persists: Bug 14061 - Printing a data grid using print card shows artefacts Status: CONFIRMED This one took some time to reproduce, and ultimately the team found that the issue appears to be specific to LiveCode under OS X 10.10, not present on other OS X versions. The report was filed against an old version of LC (6.7.1 RC 2); have you had a chance to test this in 6.7.3? > Out of interest and not to be to provocative, how are you supposed > to migrate to LC 7 as suggested by Richard Gaskin when something as > obvious as printing does not work? Printing is indeed obvious and essential, and for that reason if it didn't work for most folks we'd expect to see posts here from them daily about it. Have you considered the possibility that perhaps the reason we're not seeing such posts here is because printing is working well for them? LiveCode is very flexible and provides a wide range of options for printing. It may be some unique combination of options used in your scripts that's causing the very specific and evidently-hard-to-reproduce issues you've found. Of course once an issue is identified, if it worked in previous versions and doesn't work in the current version is should be reported and fixed. When reporting, if the team notes that they're unable to reproduce the issue and require more info from you to identify the cause, it's helpful to provide the requested info so that it becomes possible to fix it. In this most recent case, I noticed that the source and dest rects are the same, so as far as I can tell you can get the same result with this, which seems to work well in LC 7.0.3 under OS X 10.7 (haven't tested on OS X 10.10 as I need that system to maintain parity with a client for now): print card from 0,0 to 300,200 --into tPrintRect I would be interested to know if that doesn't fix it, and perhaps we can work with you to find another solution while we continue to coordinate with the team to see this resolved in v7.0.x. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Thu Mar 5 11:27:51 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 5 Mar 2015 08:27:51 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> Message-ID: <106992024600.20150305082751@ahsoftware.net> Peter- Wednesday, March 4, 2015, 5:10:53 AM, you wrote: >> and what I see on my Thinkpad running linux Mint 17 is status returns one of >> three states: >> >> Unknown if the laptop is plugged into the AC adapter >> Discharging if running off the battery power >> Charging if it's (wait for it) charging the battery. > Please clarify: "Unknown" if using the AC adapter, and "Charging" > if it's charging the battery. How could you be charging the battery > if you're not using the AC adapter? > Is "Unknown" reserved for when you're plugged in and the battery is > fully charged? Yes. The battery is in place but neither charging nor discharging. I do see that the "Unknown" description is ambiguous there. >> If I remove the battery and run the laptop off AC power there is no BAT0 >> directory. > OK, so a test for "no such file" is called for. Yes, there are four possible states. And then I guess in Richard's case you'd also have to check for BAT1. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From jacque at hyperactivesw.com Thu Mar 5 12:04:24 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Mar 2015 11:04:24 -0600 Subject: Printing in LC 7.0.3 In-Reply-To: References: <5FE92245-8ACC-4FF8-A382-FDA1067A97E3@icloud.com> <7DE01FA5-1B72-43C0-8D39-37E1215FD081@mac.com> <38B5D5C9-2D1B-4263-B598-0A4CC48580FF@hyperactivesw.com> Message-ID: <0A76E33A-01E4-4312-9CE1-A278FA99B00B@hyperactivesw.com> If you actually tried it and it doesn't work then it's a bug. But the doc examples aren't the same thing you're doing, they are using a direct reference while your code is putting a value into a variable. When I get to my Mac I'll try a few things. I'm AFK right now. On March 5, 2015 9:33:13 AM CST, Terence Heaford wrote: >It doesn?t. > > >Here are examples from the documentation for print > >print stack "Output" into 100,100,450,410 > >print this card from 0,0 to the mouseLoc > > >All the best > >Terry > > >> On 5 Mar 2015, at 15:26, J. Landman Gay >wrote: >> >> So before I'd report this as a bug, I'd see If using the required >syntax fixes it. > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at livecode.org Thu Mar 5 12:54:39 2015 From: paul at livecode.org (Paul Hibbert) Date: Thu, 5 Mar 2015 09:54:39 -0800 Subject: Printing in LC 7.0.3 In-Reply-To: <0A76E33A-01E4-4312-9CE1-A278FA99B00B@hyperactivesw.com> References: <5FE92245-8ACC-4FF8-A382-FDA1067A97E3@icloud.com> <7DE01FA5-1B72-43C0-8D39-37E1215FD081@mac.com> <38B5D5C9-2D1B-4263-B598-0A4CC48580FF@hyperactivesw.com> <0A76E33A-01E4-4312-9CE1-A278FA99B00B@hyperactivesw.com> Message-ID: Terry (and List Users), This bug is reported now: http://quality.runrev.com/show_bug.cgi?id=14814 There is a sample stack attached to the report if anybody wishes to do further testing and add comments or observations. From the tests I tried (after several suggestions from list members in this thread), I found the quotes made no difference, however, the [into pageRect] part of the print command does seem to be where the problem lies. Removing the [into pageRect] part allows the defined area to print, then as a partial workaround, you can set the printMargins to determine where on the page the image prints, but, unfortunately you do lose the ability to print a defined area of the card into a different size area on print, effectively scaling the printed result. Paul > On Mar 5, 2015, at 9:04 AM, J. Landman Gay wrote: > > If you actually tried it and it doesn't work then it's a bug. But the doc examples aren't the same thing you're doing, they are using a direct reference while your code is putting a value into a variable. > > When I get to my Mac I'll try a few things. I'm AFK right now. > > On March 5, 2015 9:33:13 AM CST, Terence Heaford wrote: >> It doesn?t. >> >> >> Here are examples from the documentation for print >> >> print stack "Output" into 100,100,450,410 >> >> print this card from 0,0 to the mouseLoc >> >> >> All the best >> >> Terry >> >> >>> On 5 Mar 2015, at 15:26, J. Landman Gay >> wrote: >>> >>> So before I'd report this as a bug, I'd see If using the required >> syntax fixes it. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Thu Mar 5 13:03:11 2015 From: pmbrig at gmail.com (Peter Brigham) Date: Thu, 5 Mar 2015 13:03:11 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <106992024600.20150305082751@ahsoftware.net> References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> <106992024600.20150305082751@ahsoftware.net> Message-ID: So the Unix case should be: if there is a file "/sys/class/power_supply/BAT0/" then put url "/sys/class/power_supply/BAT0/" into tStatus else if is a file "/sys/class/power_supply/BAT1/" then put url "/sys/class/power_supply/BAT1/" into tStatus else return "no battery" end if put word 1 of tStatus into tStatus return caseSwitch(tStatus,"discharging=Battery","charging,unknown,full=AC", \ "=no battery","*=*") Double-check me on this. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Thu, Mar 5, 2015 at 11:27 AM, Mark Wieder wrote: > Peter- > > Wednesday, March 4, 2015, 5:10:53 AM, you wrote: > > >> and what I see on my Thinkpad running linux Mint 17 is status returns > one of > >> three states: > >> > >> Unknown if the laptop is plugged into the AC adapter > >> Discharging if running off the battery power > >> Charging if it's (wait for it) charging the battery. > > > Please clarify: "Unknown" if using the AC adapter, and "Charging" > > if it's charging the battery. How could you be charging the battery > > if you're not using the AC adapter? > > > Is "Unknown" reserved for when you're plugged in and the battery is > > fully charged? > > Yes. The battery is in place but neither charging nor discharging. I > do see that the "Unknown" description is ambiguous there. > > >> If I remove the battery and run the laptop off AC power there is no BAT0 > >> directory. > > > OK, so a test for "no such file" is called for. > > Yes, there are four possible states. And then I guess in Richard's > case you'd also have to check for BAT1. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at livecode.org Thu Mar 5 13:09:05 2015 From: paul at livecode.org (Paul Hibbert) Date: Thu, 5 Mar 2015 10:09:05 -0800 Subject: Printing in LC 7.0.3 In-Reply-To: References: <5FE92245-8ACC-4FF8-A382-FDA1067A97E3@icloud.com> <7DE01FA5-1B72-43C0-8D39-37E1215FD081@mac.com> <38B5D5C9-2D1B-4263-B598-0A4CC48580FF@hyperactivesw.com> <0A76E33A-01E4-4312-9CE1-A278FA99B00B@hyperactivesw.com> Message-ID: Wow, WTG RR. Hanson confirmed this already! Paul > On Mar 5, 2015, at 9:54 AM, Paul Hibbert wrote: > > Terry (and List Users), > > This bug is reported now: > > http://quality.runrev.com/show_bug.cgi?id=14814 > > There is a sample stack attached to the report if anybody wishes to do further testing and add comments or observations. > > From the tests I tried (after several suggestions from list members in this thread), I found the quotes made no difference, however, the [into pageRect] part of the print command does seem to be where the problem lies. > > Removing the [into pageRect] part allows the defined area to print, then as a partial workaround, you can set the printMargins to determine where on the page the image prints, but, unfortunately you do lose the ability to print a defined area of the card into a different size area on print, effectively scaling the printed result. > > Paul > >> On Mar 5, 2015, at 9:04 AM, J. Landman Gay wrote: >> >> If you actually tried it and it doesn't work then it's a bug. But the doc examples aren't the same thing you're doing, they are using a direct reference while your code is putting a value into a variable. >> >> When I get to my Mac I'll try a few things. I'm AFK right now. >> >> On March 5, 2015 9:33:13 AM CST, Terence Heaford wrote: >>> It doesn?t. >>> >>> >>> Here are examples from the documentation for print >>> >>> print stack "Output" into 100,100,450,410 >>> >>> print this card from 0,0 to the mouseLoc >>> >>> >>> All the best >>> >>> Terry >>> >>> >>>> On 5 Mar 2015, at 15:26, J. Landman Gay >>> wrote: >>>> >>>> So before I'd report this as a bug, I'd see If using the required >>> syntax fixes it. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Thu Mar 5 13:14:30 2015 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 05 Mar 2015 10:14:30 -0800 Subject: Web page fields In-Reply-To: References: <38456AAE-8DE4-4908-BB51-A4E95C24AA84@mac.com> Message-ID: <38420CB1-9157-4662-B1F6-D5A09944E02E@mac.com> Firebug shows: GET https://company.batchbook.com/search/autocomplete?query=NameToSearch When I enter the URL as https://company.batchbook.com/search/autocomplete?query=NameToSearch into the browser it executes the command and shows the results as a CSV list on a blank page instead of mimicking what happens when the user types or pastes into the field. When the user types or pastes into the field the web page UI overlays the found entries. The page source shows this as the form:
Bill Vlahos > On Mar 4, 2015, at 3:07 PM, Mike Bonner wrote: > > If the page isn't too complicated and you can figure out how things are > being sent.. (easy if the page works with GET requests.. just look at how > it structures the url, and build your own with your query in place of your > experimental query) If its a post, you might be able to figure out what is > being sent, and post directly to the page that handles things, but some > pages seem to purposely obfuscate things so its hard to tell. > I think you can use firebug to look at how things are sent too, which might > be an end run around deciphering page source. > > An example of a get URL, simplest method for google... : > https://www.google.com/search?q=bill+vlahos Replace the stuff after = with > your url encoded search string. > > A post is, like I said, can be harder to determine depending on how > complicated the page is. > > > On Wed, Mar 4, 2015 at 3:53 PM, Bill Vlahos wrote: > >> This isn?t a LiveCode question specifically. >> >> Let?s say there is a web page and it has a search field on it. >> >> Can I make a URL that puts text into the field? In this case I don?t even >> need to press return as the search field will search automatically when >> typing text in the field. This particular web page does NOT automatically >> put the cursor in the search field. >> >> I?m guessing it is a javascript that does this. >> >> Thanks, >> Bill Vlahos >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at icloud.com Thu Mar 5 13:21:01 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Thu, 05 Mar 2015 18:21:01 +0000 Subject: Printing in LC 7.0.3 In-Reply-To: <54F87AA3.8080705@fourthworld.com> References: <652A22F0-038D-4A42-8D68-4C6F14291BA4@icloud.com> <54F87AA3.8080705@fourthworld.com> Message-ID: > On 5 Mar 2015, at 15:47, Richard Gaskin wrote: > > Bug 14061 - Printing a data grid using print card shows artefacts > Status: CONFIRMED > This one took some time to reproduce, and ultimately the team found that the issue appears to be specific to LiveCode under OS X 10.10, not present on other OS X versions. > The report was filed against an old version of LC (6.7.1 RC 2); have you had a chance to test this in 6.7.3? This bug was reported on the 19 Nov 2014 and confirmed on the 24 Nov 2014 against 6.7.1 RC2 We are now at 6.7.3 stable and the bug is still present. LC 7.0.3 also has the bug. So, originally I wanted to print part of a card containing a DataGrid but could not because of this bug. I eventually gave up waiting and moved on to producing my own report card with fields and populated them with the info from the DataGrid and printed that. I suppose the bug will at some point be corrected but I have moved on to another method that took far more time to script than I was expecting. All the best Terry From t.heaford at icloud.com Thu Mar 5 13:27:21 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Thu, 05 Mar 2015 18:27:21 +0000 Subject: Printing in LC 7.0.3 In-Reply-To: <54F87AA3.8080705@fourthworld.com> References: <652A22F0-038D-4A42-8D68-4C6F14291BA4@icloud.com> <54F87AA3.8080705@fourthworld.com> Message-ID: > On 5 Mar 2015, at 15:47, Richard Gaskin wrote: > > Bug 12586 - LC 6.6.1 Crashes when creating a chart using field objects = > Status: RESOLVED CANNOT_REPRODUCE > Hanson's final comment notes the effort they put into reproducing the issue, and invited you to re-open the report if you find the issue persists: > > Report submitted 2 Jun 2014 against LC 6.6.1 GM1 With this report, no doubting there was a crash because I actually submitted the Apple Crash Report and stated: "Not sure why but LC crashes on mac os x 10.9.3 with this report:? I wasn?t saying there was a bug but that LC crashed. I thought the crash report may have pointed the team in the right direction. Obviously not. Since then I have moved on to Yosemite and not had that crash again. Cannot say anymore really. All the best Terry From t.heaford at icloud.com Thu Mar 5 13:30:47 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Thu, 05 Mar 2015 18:30:47 +0000 Subject: Printing in LC 7.0.3 In-Reply-To: <54F87AA3.8080705@fourthworld.com> References: <652A22F0-038D-4A42-8D68-4C6F14291BA4@icloud.com> <54F87AA3.8080705@fourthworld.com> Message-ID: > On 5 Mar 2015, at 15:47, Richard Gaskin wrote: > > Bug 12586 - LC 6.6.1 Crashes when creating a chart using field objects = > Status: RESOLVED CANNOT_REPRODUCE > Hanson's final comment notes the effort they put into reproducing the issue, and invited you to re-open the report if you find the issue persists: > > Date of report 23 Oct 2013 Beginning of the report : Please note this is Mavericks only but I had to put Mountain Lion because your system needs updating to include Mavericks. Long gone as far as I am concerned Never had the issue with later releases of OS X and LC. All the best Terry From t.heaford at icloud.com Thu Mar 5 13:36:08 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Thu, 05 Mar 2015 18:36:08 +0000 Subject: Printing in LC 7.0.3 In-Reply-To: <54F87AA3.8080705@fourthworld.com> References: <652A22F0-038D-4A42-8D68-4C6F14291BA4@icloud.com> <54F87AA3.8080705@fourthworld.com> Message-ID: <3583BE8E-DDE6-4074-80BF-6E82B054D877@icloud.com> > On 5 Mar 2015, at 15:47, Richard Gaskin wrote: > > In this most recent case, I noticed that the source and dest rects are the same, so as far as I can tell you can get the same result with this, which seems to work well in LC 7.0.3 under OS X 10.7 (haven't tested on OS X 10.10 as I need that system to maintain parity with a client for now): > > print card from 0,0 to 300,200 --into tPrintRect As previously posted by Paul Hibbert it?s the ?into tPrintRect? where the issue is. The script I posted was just a small example. Do not read anything into the dimensions used, they were purely an example. All the best Terry From t.heaford at icloud.com Thu Mar 5 14:00:33 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Thu, 05 Mar 2015 19:00:33 +0000 Subject: Printing in LC 7.0.3 In-Reply-To: <54F87AA3.8080705@fourthworld.com> References: <652A22F0-038D-4A42-8D68-4C6F14291BA4@icloud.com> <54F87AA3.8080705@fourthworld.com> Message-ID: <70D20E6B-6139-46BE-B8E0-CF4A35EA79BE@icloud.com> > On 5 Mar 2015, at 15:47, Richard Gaskin wrote: > > ..except for this one: I would submit a bug report for the Text Labels of tabs debacle in the Tab Panel if I thought it would do any good? I believe the bug report for this was started years ago and replicated on a number of occasions and has still not been resolved. Richard, while you have got your ambassador hat on perhaps you could advise when it will be sorted out. Surely, there must be some red faces at LC over this one? There seems a complete disinterest in sorting it. A brief search through the Bug List shows that it has been reported many times. You even posted on the Forum that UI issues need to be resolved to present an acceptable face for the product. (my words) There?s clearly a major problem here. Why can?t it be sorted? Is it to hard? Is it being left to LC8 and widgets? To have a tab panel where all the text in the tabs is offset to the bottom cannot be acceptable for a standard control and please don?t suggest I script my own solution. All the best Terry From mwieder at ahsoftware.net Thu Mar 5 14:13:28 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 5 Mar 2015 19:13:28 +0000 (UTC) Subject: Power Status (was Re: Because LC can't do two things at once.) References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> <106992024600.20150305082751@ahsoftware.net> Message-ID: Peter Brigham writes: > > Double-check me on this. > No, you're still checking the enclosing directory instead of the file. Grab "/sys/class/power_supply/BAT0/status" and the same for BAT1. ...and the caseSwitch function confuses me a bit: I don't think the 'if tMatch = "*"' part is going to do anything useful here (do you really expect the contents of the status file to be "*"? and there's no processing for the case where tCheckValue is *not* among the items of tMatch *and* tMatch is not "*" (will return empty). -- Mark Wieder ahsoftware at gmail.com From t.heaford at icloud.com Thu Mar 5 14:30:11 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Thu, 05 Mar 2015 19:30:11 +0000 Subject: Printing in LC 7.0.3 In-Reply-To: <70D20E6B-6139-46BE-B8E0-CF4A35EA79BE@icloud.com> References: <652A22F0-038D-4A42-8D68-4C6F14291BA4@icloud.com> <54F87AA3.8080705@fourthworld.com> <70D20E6B-6139-46BE-B8E0-CF4A35EA79BE@icloud.com> Message-ID: > On 5 Mar 2015, at 19:00, Terence Heaford wrote: > > I would submit a bug report for the Text Labels of tabs debacle in the Tab Panel if I thought it would do any good? Richard, Here is some info to help. Bug 3076 - text in tab controls misaligned vertically Status:CONFIRMED Version: 2.6 Platform: Mac OS X Reported:2005-08-22 21:46 BST by Richard Gaskin Modified:2010-12-14 06:46 GMT Bug 6206 - Tab Panels in Mac OS X have incorrect default text vertical position Status: CONFIRMED Version: 6.7.0 DP 4 Platform: Mac OS X Reported: 2008-03-24 14:41 GMT by Lyn Teyla Modified: 2015-03-01 21:04 GMT Bug 7962 - Tabs not centered horizontally in tab button Status: CONFIRMED Version: 4.5.1 DP2 Platform: Mac OS X Reported: 2009-04-15 09:26 BST by Richard Gaskin Modified: 2010-10-21 15:41 BST Bug 13798 - Yosemite UI: tab buttons should lose highlight on focus change Status: IN_PROGRESS Version: 6.7.0 GM 1 Reported: 2014-10-24 16:51 BST by Fraser Gordon Modified: 2014-10-28 15:06 GMT Desktop OS: Mac OS OS X Version: 10.10 (Yosemite) All the best Terry From pystcat at gmail.com Thu Mar 5 14:40:05 2015 From: pystcat at gmail.com (PystCat) Date: Thu, 5 Mar 2015 14:40:05 -0500 Subject: sqlite and iOS 8 Message-ID: <13A21D97-0A49-4810-AA49-63E7D126B673@gmail.com> I have an app that worked fine? then iOS 8 came out and everything went fubar? what I am having a problem with is the app seeing an sqlite table under iOS 8? I?ve started using the latest LC 7.0.3 Build 10026 under Max OS X 10.10.2 with the iOS 8 simulator. When the app opens on the iPad, it checks to see if there is an sqlite table in the Documents folder? if not it creates one. Well? it DID in the past. Now what I have it doing is copying the empty table already created over to the Documents table. Once there it creates the tables it needs. I have this in the openStack. The reason for this is because the app will determine what you are on and either send you to the iPad card or the iPhone card. Both use the same tables. Now if I stick the code on the card in a button just to test it out?? It works. Is something wacky with sqlite and LC or am I just overlooking something REALLY obvious and need to be laughed at..? Has anyone else had any problems using sqlite with iOS 8..? If so? what did you do to fix it..? Help me Obi-Wan... Paul From bobwarren at howsoft.com Thu Mar 5 15:16:40 2015 From: bobwarren at howsoft.com (Bob Warren) Date: Thu, 05 Mar 2015 17:16:40 -0300 Subject: [ANN] R.I.P. Mac Mini In-Reply-To: <54E53D08.90206@howsoft.com> References: <54E53D08.90206@howsoft.com> Message-ID: <54F8B9A8.3040400@howsoft.com> Hi MAC Users, Quite a few of you have downloaded my Legacy "File/Folder/Picture Choosers" for MAC (on one particular day the download was well over 1 GB), but so far I have not received a single word of feedback .................. (?). How about it guys? Do they run OK on your MAC? (All you really need to do to give me a quick answer is to double-click on the standalone widget files - without necessarily using either INI files or the DEMO. Also, just see whether they correctly detect pre-inserted media such as DVDs and pendrives. A full review is not expected on my part.) Bob P.S. The widgets for Linux, Windows and Mac (Legacy and Unicode) come with all the bells and whistles necessary for exact tailoring, which might represent a complication to some people. If I am encouraged to do so, I might later produce some "generic" versions to facilitate their speedy and simple usage. On 18-02-2015 23:31, Bob Warren wrote: > A few days back I finished doing a few minor corrections to my Unicode > "File/Folder/Picture Choosers" for Windows and Linux, and declared > them "stable". If you download them, please test them well before > distributing them in any way, to make absolutely sure they are as > "stable" as I think they are. > > I then had an idea. I had had a first-generation Mac Mini sitting in > the corner of my computer room for a long time, and I hadn't done much > with it. (One reason is that it had a broken DVD drive.) It occurred > to me that since the Mac file system is not so different to that of > Linux, it might not be too difficult to produce some chooser widgets > for Mac as well. Of course, they would need to be "legacy" (English > only) widgets, because the machine had OS X Tiger 10.4 that was not > supported by LiveCode/Unicode. So I had a bash at it. I rolled the > Linux and Windows widgets together, and soon came up with a new set of > MAC chooser widgets that had reached what I might fairly call the > "beta" stage. However, the very day after, my Mini started going a bit > crazy, and like a drip I didn't realize immediately that the cooling > system had failed and that it was overheating. The end result is that > now I have a "fried" Mac Mini. I do not intend to buy another one. In > Brazil (my country of residence), Macs are impossibly expensive. If I > replaced my simple Mini with an equivalent modern one, it would cost > me $1,500 (which you might find difficult to believe). You now know > why Macs are extremely rare in Brazil! > > Luckily, I had not only finished the programs, I had taken a few > screenshots. I was therefore able to put the widgets up at my site: > > GENERAL INFO: > http://www.howsoft.com/runrev/runrev_stacks_index.htm > > MAC CHOOSERS PAGE: > http://www.howsoft.com/runrev/macchoosers/ > > DOWNLOADS: > http://www.howsoft.com/runrev/downloads/ > > Under the circumstances (of my now being "Macless"), I'd be grateful > if any of you could tell me: > > a) whether these widgets work on a "real" MAC; > b) whether they are stable enough for usage in your opinion; > c) whether they detect DVD drives correctly as well as other USB > devices such as pendrives and external HDs. > > Thanks! > > Regards to all. > > From bonnmike at gmail.com Thu Mar 5 15:26:13 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 5 Mar 2015 13:26:13 -0700 Subject: Web page fields In-Reply-To: <38420CB1-9157-4662-B1F6-D5A09944E02E@mac.com> References: <38456AAE-8DE4-4908-BB51-A4E95C24AA84@mac.com> <38420CB1-9157-4662-B1F6-D5A09944E02E@mac.com> Message-ID: Ah k. I should have read better. You want to fill in the slots, not just jump to the results. The javascript would be something like document.quick_search_form.query.value='the text to search for here' Since it sounds like you're using the LC browser object, you can probably build the string as above and use: get revbrowsersexecutescript(sBrowserInstanceId,tQuery) Just now got home, so I haven't had a chance to try it out to determine the exact method, but that should get you close. On Thu, Mar 5, 2015 at 11:14 AM, Bill Vlahos wrote: > Firebug shows: > > GET https://company.batchbook.com/search/autocomplete?query=NameToSearch < > https://company.batchbook.com/search/autocomplete?query=NameToSearch> > > When I enter the URL as > https://company.batchbook.com/search/autocomplete?query=NameToSearch < > https://company.batchbook.com/search/autocomplete?query=NameToSearch> > into the browser it executes the command and shows the results as a CSV > list on a blank page instead of mimicking what happens when the user types > or pastes into the field. When the user types or pastes into the field the > web page UI overlays the found entries. > > > The page source shows this as the form: >
>
ng-controller='QuicksearchController <>'> > on-select="navigateTo(id) <>" placeholder="Search... <>" type="text <>" > value=" <>" /> >
> >
> > Bill Vlahos > > > On Mar 4, 2015, at 3:07 PM, Mike Bonner wrote: > > > > If the page isn't too complicated and you can figure out how things are > > being sent.. (easy if the page works with GET requests.. just look at how > > it structures the url, and build your own with your query in place of > your > > experimental query) If its a post, you might be able to figure out what > is > > being sent, and post directly to the page that handles things, but some > > pages seem to purposely obfuscate things so its hard to tell. > > I think you can use firebug to look at how things are sent too, which > might > > be an end run around deciphering page source. > > > > An example of a get URL, simplest method for google... : > > https://www.google.com/search?q=bill+vlahos Replace the stuff after = > with > > your url encoded search string. > > > > A post is, like I said, can be harder to determine depending on how > > complicated the page is. > > > > > > On Wed, Mar 4, 2015 at 3:53 PM, Bill Vlahos wrote: > > > >> This isn?t a LiveCode question specifically. > >> > >> Let?s say there is a web page and it has a search field on it. > >> > >> Can I make a URL that puts text into the field? In this case I don?t > even > >> need to press return as the search field will search automatically when > >> typing text in the field. This particular web page does NOT > automatically > >> put the cursor in the search field. > >> > >> I?m guessing it is a javascript that does this. > >> > >> Thanks, > >> Bill Vlahos > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Thu Mar 5 15:58:06 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 5 Mar 2015 13:58:06 -0700 Subject: Web page fields In-Reply-To: References: <38456AAE-8DE4-4908-BB51-A4E95C24AA84@mac.com> <38420CB1-9157-4662-B1F6-D5A09944E02E@mac.com> Message-ID: This works.. I have this in a hidden field: document.getElementById("query <>").value='the text to search for here'; And do this.. get revbrowserexecutescript(sBrowserId,field 1) and have a browser instance with your form example loaded. It successfully places "the text to search here" in the box with id "query" Tested with both the old browser, and cef on windows 7. I noticed while doing this, i'm getting a render error (debug.log) when using cef. LC 7.0.1 On Thu, Mar 5, 2015 at 1:26 PM, Mike Bonner wrote: > Ah k. I should have read better. You want to fill in the slots, not just > jump to the results. > The javascript would be something like > document.quick_search_form.query.value='the text to search for here' > > Since it sounds like you're using the LC browser object, you can probably > build the string as above and use: > get revbrowsersexecutescript(sBrowserInstanceId,tQuery) > > Just now got home, so I haven't had a chance to try it out to determine > the exact method, but that should get you close. > > On Thu, Mar 5, 2015 at 11:14 AM, Bill Vlahos wrote: > >> Firebug shows: >> >> GET https://company.batchbook.com/search/autocomplete?query=NameToSearch >> >> >> When I enter the URL as >> https://company.batchbook.com/search/autocomplete?query=NameToSearch < >> https://company.batchbook.com/search/autocomplete?query=NameToSearch> >> into the browser it executes the command and shows the results as a CSV >> list on a blank page instead of mimicking what happens when the user types >> or pastes into the field. When the user types or pastes into the field the >> web page UI overlays the found entries. >> >> >> The page source shows this as the form: >>
>>
> ng-controller='QuicksearchController <>'> >> > on-select="navigateTo(id) <>" placeholder="Search... <>" type="text <>" >> value=" <>" /> >>
>> >>
>> >> Bill Vlahos >> >> > On Mar 4, 2015, at 3:07 PM, Mike Bonner wrote: >> > >> > If the page isn't too complicated and you can figure out how things are >> > being sent.. (easy if the page works with GET requests.. just look at >> how >> > it structures the url, and build your own with your query in place of >> your >> > experimental query) If its a post, you might be able to figure out what >> is >> > being sent, and post directly to the page that handles things, but some >> > pages seem to purposely obfuscate things so its hard to tell. >> > I think you can use firebug to look at how things are sent too, which >> might >> > be an end run around deciphering page source. >> > >> > An example of a get URL, simplest method for google... : >> > https://www.google.com/search?q=bill+vlahos Replace the stuff after = >> with >> > your url encoded search string. >> > >> > A post is, like I said, can be harder to determine depending on how >> > complicated the page is. >> > >> > >> > On Wed, Mar 4, 2015 at 3:53 PM, Bill Vlahos wrote: >> > >> >> This isn?t a LiveCode question specifically. >> >> >> >> Let?s say there is a web page and it has a search field on it. >> >> >> >> Can I make a URL that puts text into the field? In this case I don?t >> even >> >> need to press return as the search field will search automatically when >> >> typing text in the field. This particular web page does NOT >> automatically >> >> put the cursor in the search field. >> >> >> >> I?m guessing it is a javascript that does this. >> >> >> >> Thanks, >> >> Bill Vlahos >> >> >> >> >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > From ambassador at fourthworld.com Thu Mar 5 17:18:26 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Mar 2015 14:18:26 -0800 Subject: Printing in LC 7.0.3 In-Reply-To: References: Message-ID: <54F8D632.2020707@fourthworld.com> Paul Hibbert wrote: > Wow, WTG RR. Hanson confirmed this already! > > Paul > >> On Mar 5, 2015, at 9:54 AM, Paul Hibbert wrote: >> >> Terry (and List Users), >> >> This bug is reported now: >> >> http://quality.runrev.com/show_bug.cgi?id=14814 Thanks for submitting that report. Not surprising to see a quick confirmation; these days since they've added staff I usually see new issues accompanied by a clear recipe confirmed within 48 hours, often less. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Mar 5 17:22:07 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Mar 2015 14:22:07 -0800 Subject: Printing in LC 7.0.3 In-Reply-To: References: Message-ID: <54F8D70F.2010608@fourthworld.com> Terence Heaford wrote: >> On 5 Mar 2015, at 15:47, Richard Gaskin wrote: >> >> Bug 14061 - Printing a data grid using print card shows artefacts >> Status: CONFIRMED >> This one took some time to reproduce, and ultimately the team found >> that the issue appears to be specific to LiveCode under OS X 10.10, >> not present on other OS X versions. The report was filed against an >> old version of LC (6.7.1 RC 2); have you had a chance to test this >> in 6.7.3? > > This bug was reported on the 19 Nov 2014 and confirmed on the 24 Nov > 2014 against 6.7.1 RC2 > > We are now at 6.7.3 stable and the bug is still present. > > LC 7.0.3 also has the bug. Thank for you testing against the recent versions. The good news for all of us is that your test confirms that this isn't specific to v7. While the DataGrid was never designed to support printing, because it's possible to print it I agree that this should be addressed. Now that you've added your note there about having confirmed that it's in the latest versions, the bump on the report will help raise its visibility with the team. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bonnmike at gmail.com Thu Mar 5 17:45:36 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 5 Mar 2015 15:45:36 -0700 Subject: Web page fields In-Reply-To: References: <38456AAE-8DE4-4908-BB51-A4E95C24AA84@mac.com> <38420CB1-9157-4662-B1F6-D5A09944E02E@mac.com> Message-ID: Hey, if this is for an external browser, and you have control of the page being accessed, there is no reason you can't set up a url with a GET, that is used by the receiving page to set the default value. If the page is straight html, and not php or .lc processed, i'm not sure how you can inject a javascript command to change the form. Its most likely possible, I just don't know how, and the whole "is it firefox, chrome, IE, Opera" question makes it that much more difficult, unless you have control of that too. if you do have control if the page, or if you can set up a seperate lc or php file, you can generate the page to look however you want. http://sample.com/setupquery.lc?myquery="urlencoded query here" and in the file setupquery you could have blah blah blah, most of your page here " end if ?> " /> blah blah blah the rest of your page here But if you don't have control of the page, i'm still not sure how to do it in an external browser from lc. From ambassador at fourthworld.com Thu Mar 5 18:12:05 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Mar 2015 15:12:05 -0800 Subject: Printing in LC 7.0.3 In-Reply-To: <70D20E6B-6139-46BE-B8E0-CF4A35EA79BE@icloud.com> References: <70D20E6B-6139-46BE-B8E0-CF4A35EA79BE@icloud.com> Message-ID: <54F8E2C5.2090409@fourthworld.com> Terence Heaford wrote: > On 5 Mar 2015, at 15:47, Richard Gaskin wrote: >>Terence Heaford wrote: ... >>> I?ve never had a reported bug resolved. >> >> ..except for this one: >> >> ..except for this one: > > I would submit a bug report for the Text Labels of tabs debacle > in the Tab Panel if I thought it would do any good? > > I believe the bug report for this was started years ago and > replicated on a number of occasions and has still not been resolved. > > Richard, while you have got your ambassador hat on perhaps you could > advise when it will be sorted out. Of the four reports I could find that you've submitted only one is outstanding, and the others either fixed by RunRev or abandoned by yourself, as you noted in your follow-up posts here. Those of us who rely on LiveCode for our work participate in the QA process because it's in our own interest to do so. For those interested in this text alignment issue in tab controls on OS X, here are the two relevant bug reports: Bug 6206 - Tab Panels in Mac OS X have incorrect default text vertical position Bug 7962 - Tabs not centered horizontally in tab button With an audience as large as LiveCode's for a scope of OS coverage few companies have ever attempted, a bug DB can grow into an almost unmanageable beast over time, with a great many older issues either no longer relevant because of changes in the OSes, or sometimes because changes in LiveCode has already addressed the issue. Trimming the bug DB has been a huge effort over 2014 and continues to this day. Newly-submitted bugs are usually confirmed within a day or two at most, sometimes within hours, as Paul Hibbert noted with his report this afternoon. Older issues have been worked through with two large-scope initiatives last year: - Nearly 2,000 outstanding bugs and feature requests were completed, closed as "Fixed". Not a small effort. - The remaining items were less clear to the team in terms of their relevance and/or quality of the submitted recipes, so in October Ben took the initiative to send everyone who had outstanding bug reports in the DB a list of those reports with a request that we please review them in the most recent build of LC, and note whether the issue remains or should be closed. In the period between Ben's emails to bug submitters and now, Apple's changes to their iOS APIs (mostly the 64-bit requirement but others as well) required urgent focus to deliver an update for iOS ASAP. This was done, but it was a non-trivial task, and no doubt distracted them from things like the two reports noted above. Please note that I tested the reports on text alignment in tab controls in OS X and noted that in one them on March 1. Perhaps I could have tested it sooner, but to be honest this cosmetic issue may be important for some but it hasn't stopped me from delivering anything I need to deliver for my clients and customers, and not a single one of them has ever mentioned it to me. Many such cosmetic issues have been slated to be addressed with the Themes architecture, noted on the Roadmap as dependent on the Open Language and accompanying Widgets architecture, which is in development now with the aim of delivering the first v8 DP very soon. That said, I've raised this cosmetic tab control issue with the team this afternoon to see if a simple fix can be put into place before v8 goes final. I'll report back what I learn. > ...and please don?t suggest I script my own solution. A half-dozen of us have been suggesting Bernd's wonderful field object. He already did the work on that. Have you considered trying it? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Thu Mar 5 20:20:51 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 5 Mar 2015 17:20:51 -0800 Subject: printing at full density in 7! Message-ID: Wow. I just thought to try this for the first time. in 5.5, if you printed cards to the printer, they came out at 72dpi (old screen density). I* had* to use pdfs. (not a real problem, as they are necessary for filing with court). But now, I got a full density printout. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From stephenREVOLUTION2 at barncard.com Thu Mar 5 20:28:19 2015 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 5 Mar 2015 17:28:19 -0800 Subject: printing at full density in 7! In-Reply-To: References: Message-ID: On Thu, Mar 5, 2015 at 5:20 PM, Dr. Hawkins wrote: > But now, I got a full density printout. > great news! -- Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words From jhj at jhj.com Thu Mar 5 22:35:48 2015 From: jhj at jhj.com (Jerry Jensen) Date: Thu, 5 Mar 2015 19:35:48 -0800 Subject: on-rev outage Message-ID: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> Diesel.on-rev.com has been down, for me at least, for about 8 hours. This is a big problem. Is everybody at on-rev affected? The server status page is out too. An urgent support ticket is gathering dust... .Jerry From simon at asato-media.com Thu Mar 5 22:45:36 2015 From: simon at asato-media.com (Simon) Date: Thu, 5 Mar 2015 19:45:36 -0800 (PST) Subject: on-rev outage In-Reply-To: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> Message-ID: <1425613536964-4689724.post@n4.nabble.com> Since moving the servers to France this is the worst outage yet. They were doing so well. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-outage-tp4689723p4689724.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Thu Mar 5 23:16:08 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Mar 2015 22:16:08 -0600 Subject: printing at full density in 7! In-Reply-To: References: Message-ID: <54F92A08.8050508@hyperactivesw.com> On 3/5/2015 7:20 PM, Dr. Hawkins wrote: > Wow. > > I just thought to try this for the first time. > > in 5.5, if you printed cards to the printer, they came out at 72dpi (old > screen density). I* had* to use pdfs. (not a real problem, as they are > necessary for filing with court). > > But now, I got a full density printout. > > Cool! How nice to get good news. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Mar 5 23:16:52 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Mar 2015 22:16:52 -0600 Subject: on-rev outage In-Reply-To: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> Message-ID: <54F92A34.1080205@hyperactivesw.com> On 3/5/2015 9:35 PM, Jerry Jensen wrote: > Diesel.on-rev.com has been down, for me at least, for about 8 hours. > This is a big problem. Is everybody at on-rev affected? The server > status page is out too. Tio seems okay. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sundown at pacifier.com Fri Mar 6 00:51:46 2015 From: sundown at pacifier.com (JB) Date: Thu, 5 Mar 2015 21:51:46 -0800 Subject: DataGrid Checkboxes Message-ID: <81FE8B2C-8366-4DB2-B582-9ABE212D4189@pacifier.com> The lesson for working with dataGrid checkboxes ask you to select Form. Can you only add checkboxes to the Form and not the table style of dataGrid? John Balgenorth From paul at livecode.org Fri Mar 6 01:15:58 2015 From: paul at livecode.org (Paul Hibbert) Date: Thu, 5 Mar 2015 22:15:58 -0800 Subject: on-rev outage In-Reply-To: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> Message-ID: <45A0B61C-31C2-41BD-8BBD-55034832EE37@livecode.org> > On Mar 5, 2015, at 7:35 PM, Jerry Jensen wrote: > > An urgent support ticket is gathering dust... Several urgent tickets I imagine, Simon on the LC Forums has had a reply from RR, but that was over 4 1/2 hours ago, turning into a problem for some clients here, but I imagine it's a bigger problem for DW & RR: http://forums.livecode.com/viewtopic.php?f=15&t=23483 Hope it's fixed soon. Paul From jhj at jhj.com Fri Mar 6 01:38:01 2015 From: jhj at jhj.com (Jerry Jensen) Date: Thu, 5 Mar 2015 22:38:01 -0800 Subject: on-rev outage In-Reply-To: <45A0B61C-31C2-41BD-8BBD-55034832EE37@livecode.org> References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> <45A0B61C-31C2-41BD-8BBD-55034832EE37@livecode.org> Message-ID: <1982A3AE-FF15-441F-AFCB-29546EEF75E1@jhj.com> > On Mar 5, 2015, at 10:15 PM, Paul Hibbert wrote: > >> On Mar 5, 2015, at 7:35 PM, Jerry Jensen wrote: >> >> An urgent support ticket is gathering dust... > > Several urgent tickets I imagine, Simon on the LC Forums has had a reply from RR, but that was over 4 1/2 hours ago, turning into a problem for some clients here, but I imagine it's a bigger problem for DW & RR: > > http://forums.livecode.com/viewtopic.php?f=15&t=23483 > > Hope it's fixed soon. Me too. The autoreply to my first ticket was nearly 10 hours ago. .Jerry From t.heaford at icloud.com Fri Mar 6 02:42:45 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Fri, 06 Mar 2015 07:42:45 +0000 Subject: Printing in LC 7.0.3 In-Reply-To: <54F8E2C5.2090409@fourthworld.com> References: <70D20E6B-6139-46BE-B8E0-CF4A35EA79BE@icloud.com> <54F8E2C5.2090409@fourthworld.com> Message-ID: > On 5 Mar 2015, at 23:12, Richard Gaskin wrote: > > A half-dozen of us have been suggesting Bernd's wonderful field object. He already did the work on that. Have you considered trying it? I am working with Bernd (testing and making suggestions, at his request) and I think he is happy with the progress he is making with modTableField. I shouldn?t really speak for Bernd but there are bug reports he has submitted that need addressing by the LC Team and if they could be addressed it would make modTableField better. One quite big one is Bug 14238 - backgroundpattern of a field out of sync if formattedHeight > roughly 32768 Status:CONFIRMED Reported:2014-12-16 19:56 GMT by Bernd Niggemann Modified:2015-02-28 16:18 GMT Richard, you are aware of this one as you have commented. This is a big issue to using modTableField because most people would want alternate coloured rows and those that have a lot of data (me included) could not use modTableField until this is fixed. I couldn?t incorporate modTableField in a project unless I knew it was going to be fixed in the not to distant future. All the best Terry From t.heaford at icloud.com Fri Mar 6 03:03:00 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Fri, 06 Mar 2015 08:03:00 +0000 Subject: Printing in LC 7.0.3 In-Reply-To: <54F8E2C5.2090409@fourthworld.com> References: <70D20E6B-6139-46BE-B8E0-CF4A35EA79BE@icloud.com> <54F8E2C5.2090409@fourthworld.com> Message-ID: > On 5 Mar 2015, at 23:12, Richard Gaskin wrote: > > For those interested in this text alignment issue in tab controls on OS X, here are the two relevant bug reports: > > Bug 6206 - Tab Panels in Mac OS X have incorrect default text vertical position > > > > Bug 7962 - Tabs not centered horizontally in tab button > > Yes but Bug 6206 was reported on the 24 March 2008 - Thats just coming up to 7 Years. and Bug 7962 was reported on 15 April 2009 - Thats 1 month off 6 Years. If someone considering moving to LC saw that User Interface defects can take this long to sort out then why should they. I suppose by the same logic Bernd?s request for help via. Bug 14238 - backgroundpattern of a field out of sync if formattedHeight > roughly 32768 may also never get addressed and if someone had committed to modTableField they could well be up the proverbial creek without a paddle. When the status of a Bug is CONFIRMED what is the decision process with regard to. 1. Whether or not it will be actioned. 2. When it will be allocated to an engineer. 3. When it will be actioned by. 4. If the decision is taken not to action, is the reporter of the Bug informed? 5. If the decision is taken not to action is the CONFIRMED status set to something else? 6. If someone has reported a Bug and no action is taken in a time scale what happens. 7. Does anyone actually look at Bug reports as old as those above? All the best Terry From simon at asato-media.com Fri Mar 6 03:09:48 2015 From: simon at asato-media.com (Simon) Date: Fri, 6 Mar 2015 00:09:48 -0800 (PST) Subject: on-rev outage In-Reply-To: <1982A3AE-FF15-441F-AFCB-29546EEF75E1@jhj.com> References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> <45A0B61C-31C2-41BD-8BBD-55034832EE37@livecode.org> <1982A3AE-FF15-441F-AFCB-29546EEF75E1@jhj.com> Message-ID: <1425629388801-4689732.post@n4.nabble.com> Wow my robot says 11 hours and 45 minutes down time. I'm pretty sure I did not get an auto-reply as my subscription email (the one I used in the request form) is on on-rev. I supplied different email address in the body so that David could contact me. There is no way I believe David read the request and rolled over and went back to sleep, something must be very wrong. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-outage-tp4689723p4689732.html Sent from the Revolution - User mailing list archive at Nabble.com. From revdev at pdslabs.net Fri Mar 6 04:28:35 2015 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 06 Mar 2015 01:28:35 -0800 Subject: on-rev outage In-Reply-To: <1425629388801-4689732.post@n4.nabble.com> References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> <45A0B61C-31C2-41BD-8BBD-55034832EE37@livecode.org> <1982A3AE-FF15-441F-AFCB-29546EEF75E1@jhj.com> <1425629388801-4689732.post@n4.nabble.com> Message-ID: <54F97343.8040708@pdslabs.net> I got a message from Heather around 10:50 PM Pacific time saying "We are having a fairly major issue with diesel at the moment". That would be 6:50 AM their time, right? So they're definitely not sleeping. I received a pingdom.com notice today around 12:30 pm Pacific saying it was down. Boy oh boy. Phil Davis On 3/6/15 12:09 AM, Simon wrote: > Wow my robot says 11 hours and 45 minutes down time. > I'm pretty sure I did not get an auto-reply as my subscription email (the > one I used in the request form) is on on-rev. I supplied different email > address in the body so that David could contact me. > There is no way I believe David read the request and rolled over and went > back to sleep, something must be very wrong. > > Simon > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-outage-tp4689723p4689732.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From dave at applicationinsight.com Fri Mar 6 05:23:40 2015 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 6 Mar 2015 02:23:40 -0800 (PST) Subject: LiveCode workshop (with more planned) in Plymouth Message-ID: <1425637420770-4689734.post@n4.nabble.com> Hi all There is going to be a LiveCode beginners workshop on Saturday 28th March here in Plymouth (UK). More information here: http://forums.livecode.com/viewtopic.php?f=30&t=23486 but the skinny is that if there is enough interest we can put on further workshops and maybe even occasional LiveCode events... Please pass this on to any who you think might be interested Kind regards Dave ----- "The difference between genius and stupidity is; genius has its limits." - Albert Einstein -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-workshop-with-more-planned-in-Plymouth-tp4689734.html Sent from the Revolution - User mailing list archive at Nabble.com. From simon at asato-media.com Fri Mar 6 07:13:47 2015 From: simon at asato-media.com (Simon) Date: Fri, 6 Mar 2015 04:13:47 -0800 (PST) Subject: on-rev outage In-Reply-To: <54F97343.8040708@pdslabs.net> References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> <45A0B61C-31C2-41BD-8BBD-55034832EE37@livecode.org> <1982A3AE-FF15-441F-AFCB-29546EEF75E1@jhj.com> <1425629388801-4689732.post@n4.nabble.com> <54F97343.8040708@pdslabs.net> Message-ID: <1425644027669-4689735.post@n4.nabble.com> This will be a real test for Heather and David. What Customer Service response will satisfy users? "Some person/s unknown threw a sabot at the hardware" "Indiana Jones lands on server (that was supposed to be in France)" "Madonna said something in France causing a server blackout, it was ignored because Madonna said it" Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-outage-tp4689723p4689735.html Sent from the Revolution - User mailing list archive at Nabble.com. From heather.williams11 at btinternet.com Fri Mar 6 07:34:58 2015 From: heather.williams11 at btinternet.com (Heather Laine) Date: Fri, 6 Mar 2015 12:34:58 +0000 Subject: on-rev outage In-Reply-To: <1425644027669-4689735.post@n4.nabble.com> References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> <45A0B61C-31C2-41BD-8BBD-55034832EE37@livecode.org> <1982A3AE-FF15-441F-AFCB-29546EEF75E1@jhj.com> <1425629388801-4689732.post@n4.nabble.com> <54F97343.8040708@pdslabs.net> <1425644027669-4689735.post@n4.nabble.com> Message-ID: Folks, This is also a test of whether your email address is up to date in our on-rev client records. If you are on Diesel and you got the email from us, subject line "Diesel Server Outage - your on-rev account" explaining the status, sent around an hour ago, then kudos and congratulations you are up to date. If you did not, please send us a *regular on-rev support ticket* NOT an urgent ticket, with your latest and greatest contact address. If you are not on Diesel, please don't email us asking why you didn't get the message? but you might want to check that we do have you correct contact address. We are currently replacing the server disk and restoring from backup. We will inform affected customers as soon as it is up. Regards, Heather On 6 Mar 2015, at 12:13, Simon wrote: > This will be a real test for Heather and David. > What Customer Service response will satisfy users? > > "Some person/s unknown threw a sabot at the hardware" > "Indiana Jones lands on server (that was supposed to be in France)" > "Madonna said something in France causing a server blackout, it was ignored > because Madonna said it" > > Simon > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-outage-tp4689723p4689735.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From heather at livecode.com Fri Mar 6 07:35:30 2015 From: heather at livecode.com (Heather Laine) Date: Fri, 6 Mar 2015 12:35:30 +0000 Subject: on-rev outage In-Reply-To: <1425644027669-4689735.post@n4.nabble.com> References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> <45A0B61C-31C2-41BD-8BBD-55034832EE37@livecode.org> <1982A3AE-FF15-441F-AFCB-29546EEF75E1@jhj.com> <1425629388801-4689732.post@n4.nabble.com> <54F97343.8040708@pdslabs.net> <1425644027669-4689735.post@n4.nabble.com> Message-ID: Folks, This is also a test of whether your email address is up to date in our on-rev client records. If you are on Diesel and you got the email from us, subject line "Diesel Server Outage - your on-rev account" explaining the status, sent around an hour ago, then kudos and congratulations you are up to date. If you did not, please send us a *regular on-rev support ticket* NOT an urgent ticket, with your latest and greatest contact address. If you are not on Diesel, please don't email us asking why you didn't get the message? but you might want to check that we do have you correct contact address. We are currently replacing the server disk and restoring from backup. We will inform affected customers as soon as it is up. Regards, Heather On 6 Mar 2015, at 12:13, Simon wrote: > This will be a real test for Heather and David. > What Customer Service response will satisfy users? > > "Some person/s unknown threw a sabot at the hardware" > "Indiana Jones lands on server (that was supposed to be in France)" > "Madonna said something in France causing a server blackout, it was ignored > because Madonna said it" > > Simon > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-outage-tp4689723p4689735.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Fri Mar 6 07:55:50 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 6 Mar 2015 07:55:50 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> <106992024600.20150305082751@ahsoftware.net> Message-ID: <1A737B13-7365-4907-B771-842557F5A41E@gmail.com> On Mar 5, 2015, at 2:13 PM, Mark Wieder wrote: > Peter Brigham writes: > >> >> Double-check me on this. >> > > No, you're still checking the enclosing directory instead of the file. Grab > "/sys/class/power_supply/BAT0/status" > and the same for BAT1. Right, I realized that last yesterday before I saw your reply. I've removed the terminal slashes on those URLs. > ...and the caseSwitch function confuses me a bit: > > I don't think the 'if tMatch = "*"' part is going to do anything useful here > (do you really expect the contents of the status file to be "*"? > > and there's no processing for the case where tCheckValue is *not* among the > items of tMatch *and* tMatch is not "*" (will return empty). See the comments at the start of the caseSwitch function, and look at how the script handles "*" -- it indicates the default case, if none of the previous matchValues match the checkValue. I suppose you could argue that using an if-else-then control structure instead of caseSwitch() would be less opaque. I happen to like the compactness of using Ken Ray's function for situations like this. De gustibus non est disputandum. function caseSwitch -- does a quick inline switch/case -- param 1 is checkValue -- params 2+ are in the form matchValue(s)=returnValue -- separate multiple matchValues with commas -- and enclose each matchValue=returnValue pair in quotes -- if checkValue matches one or more items in matchValue(s), -- returns returnValue -- note that checkValue should NOT be enclosed in quotes -- use a matchValue of "*" to specify a default value, -- to be returned if no matches found in the list -- if the default is "*=*" then no match returns the original checkValue -- if no match and no default value specified, then returns empty -- usage: -- put caseSwitch(len(tZip),"5=zip","10=zip+4","*=not a zip code") \ -- into zipCodeType -- from Ken Ray, use-LC list, originally named stsSwitch() -- revised by Peter M. Brigham, pmbrig at gmail.com -- to allow for an empty checkValue, eg "=empty input" put param(1) into tCheckValue set the itemDel to "=" put "" into tDefault repeat with x = 2 to the paramCount put param(x) into tCheck put item 1 of tCheck into tMatch put item 2 of tCheck into tRetVal replace "," with "=" in tMatch if tCheckValue = empty and tMatch = empty then return tRetVal if tCheckValue is among the items of tMatch then return tRetVal if tMatch = "*" then if tRetVal = "*" then put tCheckValue into tDefault else put tRetVal into tDefault end if end if end repeat return tDefault end caseSwitch -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From dave at applicationinsight.com Fri Mar 6 09:23:41 2015 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 6 Mar 2015 06:23:41 -0800 (PST) Subject: DataGrid Checkboxes In-Reply-To: <81FE8B2C-8366-4DB2-B582-9ABE212D4189@pacifier.com> References: <81FE8B2C-8366-4DB2-B582-9ABE212D4189@pacifier.com> Message-ID: <1425651821576-4689739.post@n4.nabble.com> Hi John Sure you can checkboxes in datagrid tables - but you have do a little more work to set them up - see http://lessons.runrev.com/m/datagrid/l/7311-how-do-i-customize-a-table-s-columns Dave ----- "The difference between genius and stupidity is; genius has its limits." - Albert Einstein -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/DataGrid-Checkboxes-tp4689727p4689739.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Fri Mar 6 10:50:17 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 6 Mar 2015 07:50:17 -0800 Subject: printing at full density in 7! In-Reply-To: <54F92A08.8050508@hyperactivesw.com> References: <54F92A08.8050508@hyperactivesw.com> Message-ID: On Thu, Mar 5, 2015 at 8:16 PM, J. Landman Gay wrote: > Cool! How nice to get good news. :) > And nice not to be complaining :) (I did find it odd that this was happening in 5.5, as I could print at density from at least SuperCard, and I think also Hypercard, back in 1989 . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From rdimola at evergreeninfo.net Fri Mar 6 09:30:07 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 6 Mar 2015 09:30:07 -0500 Subject: on-rev outage In-Reply-To: <1425613536964-4689724.post@n4.nabble.com> References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> <1425613536964-4689724.post@n4.nabble.com> Message-ID: <003001d0581a$0b6a3c50$223eb4f0$@net> There was a disk failure. I would have thought that a server farm would be using raid arrays. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Simon Sent: Thursday, March 05, 2015 10:46 PM To: use-revolution at lists.runrev.com Subject: Re: on-rev outage Since moving the servers to France this is the worst outage yet. They were doing so well. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-outage-tp4689723p46897 24.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Fri Mar 6 10:53:06 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 6 Mar 2015 10:53:06 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> <106992024600.20150305082751@ahsoftware.net> Message-ID: <1726E78A-8E25-490F-8F9B-77E885794C5A@gmail.com> So can a couple of Unix users out there test this part out? if there is a file "/sys/class/power_supply/BAT0" then put url "/sys/class/power_supply/BAT0" into tStatus else if there is a file "/sys/class/power_supply/BAT1" then put url "/sys/class/power_supply/BAT1" into tStatus else return "AC" -- no battery, must be running off external power end if put word 1 of tStatus into tStatus if tStatus = empty then return empty return caseSwitch(tStatus,"discharging=Battery","charging,unknown,full=AC","*=*") -- if tStatus = empty, returns empty -- -- Unix users please test: should this return some value?? -- if tStatus is not in "discharging,charging,unknown,full" then -- just returns whatever "/sys/class/power_supply/BATx" reports -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From rdimola at evergreeninfo.net Fri Mar 6 09:30:07 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 6 Mar 2015 09:30:07 -0500 Subject: on-rev outage In-Reply-To: <1425613536964-4689724.post@n4.nabble.com> References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> <1425613536964-4689724.post@n4.nabble.com> Message-ID: <003001d0581a$0b6a3c50$223eb4f0$@net> There was a disk failure. I would have thought that a server farm would be using raid arrays. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Simon Sent: Thursday, March 05, 2015 10:46 PM To: use-revolution at lists.runrev.com Subject: Re: on-rev outage Since moving the servers to France this is the worst outage yet. They were doing so well. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-outage-tp4689723p46897 24.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Fri Mar 6 11:38:00 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 6 Mar 2015 08:38:00 -0800 Subject: stack not specified height (from using editmenus?) Message-ID: I set, and later unset, editmenus, which may be triggering this. I now have a stack (OSX) which reports a height of 240 (which it should, it was set in a script), yet fullly shows a button with a bottom of 258. Experimenting shows that vertical 0 is at about the top of the titlebar, not the bottom of the titlebar. This wasn't the case until a couple of days ago; I have "show more" and "show less" buttons that use the bottom of the other to set the height of the stack. Could my experimenting with editmenus have done this? setting that to true and back to false doesn't solve the problem. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dwilliams at livecode.com Fri Mar 6 11:44:31 2015 From: dwilliams at livecode.com (David Williams) Date: Fri, 06 Mar 2015 16:44:31 +0000 Subject: on-rev outage In-Reply-To: <003001d0581a$0b6a3c50$223eb4f0$@net> References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> <1425613536964-4689724.post@n4.nabble.com> <003001d0581a$0b6a3c50$223eb4f0$@net> Message-ID: <54F9D96F.9090904@livecode.com> Hi Ralph, We are. We initially though that the problem was more wide ranging, hence our initial conservative estimate for getting back online. However, I think that we almost there now. Regards, -David On 3/6/2015 2:30 PM, Ralph DiMola wrote: > There was a disk failure. I would have thought that a server farm would be > using raid arrays. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Simon > Sent: Thursday, March 05, 2015 10:46 PM > To: use-revolution at lists.runrev.com > Subject: Re: on-rev outage > > Since moving the servers to France this is the worst outage yet. > They were doing so well. > > Simon > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/on-rev-outage-tp4689723p46897 > 24.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri Mar 6 13:07:25 2015 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 6 Mar 2015 13:07:25 -0500 Subject: sqlite and iOS 8 In-Reply-To: <13A21D97-0A49-4810-AA49-63E7D126B673@gmail.com> References: <13A21D97-0A49-4810-AA49-63E7D126B673@gmail.com> Message-ID: I'm not having any issues with a pile of devices with 8 and SQLite. On Thu, Mar 5, 2015 at 2:40 PM, PystCat wrote: > I have an app that worked fine? then iOS 8 came out and everything went > fubar? what I am having a problem with is the app seeing an sqlite table > under iOS 8? I?ve started using the latest LC 7.0.3 Build 10026 under Max > OS X 10.10.2 with the iOS 8 simulator. > > When the app opens on the iPad, it checks to see if there is an sqlite > table in the Documents folder? if not it creates one. Well? it DID in the > past. Now what I have it doing is copying the empty table already created > over to the Documents table. Once there it creates the tables it needs. I > have this in the openStack. The reason for this is because the app will > determine what you are on and either send you to the iPad card or the > iPhone card. Both use the same tables. > > Now if I stick the code on the card in a button just to test it out?? It > works. Is something wacky with sqlite and LC or am I just overlooking > something REALLY obvious and need to be laughed at..? > > Has anyone else had any problems using sqlite with iOS 8..? If so? what > did you do to fix it..? > > Help me Obi-Wan... > Paul > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From simon at asato-media.com Fri Mar 6 13:21:49 2015 From: simon at asato-media.com (Simon) Date: Fri, 6 Mar 2015 10:21:49 -0800 (PST) Subject: on-rev outage In-Reply-To: References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> <45A0B61C-31C2-41BD-8BBD-55034832EE37@livecode.org> <1982A3AE-FF15-441F-AFCB-29546EEF75E1@jhj.com> <1425629388801-4689732.post@n4.nabble.com> <54F97343.8040708@pdslabs.net> <1425644027669-4689735.post@n4.nabble.com> Message-ID: <1425666109928-4689746.post@n4.nabble.com> Heather Laine-2 wrote > Folks, > > This is also a test of whether your email address is up to date in our > on-rev client records. Whoops. Oh well, what a funny world this is. Because of my long standing relationship with RunRev my up-to-date email address is on Diesel, hence no email from Heather. 21 hours 42 minutes down. I would request a detailed report on how the service will be improved going forward. What safety protocols have now been put in place to ensure this does not happen again? Yep, the standard stuff one asks any provider of any ongoing service. This problem is obviously out of Davids and RunRevs hands as it would have been solved by now. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-outage-tp4689723p4689746.html Sent from the Revolution - User mailing list archive at Nabble.com. From rdimola at evergreeninfo.net Fri Mar 6 13:38:34 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 6 Mar 2015 13:38:34 -0500 Subject: sqlite and iOS 8 In-Reply-To: <13A21D97-0A49-4810-AA49-63E7D126B673@gmail.com> References: <13A21D97-0A49-4810-AA49-63E7D126B673@gmail.com> Message-ID: <003f01d0583c$c1d5a2f0$4580e8d0$@net> I have not had any problems but I don?t create a blank database. My DB is copied from the assets to the documents. I do just about everything else (Select, Multiple Joins, Attach, Alter Table, Detach, Delete, Update, Pragma...) with no problems. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of PystCat Sent: Thursday, March 05, 2015 2:40 PM To: How to use LiveCode Subject: sqlite and iOS 8 I have an app that worked fine? then iOS 8 came out and everything went fubar? what I am having a problem with is the app seeing an sqlite table under iOS 8? I?ve started using the latest LC 7.0.3 Build 10026 under Max OS X 10.10.2 with the iOS 8 simulator. When the app opens on the iPad, it checks to see if there is an sqlite table in the Documents folder? if not it creates one. Well? it DID in the past. Now what I have it doing is copying the empty table already created over to the Documents table. Once there it creates the tables it needs. I have this in the openStack. The reason for this is because the app will determine what you are on and either send you to the iPad card or the iPhone card. Both use the same tables. Now if I stick the code on the card in a button just to test it out?? It works. Is something wacky with sqlite and LC or am I just overlooking something REALLY obvious and need to be laughed at..? Has anyone else had any problems using sqlite with iOS 8..? If so? what did you do to fix it..? Help me Obi-Wan... Paul _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Fri Mar 6 14:06:31 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 6 Mar 2015 19:06:31 +0000 (UTC) Subject: on-rev outage References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> <45A0B61C-31C2-41BD-8BBD-55034832EE37@livecode.org> <1982A3AE-FF15-441F-AFCB-29546EEF75E1@jhj.com> <1425629388801-4689732.post@n4.nabble.com> <54F97343.8040708@pdslabs.net> <1425644027669-4689735.post@n4.nabble.com> <1425666109928-4689746.post@n4.nabble.com> Message-ID: Simon writes: > > Whoops. Oh well, what a funny world this is. Because of my long standing > relationship with RunRev my up-to-date email address is on Diesel, hence no > email from Heather. > > 21 hours 42 minutes down. > > I would request a detailed report on how the service will be improved going > forward. What safety protocols have now been put in place to ensure this > does not happen again? Yep, the standard stuff one asks any provider of any > ongoing service. > What Simon said. What the hell good does it do sending an email message to Diesel saying it's down? -- Mark Wieder ahsoftware at gmaili.com From mikedoub at gmail.com Fri Mar 6 14:05:30 2015 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 06 Mar 2015 14:05:30 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <1726E78A-8E25-490F-8F9B-77E885794C5A@gmail.com> References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> <106992024600.20150305082751@ahsoftware.net> <1726E78A-8E25-490F-8F9B-77E885794C5A@gmail.com> Message-ID: <54F9FA7A.4050302@gmail.com> I will make it even easier for you to help test ... Paste all this code into a button script. on mouseup put __powerSource() end mouseup function __caseSwitch /* __caseSwitch Misc Syntax: __caseSwitch (var_to_Match,=,[=]... Examples: put caseSwitch(len(tZip),"5=zip","10=zip+4","*=not a zip code") into zipCodeType Description: Does a quick inline switch/case but supports a default for a non-match. . Also see __Switch param 1 is checkValue params 2+ are in the form matchValue(s)>= . if no match and no default value specified, then returns empty Source: Peter M. Brigham from Ken Ray, use-LC list, originally named stsSwitch() __caseSwitch */ put param(1) into tCheckValue set the itemDel to "=" put "" into tDefault repeat with x = 2 to the paramCount put param(x) into tCheck put item 1 of tCheck into tMatch put item 2 of tCheck into tRetVal replace "," with "=" in tMatch if tCheckValue = empty and tMatch = empty then return tRetVal if tCheckValue is among the items of tMatch then return tRetVal if tMatch = "*" then if tRetVal = "*" then put tCheckValue into tDefault else put tRetVal into tDefault end if end if end repeat return tDefault end __caseSwitch function __getPowerSource /* __getPowerSource System Syntax: __getPowerSource() Examples: __getPowerSource() Description: -- returns the current power source for a laptop -- "AC" or "Battery" -- or "no battery" if there is no battery (Unix) Source: Peter M. Brigham with help from Martin Koob, Bob Sneidar, Richard Gaskin __getPowerSource */ /* Include __caseSwitch */ switch the platform case "MacOS" -- thanks to Martin Koob, use-LC list put shell ("pmset -g batt") into tStatus -- returns something like: -- Currently drawing from 'AC Power' -- -InternalBattery-0 99%; finishing charge; 0:00 remaining return char 2 to -1 of word -2 of line 1 of tStatus break case "Win32" -- thanks to Bob Sneidar, use-LC list put shell("WMIC Path Win32_Battery GetAvailability") into tStatus -- Line 3 will contain 2 if the battery is charging, 3 if running on battery put line 3 of tStatus into tStatus return caseSwitch(tStatus,"3=Battery","*=AC") break default -- Unix, thanks to Richard Gaskin, use-LC list if there is a file "/sys/class/power_supply/BAT0" then put url "/sys/class/power_supply/BAT0" into tStatus else if there is a file "/sys/class/power_supply/BAT1" then put url "/sys/class/power_supply/BAT1" into tStatus else return "AC" -- no battery, must be running off external power end if put word 1 of tStatus into tStatus if tStatus = empty then return empty return caseSwitch(tStatus,"discharging=Battery","charging,unknown,full=AC","*=*") -- if tStatus = empty, returns empty -- -- Unix users please test: should this return some value?? -- if tStatus is not in "discharging,charging,unknown,full" then -- just returns whatever "/sys/class/power_supply/BATx" reports end switch end __getPowerSource On 3/6/15 10:53 AM, Peter M. Brigham wrote: > if there is a file "/sys/class/power_supply/BAT0" then > put url "/sys/class/power_supply/BAT0" into tStatus > else if there is a file "/sys/class/power_supply/BAT1" then > put url "/sys/class/power_supply/BAT1" into tStatus > else > return "AC" > -- no battery, must be running off external power > end if > put word 1 of tStatus into tStatus > if tStatus = empty then return empty > return caseSwitch(tStatus,"discharging=Battery","charging,unknown,full=AC","*=*") > -- if tStatus = empty, returns empty -- > -- Unix users please test: should this return some value?? > -- if tStatus is not in "discharging,charging,unknown,full" then > -- just returns whatever "/sys/class/power_supply/BATx" reports From mikedoub at gmail.com Fri Mar 6 14:09:35 2015 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 06 Mar 2015 14:09:35 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54F9FA7A.4050302@gmail.com> References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> <106992024600.20150305082751@ahsoftware.net> <1726E78A-8E25-490F-8F9B-77E885794C5A@gmail.com> <54F9FA7A.4050302@gmail.com> Message-ID: <54F9FB6F.6090104@gmail.com> and of coarse I screwed it up too. Peter, its catching. ;) Please place into a button and help us test this on unix. Thanks Mike on mouseup put __getpowerSource() end mouseup function __caseSwitch /* __caseSwitch Misc Syntax: __caseSwitch (var_to_Match,=,[=]... Examples: put caseSwitch(len(tZip),"5=zip","10=zip+4","*=not a zip code") into zipCodeType Description: Does a quick inline switch/case but supports a default for a non-match. . Also see __Switch param 1 is checkValue params 2+ are in the form matchValue(s)>= . if no match and no default value specified, then returns empty Source: Peter M. Brigham from Ken Ray, use-LC list, originally named stsSwitch() __caseSwitch */ put param(1) into tCheckValue set the itemDel to "=" put "" into tDefault repeat with x = 2 to the paramCount put param(x) into tCheck put item 1 of tCheck into tMatch put item 2 of tCheck into tRetVal replace "," with "=" in tMatch if tCheckValue = empty and tMatch = empty then return tRetVal if tCheckValue is among the items of tMatch then return tRetVal if tMatch = "*" then if tRetVal = "*" then put tCheckValue into tDefault else put tRetVal into tDefault end if end if end repeat return tDefault end __caseSwitch function __getPowerSource /* __getPowerSource System Syntax: __getPowerSource() Examples: __getPowerSource() Description: -- returns the current power source for a laptop -- "AC" or "Battery" -- or "no battery" if there is no battery (Unix) Source: Peter M. Brigham with help from Martin Koob, Bob Sneidar, Richard Gaskin __getPowerSource */ /* Include __caseSwitch */ switch the platform case "MacOS" -- thanks to Martin Koob, use-LC list put shell ("pmset -g batt") into tStatus -- returns something like: -- Currently drawing from 'AC Power' -- -InternalBattery-0 99%; finishing charge; 0:00 remaining return char 2 to -1 of word -2 of line 1 of tStatus break case "Win32" -- thanks to Bob Sneidar, use-LC list put shell("WMIC Path Win32_Battery GetAvailability") into tStatus -- Line 3 will contain 2 if the battery is charging, 3 if running on battery put line 3 of tStatus into tStatus return caseSwitch(tStatus,"3=Battery","*=AC") break default -- Unix, thanks to Richard Gaskin, use-LC list if there is a file "/sys/class/power_supply/BAT0" then put url "/sys/class/power_supply/BAT0" into tStatus else if there is a file "/sys/class/power_supply/BAT1" then put url "/sys/class/power_supply/BAT1" into tStatus else return "AC" -- no battery, must be running off external power end if put word 1 of tStatus into tStatus if tStatus = empty then return empty return caseSwitch(tStatus,"discharging=Battery","charging,unknown,full=AC","*=*") -- if tStatus = empty, returns empty -- -- Unix users please test: should this return some value?? -- if tStatus is not in "discharging,charging,unknown,full" then -- just returns whatever "/sys/class/power_supply/BATx" reports end switch end __getPowerSource On 3/6/15 2:05 PM, Michael Doub wrote: > I will make it even easier for you to help test ... Paste all this > code into a button script. > > on mouseup > put __powerSource() > end mouseup > > function __caseSwitch > /* __caseSwitch Misc > Syntax: > __caseSwitch > (var_to_Match,=,[=]... > Examples: > put caseSwitch(len(tZip),"5=zip","10=zip+4","*=not a zip code") > into zipCodeType > Description: > Does a quick inline switch/case but supports a default for a > non-match. > . Also see __Switch > > param 1 is checkValue > params 2+ are in the form matchValue(s)>= . separate multiple matcheValues with commas > . and enclose each matchValue=returnValue pair in quotes > if checkValue matches one or more items in matchValue(s), > . returns returnValue > > Note that checkValue should NOT be enclosed in quotes' > > Use a matchValue of "*" to specify a default value, > . to be returned if no matches found in the list > . if the default is "*=*" then no match returns the original > > . if no match and no default value specified, then returns empty > > Source: > Peter M. Brigham from Ken Ray, use-LC list, originally named > stsSwitch() > __caseSwitch */ > put param(1) into tCheckValue > set the itemDel to "=" > put "" into tDefault > repeat with x = 2 to the paramCount > put param(x) into tCheck > put item 1 of tCheck into tMatch > put item 2 of tCheck into tRetVal > replace "," with "=" in tMatch > if tCheckValue = empty and tMatch = empty then return tRetVal > if tCheckValue is among the items of tMatch then return tRetVal > if tMatch = "*" then > if tRetVal = "*" then > put tCheckValue into tDefault > else > put tRetVal into tDefault > end if > end if > end repeat > return tDefault > end __caseSwitch > > > function __getPowerSource > /* __getPowerSource System > Syntax: > __getPowerSource() > Examples: > __getPowerSource() > Description: > -- returns the current power source for a laptop > -- "AC" or "Battery" > -- or "no battery" if there is no battery (Unix) > Source: > Peter M. Brigham with help from Martin Koob, Bob Sneidar, Richard > Gaskin > __getPowerSource */ > /* Include > __caseSwitch > */ > > switch the platform > case "MacOS" > -- thanks to Martin Koob, use-LC list > put shell ("pmset -g batt") into tStatus > -- returns something like: > -- Currently drawing from 'AC Power' > -- -InternalBattery-0 99%; finishing charge; 0:00 > remaining > return char 2 to -1 of word -2 of line 1 of tStatus > break > case "Win32" > -- thanks to Bob Sneidar, use-LC list > put shell("WMIC Path Win32_Battery GetAvailability") into > tStatus > -- Line 3 will contain 2 if the battery is charging, 3 if > running on battery > put line 3 of tStatus into tStatus > return caseSwitch(tStatus,"3=Battery","*=AC") > break > default > -- Unix, thanks to Richard Gaskin, use-LC list > if there is a file "/sys/class/power_supply/BAT0" then > put url "/sys/class/power_supply/BAT0" into tStatus > else if there is a file "/sys/class/power_supply/BAT1" then > put url "/sys/class/power_supply/BAT1" into tStatus > else > return "AC" > -- no battery, must be running off external power > end if > put word 1 of tStatus into tStatus > if tStatus = empty then return empty > return > caseSwitch(tStatus,"discharging=Battery","charging,unknown,full=AC","*=*") > -- if tStatus = empty, returns empty -- > -- Unix users please test: should this return some value?? > -- if tStatus is not in "discharging,charging,unknown,full" then > -- just returns whatever "/sys/class/power_supply/BATx" > reports > end switch > end __getPowerSource > > > > > On 3/6/15 10:53 AM, Peter M. Brigham wrote: >> if there is a file "/sys/class/power_supply/BAT0" then >> put url "/sys/class/power_supply/BAT0" into tStatus >> else if there is a file "/sys/class/power_supply/BAT1" then >> put url "/sys/class/power_supply/BAT1" into tStatus >> else >> return "AC" >> -- no battery, must be running off external power >> end if >> put word 1 of tStatus into tStatus >> if tStatus = empty then return empty >> return >> caseSwitch(tStatus,"discharging=Battery","charging,unknown,full=AC","*=*") >> -- if tStatus = empty, returns empty -- >> -- Unix users please test: should this return some value?? >> -- if tStatus is not in "discharging,charging,unknown,full" >> then >> -- just returns whatever "/sys/class/power_supply/BATx" >> reports > From dunbarx at aol.com Fri Mar 6 14:09:03 2015 From: dunbarx at aol.com (dunbarx) Date: Fri, 6 Mar 2015 11:09:03 -0800 (PST) Subject: stack not specified height (from using editmenus?) In-Reply-To: References: Message-ID: <1425668943900-4689751.post@n4.nabble.com> My titlebar is, I think, 20 pixels high. Eight is very narrow. But surely a vertical of 0 should be at the bottom of the titlebar, not at the top. Sounds screwy to me. Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/stack-not-specified-height-from-using-editmenus-tp4689743p4689751.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Fri Mar 6 14:26:33 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 6 Mar 2015 19:26:33 +0000 (UTC) Subject: Power Status (was Re: Because LC can't do two things at once.) References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> <106992024600.20150305082751@ahsoftware.net> <1726E78A-8E25-490F-8F9B-77E885794C5A@gmail.com> Message-ID: Peter M. Brigham writes: > > So can a couple of Unix users out there test this part out? > > if there is a file "/sys/class/power_supply/BAT0" then > put url "/sys/class/power_supply/BAT0" into tStatus > else if there is a file "/sys/class/power_supply/BAT1" then > put url "/sys/class/power_supply/BAT1" into tStatus Once again, you're checking a directory, not a file. So you either want "if there is a folder" instead of "if there is a file" or you want 'if there is a file "/sys/class/power_supply/BAT0/status"' and you need to grab the actual file contents: put url "/sys/class/power_supply/BAT0/status" into tStatus -- Mark Wieder ahsoftware at gmail.com From kevin at livecode.com Fri Mar 6 14:26:34 2015 From: kevin at livecode.com (Kevin Miller) Date: Fri, 06 Mar 2015 19:26:34 +0000 Subject: on-rev outage In-Reply-To: <1425666109928-4689746.post@n4.nabble.com> References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> <45A0B61C-31C2-41BD-8BBD-55034832EE37@livecode.org> <1982A3AE-FF15-441F-AFCB-29546EEF75E1@jhj.com> <1425629388801-4689732.post@n4.nabble.com> <54F97343.8040708@pdslabs.net> <1425644027669-4689735.post@n4.nabble.com> <1425666109928-4689746.post@n4.nabble.com> Message-ID: As CEO that is of course my first instinct too. I always push us to investigate and see what lessons can be learned, what procedures tightened. However this is not one of those times. We suffered a catastrophic failure of both disks in the RAID array and thus made an estimate that our restore time would be 48 hours as we had to revert (in this incredibly unlikely event) to the off site backup. It turns out that we have managed to get one of the RAID disks to work so we should be back up and running sooner than anticipated - all things been equal in the next few minutes. Since we completed the server migration and system upgrades we?ve enjoyed steady reliable service. Even with this outage on Diesel we are well within any reasonable measure of uptime and reliability now for any ISP in this price range. We have both RAID and an offsite backup in place already. So while I regret the obvious inconvenience, this is one of those cases where additional procedures and systems would not have helped. Thanks for your patience, Diesel will be back online soon. Kind regards, Kevin Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps On 06/03/2015 18:21, "Simon" wrote: >Heather Laine-2 wrote >> Folks, >> >> This is also a test of whether your email address is up to date in our >> on-rev client records. > >Whoops. Oh well, what a funny world this is. Because of my long standing >relationship with RunRev my up-to-date email address is on Diesel, hence >no >email from Heather. > >21 hours 42 minutes down. > >I would request a detailed report on how the service will be improved >going >forward. What safety protocols have now been put in place to ensure this >does not happen again? Yep, the standard stuff one asks any provider of >any >ongoing service. > >This problem is obviously out of Davids and RunRevs hands as it would have >been solved by now. > >Simon > > > >-- >View this message in context: >http://runtime-revolution.278305.n4.nabble.com/on-rev-outage-tp4689723p468 >9746.html >Sent from the Revolution - User mailing list archive at Nabble.com. > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Fri Mar 6 14:34:05 2015 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 06 Mar 2015 14:34:05 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> <106992024600.20150305082751@ahsoftware.net> <1726E78A-8E25-490F-8F9B-77E885794C5A@gmail.com> Message-ID: <54FA012D.4050808@gmail.com> thanks Mark... take 2 Once again paste into a button on a unix system. -= Mike on mouseup put __getPowerSource end mouseup function __caseSwitch /* __caseSwitch Misc Syntax: __caseSwitch (var_to_Match,=,[=]... Examples: put caseSwitch(len(tZip),"5=zip","10=zip+4","*=not a zip code") into zipCodeType Description: Does a quick inline switch/case but supports a default for a non-match. . Also see __Switch param 1 is checkValue params 2+ are in the form matchValue(s)>= . if no match and no default value specified, then returns empty Source: Peter M. Brigham from Ken Ray, use-LC list, originally named stsSwitch() __caseSwitch */ put param(1) into tCheckValue set the itemDel to "=" put "" into tDefault repeat with x = 2 to the paramCount put param(x) into tCheck put item 1 of tCheck into tMatch put item 2 of tCheck into tRetVal replace "," with "=" in tMatch if tCheckValue = empty and tMatch = empty then return tRetVal if tCheckValue is among the items of tMatch then return tRetVal if tMatch = "*" then if tRetVal = "*" then put tCheckValue into tDefault else put tRetVal into tDefault end if end if end repeat return tDefault end __caseSwitch function __getPowerSource /* __getPowerSource System Syntax: __getPowerSource() Examples: __getPowerSource() Description: -- returns the current power source for a laptop -- "AC" or "Battery" -- or "no battery" if there is no battery (Unix) Source: Peter M. Brigham with help from Martin Koob, Bob Sneidar, Richard Gaskin __getPowerSource */ /* Include __caseSwitch */ switch the platform case "MacOS" -- thanks to Martin Koob, use-LC list put shell ("pmset -g batt") into tStatus -- returns something like: -- Currently drawing from 'AC Power' -- -InternalBattery-0 99%; finishing charge; 0:00 remaining return char 2 to -1 of word -2 of line 1 of tStatus break case "Win32" -- thanks to Bob Sneidar, use-LC list put shell("WMIC Path Win32_Battery GetAvailability") into tStatus -- Line 3 will contain 2 if the battery is charging, 3 if running on battery put line 3 of tStatus into tStatus return caseSwitch(tStatus,"3=Battery","*=AC") break default -- Unix, thanks to Richard Gaskin, use-LC list if there is a folder "/sys/class/power_supply/BAT0" then put url "/sys/class/power_supply/BAT0/Status" into tStatus else if there is a folder "/sys/class/power_supply/BAT1" then put url "/sys/class/power_supply/BAT1/Status" into tStatus else return "AC" -- no battery, must be running off external power end if put word 1 of tStatus into tStatus if tStatus = empty then return empty return caseSwitch(tStatus,"discharging=Battery","charging,unknown,full=AC","*=*") -- if tStatus = empty, returns empty -- -- Unix users please test: should this return some value?? -- if tStatus is not in "discharging,charging,unknown,full" then -- just returns whatever "/sys/class/power_supply/BATx" reports end switch end __getPowerSource On 3/6/15 2:26 PM, Mark Wieder wrote: > Peter M. Brigham writes: > >> So can a couple of Unix users out there test this part out? >> >> if there is a file "/sys/class/power_supply/BAT0" then >> put url "/sys/class/power_supply/BAT0" into tStatus >> else if there is a file "/sys/class/power_supply/BAT1" then >> put url "/sys/class/power_supply/BAT1" into tStatus > Once again, you're checking a directory, not a file. > So you either want "if there is a folder" instead of "if there is a file" > or you want 'if there is a file "/sys/class/power_supply/BAT0/status"' > > and you need to grab the actual file contents: > put url "/sys/class/power_supply/BAT0/status" into tStatus > From t.heaford at icloud.com Fri Mar 6 14:37:01 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Fri, 06 Mar 2015 19:37:01 +0000 Subject: printing at full density in 7! In-Reply-To: References: <54F92A08.8050508@hyperactivesw.com> Message-ID: > On 6 Mar 2015, at 15:50, Dr. Hawkins wrote: > > On Thu, Mar 5, 2015 at 8:16 PM, J. Landman Gay > wrote: > >> Cool! How nice to get good news. :) >> > > And nice not to be complaining :) > > (I did find it odd that this was happening in 5.5, as I could print at > density from at least SuperCard, and I think also Hypercard, back in 1989 . > . .) > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode I presume these little remarks are meant for me. Thanks. I would just remind you of my very first post in the other thread. ---------------------------------- Mac, Yosemite 10.10.2 Why does this work in LC 6.7.3 and not LC 7.0.3 on mouseUp answer page setup as sheet if the result = "cancel" then exit mouseUp end if answer printer as sheet if the result = "cancel" then exit mouseUp end if put 0,0,300,200 into tPrintRect print card from 0,0 to 300,200 into tPrintRect end mouseUp ????????????????? A simple request for help. The first helpful post I got was from Paul Hubbard confirming that it was probably a bug. Perhaps it all kicked off from this remark "I?ve never had a reported bug resolved.? My frustration with how long it seems to take to get things sorted in LC. Then there were 4 quotes about comma?s and quotes. Not really helpful and going off at a tangent. Then another quote suggesting I should try the quotes thing first. Not really helpful, I am not short in the brain department (despite what you may think). Then nonsense criticising my quote "I?ve never had a reported bug resolved.? and some more suggestions about dimensions. Again not really relevant. Then something else about the documentation. It?s like I haven?t read the docs or something and tried the simplest of things. Surely I would have tried these things before posting in the first place. Finally, some more sense from Paul Hibbard, he?s raised the bug and got feedback confirming it. Then 6 posts from me because I?m feeling attacked and a wounded animal responds. Need I go on?? The outcome is simple, I raised a question, Paul Hibbard raised the bug on my behalf and guess what. It was confirmed as such. You should really rejoice that I have found a bug which is really important if you want to do what you are discussing in this thread but with only part of a card. Peace and Goodwill Terry From jacque at hyperactivesw.com Fri Mar 6 14:44:30 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Mar 2015 13:44:30 -0600 Subject: Printing in LC 7.0.3 In-Reply-To: References: <70D20E6B-6139-46BE-B8E0-CF4A35EA79BE@icloud.com> <54F8E2C5.2090409@fourthworld.com> Message-ID: <54FA039E.6010109@hyperactivesw.com> On 3/6/2015 2:03 AM, Terence Heaford wrote: > If someone considering moving to LC saw that User Interface defects > can take this long to sort out then why should they. I wonder what they'd think if they read this thread. > > When the status of a Bug is CONFIRMED what is the decision process with regard to. Here's my understanding of it: > 1. Whether or not it will be actioned. The status is updated so you know. > 2. When it will be allocated to an engineer. > 3. When it will be actioned by. These are determined, as I mentioned before, on priorities set by considering criticality (crashes, for example,) the current unit of code being worked on, whether there is a workaround, and other factors I wrote about. There is no hard time frame, it depends on the bug and the circumstances. > 4. If the decision is taken not to action, is the reporter of the Bug informed? > 5. If the decision is taken not to action is the CONFIRMED status set to something else? Yes. The status is changed in both these cases. > 6. If someone has reported a Bug and no action is taken in a time scale what happens. It sits there. You shouldn't see this very often any more since the team has adopted a better system internally for keeping up. You probably will see it with older bugs that have gotten lost in the thousands of older issues. If one of those is important to you, add a comment or, better, a test stack with a recipe. Contributing to the report pops it into their recent queue so they will see it. > 7. Does anyone actually look at Bug reports as old as those above? Probably not. As Richard mentioned, some of those bugs are so old it would be too time consuming to go through the list and test each one to ensure they are still valid problems; many if not most of them are no longer relevant. RR did send out emails to all bug reporters asking them to review their old reports and close any that no longer apply. I did that but I'm not sure how many other people did. Some of those ancient bugs were handled by engineers who aren't even working for RR any more, and those reports are probably in a dead queue somewhere. If you notice any of those, you should ask to have them closed if they are no longer valid. The team would thank you for it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Mar 6 14:53:45 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Mar 2015 13:53:45 -0600 Subject: stack not specified height (from using editmenus?) In-Reply-To: References: Message-ID: <54FA05C9.7080209@hyperactivesw.com> On 3/6/2015 10:38 AM, Dr. Hawkins wrote: > I set, and later unset, editmenus, which may be triggering this. > > I now have a stack (OSX) which reports a height of 240 (which it should, it > was set in a script), > yet fullly shows a button with a bottom of 258. > > Experimenting shows that vertical 0 is at about the top of the titlebar, > not the bottom of the titlebar. > > This wasn't the case until a couple of days ago; I have "show more" and > "show less" buttons that use the bottom of the other to set the height of > the stack. > > Could my experimenting with editmenus have done this? setting that to true > and back to false doesn't solve the problem. > No, it isn't editmenus, it's that you assigned a menu bar to the stack. What you describe is normal and expected behavior on Mac (only.) When a menubar exists, the content is scrolled up by the height of the menu group. The 0,0 point is still at the top of the stack, but that is hidden out of view. The stack *window* gets shorter because the menu group is off the top of the visible area. When you set editmenus to true, you are removing (temporarily) the scroll so that you can see the actual menu group. This comes up so often that I think I should do a separate page on my web site about it. For now, there's an explanation here: The relevant quote from that page: "LiveCode menus are objects that take up room at the top of a card. On Windows, this is standard; menus appear at the top of each window. When the same stack is run on a Macintosh, LiveCode pushes the top portion of the card above the top border of the window, out of view. The body of the window shortens to accomodate only that portion of the card that contains the actual stack content. The card is still technically the same height, but the part of the height that contains the menu group is hidden from view. LiveCode handles this window resizing transparently between platforms. One thing for HyperCard users to remember is that what appears to be coordinates "0,0" on a Mac screen will really be more like "0,26", because the first 26 pixels contain the menu group hidden under the top of the window. Any scripts that work with card coordinates need to account for that." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Mar 6 14:54:52 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Mar 2015 13:54:52 -0600 Subject: stack not specified height (from using editmenus?) In-Reply-To: <1425668943900-4689751.post@n4.nabble.com> References: <1425668943900-4689751.post@n4.nabble.com> Message-ID: <54FA060C.5080006@hyperactivesw.com> On 3/6/2015 1:09 PM, dunbarx wrote: > My titlebar is, I think, 20 pixels high. Eight is very narrow. But surely a > vertical of 0 should be at the bottom of the titlebar, not at the top. Nope, it's normal menu scrolling behavior. The top of the card is still 0,0 but it is no longer just below the titlebar, it's above it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From t.heaford at icloud.com Fri Mar 6 15:08:24 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Fri, 06 Mar 2015 20:08:24 +0000 Subject: Printing in LC 7.0.3 In-Reply-To: <54FA039E.6010109@hyperactivesw.com> References: <70D20E6B-6139-46BE-B8E0-CF4A35EA79BE@icloud.com> <54F8E2C5.2090409@fourthworld.com> <54FA039E.6010109@hyperactivesw.com> Message-ID: <5F8777CF-A88D-4292-8226-2B0350496CD0@icloud.com> > On 6 Mar 2015, at 19:44, J. Landman Gay wrote: > > Probably not. As Richard mentioned, some of those bugs are so old it would be too time consuming to go through the list and test each one to ensure they are still valid problems; many if not most of them are no longer relevant. RR did send out emails to all bug reporters asking them to review their old reports and close any that no longer apply. I did that but I'm not sure how many other people did. Some of those ancient bugs were handled by engineers who aren't even working for RR any more, and those reports are probably in a dead queue somewhere. If you notice any of those, you should ask to have them closed if they are no longer valid. The team would thank you for it. It seems to me that as none of these old bug reports are likely to be reviewed and therefore not acted on, they may as well just be deleted and start again. Pick a date any date and delete all the bug reports. Send emails to all interested parties informing them that bugs prior to a date are to be deleted and the system basically rebooted. No need to audit them, just delete them and start again. >> 2. When it will be allocated to an engineer. >> 3. When it will be actioned by. > > These are determined, as I mentioned before, on priorities set by considering criticality (crashes, for example,) the current unit of code being worked on, whether there is a workaround, and other factors I wrote about. There is no hard time frame, it depends on the bug and the circumstances. This is not helpful at all to those needing a bug sorted. Some kind of meaningful guidance should be given. This month, next month, next update. This would also help LC focus on what they need to achieve. Not setting some kind of target smacks of company that does not want to be held accountable by it?s users. ?We can?t be held accountable if we do not make a promise?. Before I retired our company motto was ?CARE?. Customer Awareness Rewards Everyone. You should always give a date you intend to do something. Give updates as you proceed. Speak to the person involved and explain why, if you are going to fail. Most, believe it or not, are understanding. All the best Terry From mwieder at ahsoftware.net Fri Mar 6 15:26:27 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 6 Mar 2015 20:26:27 +0000 (UTC) Subject: Power Status (was Re: Because LC can't do two things at once.) References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> <106992024600.20150305082751@ahsoftware.net> <1726E78A-8E25-490F-8F9B-77E885794C5A@gmail.com> <54FA012D.4050808@gmail.com> Message-ID: Michael Doub writes: > if there is a folder "/sys/class/power_supply/BAT0" then > put url "/sys/class/power_supply/BAT0/Status" into tStatus > else if there is a folder "/sys/class/power_supply/BAT1" then > put url "/sys/class/power_supply/BAT1/Status" into tStatus Getting better. The "status" file should be lowercase though And now that I'm looking at it again, I don't think that's the proper format for the url command. It should be put url "file:///sys/class/power_supply/BAT0/status" into tStatus -- Mark Wieder ahsoftware at gmail.com From t.heaford at icloud.com Fri Mar 6 15:35:00 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Fri, 06 Mar 2015 20:35:00 +0000 Subject: Text Field in LC 7 Message-ID: I am not happy raising this because it may not be well received but here goes. I have been testing modTableField with Bernd and noticed when testing in LC 7.0.3 that when enlarging the table field through the geometry preferences when it contained a lot of data the dragging of the window corner to resize it stuttered and was not smooth. At this point I would say that LC in my experience does not have the smoothest drag to resize I have seen but in this situation it was not good. So, to test further, I copied the data from modTableField, created a test stack containing only a field and pasted the data into that field. I linked the field to the stack size via. the geometry settings and found that the stack stuttered when resizing. This may fall into the lack of performance area that Richard Gaskin was asking about so I have placed this simple test stack on DropBox. It can be found here: https://dl.dropboxusercontent.com/u/98788898/LiveCode/LC7TextFieldExample.livecode.zip I am running Yosemite on an 2.9 GHz iMac i5. Please test and confirm. Thanks Terry From rdimola at evergreeninfo.net Fri Mar 6 15:42:19 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 6 Mar 2015 15:42:19 -0500 Subject: on-rev outage In-Reply-To: References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> <45A0B61C-31C2-41BD-8BBD-55034832EE37@livecode.org> <1982A3AE-FF15-441F-AFCB-29546EEF75E1@jhj.com> <1425629388801-4689732.post@n4.nabble.com> <54F97343.8040708@pdslabs.net> <1425644027669-4689735.post@n4.nabble.com> <1425666109928-4689746.post@n4.nabble.com> Message-ID: <000b01d0584e$0a9821a0$1fc864e0$@net> Kevin, Thanks for the update and explanation! This is why I love RR. I received personal emails from both David and Heather and now this email from the CEO. Can't get that type of communication from every company. I once had this problem on a trip to Japan to install a new system in 1985. I only had one backup tape with me and the disk failed(no RAID in those days) during the final backup so I had nothing. I had to wait 1.5 days to get a offsite backup tape flown in from NY. Embarrassing to be sure but I learned to always use alternating tapes when I was off-site. The only suggestion I can make(if RAID 1) is to remove and rotate raid disks so if both fail there is always the "last pulled" drive to revert to. Upgrade to RAID 6 that allows for 2 failed drives without loss of data. Short of an Google type of datacenter the on-rev up-time has been great. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Kevin Miller Sent: Friday, March 06, 2015 2:27 PM To: How to use LiveCode Subject: Re: on-rev outage As CEO that is of course my first instinct too. I always push us to investigate and see what lessons can be learned, what procedures tightened. However this is not one of those times. We suffered a catastrophic failure of both disks in the RAID array and thus made an estimate that our restore time would be 48 hours as we had to revert (in this incredibly unlikely event) to the off site backup. It turns out that we have managed to get one of the RAID disks to work so we should be back up and running sooner than anticipated - all things been equal in the next few minutes. Since we completed the server migration and system upgrades we?ve enjoyed steady reliable service. Even with this outage on Diesel we are well within any reasonable measure of uptime and reliability now for any ISP in this price range. We have both RAID and an offsite backup in place already. So while I regret the obvious inconvenience, this is one of those cases where additional procedures and systems would not have helped. Thanks for your patience, Diesel will be back online soon. Kind regards, Kevin Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps On 06/03/2015 18:21, "Simon" wrote: >Heather Laine-2 wrote >> Folks, >> >> This is also a test of whether your email address is up to date in >> our on-rev client records. > >Whoops. Oh well, what a funny world this is. Because of my long >standing relationship with RunRev my up-to-date email address is on >Diesel, hence no email from Heather. > >21 hours 42 minutes down. > >I would request a detailed report on how the service will be improved >going forward. What safety protocols have now been put in place to >ensure this does not happen again? Yep, the standard stuff one asks >any provider of any ongoing service. > >This problem is obviously out of Davids and RunRevs hands as it would >have been solved by now. > >Simon > > > >-- >View this message in context: >http://runtime-revolution.278305.n4.nabble.com/on-rev-outage-tp4689723p >468 >9746.html >Sent from the Revolution - User mailing list archive at Nabble.com. > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From simon at asato-media.com Fri Mar 6 15:58:08 2015 From: simon at asato-media.com (Simon) Date: Fri, 6 Mar 2015 12:58:08 -0800 (PST) Subject: on-rev outage In-Reply-To: <000b01d0584e$0a9821a0$1fc864e0$@net> References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> <45A0B61C-31C2-41BD-8BBD-55034832EE37@livecode.org> <1982A3AE-FF15-441F-AFCB-29546EEF75E1@jhj.com> <1425629388801-4689732.post@n4.nabble.com> <54F97343.8040708@pdslabs.net> <1425644027669-4689735.post@n4.nabble.com> <1425666109928-4689746.post@n4.nabble.com> <000b01d0584e$0a9821a0$1fc864e0$@net> Message-ID: <1425675488914-4689763.post@n4.nabble.com> Ralph DiMola wrote > Kevin, > > Thanks for the update and explanation! This is why I love RR. I received > personal emails from both David and Heather and now this email from the > CEO. > Can't get that type of communication from every company. +1 I do forget the price component, I bought in as a founder and that money is long forgotten(Kevin don't read that). Boof Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-outage-tp4689723p4689763.html Sent from the Revolution - User mailing list archive at Nabble.com. From mikedoub at gmail.com Fri Mar 6 16:12:56 2015 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 06 Mar 2015 16:12:56 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> <106992024600.20150305082751@ahsoftware.net> <1726E78A-8E25-490F-8F9B-77E885794C5A@gmail.com> <54FA012D.4050808@gmail.com> Message-ID: <54FA1858.3080002@gmail.com> Really, 3 slashes? -= Mike On 3/6/15 3:26 PM, Mark Wieder wrote: > Michael Doub writes: > >> if there is a folder "/sys/class/power_supply/BAT0" then >> put url "/sys/class/power_supply/BAT0/Status" into tStatus >> else if there is a folder "/sys/class/power_supply/BAT1" then >> put url "/sys/class/power_supply/BAT1/Status" into tStatus > > Getting better. The "status" file should be lowercase though > And now that I'm looking at it again, I don't think that's the proper format > for the url command. It should be > > put url "file:///sys/class/power_supply/BAT0/status" into tStatus > > From mwieder at ahsoftware.net Fri Mar 6 16:24:47 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 6 Mar 2015 21:24:47 +0000 (UTC) Subject: Power Status (was Re: Because LC can't do two things at once.) References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> <106992024600.20150305082751@ahsoftware.net> <1726E78A-8E25-490F-8F9B-77E885794C5A@gmail.com> <54FA012D.4050808@gmail.com> <54FA1858.3080002@gmail.com> Message-ID: Michael Doub writes: > > Really, 3 slashes? Yep. It's followed by the URI. -- Mark Wieder ahsoftware at gmail.com From dochawk at gmail.com Fri Mar 6 16:34:00 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 6 Mar 2015 13:34:00 -0800 Subject: defaultMenubar not staying set Message-ID: late in the openstack handler for the mainstack, I have the command set the defaultMenubar to the long id of group mcp_menu of card 1 of stack mcp It does not seem to take effect; checking the defaultMenuBar property still shows the revMenu default menu, and only the mainstack gets this menu. If, however, I type it after startup, it "takes", and other stacks get the proper menu. When I save, shutdown the IDE and reopen the stack, the property is no longer set. A global search shows that that handler has the single occurrence of "defaultmenubar" in the stack file This is in the ide for 7.03, on OSX Yosemite. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mikedoub at gmail.com Fri Mar 6 16:33:14 2015 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 06 Mar 2015 16:33:14 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> <106992024600.20150305082751@ahsoftware.net> <1726E78A-8E25-490F-8F9B-77E885794C5A@gmail.com> <54FA012D.4050808@gmail.com> <54FA1858.3080002@gmail.com> Message-ID: <54FA1D1A.6040907@gmail.com> Let hope this is the final.... kind makes me want to go get a linux laptop. ;-) on mouseup put __getPowerSource() end mouseup function __caseSwitch /* __caseSwitch Misc Syntax: __caseSwitch (var_to_Match,=,[=]... Examples: put caseSwitch(len(tZip),"5=zip","10=zip+4","*=not a zip code") into zipCodeType Description: Does a quick inline switch/case but supports a default for a non-match. . Also see __Switch param 1 is checkValue params 2+ are in the form matchValue(s)>= . if no match and no default value specified, then returns empty Source: Peter M. Brigham from Ken Ray, use-LC list, originally named stsSwitch() __caseSwitch */ put param(1) into tCheckValue set the itemDel to "=" put "" into tDefault repeat with x = 2 to the paramCount put param(x) into tCheck put item 1 of tCheck into tMatch put item 2 of tCheck into tRetVal replace "," with "=" in tMatch if tCheckValue = empty and tMatch = empty then return tRetVal if tCheckValue is among the items of tMatch then return tRetVal if tMatch = "*" then if tRetVal = "*" then put tCheckValue into tDefault else put tRetVal into tDefault end if end if end repeat return tDefault end __caseSwitch function __getPowerSource /* __getPowerSource Under Test - System Syntax: __getPowerSource() Examples: __getPowerSource() Description: -- returns the current power source for a laptop -- "AC" or "Battery" -- or "no battery" if there is no battery (Unix) Source: Peter M. Brigham with help from Martin Koob, Bob Sneidar, Richard Gaskin __getPowerSource */ /* Include __caseSwitch */ switch the platform case "MacOS" -- thanks to Martin Koob, use-LC list put shell ("pmset -g batt") into tStatus -- returns something like: -- Currently drawing from 'AC Power' -- -InternalBattery-0 99%; finishing charge; 0:00 remaining return char 2 to -1 of word -2 of line 1 of tStatus break case "Win32" -- thanks to Bob Sneidar, use-LC list put shell("WMIC Path Win32_Battery GetAvailability") into tStatus -- Line 3 will contain 2 if the battery is charging, 3 if running on battery put line 3 of tStatus into tStatus return caseSwitch(tStatus,"3=Battery","*=AC") break default -- Unix, thanks to Richard Gaskin, use-LC list if there is a folder "/sys/class/power_supply/BAT0" then put url "file:///sys/class/power_supply/BAT0/status" into tStatus else if there is a folder "/sys/class/power_supply/BAT1" then put url "file:///sys/class/power_supply/BAT1/status" into tStatus else return "AC" -- no battery, must be running off external power end if put word 1 of tStatus into tStatus if tStatus = empty then return empty return caseSwitch(tStatus,"discharging=Battery","charging,unknown,full=AC","*=*") -- if tStatus = empty, returns empty -- -- Unix users please test: should this return some value?? -- if tStatus is not in "discharging,charging,unknown,full" then -- just returns whatever "/sys/class/power_supply/BATx" reports end switch end __getPowerSource On 3/6/15 4:24 PM, Mark Wieder wrote: > Michael Doub writes: > >> Really, 3 slashes? > Yep. It's followed by the URI. > From ambassador at fourthworld.com Fri Mar 6 16:43:28 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 06 Mar 2015 13:43:28 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54FA1D1A.6040907@gmail.com> References: <54FA1D1A.6040907@gmail.com> Message-ID: <54FA1F80.7080104@fourthworld.com> Michael Doub wrote: > Let hope this is the final.... kind makes me want to go get a linux > laptop. ;-) Here ya' go: https://system76.com/laptops :) While you're waiting for your new Gazelle to arrive, remember that VirtualBox is just as free as Linux, and runs just about all flavors excellently. Step 1: Step 2: Step 3: Play, learn, have fun. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Fri Mar 6 17:00:04 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 6 Mar 2015 14:00:04 -0800 Subject: printing at full density in 7! In-Reply-To: References: <54F92A08.8050508@hyperactivesw.com> Message-ID: On Fri, Mar 6, 2015 at 11:37 AM, Terence Heaford wrote: > I presume these little remarks are meant for me. Thanks. > > not directly, actually. They just sent me musing, when someone answered before I did (I had to remove the target area when printing to pdf on the switch to 7, and I'm pretty sure I filed a bug on that). So I started wondering, and played around with printing. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dunbarx at aol.com Fri Mar 6 17:09:58 2015 From: dunbarx at aol.com (dunbarx) Date: Fri, 6 Mar 2015 14:09:58 -0800 (PST) Subject: defaultMenubar not staying set In-Reply-To: References: Message-ID: <1425679798640-4689770.post@n4.nabble.com> Hi. "Late" is something that I always have to keep track of. The fact that there is a sequence, and a delay, in the loading of the several support and intrinsic elements of a stack often throws me. Enough, though. Would placing the handler in an openCard (not "preOpenCard") handler help? This is "later"... Craig -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/defaultMenubar-not-staying-set-tp4689766p4689770.html Sent from the Revolution - User mailing list archive at Nabble.com. From mikedoub at gmail.com Fri Mar 6 17:21:12 2015 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 06 Mar 2015 17:21:12 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54FA1F80.7080104@fourthworld.com> References: <54FA1D1A.6040907@gmail.com> <54FA1F80.7080104@fourthworld.com> Message-ID: <54FA2858.6010508@gmail.com> SMACK! ... I just got swatted for wanting to go get another toy. My wife does not agree with the philosophy: "He who has the most toys, wins!" and I have been told that I have enough. Anyway since we are trying to see what the battery is doing, Do you think that a virtual system would go to that level? I would be impressed, if it did. To save some time I would still appreciate if some that already has a laptop can test this so I can publish another version of the MasterLibrary. Thierry Douez, did some more optimization of the parser with a full blown state machine and selective regexp execution. It is really fast! The library is now 11,600 lines and there is a very visible lag trying to edit the library script, but parsing it is imperceptible. I am thrilled to show off his optimizations. Thanks again Thierry! -= Mike On 3/6/15 4:43 PM, Richard Gaskin wrote: > Michael Doub wrote: > > > Let hope this is the final.... kind makes me want to go get a linux > > laptop. ;-) > > Here ya' go: > https://system76.com/laptops > > :) > > While you're waiting for your new Gazelle to arrive, remember that > VirtualBox is just as free as Linux, and runs just about all flavors > excellently. > > Step 1: > > > Step 2: > > > Step 3: > Play, learn, have fun. > > From dochawk at gmail.com Fri Mar 6 17:49:40 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 6 Mar 2015 14:49:40 -0800 Subject: scope of gRevAppIcon on substacks Message-ID: I'm trying (finally) to use gRevAppIcon, which displays an icon in ask & answer. It seems that this uses the *short* id of the image, which would seem to limit it to the stack in which it occurs (or possibly to the main stack). I've set it as a global in my mainstack, and it is used in the test answer that follows--but then it does not appear in the list of global variables. Do I need to have this image lurking in every stack? that sounds like a maintenance nightmare . . . Or am I doing something wrong? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Mar 6 17:51:46 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 6 Mar 2015 14:51:46 -0800 Subject: stack not specified height (from using editmenus?) In-Reply-To: <54FA05C9.7080209@hyperactivesw.com> References: <54FA05C9.7080209@hyperactivesw.com> Message-ID: On Fri, Mar 6, 2015 at 11:53 AM, J. Landman Gay wrote: > No, it isn't editmenus, it's that you assigned a menu bar to the stack. > What you describe is normal and expected behavior on Mac (only.) When a > menubar exists, the content is scrolled up by the height of the menu group. > T I had read this as only applying if I am using X or Windows style menus in the window. It doesn't seem to make sense that a menu on the application/macos titlebar would affect the window layout (but if that's correct, it's easy enough to adapt to). -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From revdev at pdslabs.net Fri Mar 6 18:29:10 2015 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 06 Mar 2015 15:29:10 -0800 Subject: on-rev outage In-Reply-To: <1425675488914-4689763.post@n4.nabble.com> References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> <45A0B61C-31C2-41BD-8BBD-55034832EE37@livecode.org> <1982A3AE-FF15-441F-AFCB-29546EEF75E1@jhj.com> <1425629388801-4689732.post@n4.nabble.com> <54F97343.8040708@pdslabs.net> <1425644027669-4689735.post@n4.nabble.com> <1425666109928-4689746.post@n4.nabble.com> <000b01d0584e$0a9821a0$1fc864e0$@net> <1425675488914-4689763.post@n4.nabble.com> Message-ID: <54FA3846.7010601@pdslabs.net> Diesel is up again, as of maybe 5 minutes ago. Phil Davis On 3/6/15 12:58 PM, Simon wrote: > Ralph DiMola wrote >> Kevin, >> >> Thanks for the update and explanation! This is why I love RR. I received >> personal emails from both David and Heather and now this email from the >> CEO. >> Can't get that type of communication from every company. > +1 > > I do forget the price component, I bought in as a founder and that money is > long forgotten(Kevin don't read that). > Boof > > Simon > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/on-rev-outage-tp4689723p4689763.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From rdimola at evergreeninfo.net Fri Mar 6 19:02:53 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 6 Mar 2015 19:02:53 -0500 Subject: on-rev outage In-Reply-To: <54FA3846.7010601@pdslabs.net> References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> <45A0B61C-31C2-41BD-8BBD-55034832EE37@livecode.org> <1982A3AE-FF15-441F-AFCB-29546EEF75E1@jhj.com> <1425629388801-4689732.post@n4.nabble.com> <54F97343.8040708@pdslabs.net> <1425644027669-4689735.post@n4.nabble.com> <1425666109928-4689746.post@n4.nabble.com> <000b01d0584e$0a9821a0$1fc864e0$@net> <1425675488914-4689763.post@n4.nabble.com> <54FA3846.7010601@pdslabs.net> Message-ID: <001201d0586a$0f150d80$2d3f2880$@net> It came back up for a minute or two at 16:24 EST. It's been back up now since 18:24 EST. Web server CHECK. MYSQL server CHECK. cPanel CHECK. My PHP Admin CHECK. WebDisk CHECK. That was rough. Thanks David et al!! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Phil Davis Sent: Friday, March 06, 2015 6:29 PM To: How to use LiveCode Subject: Re: on-rev outage Diesel is up again, as of maybe 5 minutes ago. Phil Davis On 3/6/15 12:58 PM, Simon wrote: > Ralph DiMola wrote >> Kevin, >> >> Thanks for the update and explanation! This is why I love RR. I >> received personal emails from both David and Heather and now this >> email from the CEO. >> Can't get that type of communication from every company. > +1 > > I do forget the price component, I bought in as a founder and that > money is long forgotten(Kevin don't read that). > Boof > > Simon > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/on-rev-outage-tp4689723 > p4689763.html Sent from the Revolution - User mailing list archive at > Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Fri Mar 6 19:25:50 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 6 Mar 2015 19:25:50 -0500 Subject: on-rev outage In-Reply-To: <54FA3846.7010601@pdslabs.net> References: <3B73BA66-1FF8-487E-81E0-C861781CA12E@jhj.com> <45A0B61C-31C2-41BD-8BBD-55034832EE37@livecode.org> <1982A3AE-FF15-441F-AFCB-29546EEF75E1@jhj.com> <1425629388801-4689732.post@n4.nabble.com> <54F97343.8040708@pdslabs.net> <1425644027669-4689735.post@n4.nabble.com> <1425666109928-4689746.post@n4.nabble.com> <000b01d0584e$0a9821a0$1fc864e0$@net> <1425675488914-4689763.post@n4.nabble.com> <54FA3846.7010601@pdslabs.net> Message-ID: <001901d0586d$445c17b0$cd144710$@net> One more thing. NO DATA LOSS... C H E C K Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Phil Davis Sent: Friday, March 06, 2015 6:29 PM To: How to use LiveCode Subject: Re: on-rev outage Diesel is up again, as of maybe 5 minutes ago. Phil Davis On 3/6/15 12:58 PM, Simon wrote: > Ralph DiMola wrote >> Kevin, >> >> Thanks for the update and explanation! This is why I love RR. I >> received personal emails from both David and Heather and now this >> email from the CEO. >> Can't get that type of communication from every company. > +1 > > I do forget the price component, I bought in as a founder and that > money is long forgotten(Kevin don't read that). > Boof > > Simon > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/on-rev-outage-tp4689723 > p4689763.html Sent from the Revolution - User mailing list archive at > Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Fri Mar 6 19:30:24 2015 From: sundown at pacifier.com (JB) Date: Fri, 6 Mar 2015 16:30:24 -0800 Subject: DataGrid Checkboxes In-Reply-To: <1425651821576-4689739.post@n4.nabble.com> References: <81FE8B2C-8366-4DB2-B582-9ABE212D4189@pacifier.com> <1425651821576-4689739.post@n4.nabble.com> Message-ID: <4BAB36CD-996A-409F-BADD-4F2BFA3AA9CC@pacifier.com> Thanks for the info and link, Dave. It helps a lot. John Balgenorth On Mar 6, 2015, at 6:23 AM, Dave Kilroy wrote: > Hi John > > Sure you can checkboxes in datagrid tables - but you have do a little more > work to set them up - see > http://lessons.runrev.com/m/datagrid/l/7311-how-do-i-customize-a-table-s-columns > > Dave > > > > ----- > "The difference between genius and stupidity is; genius has its limits." - Albert Einstein > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/DataGrid-Checkboxes-tp4689727p4689739.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Fri Mar 6 19:41:02 2015 From: pete at lcsql.com (Peter Haworth) Date: Sat, 07 Mar 2015 00:41:02 +0000 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> <106992024600.20150305082751@ahsoftware.net> <1726E78A-8E25-490F-8F9B-77E885794C5A@gmail.com> <54FA012D.4050808@gmail.com> <54FA1858.3080002@gmail.com> Message-ID: Hey Mark, Is that just for Linux? I almost always use "file:/Users/whatever" on OSX and it seems to work fine, although I've often wondered about the missing "//". On Fri, Mar 6, 2015 at 1:25 PM Mark Wieder wrote: > Michael Doub writes: > > > > > Really, 3 slashes? > > Yep. It's followed by the URI. > > -- > Mark Wieder > ahsoftware at gmail.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Fri Mar 6 21:03:41 2015 From: pete at lcsql.com (Peter Haworth) Date: Sat, 07 Mar 2015 02:03:41 +0000 Subject: Text Field in LC 7 In-Reply-To: References: Message-ID: Same issue here on pretty much the same config as you. I tried changing the layermode to different settings and that seemed to help but still definite visible stuttering. I did make my own test stack with the same set up with 20,000 pretty long lines of data in the field and for some reason, the stuttering wasn't nearly as bad. Maybe a factor of how many lines of data? Or possibly that your data had tabs in it and mine didn't? On Fri, Mar 6, 2015 at 12:35 PM Terence Heaford wrote: > I am not happy raising this because it may not be well received but here > goes. > > I have been testing modTableField with Bernd and noticed when testing in > LC 7.0.3 that when enlarging the table field through the geometry > preferences when it contained a lot of data the dragging of the window > corner to resize it stuttered and was not smooth. > > At this point I would say that LC in my experience does not have the > smoothest drag to resize I have seen but in this situation it was not good. > > So, to test further, I copied the data from modTableField, created a test > stack containing only a field and pasted the data into that field. > > I linked the field to the stack size via. the geometry settings and found > that the stack stuttered when resizing. > > This may fall into the lack of performance area that Richard Gaskin was > asking about so I have placed this simple test stack on DropBox. > > It can be found here: > > https://dl.dropboxusercontent.com/u/98788898/LiveCode/ > LC7TextFieldExample.livecode.zip 98788898/LiveCode/LC7TextFieldExample.livecode.zip> > > I am running Yosemite on an 2.9 GHz iMac i5. > > Please test and confirm. > > Thanks > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Fri Mar 6 22:41:10 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 6 Mar 2015 22:41:10 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> <106992024600.20150305082751@ahsoftware.net> <1726E78A-8E25-490F-8F9B-77E885794C5A@gmail.com> <54FA012D.4050808@gmail.com> <54FA1858.3080002@gmail.com> Message-ID: <5858B6D4-A983-45F8-9ECA-6E9EA46A22AF@gmail.com> So the acid test is what works. Can someone please test it on a unix machine and tell us what the format for the URL should be? And whether all the cases for the file contents are covered? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 6, 2015, at 7:41 PM, Peter Haworth wrote: > Hey Mark, > Is that just for Linux? I almost always use "file:/Users/whatever" on OSX > and it seems to work fine, although I've often wondered about the missing > "//". > > On Fri, Mar 6, 2015 at 1:25 PM Mark Wieder wrote: > >> Michael Doub writes: >> >>> >>> Really, 3 slashes? >> >> Yep. It's followed by the URI. >> >> -- >> Mark Wieder >> ahsoftware at gmail.com >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Mar 6 22:41:52 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 06 Mar 2015 19:41:52 -0800 Subject: Text Field in LC 7 In-Reply-To: References: Message-ID: <54FA7380.1060608@fourthworld.com> Peter Haworth wrote: > Maybe a factor of how many lines of data? Or possibly that > your data had tabs in it and mine didn't? Interesting thought, Peter. It prompted me to experiment - a few observations: - The field's dontWrap is false, but the text isn't wrapping (IMO this is a bug). - If I replace tab with space in the field the wrapping behaves normally. - With the original tabs in place, when I set the field's listBehavior to true performance improves dramatically. - When I set the vgrid to true it improves a little more. Not bad, since most uses cases for displaying tabular data will likely use this. - Comparing to Apple's TextEdit to see what performance looks like there, it turns out no comparison is possible because Apple doesn't even attempt line wrapping during resize, deferring that for when the resize action ends after the mouse is released. Might is be useful to have a field property for similar effect in LiveCode? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pmbrig at gmail.com Fri Mar 6 22:58:14 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 6 Mar 2015 22:58:14 -0500 Subject: scope of gRevAppIcon on substacks In-Reply-To: References: Message-ID: <8BA4F6B5-6D85-455F-BBAF-B5F059CFC09D@gmail.com> You don't have to have the icons in the stack in which it occurs. What I do is call a handler in my library stack setupicons: on setupicons global gRevAppIcon,gRevSmallAppIcon put 2241 into gRevAppIcon put 2242 into gRevSmallAppIcon end setupicons From the dictionary: ----- LiveCode looks for the specified image in the following order: 1) The stack of the object's behavior (if applicable) 2) The stack of the owner of the object's behavior (if applicable) ... n) The stack of the object's stack's behavior (if applicable) A) The object's stack B) The object's stack's mainstack (if a substack) C) The object's stack's mainstacks substacks D) The list of open stacks, in order they were loaded ----- What you DO have to do is call this every time before you invoke an ask or answer dialog. The globals seem to be reset on idle, so they don't stick. It's a PITA that way. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 6, 2015, at 5:49 PM, Dr. Hawkins wrote: > I'm trying (finally) to use gRevAppIcon, which displays an icon in ask & > answer. > > It seems that this uses the *short* id of the image, which would seem to > limit it to the stack in which it occurs (or possibly to the main stack). > > I've set it as a global in my mainstack, and it is used in the test answer > that follows--but then it does not appear in the list of global variables. > > Do I need to have this image lurking in every stack? that sounds like a > maintenance nightmare . . . > > Or am I doing something wrong? > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Mar 6 23:48:35 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 06 Mar 2015 20:48:35 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <5858B6D4-A983-45F8-9ECA-6E9EA46A22AF@gmail.com> References: <5858B6D4-A983-45F8-9ECA-6E9EA46A22AF@gmail.com> Message-ID: <54FA8323.8010905@fourthworld.com> Peter M. Brigham wrote: > So the acid test is what works. Can someone please test it on a > unix machine and tell us what the format for the URL should be? > And whether all the cases for the file contents are covered? OS X is a certified Unix, so as far as bash is concerned what works there will work on most Unix systems. In general terms (read, "for programs other than LC") Mark spot-on with the "" convention. But as in so many other areas, LiveCode seems a little different. For file access on Linux (and Mac and Windows) I always use simply "file:/path/to/somefile" and it works well. Back to the original power status question, oddly enough the file I/O routines LC uses don't seem to allow me to use the same URL syntax we use for files. This works, though: put shell("cat /sys/class/power_supply/BAT1/status") -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Sat Mar 7 01:27:26 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 6 Mar 2015 22:27:26 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54FA1D1A.6040907@gmail.com> References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> <106992024600.20150305082751@ahsoftware.net> <1726E78A-8E25-490F-8F9B-77E885794C5A@gmail.com> <54FA012D.4050808@gmail.com> <54FA1858.3080002@gmail.com> <54FA1D1A.6040907@gmail.com> Message-ID: <701128799350.20150306222726@ahsoftware.net> Michael- Friday, March 6, 2015, 1:33:14 PM, you wrote: > Let hope this is the final.... kind makes me want to go get a linux > laptop. ;-) > return > caseSwitch(tStatus,"discharging=Battery","charging,unknown,full=AC","*=*") Getting very close. If you're going to prefix the functions with "__" then you need to do it everywhere. return __caseSwitch(tStatus, ... etc ...and unfortunately BAT0 isn't a folder or a file... it's a symbolic link, and LiveCode doesn't recognize it as an OS thing. Checking for either a folder or a file will fail. What works for me is default -- Unix, thanks to Richard Gaskin, use-LC list constant kBatteryStatus0 = "/sys/class/power_supply/BAT0/status" constant kBatteryStatus1 = "/sys/class/power_supply/BAT0/status" if there is a file (kBatteryStatus0) then open file (kBatteryStatus0) for read read from file (kBatteryStatus0) until eof put it into tStatus close file (kBatteryStatus0) else if there is a file (kBatteryStatus1) then open file (kBatteryStatus1) for read read from file (kBatteryStatus1) until eof put it into tStatus close file (kBatteryStatus1) else return "AC" -- no battery, must be running off external power end if put word 1 of tStatus into tStatus if tStatus = empty then return empty return __caseSwitch(tStatus,"discharging=Battery","charging,unknown,full=AC","*=*") -- if tStatus = empty, returns empty -- -- Unix users please test: should this return some value?? -- if tStatus is not in "discharging,charging,unknown,full" then -- just returns whatever "/sys/class/power_supply/BATx" reports end switch -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From ambassador at fourthworld.com Sat Mar 7 01:35:32 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 06 Mar 2015 22:35:32 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <701128799350.20150306222726@ahsoftware.net> References: <701128799350.20150306222726@ahsoftware.net> Message-ID: <54FA9C34.6070702@fourthworld.com> Mark Wieder wrote: > If you're going to prefix the functions with "__" then you need to do > it everywhere. I think I missed something - why the underscores? I've seen a fairly common convention of using a single underscore for private settings and such, but never two. What value is being added to the library user with "__"? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Sat Mar 7 02:12:10 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 Mar 2015 01:12:10 -0600 Subject: scope of gRevAppIcon on substacks In-Reply-To: <8BA4F6B5-6D85-455F-BBAF-B5F059CFC09D@gmail.com> References: <8BA4F6B5-6D85-455F-BBAF-B5F059CFC09D@gmail.com> Message-ID: <54FAA4CA.5090000@hyperactivesw.com> On 3/6/2015 9:58 PM, Peter M. Brigham wrote: > What you DO have to do is call this every time before you invoke an > ask or answer dialog. The globals seem to be reset on idle, so they > don't stick. It's a PITA that way. In a standalone it sticks and you only need to set it up once. It's just the IDE that fights for control. What I do is put the icons in my main stack, which becomes the standalone, and give the images very high IDs, something with at least 5 or 6 digits. That way it's unlikely any other image IDs will get that high and they're always found no matter what stack is currently the default. That way I don't need any special handler for it, just the one setup statement when the standalone opens. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From t.heaford at icloud.com Sat Mar 7 03:09:52 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Sat, 07 Mar 2015 08:09:52 +0000 Subject: Text Field in LC 7 In-Reply-To: <54FA7380.1060608@fourthworld.com> References: <54FA7380.1060608@fourthworld.com> Message-ID: <8AA7F732-2664-470A-9FA1-E38E404B6120@icloud.com> > On 7 Mar 2015, at 03:41, Richard Gaskin wrote: > > - With the original tabs in place, when I set the field's listBehavior to true performance improves dramatically. This didn?t make much difference for me. > > - When I set the vgrid to true it improves a little more. Not bad, since most uses cases for displaying tabular data will likely use this. > > This did make a difference. ------------------------- I originally spotted this when using modTableField and that is a field that is contained in a group. That field also has it?s tab stops set with grids and is experiencing the issue. I wonder what is the difference? All the best Terry From t.heaford at icloud.com Sat Mar 7 03:39:32 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Sat, 07 Mar 2015 08:39:32 +0000 Subject: Text Field in LC 7 In-Reply-To: <8AA7F732-2664-470A-9FA1-E38E404B6120@icloud.com> References: <54FA7380.1060608@fourthworld.com> <8AA7F732-2664-470A-9FA1-E38E404B6120@icloud.com> Message-ID: <81097360-91E6-4E93-8915-F36BE5E37829@icloud.com> > On 7 Mar 2015, at 08:09, Terence Heaford wrote: > > I originally spotted this when using modTableField and that is a field that is contained in a group. > > That field also has it?s tab stops set with grids and is experiencing the issue. > > I wonder what is the difference? I have emailed Bernd and asked him to have a look at this in regard to modTableField. All the best Terry From t.heaford at icloud.com Sat Mar 7 03:52:04 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Sat, 07 Mar 2015 08:52:04 +0000 Subject: Text Field in LC 7 In-Reply-To: <81097360-91E6-4E93-8915-F36BE5E37829@icloud.com> References: <54FA7380.1060608@fourthworld.com> <8AA7F732-2664-470A-9FA1-E38E404B6120@icloud.com> <81097360-91E6-4E93-8915-F36BE5E37829@icloud.com> Message-ID: Tested again but using 6.7.3 1. Initially stuttered (less visible because 6.7.3 performance is superior to LC 7.0.3) 2. Ticked listBehaviour and performance improved again. 3. Added vertical grid and minor improvement. All the best Terry From dave at applicationinsight.com Sat Mar 7 05:25:22 2015 From: dave at applicationinsight.com (Dave Kilroy) Date: Sat, 7 Mar 2015 02:25:22 -0800 (PST) Subject: sqlite and iOS 8 In-Reply-To: <003f01d0583c$c1d5a2f0$4580e8d0$@net> References: <13A21D97-0A49-4810-AA49-63E7D126B673@gmail.com> <003f01d0583c$c1d5a2f0$4580e8d0$@net> Message-ID: <1425723922638-4689790.post@n4.nabble.com> Also no problems here with sqlite and iOS - however for me the iOS simulator has recently been almost useless and I test directly on the device. However there is currently a problem with sqlite drivers on OS X http://quality.runrev.com/show_bug.cgi?id=14295 (but there is a workaround) ----- "The difference between genius and stupidity is; genius has its limits." - Albert Einstein -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/sqlite-and-iOS-8-tp4689713p4689790.html Sent from the Revolution - User mailing list archive at Nabble.com. From t.heaford at icloud.com Sat Mar 7 06:17:28 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Sat, 07 Mar 2015 11:17:28 +0000 Subject: Auto scrollbars in DataGrid Message-ID: <6F93A698-BA87-41FB-B143-7EEF20BA4FF1@icloud.com> I have set the horizontal scrollbar to auto. Could someone please advise if the DataGrid should show and hide the horizontal scrollbar as you live resize the stack? It only seems to work when you enlarge/reduce the width of a column in the header. Perhaps I am not understanding and missing something I am supposed to script? Had a look in LiveCode_Data_Grid.pdf but could not find any help there. Thanks Terry From pmbrig at gmail.com Sat Mar 7 07:32:37 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 7 Mar 2015 07:32:37 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54FA8323.8010905@fourthworld.com> References: <5858B6D4-A983-45F8-9ECA-6E9EA46A22AF@gmail.com> <54FA8323.8010905@fourthworld.com> Message-ID: <9BA71E86-5DBE-4C3D-A62A-A83B542AAE34@gmail.com> On Mar 6, 2015, at 11:48 PM, Richard Gaskin wrote: > Peter M. Brigham wrote: > > > So the acid test is what works. Can someone please test it on a > > unix machine and tell us what the format for the URL should be? > > And whether all the cases for the file contents are covered? > > OS X is a certified Unix, so as far as bash is concerned what works there will work on most Unix systems. > > In general terms (read, "for programs other than LC") Mark spot-on with the "" convention. But as in so many other areas, LiveCode seems a little different. > > For file access on Linux (and Mac and Windows) I always use simply "file:/path/to/somefile" and it works well. > > Back to the original power status question, oddly enough the file I/O routines LC uses don't seem to allow me to use the same URL syntax we use for files. > > This works, though: > > put shell("cat /sys/class/power_supply/BAT1/status") So, in the Linux case: -- some machines use "BAT0" instead? -- shell("cat /sys/class/power_supply/BAT1/status") returns either "discharging", "charging" ,"unknown", or "full"? -- Are there other possible results that should be covered? In other words, once we settle how to access the info, what does it look like? I'm trying to check the logic of the handler. Does it actually work on Linux now? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From mikedoub at gmail.com Sat Mar 7 08:29:59 2015 From: mikedoub at gmail.com (Michael Doub) Date: Sat, 07 Mar 2015 08:29:59 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <701128799350.20150306222726@ahsoftware.net> References: <008C7494-01E6-4A57-8D26-9DFA91FBB3AC@gmail.com> <54F5D356.9060104@fourthworld.com> <1ACA508A-3F63-4DD1-A4A5-2F11C5AD7397@gmail.com> <03E588F3-CE43-4E1E-863A-9D0DCC3F45F8@gmail.com> <106992024600.20150305082751@ahsoftware.net> <1726E78A-8E25-490F-8F9B-77E885794C5A@gmail.com> <54FA012D.4050808@gmail.com> <54FA1858.3080002@gmail.com> <54FA1D1A.6040907@gmail.com> <701128799350.20150306222726@ahsoftware.net> Message-ID: <54FAFD57.9050006@gmail.com> Thanks Mark. I cut and pasted that last attempt and did not catch the caseSwitch. -= Mike On 3/7/15 1:27 AM, Mark Wieder wrote: > -- Unix, thanks to Richard Gaskin, use-LC list > constant kBatteryStatus0 = "/sys/class/power_supply/BAT0/status" > constant kBatteryStatus1 = "/sys/class/power_supply/BAT0/status" > if there is a file (kBatteryStatus0) then > open file (kBatteryStatus0) for read > read from file (kBatteryStatus0) until eof > put it into tStatus > close file (kBatteryStatus0) > else if there is a file (kBatteryStatus1) then > open file (kBatteryStatus1) for read > read from file (kBatteryStatus1) until eof > put it into tStatus > close file (kBatteryStatus1) > else > return "AC" > -- no battery, must be running off external power > end if > put word 1 of tStatus into tStatus > if tStatus = empty then return empty > return From mikedoub at gmail.com Sat Mar 7 08:37:18 2015 From: mikedoub at gmail.com (Michael Doub) Date: Sat, 07 Mar 2015 08:37:18 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54FA9C34.6070702@fourthworld.com> References: <701128799350.20150306222726@ahsoftware.net> <54FA9C34.6070702@fourthworld.com> Message-ID: <54FAFF0E.8010301@gmail.com> I originally did this because I thought it would avoid name space collisions. I thought that I would receive feedback if folks thought it was a bad idea. As you can see, it is extra work and it is easy for me to make a mistake. I would be happy to remove them if folks would find it more useful. Please just let me know. -= Mike On 3/7/15 1:35 AM, Richard Gaskin wrote: > Mark Wieder wrote: > > If you're going to prefix the functions with "__" then you need to do > > it everywhere. > > I think I missed something - why the underscores? > > I've seen a fairly common convention of using a single underscore for > private settings and such, but never two. > > What value is being added to the library user with "__"? > From skiplondon at gmail.com Sat Mar 7 08:44:25 2015 From: skiplondon at gmail.com (Skip Kimpel) Date: Sat, 7 Mar 2015 08:44:25 -0500 Subject: RunRev 2015 Message-ID: <60BF16F5-D227-45AF-87DD-95AD3BEC18A5@gmail.com> Throwing this out there... Any info on this years conference? It would be great to be able to plan for this. Then again, have it in Miami and I can attend anytime. SKIP From mikedoub at gmail.com Sat Mar 7 08:46:09 2015 From: mikedoub at gmail.com (Michael Doub) Date: Sat, 07 Mar 2015 08:46:09 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54FA9C34.6070702@fourthworld.com> References: <701128799350.20150306222726@ahsoftware.net> <54FA9C34.6070702@fourthworld.com> Message-ID: <54FB0121.2010206@gmail.com> ok, a new day and another attempt. I hope we have it this time. ;-) on mouseup put __getPowerSource() end mouseup function __caseSwitch /* __caseSwitch Misc Syntax: __caseSwitch (var_to_Match,=,[=]... Examples: put caseSwitch(len(tZip),"5=zip","10=zip+4","*=not a zip code") into zipCodeType Description: Does a quick inline switch/case but supports a default for a non-match. . Also see __Switch param 1 is checkValue params 2+ are in the form matchValue(s)>= . if no match and no default value specified, then returns empty Source: Peter M. Brigham from Ken Ray, use-LC list, originally named stsSwitch() __caseSwitch */ put param(1) into tCheckValue set the itemDel to "=" put "" into tDefault repeat with x = 2 to the paramCount put param(x) into tCheck put item 1 of tCheck into tMatch put item 2 of tCheck into tRetVal replace "," with "=" in tMatch if tCheckValue = empty and tMatch = empty then return tRetVal if tCheckValue is among the items of tMatch then return tRetVal if tMatch = "*" then if tRetVal = "*" then put tCheckValue into tDefault else put tRetVal into tDefault end if end if end repeat return tDefault end __caseSwitch function __getPowerSource /* __getPowerSource Under Test - System Syntax: __getPowerSource() Examples: __getPowerSource() Description: -- returns the current power source for a laptop -- "AC" or "Battery" -- or "no battery" if there is no battery (Unix) Source: Peter M. Brigham with help from Martin Koob, Bob Sneidar, Richard Gaskin __getPowerSource */ /* Include __caseSwitch */ switch the platform case "MacOS" -- thanks to Martin Koob, use-LC list put shell ("pmset -g batt") into tStatus -- returns something like: -- Currently drawing from 'AC Power' -- -InternalBattery-0 99%; finishing charge; 0:00 remaining return char 2 to -1 of word -2 of line 1 of tStatus break case "Win32" -- thanks to Bob Sneidar, use-LC list put shell("WMIC Path Win32_Battery GetAvailability") into tStatus -- Line 3 will contain 2 if the battery is charging, 3 if running on battery put line 3 of tStatus into tStatus return __caseSwitch(tStatus,"3=Battery","*=AC") break default -- Unix, thanks to Mark Wieder constant kBatteryStatus0 = "/sys/class/power_supply/BAT0/status" constant kBatteryStatus1 = "/sys/class/power_supply/BAT0/status" if there is a file (kBatteryStatus0) then open file (kBatteryStatus0) for read read from file (kBatteryStatus0) until eof put it into tStatus close file (kBatteryStatus0) else if there is a file (kBatteryStatus1) then open file (kBatteryStatus1) for read read from file (kBatteryStatus1) until eof put it into tStatus close file (kBatteryStatus1) else return "AC" -- no battery, must be running off external power end if put word 1 of tStatus into tStatus if tStatus = empty then return empty return __caseSwitch(tStatus,"discharging=Battery","charging,unknown,full=AC","*=*") -- if tStatus = empty, returns empty -- -- Unix users please test: should this return some value?? -- if tStatus is not in "discharging,charging,unknown,full" then -- just returns whatever "/sys/class/power_supply/BATx" reports end switch end __getPowerSource From pmbrig at gmail.com Sat Mar 7 08:52:27 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 7 Mar 2015 08:52:27 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54FAFF0E.8010301@gmail.com> References: <701128799350.20150306222726@ahsoftware.net> <54FA9C34.6070702@fourthworld.com> <54FAFF0E.8010301@gmail.com> Message-ID: I dislike the double leading underscores, personally. Re namespace collisions: since you have built in inserting a handler into a specified object's script, perhaps you could just check that there is no handler in that script with the same name before allowing the insert, and if there is, give the user a chance to change the name of the handler. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 7, 2015, at 8:37 AM, Michael Doub wrote: > I originally did this because I thought it would avoid name space collisions. I thought that I would receive feedback if folks thought it was a bad idea. As you can see, it is extra work and it is easy for me to make a mistake. > > I would be happy to remove them if folks would find it more useful. Please just let me know. > > -= Mike > > > > > On 3/7/15 1:35 AM, Richard Gaskin wrote: >> Mark Wieder wrote: >> > If you're going to prefix the functions with "__" then you need to do >> > it everywhere. >> >> I think I missed something - why the underscores? >> >> I've seen a fairly common convention of using a single underscore for private settings and such, but never two. >> >> What value is being added to the library user with "__"? >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Sat Mar 7 08:52:09 2015 From: mikedoub at gmail.com (Michael Doub) Date: Sat, 07 Mar 2015 08:52:09 -0500 Subject: RunRev 2015 In-Reply-To: <60BF16F5-D227-45AF-87DD-95AD3BEC18A5@gmail.com> References: <60BF16F5-D227-45AF-87DD-95AD3BEC18A5@gmail.com> Message-ID: <54FB0289.9070804@gmail.com> If it is on the east coast of the US, I will be there. fingers crossed. -= Mike On 3/7/15 8:44 AM, Skip Kimpel wrote: > Throwing this out there... Any info on this years conference? It would be great to be able to plan for this. > > Then again, have it in Miami and I can attend anytime. > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Sat Mar 7 08:55:06 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 7 Mar 2015 08:55:06 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54FB0121.2010206@gmail.com> References: <701128799350.20150306222726@ahsoftware.net> <54FA9C34.6070702@fourthworld.com> <54FB0121.2010206@gmail.com> Message-ID: <7D679D1F-BB68-48C8-A918-1D2B6ABE8AB9@gmail.com> Both the constant declarations are identical -- the second should be for BAT1. You're competing with me for multiple postings with bugs, but I've still go you beat. :-) -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 7, 2015, at 8:46 AM, Michael Doub wrote: > ok, a new day and another attempt. I hope we have it this time. ;-) > > on mouseup > put __getPowerSource() > end mouseup > > function __caseSwitch > /* __caseSwitch Misc > Syntax: > __caseSwitch (var_to_Match,=,[=]... > Examples: > put caseSwitch(len(tZip),"5=zip","10=zip+4","*=not a zip code") into zipCodeType > Description: > Does a quick inline switch/case but supports a default for a non-match. > . Also see __Switch > > param 1 is checkValue > params 2+ are in the form matchValue(s)>= . separate multiple matcheValues with commas > . and enclose each matchValue=returnValue pair in quotes > if checkValue matches one or more items in matchValue(s), > . returns returnValue > > Note that checkValue should NOT be enclosed in quotes' > > Use a matchValue of "*" to specify a default value, > . to be returned if no matches found in the list > . if the default is "*=*" then no match returns the original > . if no match and no default value specified, then returns empty > > Source: > Peter M. Brigham from Ken Ray, use-LC list, originally named stsSwitch() > __caseSwitch */ > put param(1) into tCheckValue > set the itemDel to "=" > put "" into tDefault > repeat with x = 2 to the paramCount > put param(x) into tCheck > put item 1 of tCheck into tMatch > put item 2 of tCheck into tRetVal > replace "," with "=" in tMatch > if tCheckValue = empty and tMatch = empty then return tRetVal > if tCheckValue is among the items of tMatch then return tRetVal > if tMatch = "*" then > if tRetVal = "*" then > put tCheckValue into tDefault > else > put tRetVal into tDefault > end if > end if > end repeat > return tDefault > end __caseSwitch > > > function __getPowerSource > /* __getPowerSource Under Test - System > Syntax: > __getPowerSource() > Examples: > __getPowerSource() > Description: > -- returns the current power source for a laptop > -- "AC" or "Battery" > -- or "no battery" if there is no battery (Unix) > Source: > Peter M. Brigham with help from Martin Koob, Bob Sneidar, Richard Gaskin > __getPowerSource */ > /* Include > __caseSwitch > */ > > switch the platform > case "MacOS" > -- thanks to Martin Koob, use-LC list > put shell ("pmset -g batt") into tStatus > -- returns something like: > -- Currently drawing from 'AC Power' > -- -InternalBattery-0 99%; finishing charge; 0:00 remaining > return char 2 to -1 of word -2 of line 1 of tStatus > break > case "Win32" > -- thanks to Bob Sneidar, use-LC list > put shell("WMIC Path Win32_Battery GetAvailability") into tStatus > -- Line 3 will contain 2 if the battery is charging, 3 if running on battery > put line 3 of tStatus into tStatus > return __caseSwitch(tStatus,"3=Battery","*=AC") > break > default > -- Unix, thanks to Mark Wieder > constant kBatteryStatus0 = "/sys/class/power_supply/BAT0/status" > constant kBatteryStatus1 = "/sys/class/power_supply/BAT0/status" > if there is a file (kBatteryStatus0) then > open file (kBatteryStatus0) for read > read from file (kBatteryStatus0) until eof > put it into tStatus > close file (kBatteryStatus0) > else if there is a file (kBatteryStatus1) then > open file (kBatteryStatus1) for read > read from file (kBatteryStatus1) until eof > put it into tStatus > close file (kBatteryStatus1) > else > return "AC" > -- no battery, must be running off external power > end if > put word 1 of tStatus into tStatus > if tStatus = empty then return empty > return __caseSwitch(tStatus,"discharging=Battery","charging,unknown,full=AC","*=*") > -- if tStatus = empty, returns empty -- > -- Unix users please test: should this return some value?? > -- if tStatus is not in "discharging,charging,unknown,full" then > -- just returns whatever "/sys/class/power_supply/BATx" reports > end switch > end __getPowerSource > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Sat Mar 7 09:02:29 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 7 Mar 2015 09:02:29 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54FB0121.2010206@gmail.com> References: <701128799350.20150306222726@ahsoftware.net> <54FA9C34.6070702@fourthworld.com> <54FB0121.2010206@gmail.com> Message-ID: <1D7950BE-C830-4B62-A8C8-2260D986AB49@gmail.com> A couple of tiny points (I'm being a little obsessive here): On Mar 7, 2015, at 8:46 AM, Michael Doub wrote: > ok, a new day and another attempt. I hope we have it this time. ;-) > > on mouseup > put __getPowerSource() > end mouseup > > function __caseSwitch > /* __caseSwitch Misc > Syntax: > __caseSwitch (var_to_Match,=,[=]... > Examples: > put caseSwitch(len(tZip),"5=zip","10=zip+4","*=not a zip code") into zipCodeType > Description: > Does a quick inline switch/case but supports a default for a non-match. > . Also see __Switch > > param 1 is checkValue > params 2+ are in the form matchValue(s)>= . separate multiple matcheValues with commas > . and enclose each matchValue=returnValue pair in quotes > if checkValue matches one or more items in matchValue(s), > . returns returnValue > > Note that checkValue should NOT be enclosed in quotes' > > Use a matchValue of "*" to specify a default value, > . to be returned if no matches found in the list > . if the default is "*=*" then no match returns the original > . if no match and no default value specified, then returns empty > > Source: > Peter M. Brigham from Ken Ray, use-LC list, originally named stsSwitch() > __caseSwitch */ > put param(1) into tCheckValue > set the itemDel to "=" > put "" into tDefault > repeat with x = 2 to the paramCount > put param(x) into tCheck > put item 1 of tCheck into tMatch > put item 2 of tCheck into tRetVal > replace "," with "=" in tMatch > if tCheckValue = empty and tMatch = empty then return tRetVal > if tCheckValue is among the items of tMatch then return tRetVal > if tMatch = "*" then > if tRetVal = "*" then > put tCheckValue into tDefault > else > put tRetVal into tDefault > end if > end if > end repeat > return tDefault > end __caseSwitch > > > function __getPowerSource > /* __getPowerSource Under Test - System > Syntax: > __getPowerSource() > Examples: > __getPowerSource() > Description: > -- returns the current power source for a laptop > -- "AC" or "Battery" > -- or "no battery" if there is no battery (Unix) The "no battery" thing is no longer one of the results, since if no BATx file is found it returns "AC". So this line of the comments should be removed. > Source: > Peter M. Brigham with help from Martin Koob, Bob Sneidar, Richard Gaskin > __getPowerSource */ > /* Include > __caseSwitch > */ > > switch the platform > case "MacOS" > -- thanks to Martin Koob, use-LC list > put shell ("pmset -g batt") into tStatus > -- returns something like: > -- Currently drawing from 'AC Power' > -- -InternalBattery-0 99%; finishing charge; 0:00 remaining > return char 2 to -1 of word -2 of line 1 of tStatus > break > case "Win32" > -- thanks to Bob Sneidar, use-LC list > put shell("WMIC Path Win32_Battery GetAvailability") into tStatus > -- Line 3 will contain 2 if the battery is charging, 3 if running on battery > put line 3 of tStatus into tStatus > return __caseSwitch(tStatus,"3=Battery","*=AC") > break > default > -- Unix, thanks to Mark Wieder > constant kBatteryStatus0 = "/sys/class/power_supply/BAT0/status" > constant kBatteryStatus1 = "/sys/class/power_supply/BAT0/status" > if there is a file (kBatteryStatus0) then > open file (kBatteryStatus0) for read > read from file (kBatteryStatus0) until eof > put it into tStatus > close file (kBatteryStatus0) > else if there is a file (kBatteryStatus1) then > open file (kBatteryStatus1) for read > read from file (kBatteryStatus1) until eof > put it into tStatus > close file (kBatteryStatus1) > else > return "AC" > -- no battery, must be running off external power > end if > put word 1 of tStatus into tStatus > if tStatus = empty then return empty > return __caseSwitch(tStatus,"discharging=Battery","charging,unknown,full=AC","*=*") > -- if tStatus = empty, returns empty -- > -- Unix users please test: should this return some value?? I suspect that tStatus at this point should never be empty so the line -4 above could be eliminated. I think. > -- if tStatus is not in "discharging,charging,unknown,full" then > -- just returns whatever "/sys/class/power_supply/BATx" reports > end switch > end __getPowerSource -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From mwieder at ahsoftware.net Sat Mar 7 10:50:14 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 7 Mar 2015 07:50:14 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <7D679D1F-BB68-48C8-A918-1D2B6ABE8AB9@gmail.com> References: <701128799350.20150306222726@ahsoftware.net> <54FA9C34.6070702@fourthworld.com> <54FB0121.2010206@gmail.com> <7D679D1F-BB68-48C8-A918-1D2B6ABE8AB9@gmail.com> Message-ID: <1461162567405.20150307075014@ahsoftware.net> Peter- Saturday, March 7, 2015, 5:55:06 AM, you wrote: > Both the constant declarations are identical -- the second should > be for BAT1. You're competing with me for multiple postings with > bugs, but I've still go you beat. :-) Ack! Good catch. Although as far as I can tell this would only affect Richard . -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From dochawk at gmail.com Sat Mar 7 11:05:09 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 7 Mar 2015 08:05:09 -0800 Subject: scope of gRevAppIcon on substacks In-Reply-To: <8BA4F6B5-6D85-455F-BBAF-B5F059CFC09D@gmail.com> References: <8BA4F6B5-6D85-455F-BBAF-B5F059CFC09D@gmail.com> Message-ID: On Fri, Mar 6, 2015 at 7:58 PM, Peter M. Brigham wrote: > From the dictionary: > > ----- > LiveCode looks for the specified image in the following order: > Thanks. That and Jacqui's explanation of standalones will probably solve everything (it really doesn't matter whether it gives me the images in the IDE). But where did you find that in the Dictionary? I don't see it in 7.0.3 under gRevAppIcon -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Sat Mar 7 11:05:58 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Mar 2015 08:05:58 -0800 Subject: Text Field in LC 7 In-Reply-To: <54FA7380.1060608@fourthworld.com> References: <54FA7380.1060608@fourthworld.com> Message-ID: <54FB21E6.3040000@fourthworld.com> Following up on some items from a post I made last night: > - The field's dontWrap is false, but the text isn't wrapping (IMO > this is a bug). Filed as such: Related, it occurred to me that it's sometimes annoying to have to write this handler just to have tabs entered into the text of a field: on tabKey put tab into the selecction end tabKey So I submitted a request for an allowTabs field property; off by default, when true it would allow a field to accept tabs the user types: > - Comparing to Apple's TextEdit to see what performance looks like > there, it turns out no comparison is possible because Apple doesn't > even attempt line wrapping during resize, deferring that for when > the resize action ends after the mouse is released. Might is be > useful to have a field property for similar effect in LiveCode? To vet this idea I created a thread about it in the Engine Contributors section of the forum: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Mar 7 11:12:33 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Mar 2015 08:12:33 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54FAFF0E.8010301@gmail.com> References: <54FAFF0E.8010301@gmail.com> Message-ID: <54FB2371.7070603@fourthworld.com> Michael Doub wrote: > On 3/7/15 1:35 AM, Richard Gaskin wrote: >> >> What value is being added to the library user with "__"? >> > I originally did this because I thought it would avoid name space > collisions. I thought that I would receive feedback if folks > thought it was a bad idea. As you can see, it is extra work and > it is easy for me to make a mistake. > > I would be happy to remove them if folks would find it more useful. > Please just let me know. Such mistakes are easy for all of us, so I'd vote for simplicity. Many name-space issues go away with v8, but for now if we feel there's a risk of folks using an existing function named PowerSource we might consider prefacing it with the initials of the collection ("ml" - it's Master Library, yes?), so it could be: get mlPowerSource() FWIW I appreciate efforts to distinguish getters from setters by including "get" as part of a function name, but it becomes odd to read things like: get getPowerSource() Personally I believe that being a function makes its role as a getter implicitly clear enough as-is. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Sat Mar 7 11:17:41 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 7 Mar 2015 08:17:41 -0800 Subject: Text Field in LC 7 In-Reply-To: <54FB21E6.3040000@fourthworld.com> References: <54FA7380.1060608@fourthworld.com> <54FB21E6.3040000@fourthworld.com> Message-ID: On Sat, Mar 7, 2015 at 8:05 AM, Richard Gaskin wrote: > So I submitted a request for an allowTabs field property; off by default, > when true it would allow a field to accept tabs the user types: > > Now that you mention it, that could be insanely handy . . . I hadn't even usedthe handler approach. It's already in there somewhere; the content field of the object inspector works this way. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pmbrig at gmail.com Sat Mar 7 11:25:35 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 7 Mar 2015 11:25:35 -0500 Subject: scope of gRevAppIcon on substacks In-Reply-To: References: <8BA4F6B5-6D85-455F-BBAF-B5F059CFC09D@gmail.com> Message-ID: Look under "icon." You're loading the global, and then the engine is executing the equivalent of: global gRevAppIcon set the icon of button xxx of stack "Answer Dialog" to gRevAppIcon so the rules for setting icons apply. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 7, 2015, at 11:05 AM, Dr. Hawkins wrote: > On Fri, Mar 6, 2015 at 7:58 PM, Peter M. Brigham wrote: > >> From the dictionary: >> >> ----- >> LiveCode looks for the specified image in the following order: >> > > Thanks. That and Jacqui's explanation of standalones will probably solve > everything (it really doesn't matter whether it gives me the images in the > IDE). > > But where did you find that in the Dictionary? I don't see it in 7.0.3 > under gRevAppIcon > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sat Mar 7 11:33:13 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Mar 2015 08:33:13 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: References: Message-ID: <54FB2849.9080309@fourthworld.com> Mark Wieder wrote: > And now that I'm looking at it again, I don't think that's the proper > format for the url command. It should be > > put url "file:///sys/class/power_supply/BAT0/status" into tStatus Oddly, I find that LC's file I/O routines don't work with *NIX virtual file system elements. I can use cat in shell to get those values, but neither LC's open/read/close nor get url options for work me. It would be helpful if you could test this on your machine and verify what I've seen on both of my Ubuntu boxes: on mouseUp put "/proc/meminfo" into tFile put url ("file:"& tFile) into t1 put the result into r1 -- open file tFile for read put the result into r2 read from file tFile until EOF put it into t2 close file tFile -- put shell("cat "& tFile) into t3 put the result into r3 -- put "URL: "& t1 && r1 &cr\ & "Open: "& t2 && r2 &cr\ & "Shell: "& t3 && r3 end mouseUp Here both of the first two values are empty, but the latter works fine. In all three cases the result is empty, which I would expect for the one that works but not for the two that don't. And since you've memorized the LC code base , can you guess why LC's file I/O routines don't work on virtual file system elements the way that nearly everything else in Linux does? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pmbrig at gmail.com Sat Mar 7 11:33:48 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 7 Mar 2015 11:33:48 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54FB2371.7070603@fourthworld.com> References: <54FAFF0E.8010301@gmail.com> <54FB2371.7070603@fourthworld.com> Message-ID: <8598A013-B297-4007-92B8-C7CAA13E0CF9@gmail.com> On Mar 7, 2015, at 11:12 AM, Richard Gaskin wrote: > Michael Doub wrote: > > > On 3/7/15 1:35 AM, Richard Gaskin wrote: > >> > >> What value is being added to the library user with "__"? > >> > > I originally did this because I thought it would avoid name space > > collisions. I thought that I would receive feedback if folks > > thought it was a bad idea. As you can see, it is extra work and > > it is easy for me to make a mistake. > > > > I would be happy to remove them if folks would find it more useful. > > Please just let me know. > > Such mistakes are easy for all of us, so I'd vote for simplicity. > > Many name-space issues go away with v8, but for now if we feel there's a risk of folks using an existing function named PowerSource we might consider prefacing it with the initials of the collection ("ml" - it's Master Library, yes?), so it could be: > > get mlPowerSource() > > FWIW I appreciate efforts to distinguish getters from setters by including "get" as part of a function name, but it becomes odd to read things like: > > get getPowerSource() > > Personally I believe that being a function makes its role as a getter implicitly clear enough as-is. Good point. I guess this never occurred to me because I never do "get ?", I always do "put ? into varName". The "it" variable is somewhat ephemeral if you're not careful. Even with an "ask ?" I always follow it with a "put it into varName" before proceeding, so I don't overwrite "it" later inadvertently. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From dochawk at gmail.com Sat Mar 7 11:41:00 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 7 Mar 2015 08:41:00 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <8598A013-B297-4007-92B8-C7CAA13E0CF9@gmail.com> References: <54FAFF0E.8010301@gmail.com> <54FB2371.7070603@fourthworld.com> <8598A013-B297-4007-92B8-C7CAA13E0CF9@gmail.com> Message-ID: On Sat, Mar 7, 2015 at 8:33 AM, Peter M. Brigham wrote: > Good point. I guess this never occurred to me because I never do "get ?", > I always do "put ? into varName". The "it" variable is somewhat ephemeral > if you're not careful. Even with an "ask ?" I always follow it with a "put > it into varName" before proceeding, so I don't overwrite "it" later > inadvertently. > "it" has made me nervous since HyperCard 1.0 . . . clever, but seems to be looking for a way to blow off my foot . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Sat Mar 7 11:42:28 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Mar 2015 08:42:28 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <1461162567405.20150307075014@ahsoftware.net> References: <1461162567405.20150307075014@ahsoftware.net> Message-ID: <54FB2A74.1080406@fourthworld.com> Mark Wieder wrote: > Saturday, March 7, 2015, 5:55:06 AM, you wrote: > >> Both the constant declarations are identical -- the second should >> be for BAT1. You're competing with me for multiple postings with >> bugs, but I've still go you beat. :-) > > Ack! Good catch. > Although as far as I can tell this would only affect Richard . I'll blame Barton George. He has nothing to do with this, but my laptop is a Dell he's the highest ranking person from that company that I've met, and the one who's spearheaded their Sputnik initiative to deploy more laptops with Ubuntu preinstalled. Most importantly, he's not here to defend himself so he makes a good target. :) And Michael, another tempting opportunity for spending $ on a Linux laptop is the latest from Barton's team, Dell's top-of-the-line Precision M3800 portable workstation, with Ubuntu installed and ready to go, weighing in at a surprisingly low 4.15 lbs considering the hardware inside: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Mar 7 11:46:08 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Mar 2015 08:46:08 -0800 Subject: Text Field in LC 7 In-Reply-To: References: Message-ID: <54FB2B50.6010609@fourthworld.com> Dr. Hawkins wrote: > On Sat, Mar 7, 2015 at 8:05 AM, Richard Gaskin wrote: > >> So I submitted a request for an allowTabs field property; off >> by default, when true it would allow a field to accept tabs >> the user types: >> > > Now that you mention it, that could be insanely handy . . . I > hadn't even used the handler approach. > > It's already in there somewhere; the content field of the object > inspector works this way. I'd forgotten about that, but after reading your post I looked into it and not surprisingly they use the same script (with a common capitalization issue that often plagues my own code as well): on tabKEy put tab into the selection end tabKEy -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Mar 7 11:52:04 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Mar 2015 08:52:04 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <8598A013-B297-4007-92B8-C7CAA13E0CF9@gmail.com> References: <8598A013-B297-4007-92B8-C7CAA13E0CF9@gmail.com> Message-ID: <54FB2CB4.3060003@fourthworld.com> Peter M. Brigham wrote: > On 3/7/15 1:35 AM, Richard Gaskin wrote: >> FWIW I appreciate efforts to distinguish getters from setters >> by including "get" as part of a function name, but it becomes >> odd to read things like: >> >> get getPowerSource() >> >> Personally I believe that being a function makes its role as >> a getter implicitly clear enough as-is. > > Good point. I guess this never occurred to me because I never do > "get ?", I always do "put ? into varName". The "it" variable is > somewhat ephemeral if you're not careful. Even with an "ask ?" > I always follow it with a "put it into varName" before proceeding, > so I don't overwrite "it" later inadvertently. I use "it" sparingly myself for that reason, but -- perhaps based more on my own ignorant superstitions than anything actually happening in the engine (Fraser, care to chime in?) -- my hunch is that since "it" is already initialized using it saves an additional malloc. Over the scope of an entire code base this habit might save me as much as two milliseconds. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pete at lcsql.com Sat Mar 7 12:05:49 2015 From: pete at lcsql.com (Peter Haworth) Date: Sat, 07 Mar 2015 17:05:49 +0000 Subject: Text Field in LC 7 In-Reply-To: <54FB2B50.6010609@fourthworld.com> References: <54FB2B50.6010609@fourthworld.com> Message-ID: I like both those ideas. I have mixed feelings about the option to not change line wrapping until a resize is over. Sounds like it would help in the situation we're discussing but it also feels like a workaround for something that should really work. Could this be connected with the use of native controls, or lack thereof, in Livecode? I should also say that I'm not seeing the line wrapping delay in TextEdit. I'm on Yosemite and when I resize a TextEdit window horizontally, I see the line wrapping changing as the resize is happening not when I stop resizing. Maybe there's a Preference setting that affects things? On Sat, Mar 7, 2015 at 8:46 AM Richard Gaskin wrote: > Dr. Hawkins wrote: > > > On Sat, Mar 7, 2015 at 8:05 AM, Richard Gaskin wrote: > > > >> So I submitted a request for an allowTabs field property; off > >> by default, when true it would allow a field to accept tabs > >> the user types: > >> > > > > Now that you mention it, that could be insanely handy . . . I > > hadn't even used the handler approach. > > > > It's already in there somewhere; the content field of the object > > inspector works this way. > > I'd forgotten about that, but after reading your post I looked into it > and not surprisingly they use the same script (with a common > capitalization issue that often plagues my own code as well): > > on tabKEy > put tab into the selection > end tabKEy > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Sat Mar 7 12:08:00 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Mar 2015 09:08:00 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54FB0121.2010206@gmail.com> References: <54FB0121.2010206@gmail.com> Message-ID: <54FB3070.7060308@fourthworld.com> Well done! Once I change this: constant kBatteryStatus1 = "/sys/class/power_supply/BAT0/status" ...to this: constant kBatteryStatus1 = "/sys/class/power_supply/BAT1/status" ...as noted earlier, this works a treat: returns "Battery" when unplugged, and "AC" when plugged in. On my desktop is always returns "AC" as it should. Great work, team. Many thanks to Peter and Mark for helping out, and to you Michael for stewarding this into your library. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Michael Doub wrote: > ok, a new day and another attempt. I hope we have it this time. ;-) > > on mouseup > put __getPowerSource() > end mouseup > > function __caseSwitch > /* __caseSwitch Misc > Syntax: > __caseSwitch > (var_to_Match,=,[=]... > Examples: > put caseSwitch(len(tZip),"5=zip","10=zip+4","*=not a zip code") into > zipCodeType > Description: > Does a quick inline switch/case but supports a default for a non-match. > . Also see __Switch > > param 1 is checkValue > params 2+ are in the form matchValue(s)>= . separate multiple matcheValues with commas > . and enclose each matchValue=returnValue pair in quotes > if checkValue matches one or more items in matchValue(s), > . returns returnValue > > Note that checkValue should NOT be enclosed in quotes' > > Use a matchValue of "*" to specify a default value, > . to be returned if no matches found in the list > . if the default is "*=*" then no match returns the original > > . if no match and no default value specified, then returns empty > > Source: > Peter M. Brigham from Ken Ray, use-LC list, originally named > stsSwitch() > __caseSwitch */ > put param(1) into tCheckValue > set the itemDel to "=" > put "" into tDefault > repeat with x = 2 to the paramCount > put param(x) into tCheck > put item 1 of tCheck into tMatch > put item 2 of tCheck into tRetVal > replace "," with "=" in tMatch > if tCheckValue = empty and tMatch = empty then return tRetVal > if tCheckValue is among the items of tMatch then return tRetVal > if tMatch = "*" then > if tRetVal = "*" then > put tCheckValue into tDefault > else > put tRetVal into tDefault > end if > end if > end repeat > return tDefault > end __caseSwitch > > > function __getPowerSource > /* __getPowerSource Under Test - System > Syntax: > __getPowerSource() > Examples: > __getPowerSource() > Description: > -- returns the current power source for a laptop > -- "AC" or "Battery" > -- or "no battery" if there is no battery (Unix) > Source: > Peter M. Brigham with help from Martin Koob, Bob Sneidar, Richard Gaskin > __getPowerSource */ > /* Include > __caseSwitch > */ > > switch the platform > case "MacOS" > -- thanks to Martin Koob, use-LC list > put shell ("pmset -g batt") into tStatus > -- returns something like: > -- Currently drawing from 'AC Power' > -- -InternalBattery-0 99%; finishing charge; 0:00 remaining > return char 2 to -1 of word -2 of line 1 of tStatus > break > case "Win32" > -- thanks to Bob Sneidar, use-LC list > put shell("WMIC Path Win32_Battery GetAvailability") into tStatus > -- Line 3 will contain 2 if the battery is charging, 3 if > running on battery > put line 3 of tStatus into tStatus > return __caseSwitch(tStatus,"3=Battery","*=AC") > break > default > -- Unix, thanks to Mark Wieder > constant kBatteryStatus0 = "/sys/class/power_supply/BAT0/status" > constant kBatteryStatus1 = "/sys/class/power_supply/BAT0/status" > if there is a file (kBatteryStatus0) then > open file (kBatteryStatus0) for read > read from file (kBatteryStatus0) until eof > put it into tStatus > close file (kBatteryStatus0) > else if there is a file (kBatteryStatus1) then > open file (kBatteryStatus1) for read > read from file (kBatteryStatus1) until eof > put it into tStatus > close file (kBatteryStatus1) > else > return "AC" > -- no battery, must be running off external power > end if > put word 1 of tStatus into tStatus > if tStatus = empty then return empty > return > __caseSwitch(tStatus,"discharging=Battery","charging,unknown,full=AC","*=*") > -- if tStatus = empty, returns empty -- > -- Unix users please test: should this return some value?? > -- if tStatus is not in "discharging,charging,unknown,full" then > -- just returns whatever "/sys/class/power_supply/BATx" reports > end switch > end __getPowerSource From ambassador at fourthworld.com Sat Mar 7 12:15:30 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Mar 2015 09:15:30 -0800 Subject: Text Field in LC 7 In-Reply-To: References: Message-ID: <54FB3232.4090106@fourthworld.com> Peter Haworth wrote: > I have mixed feelings about the option to not change line wrapping until a > resize is over. Sounds like it would help in the situation we're > discussing but it also feels like a workaround for something that should > really work. Could this be connected with the use of native controls, or > lack thereof, in Livecode? I don't think so in this case, given that Apple's own TextEdit is where I got the idea. > I should also say that I'm not seeing the line wrapping delay in TextEdit. > I'm on Yosemite and when I resize a TextEdit window horizontally, I see the > line wrapping changing as the resize is happening not when I stop resizing. > Maybe there's a Preference setting that affects things? Hmmm....I don't see a Preference for that, but I'm on an older system (10.7). Maybe this was changed in a more recent version? Or perhaps they use different behavior based on CPU or GPU? Even so, I share your preference that the default remain as it is today, with dynamic recalculation of line wraps. But given the range of OSes and hardware LC runs on (it supports more OS X versions than Apple does, and then all the others as well), as an an option it may be helpful on older hardware or when handling very large amounts of text. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Mar 7 12:37:35 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Mar 2015 09:37:35 -0800 Subject: Beyond PowerStatus: Concurrency options Message-ID: <54FB375F.6050206@fourthworld.com> Now that members of the community have pulled together in such a stellar way to get a very good PowerStatus option we can use, perhaps we can go back to the original exploration that drove that discussion: concurrency. I first expressed a desire for a PowerStatus function in the older thread "Because LC can't do two things at once", at the end of this post which also covers some thoughts on concurrency options available to us: The post also includes a link to a simple stack that demonstrates some of the things that made me aware of the usefulness of a PowerStatus function, using simple timers for background processing loops: If exploring concurrency options is of interest here, we might consider two categories of such things: - A) Stuff we can do now with what we have (mostly timers and/or multiple faceless LC instances as worker processes) - B) Stuff we could do if only we had X (where X is what we'd need to define) Is concurrency something we want to pursue for LiveCode? What can we do now, and what would we like for the future? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Mar 7 12:52:08 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Mar 2015 09:52:08 -0800 Subject: Valuable tip re. v7's Save As Message-ID: <54FB3AC8.9080403@fourthworld.com> I recently learned that the Save As option in v7 is even smarter than I'd thought: Most of us already know it allows us save our stack files in any format we like, using the current v7 format by default or any legacy version going back more than a decade. But Mark Waddingham recently mentioned a detail about it that I didn't now before: the IDE's Save As goes further, setting a cREVGeneral["stackFileVersion"] custom property in your stack, so that all subsequent saves by the IDE in v7 will save in whatever format you last specified in the Save As dialog. In short, when migrating work to v7 in which you need to maintain compatibility with older engines, you only need to select the older format in Save As once, and from then on any save done by the IDE will use the format you'd specified. Super-convenient. Almost no reason not to be at least testing in v7. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From t.heaford at icloud.com Sat Mar 7 13:06:57 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Sat, 07 Mar 2015 18:06:57 +0000 Subject: Text Field in LC 7 In-Reply-To: <54FB3232.4090106@fourthworld.com> References: <54FB3232.4090106@fourthworld.com> Message-ID: <5F8B9482-A66B-43A3-9F84-7CFB1949CB1B@icloud.com> Sent from my iPad > On 7 Mar 2015, at 17:15, Richard Gaskin wrote: > > But given the range of OSes and hardware LC runs on (it supports more OS X versions than Apple does, and then all the others as well), as an an option it may be helpful on older hardware or when handling very large amounts of text Yes but do we think the sluggishness can be improved? All the best Terry From mikedoub at gmail.com Sat Mar 7 13:06:24 2015 From: mikedoub at gmail.com (Michael Doub) Date: Sat, 07 Mar 2015 13:06:24 -0500 Subject: MasterLibrary Naming Message-ID: <54FB3E20.1050506@gmail.com> I wanted to start a separate thread so I can track the results. Elsewhere there was a discussion about the use of double underscore in the names. So I would like feedback: 1) should I remove the double underscores from the function and handlers names? and 2) should I remove the "get" from function names? Please reply with your opinion and I will follow the majority. A simple "yes,yes" will work. I will assume the order is 1,2 Regards, Mike From pete at lcsql.com Sat Mar 7 13:14:23 2015 From: pete at lcsql.com (Peter Haworth) Date: Sat, 07 Mar 2015 18:14:23 +0000 Subject: MasterLibrary Naming In-Reply-To: <54FB3E20.1050506@gmail.com> References: <54FB3E20.1050506@gmail.com> Message-ID: yes, either way is fine On Sat, Mar 7, 2015 at 10:09 AM Michael Doub wrote: > I wanted to start a separate thread so I can track the results. > Elsewhere there was a discussion about the use of double underscore in > the names. So I would like feedback: > > 1) should I remove the double underscores from the function and handlers > names? > > and > > 2) should I remove the "get" from function names? > > Please reply with your opinion and I will follow the majority. A > simple "yes,yes" will work. I will assume the order is 1,2 > > Regards, > Mike > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Sat Mar 7 13:18:33 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 7 Mar 2015 11:18:33 -0700 Subject: Beyond PowerStatus: Concurrency options In-Reply-To: <54FB375F.6050206@fourthworld.com> References: <54FB375F.6050206@fourthworld.com> Message-ID: One very simple concurrency thing I would like to see is an optional "to thread with message" type of syntax. This would be similar to the way sockets are handled, if something apears in the socket, a message is dispatched. For things like long list processing, where the app doesn't need to wait for completion (just an example) one could "dispatch "doMyList" to thread with message "listDone". It would be up to the programmer to decide if it would work for their need, though with care, one could selectively disable functionality while a thread was active, allowing other parts of the application to remain functional. I've already done similar using the load command and a local lcserver enabled web server. Divide up a big job into chewable pieces, off "Load" them to the webserver, and gather/collate the results as they're returned. On Sat, Mar 7, 2015 at 10:37 AM, Richard Gaskin wrote: > Now that members of the community have pulled together in such a stellar > way to get a very good PowerStatus option we can use, perhaps we can go > back to the original exploration that drove that discussion: concurrency. > > I first expressed a desire for a PowerStatus function in the older thread > "Because LC can't do two things at once", at the end of this post which > also covers some thoughts on concurrency options available to us: > > > The post also includes a link to a simple stack that demonstrates some of > the things that made me aware of the usefulness of a PowerStatus function, > using simple timers for background processing loops: > > > If exploring concurrency options is of interest here, we might consider > two categories of such things: > > - A) Stuff we can do now with what we have (mostly timers and/or > multiple faceless LC instances as worker processes) > > - B) Stuff we could do if only we had X (where X is what we'd need > to define) > > Is concurrency something we want to pursue for LiveCode? > > What can we do now, and what would we like for the future? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Sat Mar 7 13:20:46 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Mar 2015 10:20:46 -0800 Subject: Text Field in LC 7 In-Reply-To: <5F8B9482-A66B-43A3-9F84-7CFB1949CB1B@icloud.com> References: <5F8B9482-A66B-43A3-9F84-7CFB1949CB1B@icloud.com> Message-ID: <54FB417E.5090302@fourthworld.com> Terence Heaford wrote: > On 7 Mar 2015, at 17:15, Richard Gaskin wrote: >> >> But given the range of OSes and hardware LC runs on (it supports >> more OS X versions than Apple does, and then all the others as >> well), as an an option it may be helpful on older hardware or >> when handling very large amounts of text > > Yes but do we think the sluggishness can be improved? Of course, which is why I've only expressed an interest in considering deferred line wrapping as an option and which is not the default. I'd hoped by now the extensive volunteer time I put in stewarding optimization requests might be noticeable.... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Mar 7 13:29:05 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Mar 2015 10:29:05 -0800 Subject: Beyond PowerStatus: Concurrency options In-Reply-To: References: Message-ID: <54FB4371.50201@fourthworld.com> Mike Bonner wrote: > One very simple concurrency thing I would like to see is an optional > "to thread with message" type of syntax. This would be similar to > the way sockets are handled, if something apears in the socket, a > message is dispatched. For things like long list processing, where > the app doesn't need to wait for completion (just an example) one > could "dispatch "doMyList" to thread with message "listDone". It > would be up to the programmer to decide if it would work for their > need, though with care, one could selectively disable functionality > while a thread was active, allowing other parts of the application > to remain functional. Any thoughts on how we might managing queue order to avoid race conditions? > I've already done similar using the load command and a local lcserver > enabled web server. Divide up a big job into chewable pieces, off > "Load" them to the webserver, and gather/collate the results as > they're returned. How do you communicate between the server and the workers, via files or sockets or something else? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Sat Mar 7 13:36:53 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 7 Mar 2015 10:36:53 -0800 Subject: Valuable tip re. v7's Save As In-Reply-To: <54FB3AC8.9080403@fourthworld.com> References: <54FB3AC8.9080403@fourthworld.com> Message-ID: On Sat, Mar 7, 2015 at 9:52 AM, Richard Gaskin wrote: > I recently learned that the Save As option in v7 is even smarter than I'd > thought: > OTOH, I'm fitting it this morning. I'm using an old XP laptop while my powerbook dries out (grr!), but after saving a standalone, livecode forgets where the current file came from (or something like that), and I have to go hunting. Once I have it better nailed down, I'll file a bug. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bonnmike at gmail.com Sat Mar 7 13:57:35 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 7 Mar 2015 11:57:35 -0700 Subject: Beyond PowerStatus: Concurrency options In-Reply-To: <54FB4371.50201@fourthworld.com> References: <54FB4371.50201@fourthworld.com> Message-ID: The last thing I did this way was more like a seti online type of work load. My web server is on the same machine as my LC in this case, so I had lc create individual data files for the web server to go through, used the load command to tell the web server which file it was, and turned it loose with a "with message.." so that when the web server returned results, a message to handle the results would fire. In this way, the web server handles most of the load, spawns threads and lc server instances (could be php, perl, whatever) and my app continues on its merry way, offloading another chunk. So, yes I used files to make some of it easier, and the web server handed the results back directly on completion. I could have gone an entirely file based method, where the results were dropped into files by the web server, then re-assembled after completion. Queue order in this specific case didn't matter. Each chunk was designated a job number, and the results were then shoved back together in the same order. For the example here, race conditions did not apply. All the webserver method does is use apache, rather than spawning worker processes, but the end result is the same, but the threading capability is already set up. All one must do is write the code to do the actual processing, and return the result. This is what I would like to see built in to lc. Another thought just occurred to me. Perhaps it could be made stack based.. go to stack "whatever" as new thread. (with the option for invisible, etc still available) that way, all the scripts of a stack could be accessible. So, if you had a stack that you were using for a progress bar, you could easily modify the behavior of the bar. I think the current answer to this is to spawn a worker process and full blown socket communications. Instead you could just dispatch "whateverMessage" to stack "mystack" in thread. No clue if there is anything useful here, its not very well thought out yet. On Sat, Mar 7, 2015 at 11:29 AM, Richard Gaskin wrote: > Mike Bonner wrote: > > > One very simple concurrency thing I would like to see is an optional > > "to thread with message" type of syntax. This would be similar to > > the way sockets are handled, if something apears in the socket, a > > message is dispatched. For things like long list processing, where > > the app doesn't need to wait for completion (just an example) one > > could "dispatch "doMyList" to thread with message "listDone". It > > would be up to the programmer to decide if it would work for their > > need, though with care, one could selectively disable functionality > > while a thread was active, allowing other parts of the application > > to remain functional. > > Any thoughts on how we might managing queue order to avoid race conditions? > > > > I've already done similar using the load command and a local lcserver > > enabled web server. Divide up a big job into chewable pieces, off > > "Load" them to the webserver, and gather/collate the results as > > they're returned. > > How do you communicate between the server and the workers, via files or > sockets or something else? > > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Sat Mar 7 14:05:23 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 7 Mar 2015 14:05:23 -0500 Subject: MasterLibrary Naming In-Reply-To: <54FB3E20.1050506@gmail.com> References: <54FB3E20.1050506@gmail.com> Message-ID: yes (strongly), yes (not so strongly) -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Mar 7, 2015, at 1:06 PM, Michael Doub wrote: > I wanted to start a separate thread so I can track the results. Elsewhere there was a discussion about the use of double underscore in the names. So I would like feedback: > > 1) should I remove the double underscores from the function and handlers names? > > and > > 2) should I remove the "get" from function names? > > Please reply with your opinion and I will follow the majority. A simple "yes,yes" will work. I will assume the order is 1,2 > > Regards, > Mike > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bodine at bodinetraininggames.com Sat Mar 7 13:58:31 2015 From: bodine at bodinetraininggames.com (tbodine) Date: Sat, 7 Mar 2015 10:58:31 -0800 (PST) Subject: RunRev 2015 In-Reply-To: <60BF16F5-D227-45AF-87DD-95AD3BEC18A5@gmail.com> References: <60BF16F5-D227-45AF-87DD-95AD3BEC18A5@gmail.com> Message-ID: <1425754711264-4689827.post@n4.nabble.com> I've attended the conf. via online connection several times, but never in person. What do you consider to be gained by "being there" vs "seeing there"? Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RunRev-2015-tp4689795p4689827.html Sent from the Revolution - User mailing list archive at Nabble.com. From rdimola at evergreeninfo.net Sat Mar 7 14:41:40 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 7 Mar 2015 14:41:40 -0500 Subject: iOS simulator and iOS 8 [Was sqlite and iOS 8] In-Reply-To: <1425723922638-4689790.post@n4.nabble.com> References: <13A21D97-0A49-4810-AA49-63E7D126B673@gmail.com> <003f01d0583c$c1d5a2f0$4580e8d0$@net> <1425723922638-4689790.post@n4.nabble.com> Message-ID: <003901d0590e$bb9ce420$32d6ac60$@net> >Dave Kilroy Wrote: >However for me the iOS simulator has recently been almost useless and I test directly on the device. Me Too. I saw there was some fiddling that you could do to make it work...maybe. There was some weirdness going on between different devices/OS combos. But in the end I just didn't have the time so I went the==>drag the .app into the device using Xcode. Only takes 10 seconds with a click and drag. It's Still not as fast as the old pre iOS 8 days when one could just hit the test button... and BAM the app was running and you could test on all device types without having to buy one. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dave Kilroy Sent: Saturday, March 07, 2015 5:25 AM To: use-revolution at lists.runrev.com Subject: RE: sqlite and iOS 8 Also no problems here with sqlite and iOS - however for me the iOS simulator has recently been almost useless and I test directly on the device. However there is currently a problem with sqlite drivers on OS X http://quality.runrev.com/show_bug.cgi?id=14295 (but there is a workaround) ----- "The difference between genius and stupidity is; genius has its limits." - Albert Einstein -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/sqlite-and-iOS-8-tp4689713p46 89790.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Sat Mar 7 14:41:40 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 7 Mar 2015 14:41:40 -0500 Subject: iOS simulator and iOS 8 [Was sqlite and iOS 8] In-Reply-To: <1425723922638-4689790.post@n4.nabble.com> References: <13A21D97-0A49-4810-AA49-63E7D126B673@gmail.com> <003f01d0583c$c1d5a2f0$4580e8d0$@net> <1425723922638-4689790.post@n4.nabble.com> Message-ID: <003901d0590e$bb9ce420$32d6ac60$@net> >Dave Kilroy Wrote: >However for me the iOS simulator has recently been almost useless and I test directly on the device. Me Too. I saw there was some fiddling that you could do to make it work...maybe. There was some weirdness going on between different devices/OS combos. But in the end I just didn't have the time so I went the==>drag the .app into the device using Xcode. Only takes 10 seconds with a click and drag. It's Still not as fast as the old pre iOS 8 days when one could just hit the test button... and BAM the app was running and you could test on all device types without having to buy one. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dave Kilroy Sent: Saturday, March 07, 2015 5:25 AM To: use-revolution at lists.runrev.com Subject: RE: sqlite and iOS 8 Also no problems here with sqlite and iOS - however for me the iOS simulator has recently been almost useless and I test directly on the device. However there is currently a problem with sqlite drivers on OS X http://quality.runrev.com/show_bug.cgi?id=14295 (but there is a workaround) ----- "The difference between genius and stupidity is; genius has its limits." - Albert Einstein -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/sqlite-and-iOS-8-tp4689713p46 89790.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Mar 7 14:39:51 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 Mar 2015 13:39:51 -0600 Subject: Text Field in LC 7 In-Reply-To: References: <54FB2B50.6010609@fourthworld.com> Message-ID: <54FB5407.3020908@hyperactivesw.com> On 3/7/2015 11:05 AM, Peter Haworth wrote: > I should also say that I'm not seeing the line wrapping delay in TextEdit. > I'm on Yosemite and when I resize a TextEdit window horizontally, I see the > line wrapping changing as the resize is happening not when I stop resizing. > Maybe there's a Preference setting that affects things? Wouldn't this be related to the liveResizing property? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Sat Mar 7 14:39:54 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 7 Mar 2015 11:39:54 -0800 Subject: Can't open sqlite disk file in XP standalone Message-ID: I'm in odd waters at the moment, on XP (which is left over on a FreeBSD laptop; I've never actually owned a windows machine, ever . . .) Anyway, this application has compiled and run as a mac standalone for years, and as a windows standalone compiled mac-side at some point in the past. I have a three line sequence answer "trying to open " & prefsFilNam put revOpenDatabase("sqlite", prefsFilNam , , , , ) into prefsDb answer "got: " & prefsDb The directory in the pathname exists, and actually gets successfully created a few lines previous if it doesn't exist (i've removed to check this). OK, it's a bug, bug 14838 that I just filed. The dlls are not landing where the should, as set out in the bug text below. Is there a way to work around this until its patched? Move files (I've tried putting the dlls in the same directory as the executable, and putting the folder of them there, to no avail. The standalone compiles and places revpdfprinter.dll and revsecurity.dll in the same folder as the executable. Also created is an "externals" folder containing revdb.dll and folder database_drivers, which in turn contains dbpostgresql.dll and sqlite.dll (the two types selected in standalone settings). Nonetheless, revOpenDatabase() causes an error (rather than returning an errorcode). The code works without problem in the IDE on both mac and windows, and has worked in mac executables for years. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Sat Mar 7 14:43:31 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 Mar 2015 13:43:31 -0600 Subject: Valuable tip re. v7's Save As In-Reply-To: <54FB3AC8.9080403@fourthworld.com> References: <54FB3AC8.9080403@fourthworld.com> Message-ID: <54FB54E3.2080409@hyperactivesw.com> On 3/7/2015 11:52 AM, Richard Gaskin wrote: > the IDE's Save As goes further, setting a > cREVGeneral["stackFileVersion"] custom property in your stack, so that > all subsequent saves by the IDE in v7 will save in whatever format you > last specified in the Save As dialog. But only if you have turned on the option to "preserve stack file version" in the Files and Memory preferences pane. Otherwise it remains oblivious. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Mar 7 14:50:47 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 Mar 2015 13:50:47 -0600 Subject: MasterLibrary Naming In-Reply-To: <54FB3E20.1050506@gmail.com> References: <54FB3E20.1050506@gmail.com> Message-ID: <54FB5697.1030403@hyperactivesw.com> On 3/7/2015 12:06 PM, Michael Doub wrote: > 1) should I remove the double underscores from the function and handlers > names? Yes. I find it distracting and hard to type. > > 2) should I remove the "get" from function names? Not particularly. I do the same thing all the time. Almost all my stacks have getPref and setPref handlers, and I've seen the same thing in some widely used tools (I believe GLX does it if I remember right.) My current project has many of these, it's a convention I've used for almost 30 years. And as mentioned, I almost never use "get" with these, I "put" them, so the labels I've chosen read fine. I think this is a stylistic issue and you should do whatever you want. Many others have come before you so you are not alone. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Mar 7 14:55:07 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 Mar 2015 13:55:07 -0600 Subject: RunRev 2015 In-Reply-To: <1425754711264-4689827.post@n4.nabble.com> References: <60BF16F5-D227-45AF-87DD-95AD3BEC18A5@gmail.com> <1425754711264-4689827.post@n4.nabble.com> Message-ID: <54FB579B.10206@hyperactivesw.com> On 3/7/2015 12:58 PM, tbodine wrote: > I've attended the conf. via online connection several times, but never in > person. What do you consider to be gained by "being there" vs "seeing > there"? Networking. Meeting everyone. After-hours gatherings. Linkages. Parties. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Mar 7 14:55:53 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 Mar 2015 13:55:53 -0600 Subject: Valuable tip re. v7's Save As In-Reply-To: <54FB54E3.2080409@hyperactivesw.com> References: <54FB3AC8.9080403@fourthworld.com> <54FB54E3.2080409@hyperactivesw.com> Message-ID: <54FB57C9.5090804@hyperactivesw.com> On 3/7/2015 1:43 PM, J. Landman Gay wrote: > On 3/7/2015 11:52 AM, Richard Gaskin wrote: >> the IDE's Save As goes further, setting a >> cREVGeneral["stackFileVersion"] custom property in your stack, so that >> all subsequent saves by the IDE in v7 will save in whatever format you >> last specified in the Save As dialog. > > But only if you have turned on the option to "preserve stack file > version" in the Files and Memory preferences pane. Otherwise it remains > oblivious. > Oh wait, you said "save as". Not sure about that one. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Sat Mar 7 14:56:41 2015 From: pete at lcsql.com (Peter Haworth) Date: Sat, 07 Mar 2015 19:56:41 +0000 Subject: Text Field in LC 7 In-Reply-To: <54FB5407.3020908@hyperactivesw.com> References: <54FB2B50.6010609@fourthworld.com> <54FB5407.3020908@hyperactivesw.com> Message-ID: Right, that was mu first thought. But I think liveresizing stops all controls from changing size until the resize ends whereas I think the idea here is to still resize the control itself but not apply line wrapping within the control until after the resize finishes. On Sat, Mar 7, 2015 at 11:40 AM J. Landman Gay wrote: > On 3/7/2015 11:05 AM, Peter Haworth wrote: > > I should also say that I'm not seeing the line wrapping delay in > TextEdit. > > I'm on Yosemite and when I resize a TextEdit window horizontally, I see > the > > line wrapping changing as the resize is happening not when I stop > resizing. > > Maybe there's a Preference setting that affects things? > > Wouldn't this be related to the liveResizing property? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Sat Mar 7 15:01:03 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 7 Mar 2015 15:01:03 -0500 Subject: Valuable tip re. v7's Save As In-Reply-To: <54FB54E3.2080409@hyperactivesw.com> References: <54FB3AC8.9080403@fourthworld.com> <54FB54E3.2080409@hyperactivesw.com> Message-ID: <003a01d05911$710e8f00$532bad00$@net> Richard, Could one just put this into the openstack handler? set the cREVGeneral["stackFileVersion"] of this stack to "5.5" Any "save"/"save as" should save to 5.5 format without any special handling in any LC version? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Saturday, March 07, 2015 2:44 PM To: How to use LiveCode Subject: Re: Valuable tip re. v7's Save As On 3/7/2015 11:52 AM, Richard Gaskin wrote: > the IDE's Save As goes further, setting a > cREVGeneral["stackFileVersion"] custom property in your stack, so that > all subsequent saves by the IDE in v7 will save in whatever format you > last specified in the Save As dialog. But only if you have turned on the option to "preserve stack file version" in the Files and Memory preferences pane. Otherwise it remains oblivious. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Mar 7 15:02:11 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 Mar 2015 14:02:11 -0600 Subject: Valuable tip re. v7's Save As In-Reply-To: References: <54FB3AC8.9080403@fourthworld.com> Message-ID: <54FB5943.8080803@hyperactivesw.com> On 3/7/2015 12:36 PM, Dr. Hawkins wrote: > On Sat, Mar 7, 2015 at 9:52 AM, Richard Gaskin > wrote: > >> I recently learned that the Save As option in v7 is even smarter than I'd >> thought: >> > > OTOH, I'm fitting it this morning. > > I'm using an old XP laptop while my powerbook dries out (grr!), but after > saving a standalone, livecode forgets where the current file came from (or > something like that), and I have to go hunting. > > Once I have it better nailed down, I'll file a bug. I think this is a different issue relating to file paths. Richard was talking about the stack file version, which is the format of the file on disk. When you "save as," LC opens the new copy which will have a different file path. The original copy is closed. It would be nice to add a feature request that puts a "Save a copy" into the File menu, which would save off a backup copy but keep the original in RAM. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Sat Mar 7 15:04:04 2015 From: pete at lcsql.com (Peter Haworth) Date: Sat, 07 Mar 2015 20:04:04 +0000 Subject: Can't open sqlite disk file in XP standalone In-Reply-To: References: Message-ID: So what ends up in PrefsDB? Not sure what you mean by "causes an error rather than returning an error code". Don't know if this might help, but I always check the db file exists (if there is a file PrefsFilNam) before opening any sqlite database, just too error prone without doing that. On Sat, Mar 7, 2015 at 11:40 AM Dr. Hawkins wrote: > I'm in odd waters at the moment, on XP (which is left over on a FreeBSD > laptop; I've never actually owned a windows machine, ever . . .) > > Anyway, this application has compiled and run as a mac standalone for > years, and as a windows standalone compiled mac-side at some point in the > past. > > I have a three line sequence > > answer "trying to open " & prefsFilNam > put revOpenDatabase("sqlite", prefsFilNam , , , , ) into prefsDb > answer "got: " & prefsDb > > The directory in the pathname exists, and actually gets successfully > created a few lines previous if it doesn't exist (i've removed to check > this). > > OK, it's a bug, bug 14838 > > that I just filed. > > The dlls are not landing where the should, as set out in the bug text > below. > > Is there a way to work around this until its patched? Move files (I've > tried putting the dlls in the same directory as the executable, and putting > the folder of them there, to no avail. > > > The standalone compiles and places revpdfprinter.dll and > revsecurity.dll in the same folder as the executable. > > Also created is an "externals" folder containing revdb.dll and folder > database_drivers, which in turn contains dbpostgresql.dll and > sqlite.dll (the two types selected in standalone settings). > > Nonetheless, revOpenDatabase() causes an error (rather than returning > an errorcode). > > The code works without problem in the IDE on both mac and windows, and > has worked in mac executables for years. > > > > > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sat Mar 7 15:05:54 2015 From: pete at lcsql.com (Peter Haworth) Date: Sat, 07 Mar 2015 20:05:54 +0000 Subject: Valuable tip re. v7's Save As In-Reply-To: <54FB5943.8080803@hyperactivesw.com> References: <54FB3AC8.9080403@fourthworld.com> <54FB5943.8080803@hyperactivesw.com> Message-ID: Yes! I've always thought it weird that Save As leaves you in the "saved as" file not the original. On Sat, Mar 7, 2015 at 12:02 PM J. Landman Gay wrote: > On 3/7/2015 12:36 PM, Dr. Hawkins wrote: > > On Sat, Mar 7, 2015 at 9:52 AM, Richard Gaskin < > ambassador at fourthworld.com> > > wrote: > > > >> I recently learned that the Save As option in v7 is even smarter than > I'd > >> thought: > >> > > > > OTOH, I'm fitting it this morning. > > > > I'm using an old XP laptop while my powerbook dries out (grr!), but after > > saving a standalone, livecode forgets where the current file came from > (or > > something like that), and I have to go hunting. > > > > Once I have it better nailed down, I'll file a bug. > > I think this is a different issue relating to file paths. Richard was > talking about the stack file version, which is the format of the file on > disk. > > When you "save as," LC opens the new copy which will have a different > file path. The original copy is closed. It would be nice to add a > feature request that puts a "Save a copy" into the File menu, which > would save off a backup copy but keep the original in RAM. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Sat Mar 7 15:10:00 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 7 Mar 2015 15:10:00 -0500 Subject: RunRev 2015 In-Reply-To: <54FB579B.10206@hyperactivesw.com> References: <60BF16F5-D227-45AF-87DD-95AD3BEC18A5@gmail.com> <1425754711264-4689827.post@n4.nabble.com> <54FB579B.10206@hyperactivesw.com> Message-ID: <003b01d05912$b124b280$136e1780$@net> On 3/7/2015 12:58 PM, tbodine wrote: > I've attended the conf. via online connection several times, but never > in person. What do you consider to be gained by "being there" vs > "seeing there"? A boat load(literally sometimes) of geeks and geek partners. One-on-one access to LC engineers has helped me immeasurably. Pancake printers. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Saturday, March 07, 2015 2:55 PM To: How to use LiveCode Subject: Re: RunRev 2015 Networking. Meeting everyone. After-hours gatherings. Linkages. Parties. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sat Mar 7 15:19:54 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 7 Mar 2015 12:19:54 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: References: <54FAFF0E.8010301@gmail.com> <54FB2371.7070603@fourthworld.com> <8598A013-B297-4007-92B8-C7CAA13E0CF9@gmail.com> Message-ID: <1181178747501.20150307121954@ahsoftware.net> Richard- Saturday, March 7, 2015, 8:41:00 AM, you wrote: > "it" has made me nervous since HyperCard 1.0 . . . clever, but seems to > be looking for a way to blow off my foot . . . Same here. And "me" makes me nervous as well. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From mwieder at ahsoftware.net Sat Mar 7 15:21:13 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 7 Mar 2015 12:21:13 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54FAFF0E.8010301@gmail.com> References: <701128799350.20150306222726@ahsoftware.net> <54FA9C34.6070702@fourthworld.com> <54FAFF0E.8010301@gmail.com> Message-ID: <1741178826827.20150307122113@ahsoftware.net> Michael- Saturday, March 7, 2015, 5:37:18 AM, you wrote: > I originally did this because I thought it would avoid name space > collisions. I thought that I would receive feedback if folks thought > it was a bad idea. As you can see, it is extra work and it is easy for > me to make a mistake. I used to do stuff like that before we had the "private" modifier. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From mwieder at ahsoftware.net Sat Mar 7 15:24:14 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 7 Mar 2015 12:24:14 -0800 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54FB2A74.1080406@fourthworld.com> References: <1461162567405.20150307075014@ahsoftware.net> <54FB2A74.1080406@fourthworld.com> Message-ID: <1471179007336.20150307122414@ahsoftware.net> Richard- Saturday, March 7, 2015, 8:42:28 AM, you wrote: > And Michael, another tempting opportunity for spending $ on a Linux > laptop is the latest from Barton's team, Dell's top-of-the-line > Precision M3800 portable workstation, with Ubuntu installed and ready to > go, weighing in at a surprisingly low 4.15 lbs considering the hardware > inside: > Stay away from Lenovo, though. Granted, Superfish only affects Windows, but who knows what other tricks they've pulled. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From mikedoub at gmail.com Sat Mar 7 15:26:09 2015 From: mikedoub at gmail.com (Mike Doub) Date: Sat, 7 Mar 2015 15:26:09 -0500 Subject: RunRev 2015 In-Reply-To: <1425754711264-4689827.post@n4.nabble.com> References: <60BF16F5-D227-45AF-87DD-95AD3BEC18A5@gmail.com> <1425754711264-4689827.post@n4.nabble.com> Message-ID: I went to the Ocean City conference. The sessions were good but the real fun parts are at breaks and in the envenings. It was great to be able to meet the folks that were just familiar email addresses on this list. Put faces to email addresses so to speak. I also had some great discussions with the LiveCode developers. Discussing the internal architecture, issues, wants and desires. This interaction had value for both sides. I did not take advantage of it, but lots of folks had the current projects on laptops. Everyone seemed to be jumping in and helping each other and you could get one on one time with the LiveCode developers. Kind of like this list, but on steroids. I would recommend attending if you are able. I had a great time. -= Mike On Saturday, March 7, 2015, tbodine wrote: > I've attended the conf. via online connection several times, but never in > person. What do you consider to be gained by "being there" vs "seeing > there"? > Thanks, > Tom Bodine > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/RunRev-2015-tp4689795p4689827.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sat Mar 7 15:29:49 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 7 Mar 2015 12:29:49 -0800 Subject: MasterLibrary Naming In-Reply-To: <54FB5697.1030403@hyperactivesw.com> References: <54FB3E20.1050506@gmail.com> <54FB5697.1030403@hyperactivesw.com> Message-ID: <981179342863.20150307122949@ahsoftware.net> Jacque- Saturday, March 7, 2015, 11:50:47 AM, you wrote: Agreed (yes, don't care). I have a slight preference for removing the "get" prefix because, like Jacque, I use "put" with the functions to place the value into a variable. In that case put getXXX() into tVar looks bizarre to me. But it works either way, so I'm in the whatever camp. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From revdev at pdslabs.net Sat Mar 7 15:32:35 2015 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 07 Mar 2015 12:32:35 -0800 Subject: RunRev 2015 In-Reply-To: <1425754711264-4689827.post@n4.nabble.com> References: <60BF16F5-D227-45AF-87DD-95AD3BEC18A5@gmail.com> <1425754711264-4689827.post@n4.nabble.com> Message-ID: <54FB6063.4090806@pdslabs.net> Hi Tom, It's sort of like the difference between watching a social gathering on TV vs. being there. For me it's largely about relationships and people - of whom you are one! It's exhilarating to interact with so many who know and use LC. I like to meet the folks on this list and put faces to names. The full-immersion LC-based geek-to-geek experience (with a generous helping of non-geeks) can't be replicated online. I mean, where else on earth could I have sat at an outdoor table with Jan Schenkel, Trevor DeVore, Heather Laine, Andre Garzia, and several others, just to enjoy the moment, drink something and chat about whatever comes up? (The [poorly stitched] photo I took of that moment is here: http://pdslabs.net/d/runrevlive2011.jpg ) I've been to several and I HIGHLY recommend it. (The gathering used to be so small we had a group photo taken. Good luck on that now!) Phil Davis On 3/7/15 10:58 AM, tbodine wrote: > I've attended the conf. via online connection several times, but never in > person. What do you consider to be gained by "being there" vs "seeing > there"? > Thanks, > Tom Bodine > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/RunRev-2015-tp4689795p4689827.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From mwieder at ahsoftware.net Sat Mar 7 15:33:34 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 7 Mar 2015 12:33:34 -0800 Subject: RunRev 2015 In-Reply-To: <54FB579B.10206@hyperactivesw.com> References: <60BF16F5-D227-45AF-87DD-95AD3BEC18A5@gmail.com> <1425754711264-4689827.post@n4.nabble.com> <54FB579B.10206@hyperactivesw.com> Message-ID: <181179567957.20150307123334@ahsoftware.net> Jacque- Saturday, March 7, 2015, 11:55:07 AM, you wrote: > On 3/7/2015 12:58 PM, tbodine wrote: >> I've attended the conf. via online connection several times, but never in >> person. What do you consider to be gained by "being there" vs "seeing >> there"? > Networking. Meeting everyone. After-hours gatherings. Linkages. Parties. Yeah. I would almost say don't bother going to the conference itself, just book a hotel room and hang out after hours. The f2f time with people is what draws me, and I've never been disappointed. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From mwieder at ahsoftware.net Sat Mar 7 15:35:18 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 7 Mar 2015 12:35:18 -0800 Subject: RunRev 2015 In-Reply-To: <60BF16F5-D227-45AF-87DD-95AD3BEC18A5@gmail.com> References: <60BF16F5-D227-45AF-87DD-95AD3BEC18A5@gmail.com> Message-ID: <341179671604.20150307123518@ahsoftware.net> Skip- Saturday, March 7, 2015, 5:44:25 AM, you wrote: > Throwing this out there... Any info on this years conference? It > would be great to be able to plan for this. I sent an email to Jo a few days ago about this. No response yet. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From dochawk at gmail.com Sat Mar 7 15:40:55 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 7 Mar 2015 12:40:55 -0800 Subject: Can't open sqlite disk file in XP standalone In-Reply-To: References: Message-ID: On Sat, Mar 7, 2015 at 12:04 PM, Peter Haworth wrote: > So what ends up in PrefsDB? Not sure what you mean by "causes an error > rather than returning an error code". > Nothing; the line is never reached. It's an execution error, goes to the execution error handler, and stops dead. > > Don't know if this might help, but I always check the db file exists (if > there is a file PrefsFilNam) before opening any sqlite database, just too > error prone without doing that. > I check for the folders existence, but sqlite creates new files by opening them, which is what I'm really trying to test. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From rdimola at evergreeninfo.net Sat Mar 7 15:45:23 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 7 Mar 2015 15:45:23 -0500 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <1181178747501.20150307121954@ahsoftware.net> References: <54FAFF0E.8010301@gmail.com> <54FB2371.7070603@fourthworld.com> <8598A013-B297-4007-92B8-C7CAA13E0CF9@gmail.com> <1181178747501.20150307121954@ahsoftware.net> Message-ID: <004201d05917$a29fdcd0$e7df9670$@net> Richard- Saturday, March 7, 2015, 8:41:00 AM, you wrote: > "it" has made me nervous since HyperCard 1.0 . . . clever, but seems to > be looking for a way to blow off my foot . . . Same here. And "the result" makes me nervous as well. -- Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From pete at lcsql.com Sat Mar 7 15:45:21 2015 From: pete at lcsql.com (Peter Haworth) Date: Sat, 07 Mar 2015 20:45:21 +0000 Subject: Can't open sqlite disk file in XP standalone In-Reply-To: References: Message-ID: I see. Is there any error message displayed by the error handler? On Sat, Mar 7, 2015 at 12:41 PM Dr. Hawkins wrote: > On Sat, Mar 7, 2015 at 12:04 PM, Peter Haworth wrote: > > > So what ends up in PrefsDB? Not sure what you mean by "causes an error > > rather than returning an error code". > > > > Nothing; the line is never reached. It's an execution error, goes to the > execution error handler, and stops dead. > > > > > Don't know if this might help, but I always check the db file exists (if > > there is a file PrefsFilNam) before opening any sqlite database, just too > > error prone without doing that. > > > > I check for the folders existence, but sqlite creates new files by opening > them, which is what I'm really trying to test. > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Sat Mar 7 15:57:05 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Mar 2015 12:57:05 -0800 Subject: Text Field in LC 7 In-Reply-To: <54FB5407.3020908@hyperactivesw.com> References: <54FB5407.3020908@hyperactivesw.com> Message-ID: <54FB6621.2030508@fourthworld.com> Peter Haworth wrote: > On Sat, Mar 7, 2015 at 11:40 AM J. Landman Gay wrote: >> >> Wouldn't this be related to the liveResizing property? > > Right, that was mu first thought. But I think liveresizing stops all > controls from changing size until the resize ends whereas I think the > idea here is to still resize the control itself but not apply line > wrapping within the control until after the resize finishes. Yep. And FWIW, it appears liveResizing is deprecated since the Cocoa migration, understandable since I don't believe the Cocoa APIs support the older resizing model. I just filed a bug report suggesting the Dictionary entry for liveResizing be updated to reflect its current status: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Mar 7 15:59:57 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Mar 2015 12:59:57 -0800 Subject: Beyond PowerStatus: Concurrency options In-Reply-To: References: Message-ID: <54FB66CD.6020008@fourthworld.com> Nicely done, Mike. Using Apache for this is a good solution - it's already set up to herd workers in a way with CGI, and it handles the forking so we don't have to. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Mike Bonner wrote: > The last thing I did this way was more like a seti online type of work > load. > My web server is on the same machine as my LC in this case, so I had lc > create individual data files for the web server to go through, used the > load command to tell the web server which file it was, and turned it loose > with a "with message.." so that when the web server returned results, a > message to handle the results would fire. > > In this way, the web server handles most of the load, spawns threads and lc > server instances (could be php, perl, whatever) and my app continues on its > merry way, offloading another chunk. > > So, yes I used files to make some of it easier, and the web server handed > the results back directly on completion. I could have gone an entirely > file based method, where the results were dropped into files by the web > server, then re-assembled after completion. > > Queue order in this specific case didn't matter. Each chunk was designated > a job number, and the results were then shoved back together in the same > order. > > For the example here, race conditions did not apply. > > All the webserver method does is use apache, rather than spawning worker > processes, but the end result is the same, but the threading capability is > already set up. All one must do is write the code to do the actual > processing, and return the result. This is what I would like to see built > in to lc. > > Another thought just occurred to me. Perhaps it could be made stack > based.. go to stack "whatever" as new thread. (with the option for > invisible, etc still available) that way, all the scripts of a stack could > be accessible. So, if you had a stack that you were using for a progress > bar, you could easily modify the behavior of the bar. I think the current > answer to this is to spawn a worker process and full blown socket > communications. Instead you could just dispatch "whateverMessage" to stack > "mystack" in thread. > > No clue if there is anything useful here, its not very well thought out > yet. From dochawk at gmail.com Sat Mar 7 16:09:26 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 7 Mar 2015 13:09:26 -0800 Subject: Can't open sqlite disk file in XP standalone In-Reply-To: References: Message-ID: On Sat, Mar 7, 2015 at 12:45 PM, Peter Haworth wrote: > I see. Is there any error message displayed by the error handler? > It gives the line number of the stack, and name of the file. Naturally, in an "OK" window that doesn't allow copying the text . . An error occurred on line: 89 219,89,8 revOpenDatabaase 465,89,8 prePreOpenStack 353,0,0 stack "preferences" of stack (fullpathname) 529,50,1, prepreopenstack 253,50,1 241,13,1, preOpenStack 353,0,0, stack (fullpathname) I'm reasonably certain that the dlls are not getting correctly connected. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Sat Mar 7 16:32:08 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 Mar 2015 15:32:08 -0600 Subject: RunRev 2015 In-Reply-To: <181179567957.20150307123334@ahsoftware.net> References: <60BF16F5-D227-45AF-87DD-95AD3BEC18A5@gmail.com> <1425754711264-4689827.post@n4.nabble.com> <54FB579B.10206@hyperactivesw.com> <181179567957.20150307123334@ahsoftware.net> Message-ID: <54FB6E58.9010706@hyperactivesw.com> On 3/7/2015 2:33 PM, Mark Wieder wrote: > Yeah. I would almost say > > don't bother going to the conference itself, just book a hotel room > and hang out after hours. The f2f time with people is what draws me, > and I've never been disappointed. > I miss half the talks anyway because I get sidetracked in the hallways talking geek with people, and I forget what time it is. The one-to-one is almost always more productive for me, so I don't mind. It is so great to hang out with like-minded people, I never have as much fun as I do there. You just can't have conversations like those with anyone else, your other friends will look at you like you're nuts. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sat Mar 7 16:56:34 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Mar 2015 13:56:34 -0800 Subject: RunRev 2015 In-Reply-To: <54FB6E58.9010706@hyperactivesw.com> References: <54FB6E58.9010706@hyperactivesw.com> Message-ID: <54FB7412.4000802@fourthworld.com> J. Landman Gay wrote: > It is so great to hang out with like-minded people, I never have as much > fun as I do there. You just can't have conversations like those with > anyone else, your other friends will look at you like you're nuts. +1 The only thing I could add is that in addition to finally meeting in person so many people I've come to know here like Ralph DiMola and Peter Haworth, I also got a chance to meet people I'd never even corresponded with before, like Lloyd Rieber and Wayne Vovil. Great people doing very interesting work with LiveCode. Speaking of Lloyd, if you haven't read his blog it's well worth it - he posts fairly regularly, with good tips, code snippets, and examples: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From t.heaford at icloud.com Sat Mar 7 17:03:57 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Sat, 07 Mar 2015 22:03:57 +0000 Subject: Text Field in LC 7 In-Reply-To: <54FB6621.2030508@fourthworld.com> References: <54FB5407.3020908@hyperactivesw.com> <54FB6621.2030508@fourthworld.com> Message-ID: <075BBADB-AB43-4CCD-B65C-6C1EB54622C0@icloud.com> I previously advised that I first noticed the performance hit in modTableField during testing for Bernd and have advised Bernd of my findings. He has replied with this email and I also have listed my reply: ????????????? > On 7 Mar 2015, at 16:35, Niggemann, Bernd wrote: > > here is a modTableField that is coupled to a resizeStack handler in the card. > > If you use 7.x.x and load it with 2500 rows it gets sluggish, if you resize it with less it gets faster, > Using 6.7.3 it is almost smooth with 2500 rows. > > Is this the performance you see? Is it better or worse? > > > I never use the Geometry Manager although it is tempting; apparently the Geometry Manager can get tripped up in later stages of a project and that is a major hassle. > > I do all my geometry myself. More code but very good control over geometry. LC 6.7.3 I find: 1000 rows perfect. 2500 rows nearly perfect 5000 rows a little sluggish LC 7.0.3 I find: 1000 rows a little sluggish. 2500 rows sluggish 5000 rows unacceptable I have thought my self that using the Geometry Manager seems sometimes to be unreliable and occasionally seems to loose where it?s up to. Probably your right to do the geometry in script as at least you know where your up to. The only problem is if you have a busy user interface it could involve many lines of script. Bernd, I hope you don?t mind but I will post this subjective email onto the list. It emphasises the disparity in visual performance between 6.7.3 and 7.0.3. Its a shame you can?t right align numbers in 6.7.3. All the best Terry ????????????? From bonnmike at gmail.com Sat Mar 7 17:16:10 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 7 Mar 2015 15:16:10 -0700 Subject: Can't open sqlite disk file in XP standalone In-Reply-To: References: Message-ID: If you move the code that causes the problem, from preopenstack to openstack, (or even opencard) does it start to work? If so, your preopenstack handler is trying to do things that require libraries that are not yet available. On Sat, Mar 7, 2015 at 2:09 PM, Dr. Hawkins wrote: > On Sat, Mar 7, 2015 at 12:45 PM, Peter Haworth wrote: > > > I see. Is there any error message displayed by the error handler? > > > > It gives the line number of the stack, and name of the file. > > Naturally, in an "OK" window that doesn't allow copying the text . . > > An error occurred on line: 89 > 219,89,8 revOpenDatabaase > 465,89,8 prePreOpenStack > 353,0,0 stack "preferences" of stack (fullpathname) > 529,50,1, prepreopenstack > 253,50,1 > 241,13,1, preOpenStack > 353,0,0, stack > (fullpathname) > > I'm reasonably certain that the dlls are not getting correctly connected. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Sat Mar 7 18:10:35 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 7 Mar 2015 15:10:35 -0800 Subject: Can't open sqlite disk file in XP standalone In-Reply-To: References: Message-ID: On Sat, Mar 7, 2015 at 2:16 PM, Mike Bonner wrote: > If you move the code that causes the problem, from preopenstack to > openstack, (or even opencard) does it start to work? > If so, your preopenstack handler is trying to do things that require > libraries that are not yet available. > The prePreOpenstack is sent from openstack of the mainstack. And again, the code has worked for years on the mac. I think I have it nailed down, and it's ugly. I moved the stack over to one of my daughter's Macbook Airs. Even though I had toggled the database settings several times, including the specific drivers, they still showed postgres and sqlite to be built on XP. However, when I opened on the Mac, without any editing, sqlite was *not* marked. I compiled a windows version on *that* machine, ran it on XP, and it could open the database. I brought the mac-saved file back to XP, compiled again, and it again didn't work. This is an *ugly* windows-side bug. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Sat Mar 7 18:21:32 2015 From: pete at lcsql.com (Peter Haworth) Date: Sat, 07 Mar 2015 23:21:32 +0000 Subject: Text Field in LC 7 In-Reply-To: <54FB6621.2030508@fourthworld.com> References: <54FB5407.3020908@hyperactivesw.com> <54FB6621.2030508@fourthworld.com> Message-ID: Thanks Richard, didn;t know it was deprecated. On Sat, Mar 7, 2015 at 12:57 PM Richard Gaskin wrote: > Peter Haworth wrote: > > > On Sat, Mar 7, 2015 at 11:40 AM J. Landman Gay wrote: > >> > >> Wouldn't this be related to the liveResizing property? > > > > Right, that was mu first thought. But I think liveresizing stops all > > controls from changing size until the resize ends whereas I think the > > idea here is to still resize the control itself but not apply line > > wrapping within the control until after the resize finishes. > > Yep. > > And FWIW, it appears liveResizing is deprecated since the Cocoa > migration, understandable since I don't believe the Cocoa APIs support > the older resizing model. > > I just filed a bug report suggesting the Dictionary entry for > liveResizing be updated to reflect its current status: > > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sat Mar 7 18:28:20 2015 From: pete at lcsql.com (Peter Haworth) Date: Sat, 07 Mar 2015 23:28:20 +0000 Subject: Text Field in LC 7 In-Reply-To: References: <54FB5407.3020908@hyperactivesw.com> <54FB6621.2030508@fourthworld.com> Message-ID: I too got scared off the Geometry Manager from posts on this list and rolled my own. I'm a big fan of modTableField but I must admit I've never resized one, except when first setting it up. I wonder if there's more going on than with a normal resize, for example, widening columns as well as the table itself? If so, then that would certainly affect performance. On the other hand, we've seen pretty much the same issues in a straightforward scrolling field. On Sat, Mar 7, 2015 at 3:21 PM Peter Haworth wrote: > Thanks Richard, didn;t know it was deprecated. > > > On Sat, Mar 7, 2015 at 12:57 PM Richard Gaskin > wrote: > >> Peter Haworth wrote: >> >> > On Sat, Mar 7, 2015 at 11:40 AM J. Landman Gay wrote: >> >> >> >> Wouldn't this be related to the liveResizing property? >> > >> > Right, that was mu first thought. But I think liveresizing stops all >> > controls from changing size until the resize ends whereas I think the >> > idea here is to still resize the control itself but not apply line >> > wrapping within the control until after the resize finishes. >> >> Yep. >> >> And FWIW, it appears liveResizing is deprecated since the Cocoa >> migration, understandable since I don't believe the Cocoa APIs support >> the older resizing model. >> >> I just filed a bug report suggesting the Dictionary entry for >> liveResizing be updated to reflect its current status: >> >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From stephenREVOLUTION2 at barncard.com Sat Mar 7 18:46:12 2015 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 7 Mar 2015 15:46:12 -0800 Subject: RunRev 2015 In-Reply-To: <54FB7412.4000802@fourthworld.com> References: <54FB6E58.9010706@hyperactivesw.com> <54FB7412.4000802@fourthworld.com> Message-ID: On Sat, Mar 7, 2015 at 1:56 PM, Richard Gaskin wrote: > It is so great to hang out with like-minded people, I never have as much I just looked at my photos from Revcon 2 - Monterey 2005. Wow. We're all so YOUNG! And so few! I had just started my work with Jerry and Mike. It was a great time. I immediately felt a kinship with the group. Dan, Jacque, Ken Ray, Richard, Kevin, Mark, Chipp, Andre were all there.... https://www.flickr.com/photos/sbarncar/sets/72157651217686931 I had met Jacque and Kevin the previous year at MacWorld, when Apple was still participating, and Runrev had a booth in the Developers area. -- Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words From MikeKerner at roadrunner.com Sat Mar 7 18:48:57 2015 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 7 Mar 2015 18:48:57 -0500 Subject: iOS simulator and iOS 8 [Was sqlite and iOS 8] In-Reply-To: <003901d0590e$bb9ce420$32d6ac60$@net> References: <13A21D97-0A49-4810-AA49-63E7D126B673@gmail.com> <003f01d0583c$c1d5a2f0$4580e8d0$@net> <1425723922638-4689790.post@n4.nabble.com> <003901d0590e$bb9ce420$32d6ac60$@net> Message-ID: so what issues are you having with the simulator? I'm having nothing that I notice. On Sat, Mar 7, 2015 at 2:41 PM, Ralph DiMola wrote: > >Dave Kilroy Wrote: > >However for me the iOS simulator has recently been almost useless and I > test directly on the device. > > Me Too. I saw there was some fiddling that you could do to make it > work...maybe. There was some weirdness going on between different > devices/OS > combos. But in the end I just didn't have the time so I went the==>drag the > .app into the device using Xcode. Only takes 10 seconds with a click and > drag. It's Still not as fast as the old pre iOS 8 days when one could just > hit the test button... and BAM the app was running and you could test on > all > device types without having to buy one. > > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Dave Kilroy > Sent: Saturday, March 07, 2015 5:25 AM > To: use-revolution at lists.runrev.com > Subject: RE: sqlite and iOS 8 > > Also no problems here with sqlite and iOS - however for me the iOS > simulator > has recently been almost useless and I test directly on the device. > > However there is currently a problem with sqlite drivers on OS X > http://quality.runrev.com/show_bug.cgi?id=14295 (but there is a > workaround) > > > > ----- > "The difference between genius and stupidity is; genius has its limits." - > Albert Einstein > -- > View this message in context: > > http://runtime-revolution.278305.n4.nabble.com/sqlite-and-iOS-8-tp4689713p46 > 89790.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bonnmike at gmail.com Sat Mar 7 19:01:37 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 7 Mar 2015 17:01:37 -0700 Subject: Can't open sqlite disk file in XP standalone In-Reply-To: References: Message-ID: Ah k. Glad you found it. I had just wondered if the xp machine was slow enough to cause problems with the preopen, but as you say, when its called from a substack of the main, thats not the issue. On Sat, Mar 7, 2015 at 4:10 PM, Dr. Hawkins wrote: > On Sat, Mar 7, 2015 at 2:16 PM, Mike Bonner wrote: > > > If you move the code that causes the problem, from preopenstack to > > openstack, (or even opencard) does it start to work? > > If so, your preopenstack handler is trying to do things that require > > libraries that are not yet available. > > > > The prePreOpenstack is sent from openstack of the mainstack. And again, > the code has worked for years on the mac. > > I think I have it nailed down, and it's ugly. > > I moved the stack over to one of my daughter's Macbook Airs. > > Even though I had toggled the database settings several times, including > the specific drivers, they still showed postgres and sqlite to be built on > XP. > > However, when I opened on the Mac, without any editing, sqlite was *not* > marked. > > I compiled a windows version on *that* machine, ran it on XP, and it could > open the database. > > I brought the mac-saved file back to XP, compiled again, and it again > didn't work. > > This is an *ugly* windows-side bug. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Sat Mar 7 19:43:32 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 7 Mar 2015 19:43:32 -0500 Subject: iOS simulator and iOS 8 [Was sqlite and iOS 8] In-Reply-To: References: <13A21D97-0A49-4810-AA49-63E7D126B673@gmail.com> <003f01d0583c$c1d5a2f0$4580e8d0$@net> <1425723922638-4689790.post@n4.nabble.com> <003901d0590e$bb9ce420$32d6ac60$@net> Message-ID: <004601d05938$e81279f0$b8376dd0$@net> The simulator just locks up and never start the app. I get the "The simulator seems to be taking a long time to start" Click continue and you get "Unable to start simulation". If you try it one or 2 more times the app will start up. At this point it's just quicker to use the device. OSX 10.9.5 LC 6.7.3 Xcode 6.1.1 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Kerner Sent: Saturday, March 07, 2015 6:49 PM To: How to use LiveCode Subject: Re: iOS simulator and iOS 8 [Was sqlite and iOS 8] so what issues are you having with the simulator? I'm having nothing that I notice. On Sat, Mar 7, 2015 at 2:41 PM, Ralph DiMola wrote: > >Dave Kilroy Wrote: > >However for me the iOS simulator has recently been almost useless and > >I > test directly on the device. > > Me Too. I saw there was some fiddling that you could do to make it > work...maybe. There was some weirdness going on between different > devices/OS combos. But in the end I just didn't have the time so I > went the==>drag the .app into the device using Xcode. Only takes 10 > seconds with a click and drag. It's Still not as fast as the old pre > iOS 8 days when one could just hit the test button... and BAM the app > was running and you could test on all device types without having to > buy one. > > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Dave Kilroy > Sent: Saturday, March 07, 2015 5:25 AM > To: use-revolution at lists.runrev.com > Subject: RE: sqlite and iOS 8 > > Also no problems here with sqlite and iOS - however for me the iOS > simulator has recently been almost useless and I test directly on the > device. > > However there is currently a problem with sqlite drivers on OS X > http://quality.runrev.com/show_bug.cgi?id=14295 (but there is a > workaround) > > > > ----- > "The difference between genius and stupidity is; genius has its > limits." - Albert Einstein > -- > View this message in context: > > http://runtime-revolution.278305.n4.nabble.com/sqlite-and-iOS-8-tp4689 > 713p46 > 89790.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From cryfware at gmail.com Sat Mar 7 20:00:44 2015 From: cryfware at gmail.com (Fabio Goglia) Date: Sun, 8 Mar 2015 02:00:44 +0100 Subject: R: RunRev 2015 In-Reply-To: <54FB6063.4090806@pdslabs.net> References: <60BF16F5-D227-45AF-87DD-95AD3BEC18A5@gmail.com> <1425754711264-4689827.post@n4.nabble.com> <54FB6063.4090806@pdslabs.net> Message-ID: <54fb9f3e.6d4ec20a.3207.2fc0@mx.google.com> ----- Messaggio originale ----- Da: "Phil Davis" Inviato: ?07/?03/?2015 21:32 A: "How to use LiveCode" Oggetto: Re: RunRev 2015 Hi Tom, It's sort of like the difference between watching a social gathering on TV vs. being there. For me it's largely about relationships and people - of whom you are one! It's exhilarating to interact with so many who know and use LC. I like to meet the folks on this list and put faces to names. The full-immersion LC-based geek-to-geek experience (with a generous helping of non-geeks) can't be replicated online. I mean, where else on earth could I have sat at an outdoor table with Jan Schenkel, Trevor DeVore, Heather Laine, Andre Garzia, and several others, just to enjoy the moment, drink something and chat about whatever comes up? (The [poorly stitched] photo I took of that moment is here: http://pdslabs.net/d/runrevlive2011.jpg ) I've been to several and I HIGHLY recommend it. (The gathering used to be so small we had a group photo taken. Good luck on that now!) Phil Davis On 3/7/15 10:58 AM, tbodine wrote: > I've attended the conf. via online connection several times, but never in > person. What do you consider to be gained by "being there" vs "seeing > there"? > Thanks, > Tom Bodine > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/RunRev-2015-tp4689795p4689827.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Sat Mar 7 19:53:32 2015 From: dunbarx at aol.com (dunbarx) Date: Sat, 7 Mar 2015 16:53:32 -0800 (PST) Subject: Auto scrollbars in DataGrid In-Reply-To: <6F93A698-BA87-41FB-B143-7EEF20BA4FF1@icloud.com> References: <6F93A698-BA87-41FB-B143-7EEF20BA4FF1@icloud.com> Message-ID: <1425776012873-4689867.post@n4.nabble.com> Hi. I have always found that if you resize in either direction beyond where a scrollbar is needed at all, the scrollbars disappear, regardless of the state of the "true/false/auto" condition. That is what you want, correct? Someone else will have to chime in on how to make a scrollbar stick even if the size of the object is greater than having a scrollbar at all makes any sense. Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Auto-scrollbars-in-DataGrid-tp4689791p4689867.html Sent from the Revolution - User mailing list archive at Nabble.com. From jhj at jhj.com Sat Mar 7 21:10:16 2015 From: jhj at jhj.com (Jerry Jensen) Date: Sat, 7 Mar 2015 18:10:16 -0800 Subject: Text Field in LC 7 In-Reply-To: References: <54FB5407.3020908@hyperactivesw.com> <54FB6621.2030508@fourthworld.com> Message-ID: <6E2E442D-7554-4E21-B7F1-CBE9AE76082A@jhj.com> On Mar 7, 2015, at 3:28 PM, Peter Haworth wrote: > > I too got scared off the Geometry Manager from posts on this list and > rolled my own. Me too. > I'm a big fan of modTableField but I must admit I've never resized one, > except when first setting it up. I wonder if there's more going on than > with a normal resize, for example, widening columns as well as the table > itself? If so, then that would certainly affect performance. On the other > hand, we've seen pretty much the same issues in a straightforward scrolling > field. I think I remember a note in the docs about resizing modTableFields. IIRC it has to do with the little sort direction arrows in the header. There is a call you can make from the message box after you do it to fix everything up if its not automatic. Bernd will probably chime in here. .Jerry From jacque at hyperactivesw.com Sat Mar 7 22:52:57 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 Mar 2015 21:52:57 -0600 Subject: RunRev 2015 In-Reply-To: References: <54FB6E58.9010706@hyperactivesw.com> <54FB7412.4000802@fourthworld.com> Message-ID: On March 7, 2015 5:46:12 PM CST, stephen barncard wrote: >I just looked at my photos from Revcon 2 - Monterey 2005. Wow. We're all so YOUNG! And so few! I don't look like that any more. On the other hand, Kevin still does. I keep waiting for him to catch up. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Sat Mar 7 23:26:52 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 7 Mar 2015 20:26:52 -0800 Subject: Can't open sqlite disk file in XP standalone In-Reply-To: References: Message-ID: On Sat, Mar 7, 2015 at 4:01 PM, Mike Bonner wrote: > Ah k. Glad you found it. I had just wondered if the xp machine was slow > enough to cause problems with the preopen, but as you say, when its called > from a substack of the main, thats not the issue. > Now if I can only find a workaround . . . my fast i7 macbook is down for a few days, the big iMac is only an i5, albeit quad core, but noticeably slower. The most recent non-mac around here is ab best 4.5 years old (and with a broken screen). Then it goes to this centrino XP machine . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From sundown at pacifier.com Sun Mar 8 00:54:10 2015 From: sundown at pacifier.com (JB) Date: Sat, 7 Mar 2015 21:54:10 -0800 Subject: Data Grid graphics & buttons Message-ID: <4BC19FE0-02CE-4D21-AAAF-D08B73C92065@pacifier.com> Is there a way to set a graphic or button in a data grid table column using a script? So if I want line 12 of column name to be a graphic can I change the behavior like I can with Haken?s script that modifies the number format and instead of displaying a different value for the number display either a graphic or button instead? John Balgenorth From bernd.niggemann at uni-wh.de Sun Mar 8 04:08:54 2015 From: bernd.niggemann at uni-wh.de (BNig) Date: Sun, 8 Mar 2015 00:08:54 -0800 (PST) Subject: Text Field in LC 7 In-Reply-To: <6E2E442D-7554-4E21-B7F1-CBE9AE76082A@jhj.com> References: <54FA7380.1060608@fourthworld.com> <54FB21E6.3040000@fourthworld.com> <54FB2B50.6010609@fourthworld.com> <54FB5407.3020908@hyperactivesw.com> <54FB6621.2030508@fourthworld.com> <6E2E442D-7554-4E21-B7F1-CBE9AE76082A@jhj.com> Message-ID: <1425802134673-4689872.post@n4.nabble.com> Hi Jerry, modTableField has the same performance as a similar field (i.e. tabbed date, vScroll on) without "mod". The performance of live resizing in LC 7.x.x is less than stellar for a field with more than about 1000 lines. The overhead of resizeControl in modTableField is negligible. Until LC 7.x.x speeds up rendering of text field for larger amount of data during live resizing I resorted to a trick. When resizing I only leave only 100 lines of data in the field and then live resizing is quite good. After resizing is done I put the original amount of data back into the field. I have put up a stack with a sample modTableField that has 5000 lines of data that demonstrates this. ----------------------------- http://berndniggemann.on-rev.com/resizestack/ResizeStackMTF3.livecode.zip ----------------------------- Of course this is a hack but I figure since resizing a stack is not done very often the improved performance will compensate for some pecularities. But sort order is preserved and selectedLine restored after resizing. I think this is better than not being able to live resize the stack at all. the resizeStack script is in the card script. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Text-Field-in-LC-7-tp4689761p4689872.html Sent from the Revolution - User mailing list archive at Nabble.com. From peter.brett at livecode.com Sun Mar 8 04:43:17 2015 From: peter.brett at livecode.com (Peter TB Brett) Date: Sun, 08 Mar 2015 08:43:17 +0000 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <54FB2849.9080309@fourthworld.com> References: <54FB2849.9080309@fourthworld.com> Message-ID: <884ab197f6313bf44126d936f992fc75@livecode.com> On 2015-03-07 16:33, Richard Gaskin wrote: > Mark Wieder wrote: > >> And now that I'm looking at it again, I don't think that's the proper >> format for the url command. It should be >> >> put url "file:///sys/class/power_supply/BAT0/status" into tStatus > > Oddly, I find that LC's file I/O routines don't work with *NIX virtual > file system elements. I can use cat in shell to get those values, but > neither LC's open/read/close nor get url options for work me. Ouch. Please file a bug report - I think this is something we need to look into. Thanks! Peter -- Dr Peter Brett LiveCode Engine Development Team From bdrunrev at gmail.com Sun Mar 8 05:32:51 2015 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sun, 8 Mar 2015 09:32:51 +0000 Subject: is image 2 in image 1? Message-ID: Is it possible to do this in livecode? It would seem obvious to my naive mind, that since we have the imagedata, and if image 2 is a crop of image 1, then we ought to be able to find out if image 1 contains image 2. Or am I insanely optimistic? Regards, Bernard From dave at applicationinsight.com Sun Mar 8 05:41:35 2015 From: dave at applicationinsight.com (Dave Kilroy) Date: Sun, 8 Mar 2015 01:41:35 -0800 (PST) Subject: RunRev 2015 In-Reply-To: References: <60BF16F5-D227-45AF-87DD-95AD3BEC18A5@gmail.com> <1425754711264-4689827.post@n4.nabble.com> <54FB579B.10206@hyperactivesw.com> <181179567957.20150307123334@ahsoftware.net> <54FB6E58.9010706@hyperactivesw.com> <54FB7412.4000802@fourthworld.com> Message-ID: <1425807695826-4689875.post@n4.nabble.com> I also really enjoy the conferences and recommend any and all to attend if they possibly can - very useful technically and very enjoyable - and I could (kinda) make a case that it is useful professionally! But Jo if you're listening I would like it this side of the Atlantic this year please... ----- "The difference between genius and stupidity is; genius has its limits." - Albert Einstein -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RunRev-2015-tp4689795p4689875.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Sun Mar 8 10:23:37 2015 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 08 Mar 2015 15:23:37 +0100 Subject: is image 2 in image 1? In-Reply-To: References: Message-ID: <54FC5B69.7000808@economy-x-talk.com> Hi Bernard, If you use the select tool to copy a part of an image object to the clipboard, the data get converted to PNG by default. When you paste the image from the clipboard, the image is converted back to image data. Usually, a few bits change here and there and the imagedata in the new data is not equal to the imagedata of the copied part of the original image. If you duplicate an image and control-drag the handles of the image object to crop it or use the crop command, you will get a new image with imagedata that were never converted. The imagedata of this new image are indeed equal to the imagedata of the corresponding part of the original image. So, your optimism is justified. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/8/2015 10:32, Bernard Devlin wrote: > Is it possible to do this in livecode? > > It would seem obvious to my naive mind, that since we have the imagedata, > and if image 2 is a crop of image 1, then we ought to be able to find out > if image 1 contains image 2. > > Or am I insanely optimistic? > > Regards, > Bernard From bonnmike at gmail.com Sun Mar 8 11:27:24 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 8 Mar 2015 09:27:24 -0600 Subject: Data Grid graphics & buttons In-Reply-To: <4BC19FE0-02CE-4D21-AAAF-D08B73C92065@pacifier.com> References: <4BC19FE0-02CE-4D21-AAAF-D08B73C92065@pacifier.com> Message-ID: Look here: http://lessons.runrev.com/m/datagrid/l/7311-how-do-i-customize-a-table-s-columns On Sat, Mar 7, 2015 at 10:54 PM, JB wrote: > Is there a way to set a graphic or button in > a data grid table column using a script? > > So if I want line 12 of column name to be > a graphic can I change the behavior like > I can with Haken?s script that modifies the > number format and instead of displaying a > different value for the number display either > a graphic or button instead? > > John Balgenorth > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From hyperchris at aol.com Sun Mar 8 13:16:06 2015 From: hyperchris at aol.com (hyperchris at aol.com) Date: Sun, 8 Mar 2015 13:16:06 -0400 Subject: "Unconference" in NYC 3/2-12 ??? Message-ID: <14bfa62fed6-528a-d75f@webprd-a53.mail.aol.com> Did anyone on the list attend? Care to report? Thank you. LiveCode Unconference The whole series concludes with a special LiveCode ?Unconference? with a keynote by Kevin Miller, and a day of talks by you, the users. There are rumours there could be an LC8 related announcement, with demo?s of the new Widgets technology. If you can only make one session, this is the one you don?t want to miss. Did we mention it was completely free? Come and join in the LiveCode Lovefest :). Throughout the month there will be free live training, open to all at a range of venues in the city. Todd Fabacher will be leading some of the sessions, and he invites you to join him: ?Anyone, regardless of age, gender, location or socio-economic class can learn to create an app. We spend most of our time using technologies, browsing, texting and gaming ? so there is no better time than NOW to learn how to do it yourself.? http://livecode.com/nyc/ From mikedoub at gmail.com Sun Mar 8 15:07:40 2015 From: mikedoub at gmail.com (Michael Doub) Date: Sun, 08 Mar 2015 15:07:40 -0400 Subject: [ANN] Rel 33 of MasterLibrary is available Message-ID: <54FC9DFC.7070902@gmail.com> Release 33 * By popular demand all of the double quotes have been removed from handler names and functions. * added displayHex, displayBinary, displayDump, FormatNumber * updated caseSwitch, added PowerSource * stripDupLines, removeDupLines (regexp implementations!) * There is now an even faster parser! Thierry Douez implemented a new parser in a very concise finite state machine. https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 From coiin at verizon.net Sun Mar 8 15:11:05 2015 From: coiin at verizon.net (Colin Holgate) Date: Sun, 8 Mar 2015 15:11:05 -0400 Subject: "Unconference" in NYC 3/2-12 ??? In-Reply-To: <14bfa62fed6-528a-d75f@webprd-a53.mail.aol.com> References: <14bfa62fed6-528a-d75f@webprd-a53.mail.aol.com> Message-ID: <135ED086-8D46-4021-AD1F-9C585A9FCC7F@verizon.net> I?m not going to the little workshop events, but the actual unconference day is Thursday, and a few of us here will attend that one. > On Mar 8, 2015, at 1:16 PM, hyperchris at aol.com wrote: > > >Did anyone on the list attend? Care to report? Thank you. > From mwieder at ahsoftware.net Sun Mar 8 15:15:37 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 8 Mar 2015 12:15:37 -0700 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <884ab197f6313bf44126d936f992fc75@livecode.com> References: <54FB2849.9080309@fourthworld.com> <884ab197f6313bf44126d936f992fc75@livecode.com> Message-ID: <1951261302512.20150308121537@ahsoftware.net> Peter- Sunday, March 8, 2015, 1:43:17 AM, you wrote: >> Oddly, I find that LC's file I/O routines don't work with *NIX virtual >> file system elements. I can use cat in shell to get those values, but >> neither LC's open/read/close nor get url options for work me. > Ouch. Please file a bug report - I think this is something we need to > look into. Thanks! I find that the open/read/close functions work fine when slicing through the symbolic links, but if the link is the target then it's not recognized. Richard - if you file a bug report I'll add my results to it. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From prothero at earthednet.org Sun Mar 8 15:48:30 2015 From: prothero at earthednet.org (William Prothero) Date: Sun, 8 Mar 2015 12:48:30 -0700 Subject: [ANN] Rel 33 of MasterLibrary is available In-Reply-To: <54FC9DFC.7070902@gmail.com> References: <54FC9DFC.7070902@gmail.com> Message-ID: <9BB72A85-35A3-4C21-92B2-D02C60AEDB61@earthednet.org> Michael: This is a wonderful assortment of handlers and functions. I may have missed some of the intentions for the library. Is this also a personal handler management library also? Do we add our own commonly used handlers? Are these ultimately incorporated into the library, which I imagine would require some kind of vetting?? Or is this a personal ?starter library? where we have a lot of great stuff, then add our own? If we add our own handlers, what happens to our personal code when you generously offer another update? Best, Bill > On Mar 8, 2015, at 12:07 PM, Michael Doub wrote: > > Release 33 > * By popular demand all of the double quotes have been removed from handler names and functions. > * added displayHex, displayBinary, displayDump, FormatNumber > * updated caseSwitch, added PowerSource > * stripDupLines, removeDupLines (regexp implementations!) > * There is now an even faster parser! Thierry Douez implemented a new parser in a very concise > finite state machine. > > https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sc at sahores-conseil.com Sun Mar 8 16:17:39 2015 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sun, 8 Mar 2015 21:17:39 +0100 Subject: Beyond PowerStatus: Concurrency options In-Reply-To: <54FB66CD.6020008@fourthworld.com> References: <54FB66CD.6020008@fourthworld.com> Message-ID: <76424701-9A40-47D3-B460-72576F486FBE@sahores-conseil.com> Well done Mike ! Two other possible ways in mind : 1.- home made : i7 8 logical cores under windows : -> 1 core runs an LC controller app in client mode and dispatch tasks to : -> 7 cores running an LC functional server accepting sockets connections on port xxx 2.- Runrev?s doable : implementation?s of the Scala?s actors model (AKKA, etc?) in LC 8.xx Pierre ;D > Le 7 mars 2015 ? 21:59, Richard Gaskin a ?crit : > > Nicely done, Mike. > > Using Apache for this is a good solution - it's already set up to herd workers in a way with CGI, and it handles the forking so we don't have to. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > Mike Bonner wrote: > >> The last thing I did this way was more like a seti online type of work >> load. >> My web server is on the same machine as my LC in this case, so I had lc >> create individual data files for the web server to go through, used the >> load command to tell the web server which file it was, and turned it loose >> with a "with message.." so that when the web server returned results, a >> message to handle the results would fire. >> >> In this way, the web server handles most of the load, spawns threads and lc >> server instances (could be php, perl, whatever) and my app continues on its >> merry way, offloading another chunk. >> >> So, yes I used files to make some of it easier, and the web server handed >> the results back directly on completion. I could have gone an entirely >> file based method, where the results were dropped into files by the web >> server, then re-assembled after completion. >> >> Queue order in this specific case didn't matter. Each chunk was designated >> a job number, and the results were then shoved back together in the same >> order. >> >> For the example here, race conditions did not apply. >> >> All the webserver method does is use apache, rather than spawning worker >> processes, but the end result is the same, but the threading capability is >> already set up. All one must do is write the code to do the actual >> processing, and return the result. This is what I would like to see built >> in to lc. >> >> Another thought just occurred to me. Perhaps it could be made stack >> based.. go to stack "whatever" as new thread. (with the option for >> invisible, etc still available) that way, all the scripts of a stack could >> be accessible. So, if you had a stack that you were using for a progress >> bar, you could easily modify the behavior of the bar. I think the current >> answer to this is to spawn a worker process and full blown socket >> communications. Instead you could just dispatch "whateverMessage" to stack >> "mystack" in thread. >> >> No clue if there is anything useful here, its not very well thought out >> yet. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From dunbarx at aol.com Sun Mar 8 16:25:00 2015 From: dunbarx at aol.com (dunbarx) Date: Sun, 8 Mar 2015 13:25:00 -0700 (PDT) Subject: "Unconference" in NYC 3/2-12 ??? In-Reply-To: <135ED086-8D46-4021-AD1F-9C585A9FCC7F@verizon.net> References: <14bfa62fed6-528a-d75f@webprd-a53.mail.aol.com> <135ED086-8D46-4021-AD1F-9C585A9FCC7F@verizon.net> Message-ID: <1425846300549-4689884.post@n4.nabble.com> I will be there Thursday. Most of the old NY HC user group will be as well. I have a demo. Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Unconference-in-NYC-3-2-12-tp4689878p4689884.html Sent from the Revolution - User mailing list archive at Nabble.com. From mikedoub at gmail.com Sun Mar 8 16:57:31 2015 From: mikedoub at gmail.com (Mike Doub) Date: Sun, 8 Mar 2015 16:57:31 -0400 Subject: [ANN] Rel 33 of MasterLibrary is available In-Reply-To: <9BB72A85-35A3-4C21-92B2-D02C60AEDB61@earthednet.org> References: <54FC9DFC.7070902@gmail.com> <9BB72A85-35A3-4C21-92B2-D02C60AEDB61@earthednet.org> Message-ID: You are cirtainly welcome to add your own functions and handlers. It is best to add them at the bottom of script of btn "Lib". The meta data needed is very straight forward. You will have to cut and paste your routines into any new version, but that is pretty easy. Or just send me any routine that you want to add to the collection. I will add in the extra meta data and do some light testing of each routine, then will make an update. There really is no formal vetting process and I am happy to do it. I read the list all the time and try and capture routines that people post, add a little documentation. Folks on the list have been so helpful to me over the years. This my small way of trying to give back and help the new folks get started with some interesting routines. But to be honest, I have learned a lot by just by reading the code. Regards, Mike On Sunday, March 8, 2015, William Prothero wrote: > Michael: > This is a wonderful assortment of handlers and functions. I may have > missed some of the intentions for the library. Is this also a personal > handler management library also? Do we add our own commonly used handlers? > Are these ultimately incorporated into the library, which I imagine would > require some kind of vetting?? Or is this a personal ?starter library? > where we have a lot of great stuff, then add our own? If we add our own > handlers, what happens to our personal code when you generously offer > another update? > > Best, > Bill > > > On Mar 8, 2015, at 12:07 PM, Michael Doub > wrote: > > > > Release 33 > > * By popular demand all of the double quotes have been removed from > handler names and functions. > > * added displayHex, displayBinary, displayDump, FormatNumber > > * updated caseSwitch, added PowerSource > > * stripDupLines, removeDupLines (regexp implementations!) > > * There is now an even faster parser! Thierry Douez implemented a new > parser in a very concise > > finite state machine. > > > > https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sun Mar 8 18:28:17 2015 From: pete at lcsql.com (Peter Haworth) Date: Sun, 08 Mar 2015 22:28:17 +0000 Subject: RunRev 2015 In-Reply-To: <54FB7412.4000802@fourthworld.com> References: <54FB6E58.9010706@hyperactivesw.com> <54FB7412.4000802@fourthworld.com> Message-ID: I'd echo all the other posts about the conference. My first one last year and it was great to meet some of the folks I see on the list every day, with the added benefit that a lot of them are customers. My only regret was that I had a pretty tight schedule due to other commitments so was not able to attend the evening frolics which I plan to correct next time around. On Sat, Mar 7, 2015 at 1:56 PM Richard Gaskin wrote: > J. Landman Gay wrote: > > It is so great to hang out with like-minded people, I never have as much > > fun as I do there. You just can't have conversations like those with > > anyone else, your other friends will look at you like you're nuts. > > +1 > > The only thing I could add is that in addition to finally meeting in > person so many people I've come to know here like Ralph DiMola and Peter > Haworth, I also got a chance to meet people I'd never even corresponded > with before, like Lloyd Rieber and Wayne Vovil. Great people doing very > interesting work with LiveCode. > > Speaking of Lloyd, if you haven't read his blog it's well worth it - he > posts fairly regularly, with good tips, code snippets, and examples: > > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sun Mar 8 18:32:23 2015 From: pete at lcsql.com (Peter Haworth) Date: Sun, 08 Mar 2015 22:32:23 +0000 Subject: Text Field in LC 7 In-Reply-To: <1425802134673-4689872.post@n4.nabble.com> References: <54FA7380.1060608@fourthworld.com> <54FB21E6.3040000@fourthworld.com> <54FB2B50.6010609@fourthworld.com> <54FB5407.3020908@hyperactivesw.com> <54FB6621.2030508@fourthworld.com> <6E2E442D-7554-4E21-B7F1-CBE9AE76082A@jhj.com> <1425802134673-4689872.post@n4.nabble.com> Message-ID: Very clever Bernd, I like it! I tried it with v6 and v7 and the v7 improvement is great. I still see a little stutter compared to v6 but's hardly noticeable and certainly way better than before this tweak. On Sun, Mar 8, 2015 at 12:18 AM BNig wrote: > Hi Jerry, > > modTableField has the same performance as a similar field (i.e. tabbed > date, > vScroll on) without "mod". > > The performance of live resizing in LC 7.x.x is less than stellar for a > field with more than about 1000 lines. > > The overhead of resizeControl in modTableField is negligible. > > Until LC 7.x.x speeds up rendering of text field for larger amount of data > during live resizing I resorted to a trick. > When resizing I only leave only 100 lines of data in the field and then > live > resizing is quite good. After resizing is done I put the original amount of > data back into the field. > > I have put up a stack with a sample modTableField that has 5000 lines of > data that demonstrates this. > > ----------------------------- > http://berndniggemann.on-rev.com/resizestack/ResizeStackMTF3.livecode.zip > ----------------------------- > > Of course this is a hack but I figure since resizing a stack is not done > very often the improved performance will compensate for some pecularities. > > But sort order is preserved and selectedLine restored after resizing. > > I think this is better than not being able to live resize the stack at all. > > the resizeStack script is in the card script. > > > > Kind regards > > Bernd > > > > -- > View this message in context: http://runtime-revolution. > 278305.n4.nabble.com/Text-Field-in-LC-7-tp4689761p4689872.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sun Mar 8 18:32:23 2015 From: pete at lcsql.com (Peter Haworth) Date: Sun, 08 Mar 2015 22:32:23 +0000 Subject: Text Field in LC 7 In-Reply-To: <1425802134673-4689872.post@n4.nabble.com> References: <54FA7380.1060608@fourthworld.com> <54FB21E6.3040000@fourthworld.com> <54FB2B50.6010609@fourthworld.com> <54FB5407.3020908@hyperactivesw.com> <54FB6621.2030508@fourthworld.com> <6E2E442D-7554-4E21-B7F1-CBE9AE76082A@jhj.com> <1425802134673-4689872.post@n4.nabble.com> Message-ID: Very clever Bernd, I like it! I tried it with v6 and v7 and the v7 improvement is great. I still see a little stutter compared to v6 but's hardly noticeable and certainly way better than before this tweak. On Sun, Mar 8, 2015 at 12:18 AM BNig wrote: > Hi Jerry, > > modTableField has the same performance as a similar field (i.e. tabbed > date, > vScroll on) without "mod". > > The performance of live resizing in LC 7.x.x is less than stellar for a > field with more than about 1000 lines. > > The overhead of resizeControl in modTableField is negligible. > > Until LC 7.x.x speeds up rendering of text field for larger amount of data > during live resizing I resorted to a trick. > When resizing I only leave only 100 lines of data in the field and then > live > resizing is quite good. After resizing is done I put the original amount of > data back into the field. > > I have put up a stack with a sample modTableField that has 5000 lines of > data that demonstrates this. > > ----------------------------- > http://berndniggemann.on-rev.com/resizestack/ResizeStackMTF3.livecode.zip > ----------------------------- > > Of course this is a hack but I figure since resizing a stack is not done > very often the improved performance will compensate for some pecularities. > > But sort order is preserved and selectedLine restored after resizing. > > I think this is better than not being able to live resize the stack at all. > > the resizeStack script is in the card script. > > > > Kind regards > > Bernd > > > > -- > View this message in context: http://runtime-revolution. > 278305.n4.nabble.com/Text-Field-in-LC-7-tp4689761p4689872.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Sun Mar 8 21:53:43 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 8 Mar 2015 18:53:43 -0700 Subject: Beyond PowerStatus: Concurrency options In-Reply-To: <76424701-9A40-47D3-B460-72576F486FBE@sahores-conseil.com> References: <54FB66CD.6020008@fourthworld.com> <76424701-9A40-47D3-B460-72576F486FBE@sahores-conseil.com> Message-ID: On Sun, Mar 8, 2015 at 1:17 PM, Pierre Sahores wrote: > 1.- home made : i7 8 logical cores under windows : > Not that promising--remember when intel's virtual cores (or whatever they're called) came out? We all got excited about what sounded like a great idea, but it never met it promise. The only time it really seems to beat not using it is when one virtual core uses the FP, and the other integer--which is certainly not the case when you're running several of the same thing. In almost all (or is it all?) real world cases, a 4 core i7 will do as well as or better with the virtual cores off. -> 1 core runs an LC controller app in client mode and dispatch tasks to : > -> 7 cores running an LC functional server accepting sockets connections > on port xxx > Unless you're CPU intensive, constantly fully loaded (which is a real issue for some), the OS and processor is going to do a better job at worrying about how many jobs to run simultaneously than either you or livecode will. Just queue 'em up, and let it happen. My big concern is that *some* level of concurrency exist. Heck, I'd settle for ssl or postgres being done correctly :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From stephenREVOLUTION2 at barncard.com Sun Mar 8 22:10:01 2015 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 8 Mar 2015 19:10:01 -0700 Subject: Beyond PowerStatus: Concurrency options In-Reply-To: References: <54FB66CD.6020008@fourthworld.com> <76424701-9A40-47D3-B460-72576F486FBE@sahores-conseil.com> Message-ID: On Sun, Mar 8, 2015 at 6:53 PM, Dr. Hawkins wrote: > Not that promising--remember when intel's virtual cores (or whatever > they're called) came out? We all got excited about what sounded like a > great idea, but it never met it promise. > Only recently for us Pro Tools users. -- Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words From prothero at earthednet.org Sun Mar 8 22:43:50 2015 From: prothero at earthednet.org (William Prothero) Date: Sun, 8 Mar 2015 19:43:50 -0700 Subject: [ANN] Rel 33 of MasterLibrary is available In-Reply-To: References: <54FC9DFC.7070902@gmail.com> <9BB72A85-35A3-4C21-92B2-D02C60AEDB61@earthednet.org> Message-ID: <96328B84-3377-4E33-A7D4-A8543D9D5E23@earthednet.org> Mike: I do similar saving of code snippets that I think might be useful to me in the future. But you?ve done a marvelous job of standardizing and collecting them. I also note you have a test routine for each handler. This is a great thing to have as well. Best, Bill > On Mar 8, 2015, at 1:57 PM, Mike Doub wrote: > > You are cirtainly welcome to add your own functions and handlers. It is > best to add them at the bottom of script of btn "Lib". The meta data > needed is very straight forward. You will have to cut and paste your > routines into any new version, but that is pretty easy. > > Or just send me any routine that you want to add to the collection. I will > add in the extra meta data and do some light testing of each routine, then > will make an update. There really is no formal vetting process and I am > happy to do it. > > I read the list all the time and try and capture routines that people post, > add a little documentation. Folks on the list have been so helpful to me > over the years. This my small way of trying to give back and help the new > folks get started with some interesting routines. But to be honest, I have > learned a lot by just by reading the code. > > Regards, > Mike > > > On Sunday, March 8, 2015, William Prothero wrote: > >> Michael: >> This is a wonderful assortment of handlers and functions. I may have >> missed some of the intentions for the library. Is this also a personal >> handler management library also? Do we add our own commonly used handlers? >> Are these ultimately incorporated into the library, which I imagine would >> require some kind of vetting?? Or is this a personal ?starter library? >> where we have a lot of great stuff, then add our own? If we add our own >> handlers, what happens to our personal code when you generously offer >> another update? >> >> Best, >> Bill >> >>> On Mar 8, 2015, at 12:07 PM, Michael Doub > > wrote: >>> >>> Release 33 >>> * By popular demand all of the double quotes have been removed from >> handler names and functions. >>> * added displayHex, displayBinary, displayDump, FormatNumber >>> * updated caseSwitch, added PowerSource >>> * stripDupLines, removeDupLines (regexp implementations!) >>> * There is now an even faster parser! Thierry Douez implemented a new >> parser in a very concise >>> finite state machine. >>> >>> https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Sun Mar 8 23:34:16 2015 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 8 Mar 2015 23:34:16 -0400 Subject: Mobile app templates? Message-ID: Are there any template apps available? (free or paid) So far what I've seen are construction kits or graphics packages. I'm wondering if anyone has made a "splash screen with main app page with nav elements leading to other pages" app, or other variant of that? I'm thinking about how, if I want to produce a Mac/PC/Linux app, I can create a splash screen, paste some graphics into it, or put in a styled text field, and build a "splash screen plus one screen" app in about fifteen minutes, while nothing even remotely that quick seems possible on mobile. Or am I barking up the wrong tree here? From sundown at pacifier.com Sun Mar 8 23:39:30 2015 From: sundown at pacifier.com (JB) Date: Sun, 8 Mar 2015 20:39:30 -0700 Subject: Data Grid graphics & buttons In-Reply-To: References: <4BC19FE0-02CE-4D21-AAAF-D08B73C92065@pacifier.com> Message-ID: <99B33E4C-D866-4B45-9667-EA0B3838CF2C@pacifier.com> Thanks for the link, Mike! John Balgenorth On Mar 8, 2015, at 8:27 AM, Mike Bonner wrote: > Look here: > http://lessons.runrev.com/m/datagrid/l/7311-how-do-i-customize-a-table-s-columns > > > On Sat, Mar 7, 2015 at 10:54 PM, JB wrote: > >> Is there a way to set a graphic or button in >> a data grid table column using a script? >> >> So if I want line 12 of column name to be >> a graphic can I change the behavior like >> I can with Haken?s script that modifies the >> number format and instead of displaying a >> different value for the number display either >> a graphic or button instead? >> >> John Balgenorth >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sc at sahores-conseil.com Mon Mar 9 00:27:43 2015 From: sc at sahores-conseil.com (Pierre Sahores) Date: Mon, 9 Mar 2015 05:27:43 +0100 Subject: Beyond PowerStatus: Concurrency options In-Reply-To: References: <54FB66CD.6020008@fourthworld.com> <76424701-9A40-47D3-B460-72576F486FBE@sahores-conseil.com> Message-ID: <1EA44E79-40A4-467B-A4B7-A36E397CE742@sahores-conseil.com> Why not clients to an LC server gateway in SSL mode and LC to PostgreSQL in localhost mode ? > Le 9 mars 2015 ? 02:53, Dr. Hawkins a ?crit : > > Heck, I'd settle > for ssl or postgres being done correctly :) -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From sundown at pacifier.com Mon Mar 9 02:06:19 2015 From: sundown at pacifier.com (JB) Date: Sun, 8 Mar 2015 23:06:19 -0700 Subject: Data Grid graphics & buttons In-Reply-To: <99B33E4C-D866-4B45-9667-EA0B3838CF2C@pacifier.com> References: <4BC19FE0-02CE-4D21-AAAF-D08B73C92065@pacifier.com> <99B33E4C-D866-4B45-9667-EA0B3838CF2C@pacifier.com> Message-ID: <81582A08-A824-4D39-94A2-F3D2DE794FE3@pacifier.com> After going to the link I see that is the same on Dave gave me. I appreciate both of you providing me the link and it appears to be the only way to go. My problem with the link is when it says in this example he has added 3 controls already. Sometimes I can be really dumb and not see what is right in front of me. I pulled the same controls on the template I was editing which I chose twice to edit it like it said but I could not get the controls positioned in the Row Template Background like it shows his are. Mine were placed at the bottom and I could not figure out how to move them up. Maybe I need to leant the Forms example first. Is that required to work on tables or am I just doing something really stupid? John Balgenorth On Mar 8, 2015, at 8:39 PM, JB wrote: > Thanks for the link, Mike! > > John Balgenorth > > > On Mar 8, 2015, at 8:27 AM, Mike Bonner wrote: > >> Look here: >> http://lessons.runrev.com/m/datagrid/l/7311-how-do-i-customize-a-table-s-columns >> >> >> On Sat, Mar 7, 2015 at 10:54 PM, JB wrote: >> >>> Is there a way to set a graphic or button in >>> a data grid table column using a script? >>> >>> So if I want line 12 of column name to be >>> a graphic can I change the behavior like >>> I can with Haken?s script that modifies the >>> number format and instead of displaying a >>> different value for the number display either >>> a graphic or button instead? >>> >>> John Balgenorth >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Mon Mar 9 04:32:32 2015 From: sundown at pacifier.com (JB) Date: Mon, 9 Mar 2015 01:32:32 -0700 Subject: Data Grid sort direction Message-ID: The lessons show the following script to sort a column, set the dgProps["sort by column"] of group "DataGrid" to ?Name" This will select the Header column Name and place the sort arrow in the ascending position. Is there a way to select descending using a script? John Balgenorth From t.heaford at icloud.com Mon Mar 9 05:10:48 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Mon, 09 Mar 2015 09:10:48 +0000 Subject: Data Grid sort direction In-Reply-To: References: Message-ID: > On 9 Mar 2015, at 08:32, JB wrote: > > The lessons show the following script to sort a column, > > set the dgProps["sort by column"] of group "DataGrid" to ?Name" > > This will select the Header column Name and place the sort arrow > in the ascending position. > > Is there a way to select descending using a script? > > John Balgenorth > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Do you have the PDF, I think it is an easier read than the lessons. I have posted it here. https://dl.dropboxusercontent.com/u/98788898/LiveCode/LiveCode_Data_Grid.pdf Search for sort and you will see some examples. All the best Terry From t.heaford at icloud.com Mon Mar 9 05:16:30 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Mon, 09 Mar 2015 09:16:30 +0000 Subject: Data Grid sort direction In-Reply-To: References: Message-ID: <612FF3DC-C0FC-40D9-9877-1A9BE28B2405@icloud.com> And specifically. dgColumnSortDirection [COLUMN] - Get/set the direction of the sort for the column. Valid values are 'ascending' or 'descending?. All the best Terry > On 9 Mar 2015, at 08:32, JB wrote: > > Is there a way to select descending using a script? From rjb at robelko.com Mon Mar 9 05:03:19 2015 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 9 Mar 2015 10:03:19 +0100 Subject: MasterLibrary Naming In-Reply-To: <54FB3E20.1050506@gmail.com> References: <54FB3E20.1050506@gmail.com> Message-ID: 1) IMHO underscores are good for internal functions but not good for public functions of a library. A common prefix for public function is good since it is clear which library is called. 2) I actually like get in function names and see no issue when combining these with put. Put handles the result of get. Get tells me what function does. On 07.03.2015 at 13:06 Uhr -0500 Michael Doub apparently wrote: >I wanted to start a separate thread so I can track the results. >Elsewhere there was a discussion about the use of double underscore >in the names. So I would like feedback: > >1) should I remove the double underscores from the function and >handlers names? > >and > >2) should I remove the "get" from function names? > >Please reply with your opinion and I will follow the majority. A >simple "yes,yes" will work. I will assume the order is 1,2 > >Regards, > Mike From sundown at pacifier.com Mon Mar 9 05:26:21 2015 From: sundown at pacifier.com (JB) Date: Mon, 9 Mar 2015 02:26:21 -0700 Subject: Data Grid sort direction In-Reply-To: <612FF3DC-C0FC-40D9-9877-1A9BE28B2405@icloud.com> References: <612FF3DC-C0FC-40D9-9877-1A9BE28B2405@icloud.com> Message-ID: <133E6B19-89ED-4E8A-9C09-220BAA6E983D@pacifier.com> Thank you for the info and link, Terry! I did not have the PDF. Tha will solve a lot of problems and make it easier. John Balgenorth On Mar 9, 2015, at 2:16 AM, Terence Heaford wrote: > And specifically. > > dgColumnSortDirection [COLUMN] > > - Get/set the direction of the sort for the column. Valid values are 'ascending' or 'descending?. > > All the best > > Terry > > > > > >> On 9 Mar 2015, at 08:32, JB wrote: >> >> Is there a way to select descending using a script? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Mon Mar 9 05:53:22 2015 From: sundown at pacifier.com (JB) Date: Mon, 9 Mar 2015 02:53:22 -0700 Subject: Data Grid sort direction In-Reply-To: <133E6B19-89ED-4E8A-9C09-220BAA6E983D@pacifier.com> References: <612FF3DC-C0FC-40D9-9877-1A9BE28B2405@icloud.com> <133E6B19-89ED-4E8A-9C09-220BAA6E983D@pacifier.com> Message-ID: I just downloaded the PDF and read it. The PDF is excellent! The info at the end answered many questions and showed me ways to handle things I wanted to do in differently using the dgProps & setting them using a script. I now see how to use hidden columns, when to set persistent data as false, how to set the sort direction and a whole bunch more. It opened a lot of doors. Thank you again! John Balgenorth On Mar 9, 2015, at 2:26 AM, JB wrote: > Thank you for the info and link, Terry! > > I did not have the PDF. Tha will solve > a lot of problems and make it easier. > > John Balgenorth > > > On Mar 9, 2015, at 2:16 AM, Terence Heaford wrote: > >> And specifically. >> >> dgColumnSortDirection [COLUMN] >> >> - Get/set the direction of the sort for the column. Valid values are 'ascending' or 'descending?. >> >> All the best >> >> Terry >> >> >> >> >> >>> On 9 Mar 2015, at 08:32, JB wrote: >>> >>> Is there a way to select descending using a script? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Mon Mar 9 11:10:21 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 9 Mar 2015 09:10:21 -0600 Subject: Data Grid graphics & buttons In-Reply-To: <81582A08-A824-4D39-94A2-F3D2DE794FE3@pacifier.com> References: <4BC19FE0-02CE-4D21-AAAF-D08B73C92065@pacifier.com> <99B33E4C-D866-4B45-9667-EA0B3838CF2C@pacifier.com> <81582A08-A824-4D39-94A2-F3D2DE794FE3@pacifier.com> Message-ID: I saw notice the same thing. In this case, the example actually means to do the same thing 3 times for 3 columns. (I think) So go through it once, add your button. If you want an either/or situation, add your button and field (or whatever 2 controls you want to choose from) then use the behavior script to show/hide based on whatever criteria you need. Basically, its a) create your columns, then create a custom column template for whatever column, edit the template to have the controls you want (if I can find it, I think there is an example of setting up a checkbox in a column somewhere) then edit the behavior script as needed to provide your functionality. Do the same for each column you need to customize. Headed out for a road trip to help a friend. Good luck! On Mon, Mar 9, 2015 at 12:06 AM, JB wrote: > After going to the link I see that is the > same on Dave gave me. I appreciate > both of you providing me the link and > it appears to be the only way to go. > > My problem with the link is when it says > in this example he has added 3 controls > already. Sometimes I can be really dumb > and not see what is right in front of me. I > pulled the same controls on the template > I was editing which I chose twice to edit it > like it said but I could not get the controls > positioned in the Row Template Background > like it shows his are. Mine were placed at > the bottom and I could not figure out how > to move them up. > > Maybe I need to leant the Forms example > first. Is that required to work on tables or > am I just doing something really stupid? > > John Balgenorth > > > On Mar 8, 2015, at 8:39 PM, JB wrote: > > > Thanks for the link, Mike! > > > > John Balgenorth > > > > > > On Mar 8, 2015, at 8:27 AM, Mike Bonner wrote: > > > >> Look here: > >> > http://lessons.runrev.com/m/datagrid/l/7311-how-do-i-customize-a-table-s-columns > >> > >> > >> On Sat, Mar 7, 2015 at 10:54 PM, JB wrote: > >> > >>> Is there a way to set a graphic or button in > >>> a data grid table column using a script? > >>> > >>> So if I want line 12 of column name to be > >>> a graphic can I change the behavior like > >>> I can with Haken?s script that modifies the > >>> number format and instead of displaying a > >>> different value for the number display either > >>> a graphic or button instead? > >>> > >>> John Balgenorth > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Mon Mar 9 11:37:07 2015 From: sundown at pacifier.com (JB) Date: Mon, 9 Mar 2015 08:37:07 -0700 Subject: Data Grid graphics & buttons In-Reply-To: References: <4BC19FE0-02CE-4D21-AAAF-D08B73C92065@pacifier.com> <99B33E4C-D866-4B45-9667-EA0B3838CF2C@pacifier.com> <81582A08-A824-4D39-94A2-F3D2DE794FE3@pacifier.com> Message-ID: Okay, I will do it. Good luck with the road trip helping out your friend. I know you won?t see this until your done but I thank you for taking the time to respond even though you were already busy. John Balgenorth On Mar 9, 2015, at 8:10 AM, Mike Bonner wrote: > I saw notice the same thing. In this case, the example actually means to do > the same thing 3 times for 3 columns. (I think) So go through it once, > add your button. If you want an either/or situation, add your button and > field (or whatever 2 controls you want to choose from) then use the > behavior script to show/hide based on whatever criteria you need. > > Basically, its a) create your columns, then create a custom column template > for whatever column, edit the template to have the controls you want (if I > can find it, I think there is an example of setting up a checkbox in a > column somewhere) then edit the behavior script as needed to provide your > functionality. Do the same for each column you need to customize. > > Headed out for a road trip to help a friend. Good luck! > > On Mon, Mar 9, 2015 at 12:06 AM, JB wrote: > >> After going to the link I see that is the >> same on Dave gave me. I appreciate >> both of you providing me the link and >> it appears to be the only way to go. >> >> My problem with the link is when it says >> in this example he has added 3 controls >> already. Sometimes I can be really dumb >> and not see what is right in front of me. I >> pulled the same controls on the template >> I was editing which I chose twice to edit it >> like it said but I could not get the controls >> positioned in the Row Template Background >> like it shows his are. Mine were placed at >> the bottom and I could not figure out how >> to move them up. >> >> Maybe I need to leant the Forms example >> first. Is that required to work on tables or >> am I just doing something really stupid? >> >> John Balgenorth >> >> >> On Mar 8, 2015, at 8:39 PM, JB wrote: >> >>> Thanks for the link, Mike! >>> >>> John Balgenorth >>> >>> >>> On Mar 8, 2015, at 8:27 AM, Mike Bonner wrote: >>> >>>> Look here: >>>> >> http://lessons.runrev.com/m/datagrid/l/7311-how-do-i-customize-a-table-s-columns >>>> >>>> >>>> On Sat, Mar 7, 2015 at 10:54 PM, JB wrote: >>>> >>>>> Is there a way to set a graphic or button in >>>>> a data grid table column using a script? >>>>> >>>>> So if I want line 12 of column name to be >>>>> a graphic can I change the behavior like >>>>> I can with Haken?s script that modifies the >>>>> number format and instead of displaying a >>>>> different value for the number display either >>>>> a graphic or button instead? >>>>> >>>>> John Balgenorth >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon Mar 9 13:44:54 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 9 Mar 2015 10:44:54 -0700 Subject: Beyond PowerStatus: Concurrency options In-Reply-To: <1EA44E79-40A4-467B-A4B7-A36E397CE742@sahores-conseil.com> References: <54FB66CD.6020008@fourthworld.com> <76424701-9A40-47D3-B460-72576F486FBE@sahores-conseil.com> <1EA44E79-40A4-467B-A4B7-A36E397CE742@sahores-conseil.com> Message-ID: On Sun, Mar 8, 2015 at 9:27 PM, Pierre Sahores wrote: > Why not clients to an LC server gateway in SSL mode and LC to PostgreSQL > in localhost mode ? > > >From the past few days of discussions, it does not appear that livecode can enforce only encrypted connections--once the socket is open, it will apparently read whatever is written to it, encrypted or not. If it would insist on encrypted connections only, that would certainly solve my issues with it, and I could run a happily asynchronous system. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From sc at sahores-conseil.com Mon Mar 9 14:32:24 2015 From: sc at sahores-conseil.com (Pierre Sahores) Date: Mon, 9 Mar 2015 19:32:24 +0100 Subject: Beyond PowerStatus: Concurrency options In-Reply-To: References: <54FB66CD.6020008@fourthworld.com> <76424701-9A40-47D3-B460-72576F486FBE@sahores-conseil.com> <1EA44E79-40A4-467B-A4B7-A36E397CE742@sahores-conseil.com> Message-ID: <17EAAB04-95A6-4BD5-8B2F-109664C785CA@sahores-conseil.com> > Le 9 mars 2015 ? 18:44, Dr. Hawkins a ?crit : > > On Sun, Mar 8, 2015 at 9:27 PM, Pierre Sahores > wrote: > >> Why not clients to an LC server gateway in SSL mode and LC to PostgreSQL >> in localhost mode ? >> >> > From the past few days of discussions, it does not appear that livecode can > enforce only encrypted connections--once the socket is open, it will > apparently read whatever is written to it, encrypted or not. > > If it would insist on encrypted connections only, that would certainly > solve my issues with it, and I could run a happily asynchronous system. I see? ?> Scala ?> PHP ?> Java I would choose Scala if i had to solve this my self. Have an eye on it : it?s a powerful functional programming language witch compile to the JVM and is able to handle connections to PostgreSQL via JDBC. > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From jacque at hyperactivesw.com Mon Mar 9 14:41:24 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Mar 2015 13:41:24 -0500 Subject: Mobile app templates? In-Reply-To: References: Message-ID: <54FDE954.6080605@hyperactivesw.com> On 3/8/2015 10:34 PM, Geoff Canyon wrote: > Are there any template apps available? (free or paid) So far what I've seen > are construction kits or graphics packages. I'm wondering if anyone has > made a "splash screen with main app page with nav elements leading to other > pages" app, or other variant of that? > > I'm thinking about how, if I want to produce a Mac/PC/Linux app, I can > create a splash screen, paste some graphics into it, or put in a styled > text field, and build a "splash screen plus one screen" app in about > fifteen minutes, while nothing even remotely that quick seems possible on > mobile. > > Or am I barking up the wrong tree here? I don't think there's much difference between the desktop method and mobile apps. You just compile the main stack for mobile instead of for desktop. The headaches aren't in the scripts so much as the mobile-specific requirements like getting provisioning from Apple, or signed keys for Android, or monkeying around with screen sizes and resolutions and app permissions, or butting up against store restrictions. I'm not sure there's a good way to provide a template for that sort of thing, it all depends on the app behavior and layout. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ray at linkit.com Mon Mar 9 14:58:42 2015 From: ray at linkit.com (Ray) Date: Mon, 09 Mar 2015 15:58:42 -0300 Subject: Toggling a Single Radio Button In-Reply-To: References: <5487386D.4080803@gmail.com> <54DABC1F.3000303@LinkIt.Com> <54DB5694.1080608@LinkIt.Com> Message-ID: <54FDED62.5000004@LinkIt.Com> Does anybody know how to toggle a single radio button so it behaves like a check box? That is, if it's highlighted when you click it the button becomes dehighlighted and vice versa? This does not work: on mouseUp if the hilite of me = true then set the hilite of me to false else set the hilite of me to true end mouseUp Any ideas for this simple task? From klaus at major-k.de Mon Mar 9 15:02:09 2015 From: klaus at major-k.de (Klaus major-k) Date: Mon, 9 Mar 2015 20:02:09 +0100 Subject: Toggling a Single Radio Button In-Reply-To: <54FDED62.5000004@LinkIt.Com> References: <5487386D.4080803@gmail.com> <54DABC1F.3000303@LinkIt.Com> <54DB5694.1080608@LinkIt.Com> <54FDED62.5000004@LinkIt.Com> Message-ID: Hi Ray, > Am 09.03.2015 um 19:58 schrieb Ray : > > Does anybody know how to toggle a single radio button so it behaves like a check box? That is, if it's highlighted when you click it the button becomes dehighlighted and vice versa? > This does not work: > on mouseUp > if the hilite of me = true then > set the hilite of me to false > else set the hilite of me to true > end mouseUp > > Any ideas for this simple task? yep :-) 1. UNCHECK "autohilite" for your lonesome radio button! 2. Now your script should work, or just use this one-liner: on mouseUp set the hilite of me to NOT (the hilite of me) end mouseUp :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From martyknappster at gmail.com Mon Mar 9 15:02:29 2015 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 09 Mar 2015 12:02:29 -0700 Subject: Toggling a Single Radio Button In-Reply-To: <54FDED62.5000004@LinkIt.Com> References: <5487386D.4080803@gmail.com> <54DABC1F.3000303@LinkIt.Com> <54DB5694.1080608@LinkIt.Com> <54FDED62.5000004@LinkIt.Com> Message-ID: <54FDEE45.10802@gmail.com> Ray, Turn off Auto-hilite in the property inspector and then it will work as you want. Marty K > on mouseUp > if the hilite of me = true then > set the hilite of me to false > else set the hilite of me to true > end mouseUp From scott at tactilemedia.com Mon Mar 9 16:05:02 2015 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 09 Mar 2015 12:05:02 -0800 Subject: Toggling a Single Radio Button In-Reply-To: <54FDED62.5000004@LinkIt.Com> References: <5487386D.4080803@gmail.com> <54DABC1F.3000303@LinkIt.Com> <54DB5694.1080608@LinkIt.Com> <54FDED62.5000004@LinkIt.Com> Message-ID: Disable the autoHilite of the radio. And you can also use this for the script: on mouseUp set the hilite of me to not the hilite of me end mouseUp Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/9/15, 10:58 AM, "Ray" wrote: >Does anybody know how to toggle a single radio button so it behaves like >a check box? That is, if it's highlighted when you click it the button >becomes dehighlighted and vice versa? > >This does not work: > >on mouseUp > if the hilite of me = true then > set the hilite of me to false > else set the hilite of me to true >end mouseUp > >Any ideas for this simple task? > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Mon Mar 9 16:06:38 2015 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 09 Mar 2015 12:06:38 -0800 Subject: Toggling a Single Radio Button In-Reply-To: References: <5487386D.4080803@gmail.com> <54DABC1F.3000303@LinkIt.Com> <54DB5694.1080608@LinkIt.Com> <54FDED62.5000004@LinkIt.Com> Message-ID: Once again, Klaus has answered the question before it was asked. :-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/9/15, 11:02 AM, "Klaus major-k" wrote: >Hi Ray, > >> Am 09.03.2015 um 19:58 schrieb Ray : >> >> Does anybody know how to toggle a single radio button so it behaves >>like a check box? That is, if it's highlighted when you click it the >>button becomes dehighlighted and vice versa? >> This does not work: >> on mouseUp >> if the hilite of me = true then >> set the hilite of me to false >> else set the hilite of me to true >> end mouseUp >> >> Any ideas for this simple task? > >yep :-) > >1. UNCHECK "autohilite" for your lonesome radio button! >2. Now your script should work, or just use this one-liner: > >on mouseUp > set the hilite of me to NOT (the hilite of me) >end mouseUp >:-) > > >Best > >Klaus > >-- >Klaus Major >http://www.major-k.de >klaus at major-k.de > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Mon Mar 9 15:12:08 2015 From: klaus at major-k.de (Klaus major-k) Date: Mon, 9 Mar 2015 20:12:08 +0100 Subject: Toggling a Single Radio Button In-Reply-To: References: <5487386D.4080803@gmail.com> <54DABC1F.3000303@LinkIt.Com> <54DB5694.1080608@LinkIt.Com> <54FDED62.5000004@LinkIt.Com> Message-ID: <8069191D-340C-4441-828C-B8AC4328DCBA@major-k.de> Hi Scott, > Am 09.03.2015 um 21:06 schrieb Scott Rossi : > Once again, Klaus has answered the question before it was asked. :-) Yo, and I even tested the "autohilite" thing to not answer something dumb! Do you want a copy of Jaque's You-will-know-knew-what stack? As you can see, it really works! :-D > Regards, > > Scott Rossi Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From jacque at hyperactivesw.com Mon Mar 9 15:20:36 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Mar 2015 14:20:36 -0500 Subject: Toggling a Single Radio Button In-Reply-To: <8069191D-340C-4441-828C-B8AC4328DCBA@major-k.de> References: <5487386D.4080803@gmail.com> <54DABC1F.3000303@LinkIt.Com> <54DB5694.1080608@LinkIt.Com> <54FDED62.5000004@LinkIt.Com> <8069191D-340C-4441-828C-B8AC4328DCBA@major-k.de> Message-ID: <54FDF284.9030306@hyperactivesw.com> On 3/9/2015 2:12 PM, Klaus major-k wrote: > Do you want a copy of Jaque's You-will-know-knew-what stack? > As you can see, it really works! :-D Give me back that remote controller, you thief! I knew I never should have put batteries in that thing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Mon Mar 9 15:30:07 2015 From: klaus at major-k.de (Klaus major-k) Date: Mon, 9 Mar 2015 20:30:07 +0100 Subject: Toggling a Single Radio Button In-Reply-To: <54FDF284.9030306@hyperactivesw.com> References: <5487386D.4080803@gmail.com> <54DABC1F.3000303@LinkIt.Com> <54DB5694.1080608@LinkIt.Com> <54FDED62.5000004@LinkIt.Com> <8069191D-340C-4441-828C-B8AC4328DCBA@major-k.de> <54FDF284.9030306@hyperactivesw.com> Message-ID: Hi Jaqueline, > Am 09.03.2015 um 20:20 schrieb J. Landman Gay : > > On 12/9/2017 12:12 AM, Klaus major-k wrote: >> Do you want a copy of Jaque's You-will-know-knew-what stack? >> As you can see, it really works! :-D > Give me back that remote controller, you thief! I knew I never should have put batteries in that thing. Que? 8-) I gave it back to you last year already! Or maybe I will have given it back to you in the past already! :-D Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From ebeugelaar at gmail.com Mon Mar 9 16:37:11 2015 From: ebeugelaar at gmail.com (Erik Beugelaar) Date: Mon, 9 Mar 2015 21:37:11 +0100 Subject: Mobile app templates? In-Reply-To: <54FDE954.6080605@hyperactivesw.com> References: <54FDE954.6080605@hyperactivesw.com> Message-ID: <006701d05aa8$d2d1e140$7875a3c0$@gmail.com> Hi Jac, "monkeying around with screen sizes and resolutions" should not be an issue anymore to think about nowadays to develop desktop, mobile or web applications. A lot of other visual programming environments have already deal with that kind of nonsense in my opinion. See for example www.wakanda.org That's why I am wondering why the mobile template at the LiveCode site isn't working out of the box. Kind regards, Erik -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: maandag 9 maart 2015 19:41 To: How to use LiveCode Subject: Re: Mobile app templates? On 3/8/2015 10:34 PM, Geoff Canyon wrote: > Are there any template apps available? (free or paid) So far what I've > seen are construction kits or graphics packages. I'm wondering if > anyone has made a "splash screen with main app page with nav elements > leading to other pages" app, or other variant of that? > > I'm thinking about how, if I want to produce a Mac/PC/Linux app, I can > create a splash screen, paste some graphics into it, or put in a > styled text field, and build a "splash screen plus one screen" app in > about fifteen minutes, while nothing even remotely that quick seems > possible on mobile. > > Or am I barking up the wrong tree here? I don't think there's much difference between the desktop method and mobile apps. You just compile the main stack for mobile instead of for desktop. The headaches aren't in the scripts so much as the mobile-specific requirements like getting provisioning from Apple, or signed keys for Android, or monkeying around with screen sizes and resolutions and app permissions, or butting up against store restrictions. I'm not sure there's a good way to provide a template for that sort of thing, it all depends on the app behavior and layout. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Mon Mar 9 16:45:03 2015 From: ray at linkit.com (Ray) Date: Mon, 09 Mar 2015 17:45:03 -0300 Subject: Toggling a Single Radio Button In-Reply-To: References: <5487386D.4080803@gmail.com> <54DABC1F.3000303@LinkIt.Com> <54DB5694.1080608@LinkIt.Com> <54FDED62.5000004@LinkIt.Com> Message-ID: <54FE064F.6040307@LinkIt.Com> Many thanks! The auto highlight was my issue. On 3/9/2015 5:06 PM, Scott Rossi wrote: > Once again, Klaus has answered the question before it was asked. :-) > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 3/9/15, 11:02 AM, "Klaus major-k" wrote: > >> Hi Ray, >> >>> Am 09.03.2015 um 19:58 schrieb Ray : >>> >>> Does anybody know how to toggle a single radio button so it behaves >>> like a check box? That is, if it's highlighted when you click it the >>> button becomes dehighlighted and vice versa? >>> This does not work: >>> on mouseUp >>> if the hilite of me = true then >>> set the hilite of me to false >>> else set the hilite of me to true >>> end mouseUp >>> >>> Any ideas for this simple task? >> yep :-) >> >> 1. UNCHECK "autohilite" for your lonesome radio button! >> 2. Now your script should work, or just use this one-liner: >> >> on mouseUp >> set the hilite of me to NOT (the hilite of me) >> end mouseUp >> :-) >> >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> http://www.major-k.de >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon Mar 9 17:00:40 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 9 Mar 2015 14:00:40 -0700 Subject: Beyond PowerStatus: Concurrency options In-Reply-To: <17EAAB04-95A6-4BD5-8B2F-109664C785CA@sahores-conseil.com> References: <54FB66CD.6020008@fourthworld.com> <76424701-9A40-47D3-B460-72576F486FBE@sahores-conseil.com> <1EA44E79-40A4-467B-A4B7-A36E397CE742@sahores-conseil.com> <17EAAB04-95A6-4BD5-8B2F-109664C785CA@sahores-conseil.com> Message-ID: On Mon, Mar 9, 2015 at 11:32 AM, Pierre Sahores wrote: > I see? > > ?> Scala > ?> PHP > ?> Java > > I would choose Scala if i had to solve this my self. Have an eye on it : > it?s a powerful functional programming language witch compile to the JVM > and is able to handle connections to PostgreSQL via JDBC > But it shouldn't be *necessary* to go to another language for this. Postgres: revOpenDatabase has a "useSSL" for mySQL; it should exist for postgres--without it, queries are sent in the clear. The lack of this security is show-stopping bug level, not "feature request." SSL: Livecode can open an SSL socket with a remote livecode listener. But from discussions last week, apparently the receiving socket will listen to anything passed to it, reather than requiring it be encryupted. I need to pass moderate postgres commands in both directions. There are (at least) two ways to do this in livecode, but apparently neither is secure. If I have to have use something else on the server, I'm just going to use it, not create a frankenstein . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Mon Mar 9 17:39:14 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Mar 2015 16:39:14 -0500 Subject: Mobile app templates? In-Reply-To: <006701d05aa8$d2d1e140$7875a3c0$@gmail.com> References: <54FDE954.6080605@hyperactivesw.com> <006701d05aa8$d2d1e140$7875a3c0$@gmail.com> Message-ID: <54FE1302.9040001@hyperactivesw.com> On 3/9/2015 3:37 PM, Erik Beugelaar wrote: > Hi Jac, > > "monkeying around with screen sizes and resolutions" should not be an issue > anymore to think about nowadays to develop desktop, mobile or web > applications. A lot of other visual programming environments have already > deal with that kind of nonsense in my opinion. See for example > www.wakanda.org > That's why I am wondering why the mobile template at the LiveCode site isn't > working out of the box. True, it's much, much easier now that we have fullscreenmode. We still have to design for it, but that's to be expected. LC has a mobile template? That's what Geoff was looking for. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Mon Mar 9 17:56:38 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 9 Mar 2015 15:56:38 -0600 Subject: Data Grid graphics & buttons In-Reply-To: References: <4BC19FE0-02CE-4D21-AAAF-D08B73C92065@pacifier.com> <99B33E4C-D866-4B45-9667-EA0B3838CF2C@pacifier.com> <81582A08-A824-4D39-94A2-F3D2DE794FE3@pacifier.com> Message-ID: Found the checkbox example I was looking for, but it uses the datagrid helper to get the job done. I've never used DGH, but after looking at some of the examples, it looks to be very helpful. Here is a link to lessons re: the datagrid that use the DGH. http://lessons.runrev.com/s/lessons/tags?tag=Data+Grid+Helper From ebeugelaar at gmail.com Mon Mar 9 18:00:27 2015 From: ebeugelaar at gmail.com (Erik Beugelaar) Date: Mon, 9 Mar 2015 23:00:27 +0100 Subject: Mobile app templates? In-Reply-To: <54FE1302.9040001@hyperactivesw.com> References: <54FDE954.6080605@hyperactivesw.com> <006701d05aa8$d2d1e140$7875a3c0$@gmail.com> <54FE1302.9040001@hyperactivesw.com> Message-ID: On the home page of LiveCode it is offered for all new downloaders. I have filed the bug 14369. No action taken... On Monday, March 9, 2015, J. Landman Gay wrote: > On 3/9/2015 3:37 PM, Erik Beugelaar wrote: > >> Hi Jac, >> >> "monkeying around with screen sizes and resolutions" should not be an >> issue >> anymore to think about nowadays to develop desktop, mobile or web >> applications. A lot of other visual programming environments have already >> deal with that kind of nonsense in my opinion. See for example >> www.wakanda.org >> That's why I am wondering why the mobile template at the LiveCode site >> isn't >> working out of the box. >> > > True, it's much, much easier now that we have fullscreenmode. We still > have to design for it, but that's to be expected. > > LC has a mobile template? That's what Geoff was looking for. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Mon Mar 9 18:52:00 2015 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 09 Mar 2015 23:52:00 +0100 Subject: Mobile app templates? In-Reply-To: References: Message-ID: <54FE2410.6030208@economy-x-talk.com> Hi Geoff, I have some old GUI templates here http://www3.economy-x-talk.com/file.php?node=ios-gui-elements They're really old, so perhaps you just want to watch the video to get some ideas. I've downloaded LiveCode's design template. Somewhere along the way RunRev claims that the template is worth $199. Having seen a 3 digit number, I expected to see a really cool and nifty design, much better than my own old design. I think I would have liked it more if RunRev hadn't put a price tag on their gift. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/9/2015 04:34, Geoff Canyon wrote: > Are there any template apps available? (free or paid) So far what I've seen > are construction kits or graphics packages. I'm wondering if anyone has > made a "splash screen with main app page with nav elements leading to other > pages" app, or other variant of that? > > I'm thinking about how, if I want to produce a Mac/PC/Linux app, I can > create a splash screen, paste some graphics into it, or put in a styled > text field, and build a "splash screen plus one screen" app in about > fifteen minutes, while nothing even remotely that quick seems possible on > mobile. > > Or am I barking up the wrong tree here? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Mon Mar 9 20:29:17 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 9 Mar 2015 17:29:17 -0700 Subject: Toggling a Single Radio Button In-Reply-To: <54FDED62.5000004@LinkIt.Com> References: <5487386D.4080803@gmail.com> <54DABC1F.3000303@LinkIt.Com> <54DB5694.1080608@LinkIt.Com> <54FDED62.5000004@LinkIt.Com> Message-ID: <691366522114.20150309172917@ahsoftware.net> Ray- Monday, March 9, 2015, 11:58:42 AM, you wrote: > Does anybody know how to toggle a single radio button so it behaves like > a check box? That is, if it's highlighted when you click it the button > becomes dehighlighted and vice versa? I see you got your answer already. But I have to ask: Why not just use a checkbox? Users expect a radiobutton to act like a radiobutton in a group, and expect a checkbox to act like a checkbox. Why confuse them? -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From userev at canelasoftware.com Mon Mar 9 20:30:43 2015 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 9 Mar 2015 17:30:43 -0700 Subject: Mobile app templates? In-Reply-To: References: Message-ID: <10AEAA53-B321-4AF5-BFDD-0F5F7545894D@canelasoftware.com> On Mar 8, 2015, at 8:34 PM, Geoff Canyon wrote: > Are there any template apps available? (free or paid) So far what I've seen > are construction kits or graphics packages. I'm wondering if anyone has > made a "splash screen with main app page with nav elements leading to other > pages" app, or other variant of that? > > I'm thinking about how, if I want to produce a Mac/PC/Linux app, I can > create a splash screen, paste some graphics into it, or put in a styled > text field, and build a "splash screen plus one screen" app in about > fifteen minutes, while nothing even remotely that quick seems possible on > mobile. > > Or am I barking up the wrong tree here? Hi Geoff, We released the full source to a working mobile app (used during the last conference) here: http://livecloud.io/runrevlive-14-conference-app/ You are free to poke around use/take what you want. Best regards, Mark Talluto livecloud.io canelasoftware.com From sundown at pacifier.com Tue Mar 10 00:23:19 2015 From: sundown at pacifier.com (JB) Date: Mon, 9 Mar 2015 21:23:19 -0700 Subject: Data Grid graphics & buttons In-Reply-To: References: <4BC19FE0-02CE-4D21-AAAF-D08B73C92065@pacifier.com> <99B33E4C-D866-4B45-9667-EA0B3838CF2C@pacifier.com> <81582A08-A824-4D39-94A2-F3D2DE794FE3@pacifier.com> Message-ID: Thanks Mike! I will study it later tonight. I am sure it will help me and I appreciate it a lot. John Balgenorth On Mar 9, 2015, at 2:56 PM, Mike Bonner wrote: > Found the checkbox example I was looking for, but it uses the datagrid > helper to get the job done. I've never used DGH, but after looking at some > of the examples, it looks to be very helpful. > > Here is a link to lessons re: the datagrid that use the DGH. > http://lessons.runrev.com/s/lessons/tags?tag=Data+Grid+Helper > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Tue Mar 10 07:42:37 2015 From: sundown at pacifier.com (JB) Date: Tue, 10 Mar 2015 04:42:37 -0700 Subject: Toggling a Single Radio Button In-Reply-To: <691366522114.20150309172917@ahsoftware.net> References: <5487386D.4080803@gmail.com> <54DABC1F.3000303@LinkIt.Com> <54DB5694.1080608@LinkIt.Com> <54FDED62.5000004@LinkIt.Com> <691366522114.20150309172917@ahsoftware.net> Message-ID: Good point, Mark. So I just changed some buttons I had that were checkboxes to radio and vice versa. Every little thing helps to make a professional product. John Balgenorth On Mar 9, 2015, at 5:29 PM, Mark Wieder wrote: > Ray- > > Monday, March 9, 2015, 11:58:42 AM, you wrote: > >> Does anybody know how to toggle a single radio button so it behaves like >> a check box? That is, if it's highlighted when you click it the button >> becomes dehighlighted and vice versa? > > I see you got your answer already. > But I have to ask: > Why not just use a checkbox? Users expect a radiobutton to act like a > radiobutton in a group, and expect a checkbox to act like a checkbox. > Why confuse them? > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Tue Mar 10 09:57:05 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Mar 2015 06:57:05 -0700 Subject: Printing in LC 7.0.3 In-Reply-To: <54F8D632.2020707@fourthworld.com> References: <54F8D632.2020707@fourthworld.com> Message-ID: <54FEF831.4040700@fourthworld.com> On 5 March Paul Hibbert wrote: > This bug is reported now: > > http://quality.runrev.com/show_bug.cgi?id=14814 Thanks again for reporting this, Paul. I just got notice from the bug DB this morning that this issue has been fixed, and will be in the next build. Good work by all. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From t.heaford at icloud.com Tue Mar 10 11:32:41 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Tue, 10 Mar 2015 15:32:41 +0000 Subject: Printing in LC 7.0.3 In-Reply-To: <54FEF831.4040700@fourthworld.com> References: <54F8D632.2020707@fourthworld.com> <54FEF831.4040700@fourthworld.com> Message-ID: <7D5DFA1C-4C8B-4EBA-B7A3-2AACB2F58BCF@icloud.com> > On 10 Mar 2015, at 13:57, Richard Gaskin wrote: > > Thanks again for reporting this, Paul. > > I just got notice from the bug DB this morning that this issue has been fixed, and will be in the next build. Excellent. It would be good to here that the tab button text issue has been resolved as well. It does feel strange that LC have jumped on the printing issue yet have ignored the tab menu issue that was reported YEARS ago. I am not a conspiracy theorist. All the best Terry From t.heaford at icloud.com Tue Mar 10 11:41:42 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Tue, 10 Mar 2015 15:41:42 +0000 Subject: LC7 & Unicode Message-ID: <1F665522-6694-45D5-B3A2-944886B164AF@icloud.com> I do not know much, if anything about the LC implementation of Unicode or Unicode itself but I have been wondering. LC 7.0.3 performance without doubt (to my eyes) seems to be less than LC 6.7.3 and from my reading of posts on this list it seems to be due to LC 7.0.3 implementing Unicode? So, my question and perhaps it has been asked before but I don?t remember reading about it is: Can LC 7 & LC 8 be coded to enable Unicode to be switched ?on?/?off? either globally or on an individual control basis? If possible LC 6 could be immediately dumped for future updates. So, where you are using a control that contains a lot of data, DataGrid or Bernd?s modTableField, you could turn off the Unicode in relation to these controls and leave it on for those controls that may need it more. Presumably this would improve the performance. As I say, I know nothing of Unicode. All the best Terry From admin at FlexibleLearning.com Tue Mar 10 12:45:37 2015 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Tue, 10 Mar 2015 16:45:37 -0000 Subject: Fast-tracking LiveCode for beginners Message-ID: <005801d05b51$a3dde010$eb99a030$@FlexibleLearning.com> I am looking for a means to fast-track a client into the world of LiveCode programming. Am considering Devin's "LiveCode University" course, and delivering it myself over a concentrated one week period for him in person. Any comments or other suggestions? Hugh Senior FLCo From andrew at ctech.me Tue Mar 10 13:37:37 2015 From: andrew at ctech.me (Andrew Kluthe) Date: Tue, 10 Mar 2015 12:37:37 -0500 Subject: 6.6.5 and Message timing? Message-ID: Hey ya'll, I've been trying to track down some weird behavior in a standalone built and running on windows 7 x86. I have a launcher which prepares and starts another non-livecode application up. Once sending the start commands for this application via shell() it starts a handler to watch for when it is open and ready. I am currently using something similar to this: on waitForNW wait until checkForNW() is true with messages send "hideSplash" to me send "watchForClose" to me in 1 second end waitForNW checkForNW() runs shell("tasklist") and checks the result for the presence of the process and returns true or false If it is running, it hides the splash and switches to the inverse function. It is now checking to see if the process still exists. If it does not, I do some cleanup and quit. The inverse wait mechanism is much the same: on watchForClose wait until checkForNW() is false with messages quit end watchForClose Everything works exactly as I'd expect it to in the IDE. Once I build a standalone with 6.6.5, it seems like there is a huge delay in the watchForClose message. I've piddled with timings and using repeats with recursive Send in time's to recall itself with a pendingMessage in place of my wait with messages. No amount of timing or fudging makes the stand alone behave differently outside of expected the forced slow down in my timings. I saved this stack out in legacy format and opened it up in 5.5.5. Works fine in the IDE. I built the standalone in 5.5.5 now, and it works exactly as expected in the standalone now too. I haven't tried it in any of the 7.0 releases or any others than 5.5.5 and 6.5. Id prefer not to use the newer ones, as double digit megabyte size for a simple splash launcher like this is a bit silly. I'd just soon as ship 5.5 in that case. The Real Question I Have: Were there any known issues with message timing or shell() command on windows in 6.6.5 that would account for this? -- Regards, Andrew Kluthe andrew at ctech.me From jacque at hyperactivesw.com Tue Mar 10 13:45:47 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Mar 2015 12:45:47 -0500 Subject: If you don't read the forums Message-ID: <54FF2DCB.5080507@hyperactivesw.com> Devs who have been working with LC for some time and who don't read the forums may want to take a look at this thread and provide input: I think it is an important question which will affect the development of the engine moving forward and, since I'm undecided, I'd like to read other people's ideas about it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Tue Mar 10 14:07:04 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 10 Mar 2015 14:07:04 -0400 Subject: If you don't read the forums In-Reply-To: <54FF2DCB.5080507@hyperactivesw.com> References: <54FF2DCB.5080507@hyperactivesw.com> Message-ID: <004701d05b5d$041ed500$0c5c7f00$@net> Jacque, Thanks I am ashamed to admit that I fall into this category " > Jacqueline Landman Gay wrote==>This is an important enough question that I think it should go on the mailing list as well as this forum. There are lots of pro developers there who rarely or never visit the forums,...." Alot to think about Hmmm...... Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Tuesday, March 10, 2015 1:46 PM To: LiveCode Mailing List Subject: If you don't read the forums Devs who have been working with LC for some time and who don't read the forums may want to take a look at this thread and provide input: I think it is an important question which will affect the development of the engine moving forward and, since I'm undecided, I'd like to read other people's ideas about it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From cs_livecode at icloud.com Tue Mar 10 14:09:57 2015 From: cs_livecode at icloud.com (Chris Sheffield) Date: Tue, 10 Mar 2015 12:09:57 -0600 Subject: If you don't read the forums In-Reply-To: <54FF2DCB.5080507@hyperactivesw.com> References: <54FF2DCB.5080507@hyperactivesw.com> Message-ID: <31A47192-9ED5-4755-9B4A-E49ABC272566@icloud.com> Thanks for the heads up. Would have never known about it otherwise? > On Mar 10, 2015, at 11:45 AM, J. Landman Gay wrote: > > Devs who have been working with LC for some time and who don't read the forums may want to take a look at this thread and provide input: > > > > I think it is an important question which will affect the development of the engine moving forward and, since I'm undecided, I'd like to read other people's ideas about it. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Tue Mar 10 14:15:39 2015 From: pete at lcsql.com (Peter Haworth) Date: Tue, 10 Mar 2015 18:15:39 +0000 Subject: If you don't read the forums In-Reply-To: <31A47192-9ED5-4755-9B4A-E49ABC272566@icloud.com> References: <54FF2DCB.5080507@hyperactivesw.com> <31A47192-9ED5-4755-9B4A-E49ABC272566@icloud.com> Message-ID: I very rarely used to look at the forums but I discovered the option to get a daily digest of new posts by email. That works great for me as I can quickly scan through the email and find the posts I might have an interest in. In this case, I'm glad Jacque brought it to our attentions; it's certainly important enough that I'm sure everyone should know about it. On Tue, Mar 10, 2015 at 11:10 AM Chris Sheffield wrote: > Thanks for the heads up. Would have never known about it otherwise? > > > On Mar 10, 2015, at 11:45 AM, J. Landman Gay > wrote: > > > > Devs who have been working with LC for some time and who don't read the > forums may want to take a look at this thread and provide input: > > > > > > > > I think it is an important question which will affect the development of > the engine moving forward and, since I'm undecided, I'd like to read other > people's ideas about it. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Tue Mar 10 14:39:22 2015 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 10 Mar 2015 18:39:22 +0000 Subject: Fast-tracking LiveCode for beginners In-Reply-To: <005801d05b51$a3dde010$eb99a030$@FlexibleLearning.com> References: <005801d05b51$a3dde010$eb99a030$@FlexibleLearning.com> Message-ID: <8A1C0677-1D6B-4B70-A2B4-A89FC9209BDB@byu.edu> On Mar 10, 2015, at 10:45 AM, FlexibleLearning.com wrote: > I am looking for a means to fast-track a client into the world of LiveCode > programming. > > Am considering Devin's "LiveCode University" course, and delivering it > myself over a concentrated one week period for him in person. > > Any comments or other suggestions? I think that?s a great suggestion! ;-) When I have students who I want to introduce to LiveCode in a hurry, especially those who have prior programming experience, I have them go through Units 3, 6 and Unit 8, lessons 26 - 29. These should give a pretty thorough overview of LiveCode. Regards, Devin Devin Asay Learn to code with LiveCode University https://livecode.com/store/education/ From ambassador at fourthworld.com Tue Mar 10 14:41:37 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Mar 2015 11:41:37 -0700 Subject: LC7 & Unicode In-Reply-To: <1F665522-6694-45D5-B3A2-944886B164AF@icloud.com> References: <1F665522-6694-45D5-B3A2-944886B164AF@icloud.com> Message-ID: <54FF3AE1.9090202@fourthworld.com> Terence Heaford wrote: > Can LC 7 & LC 8 be coded to enable Unicode to be switched ?on?/?off? > either globally or on an individual control basis? Not likely. Unicode affects all things that deal with strings. That's pretty much most of the engine. Moreover, the refactoring for Unicode wasn't limited to Unicode alone, but incorporates a wide range of changes that are needed to knock off the rest of the Kickstarter goals. No one expected the first pass at such a deep revision to be both uncommonly transparent to users and also optimized. Now that v7 is out they can explore ways to refine performance. This may be a good time to remind people of the invitation posted here a few weeks ago from RunRev's Peter Brett: if you have a project which runs noticeably slower, contact support AT runrev.com to make arrangements to send it to them so they can profile it and optimize those portions of the engine that can make the biggest difference. V6 is clearly legacy technology. V7 is the bridge to v8 and everything else the future holds. Just as there came a time when the team had to move on from v3, v4, and v5, the longer they need to maintain v6.x the longer it will take to complete the Kickstarter goals. So let's identify those issues that truly prevent us from moving our projects to v7, and with any luck they'll be fixed as quickly as the "print into rect" issue was. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From t.heaford at icloud.com Tue Mar 10 15:08:56 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Tue, 10 Mar 2015 19:08:56 +0000 Subject: LiveResize in 6.7.3 and 7.0.3 Message-ID: <90BF3B9F-FD92-49B7-884E-5A12E7A8CF6D@icloud.com> I have created a group which contains the methods to create simple charts which I use to display financial data. X axis = money Y axis = for example category. The charts basically comprise of, in relation to a bar chart: 1. Fields for the axis labels & legend. 2. Polygons to create lines for axis, grids, axis ticks. 3. Rectangles for the bars. A typical bar chart may contain approx. 150 items When it comes to resize the window by dragging, I delete all the items owned by the group and rebuild the chart. As resizeStack is sent continuously I have to delete/rebuild continuously. I want to resize the chart as the user drags the window but both 6.7.3 and 7.0.3 stutter quite badly under the strain of rebuilding the chart. 7.0.3 is obviously worse then 6.7.3 at doing this. I am looking for ideas on a better way of doing this? I would not want to resort to images, as printing part of the card results in good quality PDF?s in OS X, at least in 6.7.3 (7.0.4 I believe will have the required bug fix). One immediate area for improvement might be the delete routine which is: on deleteChart lock screen repeat for each line tID in the childControlIDs of me delete control id tID of me end repeat unlock screen end deleteChart Is there a call that will delete all the items at once rather than having to iterate through the childControlIDs? All the best Terry From ambassador at fourthworld.com Tue Mar 10 15:31:36 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Mar 2015 12:31:36 -0700 Subject: If you don't read the forums In-Reply-To: <31A47192-9ED5-4755-9B4A-E49ABC272566@icloud.com> References: <31A47192-9ED5-4755-9B4A-E49ABC272566@icloud.com> Message-ID: <54FF4698.1060808@fourthworld.com> Chris Sheffield wrote: > Thanks for the heads up. Would have never known about it otherwise? You probably would once the basics were sorted out. As with the introduction of byteToNum, trueWord, and other changes to the engine, since the engine has gone open source RunRev has a good track record of maintaining transparent process for new initiatives. The Engine Contributors section of the forums is where a lot of both near-term and far-reaching ideas for the engine get fleshed out. Nothing in Mark's range of proposals has been implemented yet, and indeed it's a *range* of proposals, not yet finalized into a single initiative. Like the rest of the Open Source forums, the Engine Contributors section is available to everyone. All earnest participation in the spirit of those working groups there is of course welcome. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From colinholgate at gmail.com Tue Mar 10 15:41:56 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Tue, 10 Mar 2015 15:41:56 -0400 Subject: If you don't read the forums In-Reply-To: <54FF4698.1060808@fourthworld.com> References: <31A47192-9ED5-4755-9B4A-E49ABC272566@icloud.com> <54FF4698.1060808@fourthworld.com> Message-ID: I?ll have to work out my forum login, it?s not working right now. But on the topic in question, here are a couple of examples from the history of Flash, that might help: When Flash 9 came out Adobe introduced ActionScript 3. It was radically different than ActionScript 2, and some of the ways you could work in AS2 were no longer supported. But, you could still choose to make an AS2 document if you wanted. That ability was supported for at least three major versions before it was dropped. People have mostly coped, and keep a copy of CS6 around just in case. Even within AS3 documents there were file differences from version to version, and Flash would support two version back, you could do a Save As to the two previous versions. Starting with CS5.5 they made the file format future proof. You will be able to take a Flash Professional Creative Cloud 2025 document and open it in CS5.5. Any new features you had used wouldn?t work, but at least you could get at the media, and if you hadn?t used newer features, you could do a Save As to get an authentic CS5.5 document. Back to LiveCode, it could do something similar, but better. From now on you would choose LiveCode Legacy, or LiveCode, as the stack type, and unlike Flash keep that ability around forever. Also, make it be that LiveCode 8.0 file format is future proof, and that it could open a LiveCode 10 document, to at least use the LiveCode 8 features in that stack. From ambassador at fourthworld.com Tue Mar 10 15:49:01 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Mar 2015 12:49:01 -0700 Subject: Power Status (was Re: Because LC can't do two things at once.) In-Reply-To: <884ab197f6313bf44126d936f992fc75@livecode.com> References: <884ab197f6313bf44126d936f992fc75@livecode.com> Message-ID: <54FF4AAD.4040802@fourthworld.com> Peter Brett wrote: > On 2015-03-07 16:33, Richard Gaskin wrote: >> Mark Wieder wrote: >> >>> And now that I'm looking at it again, I don't think that's the proper >>> format for the url command. It should be >>> >>> put url "file:///sys/class/power_supply/BAT0/status" into tStatus >> >> Oddly, I find that LC's file I/O routines don't work with *NIX virtual >> file system elements. I can use cat in shell to get those values, but >> neither LC's open/read/close nor get url options for work me. > > Ouch. Please file a bug report - I think this is something we need to > look into. Thanks! Done: Thanks. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From prothero at earthednet.org Tue Mar 10 16:01:43 2015 From: prothero at earthednet.org (William Prothero) Date: Tue, 10 Mar 2015 13:01:43 -0700 Subject: If you don't read the forums In-Reply-To: References: <31A47192-9ED5-4755-9B4A-E49ABC272566@icloud.com> <54FF4698.1060808@fourthworld.com> Message-ID: <22DD6B73-B77F-43EE-8BA9-9A255F470DE6@earthednet.org> Folks: When Director added new code styles, it used a property called ?scriptExecutionStyle? which you could set to maintain some older statements. One of the problems with just using older versions is that there may be critical unfixed bugs and the dev team wouldn?t want to be required to spend time fixing them. It would be a ?buyer beware? situation, which might be ok if explicit. I only have a single app and am pretty new to Livecode, so my opinion shouldn?t carry a lot of weight re legacy features. That said, one of the things that makes me optimistic about LiveCode?s future is the modernization, bug fixing, and enhancement effort that is being put into it. After a dismal experience with Director and Adobe?s abandonment of a really nice development platform, I?m definitely gun-shy of moldy old software that is not evolving. I cast my vote for going ahead and, with some notice and time for developers to adjust, make changes that make the engine better, more consistent with established practices, and easier to maintain. Best, Bill William A. Prothero http://es.earthednet.org/ From MikeKerner at roadrunner.com Tue Mar 10 16:02:48 2015 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 10 Mar 2015 16:02:48 -0400 Subject: XCode 6.2 Building For iOS Message-ID: Did I miss some bug report about XC 6.2 not being supported? LC 6.6.5 and 6.7.3 don't like it. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Tue Mar 10 16:24:41 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Mar 2015 13:24:41 -0700 Subject: If you don't read the forums In-Reply-To: <22DD6B73-B77F-43EE-8BA9-9A255F470DE6@earthednet.org> References: <22DD6B73-B77F-43EE-8BA9-9A255F470DE6@earthednet.org> Message-ID: <54FF5309.7040109@fourthworld.com> William Prothero wrote: > When Director added new code styles, it used a property called > ?scriptExecutionStyle? which you could set to maintain some > older statements. You and Colin will be glad to know that's one of Mark Waddingham's proposals, a global property which would preserve some older behaviors where practical for the relatively few language tokens that may change. -- Richard Gaskin LiveCode Community Manager richard at livecode.org From ambassador at fourthworld.com Tue Mar 10 16:53:28 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Mar 2015 13:53:28 -0700 Subject: Text Field in LC 7 In-Reply-To: <54FB21E6.3040000@fourthworld.com> References: <54FB21E6.3040000@fourthworld.com> Message-ID: <54FF59C8.4020703@fourthworld.com> Earlier I wrote: > Related, it occurred to me that it's sometimes annoying to have > to write this handler just to have tabs entered into the text of > a field: > > on tabKey > put tab into the selecction > end tabKey > > So I submitted a request for an allowTabs field property; off by > default, when true it would allow a field to accept tabs the user > types: > In correspondence in that report Mark Waddingham noted that the tabstops property already governs this behavior. Empty by default, when the tabstops if a field is set to any valid value the Tab key no longer invoked field-to-field navigation, instead inserting the tab character into the field. Apparently this is even noted in the Dictionary, but it seems I'm not alone in having overlooked it, since the IDE's Inspector uses that script for the field Contents pane. Needless to say, I've closed that request. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Mar 10 17:04:06 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Mar 2015 14:04:06 -0700 Subject: Spider Web chart? Message-ID: <54FF5C46.1080704@fourthworld.com> A while back (2010) there was a request here for anyone who's made a spider web chart - e.g.: I have a need for one myself, and the posts at the time had some useful general tips on making charts but nothing on spider web charts specifically. The trick to this one is the need to translate coordinates outward from a centerpoint along a variable number of axes. Anyone here have such a tool, or other code useful for making one? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Tue Mar 10 17:11:39 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Mar 2015 16:11:39 -0500 Subject: LiveResize in 6.7.3 and 7.0.3 In-Reply-To: <90BF3B9F-FD92-49B7-884E-5A12E7A8CF6D@icloud.com> References: <90BF3B9F-FD92-49B7-884E-5A12E7A8CF6D@icloud.com> Message-ID: <54FF5E0B.7050205@hyperactivesw.com> On 3/10/2015 2:08 PM, Terence Heaford wrote: > I want to resize the chart as the user drags the window but both > 6.7.3 and 7.0.3 stutter quite badly under the strain of rebuilding > the chart. > 7.0.3 is obviously worse then 6.7.3 at doing this. > > I am looking for ideas on a better way of doing this? ... > One immediate area for improvement might be the delete routine which is: > > on deleteChart > lock screen > repeat for each line tID in the childControlIDs of me > delete control id tID of me > end repeat > unlock screen > end deleteChart > > Is there a call that will delete all the items at once rather than > having to iterate through the childControlIDs? Besides locking the screen, also lock messages. I'd avoid deleting/recreating everything too, it would be better to just resize the existing controls, which is much faster. If that isn't possible for some reason, group as many child controls as possible and delete whole groups. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Mar 10 17:12:29 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Mar 2015 16:12:29 -0500 Subject: XCode 6.2 Building For iOS In-Reply-To: References: Message-ID: <54FF5E3D.9010904@hyperactivesw.com> On 3/10/2015 3:02 PM, Mike Kerner wrote: > Did I miss some bug report about XC 6.2 not being supported? LC 6.6.5 and > 6.7.3 don't like it. > They use the same file format. What doesn't work? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gcanyon at gmail.com Tue Mar 10 17:12:41 2015 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 10 Mar 2015 16:12:41 -0500 Subject: Mobile app templates? In-Reply-To: <54FE1302.9040001@hyperactivesw.com> References: <54FDE954.6080605@hyperactivesw.com> <006701d05aa8$d2d1e140$7875a3c0$@gmail.com> <54FE1302.9040001@hyperactivesw.com> Message-ID: On Mon, Mar 9, 2015 at 4:39 PM, J. Landman Gay wrote: > LC has a mobile template? That's what Geoff was looking for. > As far as I know this is some graphics and PSDs, not an LC project. From gcanyon at gmail.com Tue Mar 10 17:16:12 2015 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 10 Mar 2015 16:16:12 -0500 Subject: Mobile app templates? In-Reply-To: <54FDE954.6080605@hyperactivesw.com> References: <54FDE954.6080605@hyperactivesw.com> Message-ID: On Mon, Mar 9, 2015 at 1:41 PM, J. Landman Gay wrote: > I don't think there's much difference between the desktop method and > mobile apps. You just compile the main stack for mobile instead of for > desktop. > I'm working in 6.7.3, so (as far as I know) there's still some sort of "build it at 320x568 and it will automatically scale up, but then you have to provide double-size graphics, etc." thing going on. re: provisioning/keys -- that's certainly true, and not LC's fault at all. From gcanyon at gmail.com Tue Mar 10 17:18:38 2015 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 10 Mar 2015 16:18:38 -0500 Subject: Mobile app templates? In-Reply-To: References: <54FDE954.6080605@hyperactivesw.com> Message-ID: On Tue, Mar 10, 2015 at 4:16 PM, Geoff Canyon wrote: > I'm working in 6.7.3, so (as far as I know) there's still some sort of > "build it at 320x568 and it will automatically scale up, but then you have > to provide double-size graphics, etc." thing going on. fullscreenmode -- apparently in place since 6.5. I'm looking into it now. gc From cs_livecode at icloud.com Tue Mar 10 17:20:20 2015 From: cs_livecode at icloud.com (Chris Sheffield) Date: Tue, 10 Mar 2015 15:20:20 -0600 Subject: XCode 6.2 Building For iOS In-Reply-To: <54FF5E3D.9010904@hyperactivesw.com> References: <54FF5E3D.9010904@hyperactivesw.com> Message-ID: Usually when there?s a new release of Xcode that adds something major to the iOS SDK (Apple Watch support in this case), it requires a LiveCode update in order to work properly. Really about all we can do is stick with Xcode 6.1.1 for now. I?m sure the team will have a new update out with Xcode 6.2 support asap. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com > On Mar 10, 2015, at 3:12 PM, J. Landman Gay wrote: > > On 3/10/2015 3:02 PM, Mike Kerner wrote: >> Did I miss some bug report about XC 6.2 not being supported? LC 6.6.5 and >> 6.7.3 don't like it. >> > > They use the same file format. What doesn't work? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Mar 10 17:34:15 2015 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 10 Mar 2015 17:34:15 -0400 Subject: XCode 6.2 Building For iOS In-Reply-To: References: <54FF5E3D.9010904@hyperactivesw.com> Message-ID: Unfortunately, I had auto-updates turned on. Luckily, Time Machine saves the day. On Tue, Mar 10, 2015 at 5:20 PM, Chris Sheffield wrote: > Usually when there?s a new release of Xcode that adds something major to > the iOS SDK (Apple Watch support in this case), it requires a LiveCode > update in order to work properly. > > Really about all we can do is stick with Xcode 6.1.1 for now. I?m sure the > team will have a new update out with Xcode 6.2 support asap. > > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > On Mar 10, 2015, at 3:12 PM, J. Landman Gay > wrote: > > > > On 3/10/2015 3:02 PM, Mike Kerner wrote: > >> Did I miss some bug report about XC 6.2 not being supported? LC 6.6.5 > and > >> 6.7.3 don't like it. > >> > > > > They use the same file format. What doesn't work? > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Tue Mar 10 17:56:56 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Mar 2015 16:56:56 -0500 Subject: Mobile app templates? In-Reply-To: References: <54FDE954.6080605@hyperactivesw.com> Message-ID: <54FF68A8.7070504@hyperactivesw.com> On 3/10/2015 4:18 PM, Geoff Canyon wrote: > On Tue, Mar 10, 2015 at 4:16 PM, Geoff Canyon wrote: > >> I'm working in 6.7.3, so (as far as I know) there's still some sort of >> "build it at 320x568 and it will automatically scale up, but then you have >> to provide double-size graphics, etc." thing going on. > > > fullscreenmode -- apparently in place since 6.5. I'm looking into it now. Right, and then you have to experiment with which mode to use. But that's not LC's fault either, Android implements things the same way in Java. But once you find a good display mode and provide the right images, the rest "just works." It's pretty cool actually. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peter.brett at livecode.com Tue Mar 10 18:13:46 2015 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 10 Mar 2015 23:13:46 +0100 Subject: LC7 & Unicode In-Reply-To: <54FF3AE1.9090202@fourthworld.com> References: <1F665522-6694-45D5-B3A2-944886B164AF@icloud.com> <54FF3AE1.9090202@fourthworld.com> Message-ID: On 2015-03-10 19:41, Richard Gaskin wrote: > Terence Heaford wrote: > >> Can LC 7 & LC 8 be coded to enable Unicode to be switched ?on?/?off? >> either globally or on an individual control basis? > > Not likely. > > Unicode affects all things that deal with strings. That's pretty much > most of the engine. > This is a common misconception. Internally, the LC7 engine only uses Unicode if it has to. If your application only uses native strings, then LC7 will only use native strings. Built-in Unicode support has very little to do with the fact that LC7 is slower for some workloads. The cause of potential slow-down is more fundamental, and has to do with the way that variables and values in the language are handled and the way that the language is executed. As Richard says, some of these changes were required in order to enable the future development of the LiveCode language and to make it more flexible and powerful. We care about performance. Mark, who designed the LC7 engine, has done some quite extensive work recently -- even in his own time, over weekends -- to look for opportunities to improve performance. It's been invaluable for us to get hold of some real-world stacks that we've been given by users and developers. Peter -- Dr Peter Brett LiveCode Engine Development Team From brahma at hindu.org Tue Mar 10 18:15:45 2015 From: brahma at hindu.org (Brahmanathaswami) Date: Tue, 10 Mar 2015 12:15:45 -1000 Subject: Managing Sizes - Images in Mobile (was Mobile Template) Message-ID: <54FF6D11.6050303@hindu.org> Hmm... All this buzz about apps that scale everything for every rect, with CSS and HTML5 etc, Certainly they are not placing a single instance of a rasturized image at 320 X 568 @ 72 and then expect that to scale up to 1024 X 768 "automatically" and still look decent. Unless the laws of pixel physics have changed recently, I'm still thinking upscaled low res graphics will yield rancid results no matter what the framework. Am I mistaken? Even Apple's iBook Author software called for multiple images at different sizes... Perhaps one path to "ease the pain" of multiple images could be 1) see how far you can take your design with vector objects so that scale relative to appearance is never an issue. I need to test EPS more extensively and break open Adobe Illustrator's toolbox. Theoretically this get's us vector if you stay in vector (don't place jpgs) "Importing an EPS file creates an EPS object on the current card." should work big or small.. 2) For "single image instance" development, for raster art/photos... go the other direction: provide images to some larger rect at 150dpi and then when it scales down, it will look great (untested). It seems to me the total "weight" of the app resources would be the same if you included 6 files at different resolutions, or just 1 image at a higher resolution that works for most contexts. 7.0.3's boot time is a sad regression, but, once open LC's render time for a larger image into a smaller rect should not be a issue if the image is local Am I daft? Different story of course if you are pulling from a remote server. Is anyone else thinking/working in terms of this "single hi-res raster image instance" direction? If so -- what seems to be good params for the optimal "single image instance" size and resolution for most devices? Brahmanathaswami Geoff Canyon wrote: >> > I'm working in 6.7.3, so (as far as I know) there's still some sort of >> > "build it at 320x568 and it will automatically scale up, but then you have >> > to provide double-size graphics, etc." thing going on. > > > fullscreenmode -- apparently in place since6.5. I'm looking into it now. > > gc From brahma at hindu.org Tue Mar 10 18:28:09 2015 From: brahma at hindu.org (Brahmanathaswami) Date: Tue, 10 Mar 2015 12:28:09 -1000 Subject: LiveResize in 6.7.3 and 7.0.3 In-Reply-To: <54FF5E0B.7050205@hyperactivesw.com> References: <90BF3B9F-FD92-49B7-884E-5A12E7A8CF6D@icloud.com> <54FF5E0B.7050205@hyperactivesw.com> Message-ID: <54FF6FF9.6050203@hindu.org> Years ago Scott Raney once suggested to me that for resizing images: make sure your code is not using a ratio algorithm that resets in a loop, in succession, the height and width. Instead, use an algorithm that changes the complete rect values with all 4 params and then the screen update for the change in size is 1/2 the time or even orders of magnitude faster... I haven't tested this in a long time though... i.e. if you a drag window, do not do this kind of thing: set the width of image Y to [whatever] set the height of image Y tto [whatever] instead get your values ahead of time then do this ## pseudo code put x into width put y into height set the rect of img "house" to (0,0,x,y) might help... but yes, we really need smoother animation at all levels of LC. Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com J. Landman Gay wrote: > > Besides locking the screen, also lock messages. I'd avoid > deleting/recreating everything too, it would be better to just resize > the existing controls, which is much faster. If that isn't possible > for some reason, group as many child controls as possible and delete > whole groups. From peter.brett at livecode.com Tue Mar 10 18:30:35 2015 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 10 Mar 2015 23:30:35 +0100 Subject: If you don't read the forums In-Reply-To: <54FF4698.1060808@fourthworld.com> References: <31A47192-9ED5-4755-9B4A-E49ABC272566@icloud.com> <54FF4698.1060808@fourthworld.com> Message-ID: On 2015-03-10 20:31, Richard Gaskin wrote: > Chris Sheffield wrote: > >> Thanks for the heads up. Would have never known about it otherwise? > > You probably would once the basics were sorted out. > > As with the introduction of byteToNum, trueWord, and other changes to > the engine, since the engine has gone open source RunRev has a good > track record of maintaining transparent process for new initiatives. > > The Engine Contributors section of the forums is where a lot of both > near-term and far-reaching ideas for the engine get fleshed out. > > Nothing in Mark's range of proposals has been implemented yet, and > indeed it's a *range* of proposals, not yet finalized into a single > initiative. > > Like the rest of the Open Source forums, the Engine Contributors > section is available to everyone. All earnest participation in the > spirit of those working groups there is of course welcome. You definitely don't need to work for LiveCode to keep track of the evolution of the platform, or even to get involved! We do all of the development of the LiveCode engine completely in the open. You can monitor and discuss changes going into LiveCode in real time via our Github projects and via our bug tracker . We recently made it possible for anyone to browse our bug database without needing to create an account. We're committed to transparency, and we're always looking for ways to improve our open source development process. Peter -- Dr Peter Brett LiveCode Engine Development Team From rdimola at evergreeninfo.net Tue Mar 10 19:06:47 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 10 Mar 2015 19:06:47 -0400 Subject: Managing Sizes - Images in Mobile (was Mobile Template) In-Reply-To: <54FF6D11.6050303@hindu.org> References: <54FF6D11.6050303@hindu.org> Message-ID: <007601d05b86$e2ed1d40$a8c757c0$@net> I took the "ease the pain" path. I include 1 image that looks good on the best resolution device and then scale it down. I use the iPad Retina for my calculation. So if I want the image to take up say 70% of the card, I calculate the size so when it's taking 70% of a Retina screen it look good. Now when the image displays on a lower resolution device I scale it down to 70% of the current device size and place it where it needs to be. Now this has one big downfall.....CPU time. If all there were was iOS then creating all the sizes for the Apple ecosystem would not be too bad although lots of work when the next gen comes out. With the veritable cornucopia of Android sizes I determined that it would be an impossible task to have images for all those resolutions. Now I did all this before there was rescaling in LC. Back in the day I got Jacque's "You have to roll your own rescaling" reality check. It's nice to see that rescaling is now in LC. I'm going to give a whirl soon. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Brahmanathaswami Sent: Tuesday, March 10, 2015 6:16 PM To: How to use LiveCode Subject: Managing Sizes - Images in Mobile (was Mobile Template) Hmm... All this buzz about apps that scale everything for every rect, with CSS and HTML5 etc, Certainly they are not placing a single instance of a rasturized image at 320 X 568 @ 72 and then expect that to scale up to 1024 X 768 "automatically" and still look decent. Unless the laws of pixel physics have changed recently, I'm still thinking upscaled low res graphics will yield rancid results no matter what the framework. Am I mistaken? Even Apple's iBook Author software called for multiple images at different sizes... Perhaps one path to "ease the pain" of multiple images could be 1) see how far you can take your design with vector objects so that scale relative to appearance is never an issue. I need to test EPS more extensively and break open Adobe Illustrator's toolbox. Theoretically this get's us vector if you stay in vector (don't place jpgs) "Importing an EPS file creates an EPS object on the current card." should work big or small.. 2) For "single image instance" development, for raster art/photos... go the other direction: provide images to some larger rect at 150dpi and then when it scales down, it will look great (untested). It seems to me the total "weight" of the app resources would be the same if you included 6 files at different resolutions, or just 1 image at a higher resolution that works for most contexts. 7.0.3's boot time is a sad regression, but, once open LC's render time for a larger image into a smaller rect should not be a issue if the image is local Am I daft? Different story of course if you are pulling from a remote server. Is anyone else thinking/working in terms of this "single hi-res raster image instance" direction? If so -- what seems to be good params for the optimal "single image instance" size and resolution for most devices? Brahmanathaswami Geoff Canyon wrote: >> > I'm working in 6.7.3, so (as far as I know) there's still some >> > sort of "build it at 320x568 and it will automatically scale up, >> > but then you have to provide double-size graphics, etc." thing going on. > > > fullscreenmode -- apparently in place since6.5. I'm looking into it now. > > gc _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dfepstein at comcast.net Tue Mar 10 22:27:31 2015 From: dfepstein at comcast.net (David Epstein) Date: Tue, 10 Mar 2015 22:27:31 -0400 Subject: Spider Web chart? In-Reply-To: References: Message-ID: <22C01D1A-024E-47C0-B618-E274980D85AB@comcast.net> Richard Gaskin asked for code useful for making a spider web chart. I think the function below would help. Both the grid and the plots will be polygons whose points can be conveniently specified by their distance from an origin and their angle on a circle. function yAD x,y,d,a, at xAD -- calculate point x1,y1 that is distance d and angle a from point x,y -- return y1, load x1 into param 5 -- a is in degrees, positive is east of north put (90-a)*2*pi/360 into a put x + d*cos(a) into xAD return y + d*sin(a) end yAD David Epstein From ambassador at fourthworld.com Tue Mar 10 22:41:47 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Mar 2015 19:41:47 -0700 Subject: Spider Web chart? In-Reply-To: <22C01D1A-024E-47C0-B618-E274980D85AB@comcast.net> References: <22C01D1A-024E-47C0-B618-E274980D85AB@comcast.net> Message-ID: <54FFAB6B.40506@fourthworld.com> David Epstein wrote: > Richard Gaskin asked for code useful for making a spider web chart. > I think the function below would help. Both the grid and the plots > will be polygons whose points can be conveniently specified by their > distance from an origin and their angle on a circle. > > function yAD x,y,d,a, at xAD > -- calculate point x1,y1 that is distance d and angle a from point x,y > -- return y1, load x1 into param 5 > -- a is in degrees, positive is east of north > put (90-a)*2*pi/360 into a > put x + d*cos(a) into xAD > return y + d*sin(a) > end yAD Thank you, David. I've been the recipient of much goodwill today in response to my query: Scott Rossi and Bernd also sent me some useful code. I'll put it to good use. Thanks, all! -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From brahma at hindu.org Tue Mar 10 23:04:53 2015 From: brahma at hindu.org (Brahmanathaswami) Date: Tue, 10 Mar 2015 17:04:53 -1000 Subject: Managing Sizes - Images in Mobile (was Mobile Template) In-Reply-To: <007601d05b86$e2ed1d40$a8c757c0$@net> References: <54FF6D11.6050303@hindu.org> <007601d05b86$e2ed1d40$a8c757c0$@net> Message-ID: <54FFB0D5.1020200@hindu.org> "So if I want the image to take up say 70% of the card, I calculate the size so when it's taking 70% of a Retina screen it look good. " When saving, which PPI should we be chosing. I'm still stuck in the old "72dpi for web" which is the wrong use of "DPI.. since photoshop is actually asking for PPI If you take a great photo, resize to 2048X1536 px. then "save for web" you still have to other options to set I looked all over the web today... still confused. AT photo.stackexchange we see this: " up vote 2 down vote If your image is 240px * 240px at 240dpi, and you change the resolution in photoshop to 72dpi, the image is still 240px * 240px and the quality isn't changed. It is just a reference for if the image is to be printed. If you're using an image onscreen you can ignore the dpi, it will only ever display the number of pixels. which begs the question: when saving for retina 2048 X1536: what PPI should we choose on save? Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com Ralph DiMola wrote: > I took the "ease the pain" path. I include 1 image that looks good on the > best resolution device and then scale it down. I use the iPad Retina for my > calculation. So if I want the image to take up say 70% of the card, I > calculate the size so when it's taking 70% of a Retina screen it look good. > Now when the image displays on a lower resolution device I scale it down to > 70% of the current device size and place it where it needs to be. Now this > has one big downfall.....CPU time. If all there were was iOS then creating > all the sizes for the Apple ecosystem would not be too bad although lots of > work when the next gen comes out. With the veritable cornucopia of Android > sizes I determined that it would be an impossible task to have images for > all those resolutions. Now I did all this before there was rescaling in LC. > Back in the day I got Jacque's "You have to roll your own rescaling" reality > check. It's nice to see that rescaling is now in LC. I'm going to give a > whirl soon. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net From gerry.orkin at gmail.com Wed Mar 11 03:11:27 2015 From: gerry.orkin at gmail.com (Gerry) Date: Wed, 11 Mar 2015 18:11:27 +1100 Subject: iOS simulator and iOS 8 [Was sqlite and iOS 8] In-Reply-To: <003901d0590e$bb9ce420$32d6ac60$@net> References: <13A21D97-0A49-4810-AA49-63E7D126B673@gmail.com> <003f01d0583c$c1d5a2f0$4580e8d0$@net> <1425723922638-4689790.post@n4.nabble.com> <003901d0590e$bb9ce420$32d6ac60$@net> Message-ID: <23977ED7-63BE-45CD-9F46-04421F36C37E@gmail.com> You are wasting time :) Use Monte's mergTestApp plug in. Makes deploying to a connected device simple as...click. g > On 8 Mar 2015, at 6:41 am, Ralph DiMola wrote: > > But in the end I just didn't have the time so I went the==>drag the > .app into the device using Xcode. Only takes 10 seconds with a click and > drag. From t.heaford at icloud.com Wed Mar 11 04:00:56 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Wed, 11 Mar 2015 08:00:56 +0000 Subject: LiveResize in 6.7.3 and 7.0.3 In-Reply-To: <54FF5E0B.7050205@hyperactivesw.com> References: <90BF3B9F-FD92-49B7-884E-5A12E7A8CF6D@icloud.com> <54FF5E0B.7050205@hyperactivesw.com> Message-ID: <5791DC86-FAE2-470F-81B2-9E1263212993@icloud.com> > On 10 Mar 2015, at 21:11, J. Landman Gay wrote: > > Besides locking the screen, also lock messages. I'd avoid deleting/recreating everything too, it would be better to just resize the existing controls, which is much faster. If that isn't possible for some reason, group as many child controls as possible and delete whole groups. Thank you for your suggestions: lock messages has improved it so it is acceptable in 6.7.3. Not tried 7.0.3 yet. I am in a position to group elements together into individual groups, for example: Grids Bars Segments Labels etc. and will then investigate them by deleting the individual groups. Hopefully smoother still after this. I noticed this in the dictionary, is it still valid? "The screen is locked while a resizeStack handler is running, so it is not necessary to use the lock screen command to prevent changes from being seen.? All the best Terry From t.heaford at icloud.com Wed Mar 11 04:03:06 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Wed, 11 Mar 2015 08:03:06 +0000 Subject: LiveResize in 6.7.3 and 7.0.3 In-Reply-To: <54FF6FF9.6050203@hindu.org> References: <90BF3B9F-FD92-49B7-884E-5A12E7A8CF6D@icloud.com> <54FF5E0B.7050205@hyperactivesw.com> <54FF6FF9.6050203@hindu.org> Message-ID: I have implemented your suggestion but without taking timings not sure if it has made a major difference over and above lock messages but any improvement is good. Thanks Terry > On 10 Mar 2015, at 22:28, Brahmanathaswami wrote: > > Years ago Scott Raney once suggested to me that for resizing images: make sure your code is not using a ratio algorithm that resets in a loop, in succession, the height and width. > > Instead, use an algorithm that changes the complete rect values with all 4 params and then the screen update for the change in size is 1/2 the time or even orders of magnitude faster... I haven't tested this in a long time though... > > i.e. if you a drag window, do not do this kind of thing: > > set the width of image Y to [whatever] > set the height of image Y tto [whatever] > > instead get your values ahead of time > then do this > > ## pseudo code > > put x into width > put y into height > > set the rect of img "house" to (0,0,x,y) > > might help... but yes, we really need smoother animation at all levels of LC. > > Swasti Astu, Be Well! > Brahmanathaswami > > Kauai's Hindu Monastery > www.HimalayanAcademy.com > From monte at sweattechnologies.com Wed Mar 11 04:36:16 2015 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 11 Mar 2015 19:36:16 +1100 Subject: iOS simulator and iOS 8 [Was sqlite and iOS 8] In-Reply-To: <23977ED7-63BE-45CD-9F46-04421F36C37E@gmail.com> References: <13A21D97-0A49-4810-AA49-63E7D126B673@gmail.com> <003f01d0583c$c1d5a2f0$4580e8d0$@net> <1425723922638-4689790.post@n4.nabble.com> <003901d0590e$bb9ce420$32d6ac60$@net> <23977ED7-63BE-45CD-9F46-04421F36C37E@gmail.com> Message-ID: Just don't click the test flight button anymore because apple broke it :-( -- M E R Goulding Software development services mergExt - There's an external for that! > On 11 Mar 2015, at 6:11 pm, Gerry wrote: > > You are wasting time :) Use Monte's mergTestApp plug in. Makes deploying to a connected device simple as...click. > > g > > >> On 8 Mar 2015, at 6:41 am, Ralph DiMola wrote: >> >> But in the end I just didn't have the time so I went the==>drag the >> .app into the device using Xcode. Only takes 10 seconds with a click and >> drag. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Wed Mar 11 04:29:46 2015 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 11 Mar 2015 01:29:46 -0700 (PDT) Subject: iOS simulator and iOS 8 [Was sqlite and iOS 8] In-Reply-To: <23977ED7-63BE-45CD-9F46-04421F36C37E@gmail.com> References: <13A21D97-0A49-4810-AA49-63E7D126B673@gmail.com> <003f01d0583c$c1d5a2f0$4580e8d0$@net> <1425723922638-4689790.post@n4.nabble.com> <003901d0590e$bb9ce420$32d6ac60$@net> <23977ED7-63BE-45CD-9F46-04421F36C37E@gmail.com> Message-ID: <1426062586567-4689965.post@n4.nabble.com> Actually the iOS simulator start up times with 7.0.3 has been pretty good - but I don't trust it anymore and hardly ever use it - better to get on a real device and test properly (what is the point of testing with an unpredictable simulator?). It may be I'm being too hard on the simulator but I've been doing more Android work recently where the emulator is a joke and I test on a real device 100% of the time ----- "The difference between genius and stupidity is; genius has its limits." - Albert Einstein -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/sqlite-and-iOS-8-tp4689713p4689965.html Sent from the Revolution - User mailing list archive at Nabble.com. From mikedoub at gmail.com Wed Mar 11 09:26:41 2015 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 11 Mar 2015 09:26:41 -0400 Subject: Spider Web chart? In-Reply-To: <22C01D1A-024E-47C0-B618-E274980D85AB@comcast.net> References: <22C01D1A-024E-47C0-B618-E274980D85AB@comcast.net> Message-ID: <55004291.3090707@gmail.com> David, What are the implications of getting a fractional part of a point? Does livecode just ignore the fraction or should the results be truncated or rounded? Thanks Mike On 3/10/15 10:27 PM, David Epstein wrote: > function yAD x,y,d,a, at xAD > -- calculate point x1,y1 that is distance d and angle a from point x,y > -- return y1, load x1 into param 5 > -- a is in degrees, positive is east of north > put (90-a)*2*pi/360 into a > put x + d*cos(a) into xAD > return y + d*sin(a) > end yAD From tedennis at softwaredetails.com Wed Mar 11 09:27:14 2015 From: tedennis at softwaredetails.com (TEDennis) Date: Wed, 11 Mar 2015 06:27:14 -0700 (PDT) Subject: LC7 & Unicode In-Reply-To: References: <1F665522-6694-45D5-B3A2-944886B164AF@icloud.com> <54FF3AE1.9090202@fourthworld.com> Message-ID: <1426080434357-4689967.post@n4.nabble.com> re: Internally, the LC7 engine only uses Unicode if it has to. If your application only uses native strings, then LC7 will only use native strings. Built-in Unicode support has very little to do with the fact that LC7 is slower for some workload I don't now, and don't intend to, use Unicode. I don't want *ANY* overhead associated with a feature I don't use. How does LC7 detect Unicode is being used? Can we turn off that detection, thus eliminating Unicode processing? How can we determine whether or not Unicode is being "used"? My situation: I create a "chunk" of data by concatenating binary data to "native strings". Then, I save the chunk into a large roll-your-own one-record-at-a-time "database". If LC7 is somehow automatically detecting Unicode, perhaps my "blob" of data is fooling it into thinking it's Unicode. There are 165,000+ records in my DB. Yes, I know a datastore of that size should use SQLite, or some other database handler. But, it started out 8 years ago being less than 1,000 records. Imagine my surprise when the quick-n-dirty stack slowly morphed into a real app. Incidentally, the "blob" also includes native HTML text. Could that be involved somehow in Unicode detection? TED -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC7-Unicode-tp4689927p4689967.html Sent from the Revolution - User mailing list archive at Nabble.com. From t.heaford at icloud.com Wed Mar 11 11:00:43 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Wed, 11 Mar 2015 15:00:43 +0000 Subject: LiveResize in 6.7.3 and 7.0.3 In-Reply-To: <5791DC86-FAE2-470F-81B2-9E1263212993@icloud.com> References: <90BF3B9F-FD92-49B7-884E-5A12E7A8CF6D@icloud.com> <54FF5E0B.7050205@hyperactivesw.com> <5791DC86-FAE2-470F-81B2-9E1263212993@icloud.com> Message-ID: <86ED410D-BB4C-4CCE-BEC0-91309960724C@icloud.com> > On 11 Mar 2015, at 08:00, Terence Heaford wrote: > > lock messages has improved it so it is acceptable in 6.7.3. Not tried 7.0.3 yet. Just tried it with LC 7.0.3 (lock screen and lock messages) and although it is not bad it is not as smooth as LC 6.7.3. All the best Terry From capellan2000 at gmail.com Wed Mar 11 12:10:58 2015 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 11 Mar 2015 11:10:58 -0500 Subject: LiveResize in 6.7.3 and 7.0.3 Message-ID: Hi All, > on Tue, 10 Mar 2015 Brahmanathaswami wrote: > [snip] > Perhaps one path to "ease the pain" of multiple images could be > 1) see how far you can take your design with vector objects so that > scale relative to appearance is never an issue. > I need to test EPS more extensively and break open Adobe Illustrator's > toolbox. Theoretically this get's us vector if you stay in vector (don't > place jpgs) > "Importing an EPS file creates an EPS object on the current card." > should work big or small.. After LiveCode engine imports SVG (with gradients and transparency) as native vector graphics, using vector graphics will be more widely adopted. Actually, the options are: 1) Design all vector graphics inside LiveCode (This is possible but not simple or easy) 2) Import SVG (flat color with thansparency ) and edit them inside Livecode 3) Import Adobe Ilustrator graphics (with gradients but no transparency) and edit them inside Livecode Al From paul at livecode.org Wed Mar 11 12:20:38 2015 From: paul at livecode.org (Paul Hibbert) Date: Wed, 11 Mar 2015 09:20:38 -0700 Subject: Managing Sizes - Images in Mobile (was Mobile Template) In-Reply-To: <54FFB0D5.1020200@hindu.org> References: <54FF6D11.6050303@hindu.org> <007601d05b86$e2ed1d40$a8c757c0$@net> <54FFB0D5.1020200@hindu.org> Message-ID: > If your image is 240px * 240px at 240dpi, and you change the resolution in photoshop to 72dpi, the image is still 240px * 240px and the quality isn't changed. It is just a reference for if the image is to be printed. Assuming you are talking about the menu option [Image > Image Size?], that sounds like pretty dangerous advice, it really depends on the settings used in Photoshop, if you have the 'Resample' option checked it will reduce your image to 72px x 72px and lose a great deal of data. > If you're using an image onscreen you can ignore the dpi, it will only ever display the number of pixels. DPI (dots per inch) is the output device resolution, PPI (pixels per inch) is the image resolution, they will have an optimum relationship depending on the output device and the final quality required. Unfortunately DPI is often used in the wrong context and it can cause confusion. DPI vs PPI terminology is explained here? https://forums.adobe.com/thread/370714 > which begs the question: when saving for retina 2048 X1536: what PPI should we choose on save? PPI is not really relevant to LC, but the pixel dimensions of your image are. If you have an image that is 240px X 240px at 72ppi and place it on a card in LC, assuming you don't resize it, it will be 240 pixels by 240 pixels, the same image at 240ppi will still be 240 pixels by 240 pixels on the card. Try it and you may understand better, make 2 images in Photoshop, both 240px square and set one to 72ppi and the other one to 240ppi then place them side by side in LiveCode, they will both import at the same size when placed on the card. So if your image was to take up 70% of the screen area then an image of 1434px x 1075px would be correct. LC places images at 1:1 pixel size so just choose a resolution that you are comfortable with and stick to it, it won't make any difference to LC and is not important unless you intend scaling images or producing stacks that print high resolution images, then you just need to do the maths. If you are making re-sizeable stacks for different devices, then you may need to either work to the highest resolution device and allow the images to scale down, or use the system described here? http://lessons.runrev.com/m/15262/l/156530-how-do-i-support-different-device-screen-densities (Especially note the paragraph titled Example towards the end of the article). The benefit of this approach is that you can ignore "Retina" and design for standard screen sizes and the high-res stuff takes care of itself. HTH Paul From devin_asay at byu.edu Wed Mar 11 12:22:17 2015 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 11 Mar 2015 16:22:17 +0000 Subject: Managing Sizes - Images in Mobile (was Mobile Template) In-Reply-To: <007601d05b86$e2ed1d40$a8c757c0$@net> References: <54FF6D11.6050303@hindu.org> <007601d05b86$e2ed1d40$a8c757c0$@net> Message-ID: <02F1C7DD-75BB-47A1-A193-2B691897D694@byu.edu> Are you guys talking about the automatic Density Mapped Images feature that was introduced in 6.5? You just provide image assets at various resolutions with standard resolution tags appended to the filenames, and LiveCode automatically chooses the best resolution based on the resolution of the device. See the tutorial at http://lessons.runrev.com/s/lessons/m/15262/l/156530-how-do-i-support-different-device-screen-densities. Or am I completely missing the point of the question? (Wouldn?t be the first time.) Devin On Mar 10, 2015, at 5:06 PM, Ralph DiMola wrote: > I took the "ease the pain" path. I include 1 image that looks good on the > best resolution device and then scale it down. I use the iPad Retina for my > calculation. So if I want the image to take up say 70% of the card, I > calculate the size so when it's taking 70% of a Retina screen it look good. > Now when the image displays on a lower resolution device I scale it down to > 70% of the current device size and place it where it needs to be. Now this > has one big downfall.....CPU time. If all there were was iOS then creating > all the sizes for the Apple ecosystem would not be too bad although lots of > work when the next gen comes out. With the veritable cornucopia of Android > sizes I determined that it would be an impossible task to have images for > all those resolutions. Now I did all this before there was rescaling in LC. > Back in the day I got Jacque's "You have to roll your own rescaling" reality > check. It's nice to see that rescaling is now in LC. I'm going to give a > whirl soon. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Brahmanathaswami > Sent: Tuesday, March 10, 2015 6:16 PM > To: How to use LiveCode > Subject: Managing Sizes - Images in Mobile (was Mobile Template) > > Hmm... All this buzz about apps that scale everything for every rect, with > CSS and HTML5 etc, > > Certainly they are not placing a single instance of a rasturized image at > 320 X 568 @ 72 and then expect that to scale up to 1024 X 768 > "automatically" and still look decent. Unless the laws of pixel physics have > changed recently, I'm still thinking upscaled low res graphics will yield > rancid results no matter what the framework. Am I mistaken? Even Apple's > iBook Author software called for multiple images at different sizes... > > Perhaps one path to "ease the pain" of multiple images could be > > 1) see how far you can take your design with vector objects so that scale > relative to appearance is never an issue. > > I need to test EPS more extensively and break open Adobe Illustrator's > toolbox. Theoretically this get's us vector if you stay in vector (don't > place jpgs) > > "Importing an EPS file creates an EPS object on the current card." > > should work big or small.. > > 2) For "single image instance" development, for raster art/photos... go the > other direction: provide images to some larger rect at 150dpi and then when > it scales down, it will look great (untested). > > It seems to me the total "weight" of the app resources would be the same > if you included 6 files at different resolutions, or just 1 image at a > higher resolution that works for most contexts. 7.0.3's boot time is a sad > regression, but, once open LC's render time for a larger image into a > smaller rect should not be a issue if the image is local Am I daft? > Different story of course if you are pulling from a remote server. > > Is anyone else thinking/working in terms of this "single hi-res raster image > instance" direction? > > If so -- what seems to be good params for the optimal "single image > instance" size and resolution for most devices? > > Brahmanathaswami > > Geoff Canyon wrote: >>>> I'm working in 6.7.3, so (as far as I know) there's still some >>>> sort of "build it at 320x568 and it will automatically scale up, >>>> but then you have to provide double-size graphics, etc." thing going > on. >> >> >> fullscreenmode -- apparently in place since6.5. I'm looking into it now. >> >> gc > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Office of Digital Humanities Brigham Young University From sebastien.nouat at livecode.com Wed Mar 11 13:49:48 2015 From: sebastien.nouat at livecode.com (sebastien) Date: Wed, 11 Mar 2015 17:49:48 +0000 Subject: Release 6.7.4 RC 1 / 7.0.4 RC 1 Message-ID: <5500803C.7000508@livecode.com> Dear List Members, We're pleased to announce the release of LiveCode 6.7.4 RC 1 and 7.0.4 RC 1. This release is a maintenance release that contains bug fixes for both versions. The list of bug fixed can be found in the Release Notes. *Getting the Release* To get the release please select "check for updates" from the "help" menu in the product or download the installer directly at: http://downloads.livecode.com *6.7.4 RC 2 / 7.0.4 RC 2 * The next maintenance builds of these releases will be made public in the coming days, and they will add the support for Xcode 6.2, released by Apple on the 9th of March. Warm regards, The LiveCode Team From t.heaford at icloud.com Wed Mar 11 14:26:00 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Wed, 11 Mar 2015 18:26:00 +0000 Subject: Printing in LC 7.0.3 In-Reply-To: <54FEF831.4040700@fourthworld.com> References: <54F8D632.2020707@fourthworld.com> <54FEF831.4040700@fourthworld.com> Message-ID: <71AE0057-E7BD-40E4-AEFA-8AC235EA934D@icloud.com> Just downloaded LC 7.0.4 rc1 and it?s not in this build. All the best Terry > On 10 Mar 2015, at 13:57, Richard Gaskin wrote: > > On 5 March Paul Hibbert wrote: > > > This bug is reported now: > > > > http://quality.runrev.com/show_bug.cgi?id=14814 > > Thanks again for reporting this, Paul. > > I just got notice from the bug DB this morning that this issue has been fixed, and will be in the next build. > > Good work by all. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Mar 11 14:32:49 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 11 Mar 2015 11:32:49 -0700 Subject: Printing in LC 7.0.3 In-Reply-To: <71AE0057-E7BD-40E4-AEFA-8AC235EA934D@icloud.com> References: <71AE0057-E7BD-40E4-AEFA-8AC235EA934D@icloud.com> Message-ID: <55008A51.2060805@fourthworld.com> Terence Heaford wrote: > On 10 Mar 2015, at 13:57, Richard Gaskin wrote: >> >> On 5 March Paul Hibbert wrote: >> >> > This bug is reported now: >> > >> > http://quality.runrev.com/show_bug.cgi?id=14814 >> >> Thanks again for reporting this, Paul. >> >> I just got notice from the bug DB this morning that this issue has >> been fixed, and will be in the next build. >> >> Good work by all. > > Just downloaded LC 7.0.4 rc1 and it?s not in this build. The report's status is "awaiting merge", and that was just yesterday. Given the time required for both the merge and build processes, it may be that this item is outside the scope of this morning's 7.0.4rc1, likely in the build after. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sebastien.nouat at livecode.com Wed Mar 11 14:34:31 2015 From: sebastien.nouat at livecode.com (sebastien) Date: Wed, 11 Mar 2015 18:34:31 +0000 Subject: Printing in LC 7.0.3 In-Reply-To: <71AE0057-E7BD-40E4-AEFA-8AC235EA934D@icloud.com> References: <54F8D632.2020707@fourthworld.com> <54FEF831.4040700@fourthworld.com> <71AE0057-E7BD-40E4-AEFA-8AC235EA934D@icloud.com> Message-ID: <55008AB7.2020804@livecode.com> On 11/03/2015 18:26, Terence Heaford wrote: > Just downloaded LC 7.0.4 rc1 and it?s not in this build. > > All the best > > Terry > >> On 10 Mar 2015, at 13:57, Richard Gaskin wrote: >> >> On 5 March Paul Hibbert wrote: >> >>> This bug is reported now: >>> >>> http://quality.runrev.com/show_bug.cgi?id=14814 >> Thanks again for reporting this, Paul. >> >> I just got notice from the bug DB this morning that this issue has been fixed, and will be in the next build. >> >> Good work by all. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Hi Terence, LiveCode 7.0.4 RC 1 was already built, and under test, at the time the bug fix for the printing issue was made. It will be in 7.0.4 RC 2, which should come soon, next week. Regard, S?bastien Nouat LiveCode Development Team From t.heaford at icloud.com Wed Mar 11 14:34:50 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Wed, 11 Mar 2015 18:34:50 +0000 Subject: Printing in LC 7.0.3 In-Reply-To: <55008A51.2060805@fourthworld.com> References: <71AE0057-E7BD-40E4-AEFA-8AC235EA934D@icloud.com> <55008A51.2060805@fourthworld.com> Message-ID: <1B5835EE-7B6F-4A20-A4A6-144A364FA576@icloud.com> > On 11 Mar 2015, at 18:32, Richard Gaskin wrote: > > The report's status is "awaiting merge", and that was just yesterday. Given the time required for both the merge and build processes, it may be that this item is outside the scope of this morning's 7.0.4rc1, likely in the build after. OK Thanks Terry From t.heaford at icloud.com Wed Mar 11 14:37:34 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Wed, 11 Mar 2015 18:37:34 +0000 Subject: Printing in LC 7.0.3 In-Reply-To: <55008AB7.2020804@livecode.com> References: <54F8D632.2020707@fourthworld.com> <54FEF831.4040700@fourthworld.com> <71AE0057-E7BD-40E4-AEFA-8AC235EA934D@icloud.com> <55008AB7.2020804@livecode.com> Message-ID: <7902CA50-D1FE-445E-A5D1-B68252DC3D21@icloud.com> > On 11 Mar 2015, at 18:34, sebastien wrote: > > LiveCode 7.0.4 RC 1 was already built, and under test, at the time the bug fix for the printing issue was made. > It will be in 7.0.4 RC 2, which should come soon, next week. Thanks for the feedback. All the best Terry From mwieder at ahsoftware.net Wed Mar 11 14:58:00 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 11 Mar 2015 18:58:00 +0000 (UTC) Subject: Spider Web chart? References: <22C01D1A-024E-47C0-B618-E274980D85AB@comcast.net> <55004291.3090707@gmail.com> Message-ID: Michael Doub writes: > What are the implications of getting a fractional part of a point? Does > livecode just ignore the fraction or should the results be truncated or > rounded? Depends on the LiveCode version. Previously, non-integer points could crash. I put a fix into the engine somewhere along the 6.x line to allow rounding. So current LC versions should round the displayed values but keep and use the fractional ones. -- Mark Wieder ahsoftware at gmail.com From david at viral.academy Wed Mar 11 15:13:44 2015 From: david at viral.academy (David Bovill) Date: Wed, 11 Mar 2015 19:13:44 +0000 Subject: Spider Web chart? References: <22C01D1A-024E-47C0-B618-E274980D85AB@comcast.net> <55004291.3090707@gmail.com> Message-ID: Yes - I think I got something I worked on last year. I'll dig it out. On Wed, 11 Mar 2015 at 18:58, Mark Wieder wrote: > Michael Doub writes: > > > What are the implications of getting a fractional part of a point? Does > > livecode just ignore the fraction or should the results be truncated or > > rounded? > > Depends on the LiveCode version. Previously, non-integer points could > crash. > I put a fix into the engine somewhere along the 6.x line to allow rounding. > So current LC versions should round the displayed values but keep and use > the > fractional ones. > > -- > Mark Wieder > ahsoftware at gmail.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pystcat at gmail.com Wed Mar 11 15:33:32 2015 From: pystcat at gmail.com (PystCat) Date: Wed, 11 Mar 2015 15:33:32 -0400 Subject: [OT] Unconference in NYC Message-ID: <12A8DD3C-25C0-495B-A23B-0EBE5E5C688D@gmail.com> Is anyone on this list going tomorrow to the un-conference..? I see that there are 54 people who have signed up. What I want to know is if there is any parking over there?? I used Google maps to check it out but don?t see anything. I live in the city, and just like the Seinfeld episode, if something is more than 5 blocks away I couldn?t be bothered? ;-) If no parking, then I?ll just do it online. Thanks Paul From smaclean at madmansoft.com Wed Mar 11 15:51:12 2015 From: smaclean at madmansoft.com (Stephen MacLean) Date: Wed, 11 Mar 2015 15:51:12 -0400 Subject: [OT] Unconference in NYC In-Reply-To: <12A8DD3C-25C0-495B-A23B-0EBE5E5C688D@gmail.com> References: <12A8DD3C-25C0-495B-A23B-0EBE5E5C688D@gmail.com> Message-ID: I'll be there! Don't know about parking, taking the train into NYC. Best, Steve MacLean > On Mar 11, 2015, at 3:33 PM, PystCat wrote: > > Is anyone on this list going tomorrow to the un-conference..? I see that there are 54 people who have signed up. > > What I want to know is if there is any parking over there?? I used Google maps to check it out but don?t see anything. I live in the city, and just like the Seinfeld episode, if something is more than 5 blocks away I couldn?t be bothered? ;-) > > If no parking, then I?ll just do it online. > > Thanks > Paul > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pystcat at gmail.com Wed Mar 11 16:17:36 2015 From: pystcat at gmail.com (PystCat) Date: Wed, 11 Mar 2015 16:17:36 -0400 Subject: [OT] Unconference in NYC In-Reply-To: References: <12A8DD3C-25C0-495B-A23B-0EBE5E5C688D@gmail.com> Message-ID: Ummmmm? it?s in Brooklyn. > On Mar 11, 2015, at 3:51 PM, Stephen MacLean wrote: > > I'll be there! > > Don't know about parking, taking the train into NYC. > > Best, > > Steve MacLean > >> On Mar 11, 2015, at 3:33 PM, PystCat wrote: >> >> Is anyone on this list going tomorrow to the un-conference..? I see that there are 54 people who have signed up. >> >> What I want to know is if there is any parking over there?? I used Google maps to check it out but don?t see anything. I live in the city, and just like the Seinfeld episode, if something is more than 5 blocks away I couldn?t be bothered? ;-) >> >> If no parking, then I?ll just do it online. >> >> Thanks >> Paul >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Wed Mar 11 16:29:04 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Wed, 11 Mar 2015 16:29:04 -0400 Subject: [OT] Unconference in NYC In-Reply-To: References: <12A8DD3C-25C0-495B-A23B-0EBE5E5C688D@gmail.com> Message-ID: Brooklyn is part of NYC. You were perhaps thinking of Manhattan. Not sure about parking. I?m going to bike there, so I?ll be ok. > On Mar 11, 2015, at 4:17 PM, PystCat wrote: > > Ummmmm? it?s in Brooklyn. > > >> On Mar 11, 2015, at 3:51 PM, Stephen MacLean wrote: >> >> I'll be there! >> >> Don't know about parking, taking the train into NYC. >> >> Best, >> >> Steve MacLean >> >>> On Mar 11, 2015, at 3:33 PM, PystCat wrote: >>> >>> Is anyone on this list going tomorrow to the un-conference..? I see that there are 54 people who have signed up. >>> >>> What I want to know is if there is any parking over there?? I used Google maps to check it out but don?t see anything. I live in the city, and just like the Seinfeld episode, if something is more than 5 blocks away I couldn?t be bothered? ;-) >>> >>> If no parking, then I?ll just do it online. >>> >>> Thanks >>> Paul >>> From pystcat at gmail.com Wed Mar 11 16:31:00 2015 From: pystcat at gmail.com (PystCat) Date: Wed, 11 Mar 2015 16:31:00 -0400 Subject: [OT] Unconference in NYC In-Reply-To: References: <12A8DD3C-25C0-495B-A23B-0EBE5E5C688D@gmail.com> Message-ID: <27FD52C0-1F52-4F7D-9C7A-8AE73EB5C3B1@gmail.com> Ohhhhhh? as a NYC resident, saying that Brooklyn IS NYC is fighting? words? ;-) > On Mar 11, 2015, at 4:29 PM, Colin Holgate wrote: > > Brooklyn is part of NYC. You were perhaps thinking of Manhattan. > > Not sure about parking. I?m going to bike there, so I?ll be ok. > > >> On Mar 11, 2015, at 4:17 PM, PystCat wrote: >> >> Ummmmm? it?s in Brooklyn. >> >> >>> On Mar 11, 2015, at 3:51 PM, Stephen MacLean wrote: >>> >>> I'll be there! >>> >>> Don't know about parking, taking the train into NYC. >>> >>> Best, >>> >>> Steve MacLean >>> >>>> On Mar 11, 2015, at 3:33 PM, PystCat wrote: >>>> >>>> Is anyone on this list going tomorrow to the un-conference..? I see that there are 54 people who have signed up. >>>> >>>> What I want to know is if there is any parking over there?? I used Google maps to check it out but don?t see anything. I live in the city, and just like the Seinfeld episode, if something is more than 5 blocks away I couldn?t be bothered? ;-) >>>> >>>> If no parking, then I?ll just do it online. >>>> >>>> Thanks >>>> Paul >>>> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Mar 11 16:34:34 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 11 Mar 2015 15:34:34 -0500 Subject: [OT] Unconference in NYC In-Reply-To: <27FD52C0-1F52-4F7D-9C7A-8AE73EB5C3B1@gmail.com> References: <12A8DD3C-25C0-495B-A23B-0EBE5E5C688D@gmail.com> <27FD52C0-1F52-4F7D-9C7A-8AE73EB5C3B1@gmail.com> Message-ID: <5500A6DA.60106@hyperactivesw.com> A question about the time. The US is on daylight savings time now, the announcement says 5 PM GMT, which isn't daylight savings. So what time is the presentation in the US? If it is at 1 PM EDT then it isn't at 5 PM GMT. If it is at 1 PM EST then it is clock-time at 2 PM EDT. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Wed Mar 11 16:41:19 2015 From: dunbarx at aol.com (dunbarx) Date: Wed, 11 Mar 2015 13:41:19 -0700 (PDT) Subject: [OT] Unconference in NYC In-Reply-To: <5500A6DA.60106@hyperactivesw.com> References: <12A8DD3C-25C0-495B-A23B-0EBE5E5C688D@gmail.com> <27FD52C0-1F52-4F7D-9C7A-8AE73EB5C3B1@gmail.com> <5500A6DA.60106@hyperactivesw.com> Message-ID: <1426106479558-4689986.post@n4.nabble.com> There are parking garages around the neighborhood, one on Broadway (Brooklyn, of course) just below the Williamsburg Bridge, and a few a bit north of the venue. All within a handful of blocks. Colin lives in Brooklyn. I would follow his lead The old NYHUG group is meeting tonight. I will try to find out about the time. I assume it starts at 10AM EST. Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Unconference-in-NYC-tp4689980p4689986.html Sent from the Revolution - User mailing list archive at Nabble.com. From dunbarx at aol.com Wed Mar 11 17:03:19 2015 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 11 Mar 2015 17:03:19 -0400 Subject: [OT] Unconference in NYC In-Reply-To: <5500A6DA.60106@hyperactivesw.com> Message-ID: <14c0aa618f6-6a27-3d01@webprd-m49.mail.aol.com> Jacque. I see the announced time as 10AM-5PM EST. I will try to find out tonight. Are you coming? Craig -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Wed, Mar 11, 2015 4:35 pm Subject: Re: [OT] Unconference in NYC A question about the time. The US is on daylight savings time now, the announcement says 5 PM GMT, which isn't daylight savings. So what time is the presentation in the US? If it is at 1 PM EDT then it isn't at 5 PM GMT. If it is at 1 PM EST then it is clock-time at 2 PM EDT. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Mar 11 17:08:46 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 11 Mar 2015 16:08:46 -0500 Subject: [OT] Unconference in NYC In-Reply-To: <14c0aa618f6-6a27-3d01@webprd-m49.mail.aol.com> References: <14c0aa618f6-6a27-3d01@webprd-m49.mail.aol.com> Message-ID: <5500AEDE.6070300@hyperactivesw.com> On 3/11/2015 4:03 PM, dunbarx at aol.com wrote: > I see the announced time as 10AM-5PM EST. I was using the announced webinar time for Kevin's keynote, which is 5 PM GMT. > Are you coming? Only virtually. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From smaclean at madmansoft.com Wed Mar 11 17:33:30 2015 From: smaclean at madmansoft.com (Stephen MacLean) Date: Wed, 11 Mar 2015 17:33:30 -0400 Subject: [OT] Unconference in NYC In-Reply-To: <27FD52C0-1F52-4F7D-9C7A-8AE73EB5C3B1@gmail.com> References: <12A8DD3C-25C0-495B-A23B-0EBE5E5C688D@gmail.com> <27FD52C0-1F52-4F7D-9C7A-8AE73EB5C3B1@gmail.com> Message-ID: Supposed to be able to get there via subway;) Will figure it all out before then. See you both tomorrow! > On Mar 11, 2015, at 4:31 PM, PystCat wrote: > > Ohhhhhh? as a NYC resident, saying that Brooklyn IS NYC is fighting? words? ;-) > > >> On Mar 11, 2015, at 4:29 PM, Colin Holgate wrote: >> >> Brooklyn is part of NYC. You were perhaps thinking of Manhattan. >> >> Not sure about parking. I?m going to bike there, so I?ll be ok. >> >> >>> On Mar 11, 2015, at 4:17 PM, PystCat wrote: >>> >>> Ummmmm? it?s in Brooklyn. >>> >>> >>>> On Mar 11, 2015, at 3:51 PM, Stephen MacLean wrote: >>>> >>>> I'll be there! >>>> >>>> Don't know about parking, taking the train into NYC. >>>> >>>> Best, >>>> >>>> Steve MacLean >>>> >>>>> On Mar 11, 2015, at 3:33 PM, PystCat wrote: >>>>> >>>>> Is anyone on this list going tomorrow to the un-conference..? I see that there are 54 people who have signed up. >>>>> >>>>> What I want to know is if there is any parking over there?? I used Google maps to check it out but don?t see anything. I live in the city, and just like the Seinfeld episode, if something is more than 5 blocks away I couldn?t be bothered? ;-) >>>>> >>>>> If no parking, then I?ll just do it online. >>>>> >>>>> Thanks >>>>> Paul >>>>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kevin at livecode.com Wed Mar 11 17:41:47 2015 From: kevin at livecode.com (Kevin Miller) Date: Wed, 11 Mar 2015 17:41:47 -0400 Subject: [OT] Unconference in NYC In-Reply-To: <14c0aa618f6-6a27-3d01@webprd-m49.mail.aol.com> References: <5500A6DA.60106@hyperactivesw.com> <14c0aa618f6-6a27-3d01@webprd-m49.mail.aol.com> Message-ID: Its at 1PM New York time, beware that daylight savings time is not in sync at the moment, so its only 4 hours ahead in the UK at 5PM instead of the usual 5 hours. Kind regards, Kevin Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps On 11/03/2015 17:03, "dunbarx at aol.com" wrote: >Jacque. > >I see the announced time as 10AM-5PM EST. > > >I will try to find out tonight. > > >Are you coming? > > >Craig > > >-----Original Message----- >From: J. Landman Gay >To: How to use LiveCode >Sent: Wed, Mar 11, 2015 4:35 pm >Subject: Re: [OT] Unconference in NYC > > >A question about the time. The US is on daylight savings time now, the > >announcement says 5 PM GMT, which isn't daylight savings. So what time >is >the presentation in the US? > >If it is at 1 PM EDT then it isn't at 5 PM GMT. >If it is at 1 PM EST >then it is clock-time at 2 PM EDT. > >-- >Jacqueline >Landman Gay | jacque at hyperactivesw.com >HyperActive Software >| >http://www.hyperactivesw.com > >_______________________________________________ >use-livecode >mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, >unsubscribe and manage your subscription >preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed Mar 11 18:58:43 2015 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 11 Mar 2015 18:58:43 -0400 Subject: [OT] Unconference in NYC In-Reply-To: References: <5500A6DA.60106@hyperactivesw.com> <14c0aa618f6-6a27-3d01@webprd-m49.mail.aol.com> Message-ID: I will also be there via wire, so no one needs to worry about turning to stone. On Wed, Mar 11, 2015 at 5:41 PM, Kevin Miller wrote: > Its at 1PM New York time, beware that daylight savings time is not in sync > at the moment, so its only 4 hours ahead in the UK at 5PM instead of the > usual 5 hours. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ > LiveCode: Everyone can create apps > > > > > On 11/03/2015 17:03, "dunbarx at aol.com" wrote: > > >Jacque. > > > >I see the announced time as 10AM-5PM EST. > > > > > >I will try to find out tonight. > > > > > >Are you coming? > > > > > >Craig > > > > > >-----Original Message----- > >From: J. Landman Gay > >To: How to use LiveCode > >Sent: Wed, Mar 11, 2015 4:35 pm > >Subject: Re: [OT] Unconference in NYC > > > > > >A question about the time. The US is on daylight savings time now, the > > > >announcement says 5 PM GMT, which isn't daylight savings. So what time > >is > >the presentation in the US? > > > >If it is at 1 PM EDT then it isn't at 5 PM GMT. > >If it is at 1 PM EST > >then it is clock-time at 2 PM EDT. > > > >-- > >Jacqueline > >Landman Gay | jacque at hyperactivesw.com > >HyperActive Software > >| > >http://www.hyperactivesw.com > > > >_______________________________________________ > >use-livecode > >mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, > >unsubscribe and manage your subscription > >preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From colinholgate at gmail.com Wed Mar 11 20:30:29 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Wed, 11 Mar 2015 20:30:29 -0400 Subject: [OT] Unconference in NYC In-Reply-To: References: <5500A6DA.60106@hyperactivesw.com> <14c0aa618f6-6a27-3d01@webprd-m49.mail.aol.com> Message-ID: Someone at dinner this evening had a difference schedule for the conference than the one I had been reading. Hopefully my one was the incorrect one. This should be correct: http://livecode.com/nyc/ This one is hopefully incorrect: http://livecode.com/blog/events/livecode-unconference/ Unfortunately, the wrong one comes up first in a Google search. From pystcat at gmail.com Wed Mar 11 20:33:31 2015 From: pystcat at gmail.com (PystCat) Date: Wed, 11 Mar 2015 20:33:31 -0400 Subject: [OT] Unconference in NYC In-Reply-To: References: <5500A6DA.60106@hyperactivesw.com> <14c0aa618f6-6a27-3d01@webprd-m49.mail.aol.com> Message-ID: <217A7B01-01C9-46D8-AAB5-5E0BAC708291@gmail.com> Ummmmm? they both have the Brooklyn address: 45 S 3rd Street Brooklyn, NY 11249 Do you know another address..? > On Mar 11, 2015, at 8:30 PM, Colin Holgate wrote: > > Someone at dinner this evening had a difference schedule for the conference than the one I had been reading. Hopefully my one was the incorrect one. This should be correct: > > http://livecode.com/nyc/ > > This one is hopefully incorrect: > > http://livecode.com/blog/events/livecode-unconference/ > > Unfortunately, the wrong one comes up first in a Google search. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Wed Mar 11 20:38:13 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Wed, 11 Mar 2015 20:38:13 -0400 Subject: [OT] Unconference in NYC In-Reply-To: <217A7B01-01C9-46D8-AAB5-5E0BAC708291@gmail.com> References: <5500A6DA.60106@hyperactivesw.com> <14c0aa618f6-6a27-3d01@webprd-m49.mail.aol.com> <217A7B01-01C9-46D8-AAB5-5E0BAC708291@gmail.com> Message-ID: I think that?s the only address I?ve seen. I was referring to the timetable. The blog version has Kevin talking at 10:30am, and the non blog version has him at 1pm. > On Mar 11, 2015, at 8:33 PM, PystCat wrote: > > Ummmmm? they both have the Brooklyn address: > 45 S 3rd Street > Brooklyn, NY 11249 > > Do you know another address..? > > >> On Mar 11, 2015, at 8:30 PM, Colin Holgate wrote: >> >> Someone at dinner this evening had a difference schedule for the conference than the one I had been reading. Hopefully my one was the incorrect one. This should be correct: >> >> http://livecode.com/nyc/ >> >> This one is hopefully incorrect: >> >> http://livecode.com/blog/events/livecode-unconference/ >> >> Unfortunately, the wrong one comes up first in a Google search. From dunbarx at aol.com Wed Mar 11 20:36:39 2015 From: dunbarx at aol.com (dunbarx) Date: Wed, 11 Mar 2015 17:36:39 -0700 (PDT) Subject: [OT] Unconference in NYC In-Reply-To: References: <27FD52C0-1F52-4F7D-9C7A-8AE73EB5C3B1@gmail.com> <5500A6DA.60106@hyperactivesw.com> <14c0aa618f6-6a27-3d01@webprd-m49.mail.aol.com> <217A7B01-01C9-46D8-AAB5-5E0BAC708291@gmail.com> Message-ID: <1426120599772-4689995.post@n4.nabble.com> OK. I just left Mr. Miller. All times are local, EDT. 10:00 AM: Doors open, registration for demos. 10:30 AM: Start of the day... 1:00 PM: Keynote Address. Address is 45 S. 3rd S. 3rd St. That has not changed. Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Unconference-in-NYC-tp4689980p4689995.html Sent from the Revolution - User mailing list archive at Nabble.com. From colinholgate at gmail.com Wed Mar 11 21:15:25 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Wed, 11 Mar 2015 21:15:25 -0400 Subject: Mobile SDK Preference In-Reply-To: References: <8BD3FE98-806F-4F93-8152-02E69D13F3FC@clearvisiontech.com> Message-ID: What?s the current situation with LiveCode and Xcode? v7.0.3 still gives the "The chosen folder is not a valid iOS SDK.? error when trying to use Xcode 6.2. > On Nov 15, 2014, at 12:17 PM, Sean Cole (Pi) wrote: > > Hi Dan, > > What is the exact path to the file you are referencing in the MobileSupport > preference? Copy and paste it here. > > Bear in mind that LC6.6.4 only accepts up to Xcode 6.0. If you are trying > to add XC6.1 then you will get the error message "The chosen folder is not > a valid iOS SDK". > > All the best > > Sean Cole > *Pi Digital Productions Ltd* > www.pidigital.co.uk > > > On 15 November 2014 17:05, Dan Friedman wrote: > >> When I choose Preferences and click "Mobile Support", you used to be able >> to click "Add Entry" and select the Xcode application and LiveCode was >> happy. But, with LC 6.6.4, I choose the Xcode application (version 6.1) >> and LC reports, "The chosen folder is not a valid iOS SDK.". What am I >> doing wrong? >> >> Thanks! >> -Dan From pystcat at gmail.com Wed Mar 11 21:17:26 2015 From: pystcat at gmail.com (PystCat) Date: Wed, 11 Mar 2015 21:17:26 -0400 Subject: Mobile SDK Preference In-Reply-To: References: <8BD3FE98-806F-4F93-8152-02E69D13F3FC@clearvisiontech.com> Message-ID: <16ABE3DE-C564-4C64-9796-20622109ADF3@gmail.com> Yeah. Like Ralph... I decided to just rollback through time machine? > On Mar 11, 2015, at 9:15 PM, Colin Holgate wrote: > > What?s the current situation with LiveCode and Xcode? v7.0.3 still gives the "The chosen folder is not a valid iOS SDK.? error when trying to use Xcode 6.2. > > >> On Nov 15, 2014, at 12:17 PM, Sean Cole (Pi) wrote: >> >> Hi Dan, >> >> What is the exact path to the file you are referencing in the MobileSupport >> preference? Copy and paste it here. >> >> Bear in mind that LC6.6.4 only accepts up to Xcode 6.0. If you are trying >> to add XC6.1 then you will get the error message "The chosen folder is not >> a valid iOS SDK". >> >> All the best >> >> Sean Cole >> *Pi Digital Productions Ltd* >> www.pidigital.co.uk >> >> >> On 15 November 2014 17:05, Dan Friedman wrote: >> >>> When I choose Preferences and click "Mobile Support", you used to be able >>> to click "Add Entry" and select the Xcode application and LiveCode was >>> happy. But, with LC 6.6.4, I choose the Xcode application (version 6.1) >>> and LC reports, "The chosen folder is not a valid iOS SDK.". What am I >>> doing wrong? >>> >>> Thanks! >>> -Dan > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pystcat at gmail.com Wed Mar 11 21:19:44 2015 From: pystcat at gmail.com (PystCat) Date: Wed, 11 Mar 2015 21:19:44 -0400 Subject: [OT] Unconference in NYC In-Reply-To: References: <5500A6DA.60106@hyperactivesw.com> <14c0aa618f6-6a27-3d01@webprd-m49.mail.aol.com> <217A7B01-01C9-46D8-AAB5-5E0BAC708291@gmail.com> Message-ID: <9D7F28B0-9C8F-4CDB-8854-EF2F8CD5F56C@gmail.com> Colin?. you work in Brooklyn? would you know if any trains go to that area?? > On Mar 11, 2015, at 8:38 PM, Colin Holgate wrote: > > I think that?s the only address I?ve seen. I was referring to the timetable. The blog version has Kevin talking at 10:30am, and the non blog version has him at 1pm. > > >> On Mar 11, 2015, at 8:33 PM, PystCat wrote: >> >> Ummmmm? they both have the Brooklyn address: >> 45 S 3rd Street >> Brooklyn, NY 11249 >> >> Do you know another address..? >> >> >>> On Mar 11, 2015, at 8:30 PM, Colin Holgate wrote: >>> >>> Someone at dinner this evening had a difference schedule for the conference than the one I had been reading. Hopefully my one was the incorrect one. This should be correct: >>> >>> http://livecode.com/nyc/ >>> >>> This one is hopefully incorrect: >>> >>> http://livecode.com/blog/events/livecode-unconference/ >>> >>> Unfortunately, the wrong one comes up first in a Google search. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dfepstein at comcast.net Wed Mar 11 21:34:21 2015 From: dfepstein at comcast.net (David Epstein) Date: Wed, 11 Mar 2015 21:34:21 -0400 Subject: Spider Web chart? In-Reply-To: References: Message-ID: Michael Doub asked > What are the implications of getting a fractional part of a point? Does > livecode just ignore the fraction or should the results be truncated or > rounded? When setting ?the points,? LC insists on integers, although it is more forgiving in other cases (e.g., you can ?set the loc? using non-integers. I wrote the function without rounding because I may want to call it from a script that performs multiple transformations and then rounds the final results. > On 3/10/15 10:27 PM, David Epstein wrote: >> function yAD x,y,d,a, at xAD >> -- calculate point x1,y1 that is distance d and angle a from point x,y >> -- return y1, load x1 into param 5 >> -- a is in degrees, positive is east of north >> put (90-a)*2*pi/360 into a >> put x + d*cos(a) into xAD >> return y + d*sin(a) >> end yAD > David Epstein From colinholgate at gmail.com Wed Mar 11 22:03:58 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Wed, 11 Mar 2015 22:03:58 -0400 Subject: [OT] Unconference in NYC In-Reply-To: <9D7F28B0-9C8F-4CDB-8854-EF2F8CD5F56C@gmail.com> References: <5500A6DA.60106@hyperactivesw.com> <14c0aa618f6-6a27-3d01@webprd-m49.mail.aol.com> <217A7B01-01C9-46D8-AAB5-5E0BAC708291@gmail.com> <9D7F28B0-9C8F-4CDB-8854-EF2F8CD5F56C@gmail.com> Message-ID: <2009A45B-61E8-4D7D-A7B9-C8F4893C1E27@gmail.com> I live in Brooklyn, work in Manhattan. It looks like Marcy Avenue J M Z is the nearest subway. About .7 miles walk from there: http://goo.gl/S4V5Nn > On Mar 11, 2015, at 9:19 PM, PystCat wrote: > > Colin?. you work in Brooklyn? would you know if any trains go to that area?? > > >> On Mar 11, 2015, at 8:38 PM, Colin Holgate wrote: >> >> I think that?s the only address I?ve seen. I was referring to the timetable. The blog version has Kevin talking at 10:30am, and the non blog version has him at 1pm. >> >> >>> On Mar 11, 2015, at 8:33 PM, PystCat wrote: >>> >>> Ummmmm? they both have the Brooklyn address: >>> 45 S 3rd Street >>> Brooklyn, NY 11249 >>> >>> Do you know another address..? >>> >>> >>>> On Mar 11, 2015, at 8:30 PM, Colin Holgate wrote: >>>> >>>> Someone at dinner this evening had a difference schedule for the conference than the one I had been reading. Hopefully my one was the incorrect one. This should be correct: >>>> >>>> http://livecode.com/nyc/ >>>> >>>> This one is hopefully incorrect: >>>> >>>> http://livecode.com/blog/events/livecode-unconference/ >>>> >>>> Unfortunately, the wrong one comes up first in a Google search. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pystcat at gmail.com Wed Mar 11 22:21:43 2015 From: pystcat at gmail.com (PystCat) Date: Wed, 11 Mar 2015 22:21:43 -0400 Subject: [OT] Unconference in NYC In-Reply-To: <2009A45B-61E8-4D7D-A7B9-C8F4893C1E27@gmail.com> References: <5500A6DA.60106@hyperactivesw.com> <14c0aa618f6-6a27-3d01@webprd-m49.mail.aol.com> <217A7B01-01C9-46D8-AAB5-5E0BAC708291@gmail.com> <9D7F28B0-9C8F-4CDB-8854-EF2F8CD5F56C@gmail.com> <2009A45B-61E8-4D7D-A7B9-C8F4893C1E27@gmail.com> Message-ID: Thanks Colin... I was under the impression you worked in Brooklyn. I grabbed an app called HopStop and they give directions... > On Mar 11, 2015, at 10:03 PM, Colin Holgate wrote: > > I live in Brooklyn, work in Manhattan. > > It looks like Marcy Avenue J M Z is the nearest subway. About .7 miles walk from there: > > http://goo.gl/S4V5Nn > > > >> On Mar 11, 2015, at 9:19 PM, PystCat wrote: >> >> Colin?. you work in Brooklyn? would you know if any trains go to that area?? >> >> >>> On Mar 11, 2015, at 8:38 PM, Colin Holgate wrote: >>> >>> I think that?s the only address I?ve seen. I was referring to the timetable. The blog version has Kevin talking at 10:30am, and the non blog version has him at 1pm. >>> >>> >>>> On Mar 11, 2015, at 8:33 PM, PystCat wrote: >>>> >>>> Ummmmm? they both have the Brooklyn address: >>>> 45 S 3rd Street >>>> Brooklyn, NY 11249 >>>> >>>> Do you know another address..? >>>> >>>> >>>>> On Mar 11, 2015, at 8:30 PM, Colin Holgate wrote: >>>>> >>>>> Someone at dinner this evening had a difference schedule for the conference than the one I had been reading. Hopefully my one was the incorrect one. This should be correct: >>>>> >>>>> http://livecode.com/nyc/ >>>>> >>>>> This one is hopefully incorrect: >>>>> >>>>> http://livecode.com/blog/events/livecode-unconference/ >>>>> >>>>> Unfortunately, the wrong one comes up first in a Google search. >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Wed Mar 11 22:30:49 2015 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 11 Mar 2015 19:30:49 -0700 Subject: LC7 & Unicode In-Reply-To: <1426080434357-4689967.post@n4.nabble.com> References: <1F665522-6694-45D5-B3A2-944886B164AF@icloud.com> <54FF3AE1.9090202@fourthworld.com> <1426080434357-4689967.post@n4.nabble.com> Message-ID: On Wed, Mar 11, 2015 at 6:27 AM, TEDennis wrote: > re: Internally, the LC7 engine only uses Unicode if it has to. If your > application only uses native strings, > then LC7 will only use native strings. Built-in Unicode support has very > little to do with the fact that LC7 is slower for some workload > "something" make the load time an intolerable one second or more that wasn't there before in earlier 32 bit versions of LC Server. Really annoying. This had nothing to do with 'workload'. sqb -- Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words From stephenREVOLUTION2 at barncard.com Wed Mar 11 22:32:16 2015 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 11 Mar 2015 19:32:16 -0700 Subject: LC7 & Unicode In-Reply-To: References: <1F665522-6694-45D5-B3A2-944886B164AF@icloud.com> <54FF3AE1.9090202@fourthworld.com> <1426080434357-4689967.post@n4.nabble.com> Message-ID: It should be noted that Gmail incorrectly quoted TED. On Wed, Mar 11, 2015 at 7:30 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words -- Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words From rdimola at evergreeninfo.net Wed Mar 11 23:17:22 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 11 Mar 2015 23:17:22 -0400 Subject: Mobile SDK Preference In-Reply-To: References: <8BD3FE98-806F-4F93-8152-02E69D13F3FC@clearvisiontech.com> Message-ID: <00b001d05c73$0ec21820$2c464860$@net> Colin, >From Sebastien earlier today..... ----------------------------------------- Dear List Members, We're pleased to announce the release of LiveCode 6.7.4 RC 1 and 7.0.4 RC 1. This release is a maintenance release that contains bug fixes for both versions. The list of bug fixed can be found in the Release Notes. *Getting the Release* To get the release please select "check for updates" from the "help" menu in the product or download the installer directly at: http://downloads.livecode.com *6.7.4 RC 2 / 7.0.4 RC 2 * The next maintenance builds of these releases will be made public in the coming days, and they will add the support for Xcode 6.2, released by Apple on the 9th of March. Warm regards, The LiveCode Team ------------------------------------ Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Colin Holgate Sent: Wednesday, March 11, 2015 9:15 PM To: How to use LiveCode Subject: Re: Mobile SDK Preference What?s the current situation with LiveCode and Xcode? v7.0.3 still gives the "The chosen folder is not a valid iOS SDK.? error when trying to use Xcode 6.2. > On Nov 15, 2014, at 12:17 PM, Sean Cole (Pi) wrote: > > Hi Dan, > > What is the exact path to the file you are referencing in the > MobileSupport preference? Copy and paste it here. > > Bear in mind that LC6.6.4 only accepts up to Xcode 6.0. If you are > trying to add XC6.1 then you will get the error message "The chosen > folder is not a valid iOS SDK". > > All the best > > Sean Cole > *Pi Digital Productions Ltd* > www.pidigital.co.uk > > > On 15 November 2014 17:05, Dan Friedman wrote: > >> When I choose Preferences and click "Mobile Support", you used to be >> able to click "Add Entry" and select the Xcode application and >> LiveCode was happy. But, with LC 6.6.4, I choose the Xcode >> application (version 6.1) and LC reports, "The chosen folder is not a >> valid iOS SDK.". What am I doing wrong? >> >> Thanks! >> -Dan _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Wed Mar 11 23:28:36 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Wed, 11 Mar 2015 23:28:36 -0400 Subject: Mobile SDK Preference In-Reply-To: <00b001d05c73$0ec21820$2c464860$@net> References: <8BD3FE98-806F-4F93-8152-02E69D13F3FC@clearvisiontech.com> <00b001d05c73$0ec21820$2c464860$@net> Message-ID: Was maybe going to demo something tomorrow, but I guess I?ll just and watch others. Might mean I?m not entitled to lunch! > On Mar 11, 2015, at 11:17 PM, Ralph DiMola wrote: > > Colin, > > From Sebastien earlier today..... > > ----------------------------------------- > Dear List Members, > > We're pleased to announce the release of LiveCode 6.7.4 RC 1 and 7.0.4 RC 1. This release is a maintenance release that contains bug fixes for both versions. The list of bug fixed can be found in the Release Notes. > > *Getting the Release* > To get the release please select "check for updates" from the "help" > menu in the product or download the installer directly at: > http://downloads.livecode.com > > *6.7.4 RC 2 / 7.0.4 RC 2 > * > The next maintenance builds of these releases will be made public in the coming days, and they will add the support for Xcode 6.2, released by Apple on the 9th of March. > Warm regards, > > The LiveCode Team > ------------------------------------ > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Colin Holgate > Sent: Wednesday, March 11, 2015 9:15 PM > To: How to use LiveCode > Subject: Re: Mobile SDK Preference > > What?s the current situation with LiveCode and Xcode? v7.0.3 still gives the "The chosen folder is not a valid iOS SDK.? error when trying to use Xcode 6.2. > > >> On Nov 15, 2014, at 12:17 PM, Sean Cole (Pi) wrote: >> >> Hi Dan, >> >> What is the exact path to the file you are referencing in the >> MobileSupport preference? Copy and paste it here. >> >> Bear in mind that LC6.6.4 only accepts up to Xcode 6.0. If you are >> trying to add XC6.1 then you will get the error message "The chosen >> folder is not a valid iOS SDK". >> >> All the best >> >> Sean Cole >> *Pi Digital Productions Ltd* >> www.pidigital.co.uk >> >> >> On 15 November 2014 17:05, Dan Friedman wrote: >> >>> When I choose Preferences and click "Mobile Support", you used to be >>> able to click "Add Entry" and select the Xcode application and >>> LiveCode was happy. But, with LC 6.6.4, I choose the Xcode >>> application (version 6.1) and LC reports, "The chosen folder is not a >>> valid iOS SDK.". What am I doing wrong? >>> >>> Thanks! >>> -Dan > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jimschaubeck at yahoo.com Wed Mar 11 23:58:33 2015 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Wed, 11 Mar 2015 20:58:33 -0700 Subject: Datagrid Help Message-ID: Folks, I would like to use the Datagrid to allow users to: 1) Display data like a spreadsheet 2) Let the user edit the data if the data is changed I would like to update a remote database with that cells update If the database update was successful, I would update the data in the Datagrid If the database update was *not* successful, I would like to return to the old value. Pretty straight forward I can build my own data grid but it seems cleaner to use the Datagrid in LC...I just *CAN NOT* figure this thing out. I've built my own data grid in the past and I am very familiar with the database side...just not able to get the Datagrid thing going. I've been through the "lessons" so I must be just missing something Thank you! From dunbarx at aol.com Thu Mar 12 00:00:30 2015 From: dunbarx at aol.com (dunbarx) Date: Wed, 11 Mar 2015 21:00:30 -0700 (PDT) Subject: Datagrid Help In-Reply-To: References: Message-ID: <1426132830669-4690007.post@n4.nabble.com> Hi. DG's are mysterious. But perhaps you can give some examples of what you are up against? Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Datagrid-Help-tp4690006p4690007.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Thu Mar 12 01:27:44 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 11 Mar 2015 22:27:44 -0700 Subject: LC7 & Unicode In-Reply-To: References: Message-ID: <550123D0.3030100@fourthworld.com> stephen barncard wrote: > "something" make the load time an intolerable one second or more that > wasn't there before in earlier 32 bit versions of LC Server. > Really annoying. This had nothing to do with 'workload'. Is that on Dreamhost, or have you been able to reproduce it on another shared host? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From stephenREVOLUTION2 at barncard.com Thu Mar 12 02:42:09 2015 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 11 Mar 2015 23:42:09 -0700 Subject: LC7 & Unicode In-Reply-To: <550123D0.3030100@fourthworld.com> References: <550123D0.3030100@fourthworld.com> Message-ID: On Wed, Mar 11, 2015 at 10:27 PM, Richard Gaskin wrote: > Is that on Dreamhost, or have you been able to reproduce it on another > shared host? I have a "standby" shared account at Intersever.. thanks to your suggestion. I am pretty sure I did a test .... but maybe not. thanks for reminding me. .but moving all my stuff would be a pain... I'll do a test though. Perhaps I've been lazy about this. No one else has this problem now? (blush) -- Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words From dave at applicationinsight.com Thu Mar 12 04:51:23 2015 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 12 Mar 2015 01:51:23 -0700 (PDT) Subject: Release 6.7.4 RC 1 / 7.0.4 RC 1 In-Reply-To: <5500803C.7000508@livecode.com> References: <5500803C.7000508@livecode.com> Message-ID: <1426150283724-4690010.post@n4.nabble.com> I guess the server RunRev uses for licence activations has bugged out - has anyone managed to activate 6.7.4 or 7.0.4? ----- "The difference between genius and stupidity is; genius has its limits." - Albert Einstein -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Release-6-7-4-RC-1-7-0-4-RC-1-tp4689972p4690010.html Sent from the Revolution - User mailing list archive at Nabble.com. From dave at applicationinsight.com Thu Mar 12 05:53:43 2015 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 12 Mar 2015 02:53:43 -0700 (PDT) Subject: Release 6.7.4 RC 1 / 7.0.4 RC 1 In-Reply-To: <1426150283724-4690010.post@n4.nabble.com> References: <5500803C.7000508@livecode.com> <1426150283724-4690010.post@n4.nabble.com> Message-ID: <1426154023329-4690011.post@n4.nabble.com> Well no wonder I couldn't activate the new releases! http://livecode.com is currently down - http://sorry.livecode.com ----- "The difference between genius and stupidity is; genius has its limits." - Albert Einstein -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Release-6-7-4-RC-1-7-0-4-RC-1-tp4689972p4690011.html Sent from the Revolution - User mailing list archive at Nabble.com. From sritcp at gmail.com Thu Mar 12 08:28:29 2015 From: sritcp at gmail.com (Sri) Date: Thu, 12 Mar 2015 05:28:29 -0700 (PDT) Subject: Datagrid Help In-Reply-To: References: Message-ID: <1426163309002-4690012.post@n4.nabble.com> 1. Load data from the database into tArray. 2. Set the dgData of the data grid to tArray to display the data. Make a back up of the initial data to tBackupArray. 3. After the user edits the data in the data grid, say, he clicks a button "Save" Write the dgData of the data grid to the database. 4. If the write is successful, put the dgData of the data grid into tBackupArray. If the write is unsuccessful, set the dgData of the data grid to tBackupArray. Regards, Sri -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Datagrid-Help-tp4690006p4690012.html Sent from the Revolution - User mailing list archive at Nabble.com. From alain.vezina at logilangue.com Thu Mar 12 09:41:21 2015 From: alain.vezina at logilangue.com (Alain Vezina) Date: Thu, 12 Mar 2015 09:41:21 -0400 Subject: 64-bit Message-ID: <07D6FB42-9A06-4F51-8C4B-4A22F5CB2380@logilangue.com> Hi all, If I am right, LC 7.0.3 it?s a 64-bit standalone maker. Does it contain also a 32-bit? If not, can we run a 64-bit app on an iPad of first generation (iOS 5.1.1) ? Regards Alain Vezina Directeur, Logilangue From fraser.gordon at livecode.com Thu Mar 12 09:50:33 2015 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Thu, 12 Mar 2015 13:50:33 +0000 Subject: 64-bit In-Reply-To: <07D6FB42-9A06-4F51-8C4B-4A22F5CB2380@logilangue.com> References: <07D6FB42-9A06-4F51-8C4B-4A22F5CB2380@logilangue.com> Message-ID: <301E26EA-0133-4350-9FFC-E5CA9D510784@livecode.com> On 12 Mar 2015, at 13:41, Alain Vezina wrote: > > If I am right, LC 7.0.3 it?s a 64-bit standalone maker. > Does it contain also a 32-bit? If not, can we run a 64-bit app on an iPad of first generation (iOS 5.1.1) ? The standalones produced for iOS should have both 32-bit and 64-bit ?slices?. If it doesn?t work, let us know and we?ll take a look at it. Regards, Fraser From cs_livecode at icloud.com Thu Mar 12 10:52:17 2015 From: cs_livecode at icloud.com (Chris Sheffield) Date: Thu, 12 Mar 2015 08:52:17 -0600 Subject: 64-bit In-Reply-To: <07D6FB42-9A06-4F51-8C4B-4A22F5CB2380@logilangue.com> References: <07D6FB42-9A06-4F51-8C4B-4A22F5CB2380@logilangue.com> Message-ID: Alain, Currently an app built with 64-bit support *does not* install/run on an iPad 1. I?ve been dealing with this myself. It?s not anything specific to LiveCode, however. For example, apps built with Xcode have the same issue. I don?t know if there?s a way to ?force? it to work, or not. I haven?t discovered one. There is already a ticket submitted for the issue here http://quality.runrev.com/show_bug.cgi?id=14794. I don?t know if it?s possible to build one standalone for all devices still or not (this would be ideal), as it seems to be something with the Xcode tools themselves. At the very least, I asked for an option in the standalone settings to build for 32-bit only, thus allowing us to continue testing on the iPad 1. It is my understanding that this is only an issue with testing apps. When an app is submitted to the app store, it will still be able to be installed on an iPad 1, even though it?s built with 64-bit support. Apple supposedly does something on their end to make this possible. Hopefully this helps a bit. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com > On Mar 12, 2015, at 7:41 AM, Alain Vezina wrote: > > Hi all, > > If I am right, LC 7.0.3 it?s a 64-bit standalone maker. > Does it contain also a 32-bit? If not, can we run a 64-bit app on an iPad of first generation (iOS 5.1.1) ? > > Regards > > Alain Vezina > Directeur, Logilangue > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Mar 12 12:16:02 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Mar 2015 09:16:02 -0700 Subject: LC7 & Unicode In-Reply-To: References: Message-ID: <5501BBC2.6000409@fourthworld.com> stephen barncard wrote: > On Wed, Mar 11, 2015 at 10:27 PM, Richard Gaskin wrote: > >> Is that on Dreamhost, or have you been able to reproduce it on >> another shared host? > > I have a "standby" shared account at Intersever.. thanks to your > suggestion. > I am pretty sure I did a test .... but maybe not. thanks for > reminding me. > > .but moving all my stuff would be a pain... I'll do a test though. I'd be interested in your results. So far we've tested on InterServer, HostGator, and JaguarPC in addition to Dreamhost, and the noticeable lag has only been evident on Dreamhost. Being a long-time Dreamhost fan like yourself I would prefer to keep using them as well, so I've been helping Phil Davis who's been stewarding this issue through DH support. It's been a long diagnostic process, but recently we may have found the root cause, and if so I would expect a fix from them shortly. I'll keep you posted with any definitive news from them. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From stephenREVOLUTION2 at barncard.com Thu Mar 12 12:51:42 2015 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 12 Mar 2015 09:51:42 -0700 Subject: LC7 & Unicode In-Reply-To: <5501BBC2.6000409@fourthworld.com> References: <5501BBC2.6000409@fourthworld.com> Message-ID: On Thu, Mar 12, 2015 at 9:16 AM, Richard Gaskin wrote: > I'll keep you posted with any definitive news from them. > thanks, Richard -- Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words From eric at canelasoftware.com Thu Mar 12 12:58:36 2015 From: eric at canelasoftware.com (Eric Corbett) Date: Thu, 12 Mar 2015 09:58:36 -0700 Subject: Saving Objects Message-ID: <73D8E71E-F121-4A99-B262-912723992C95@canelasoftware.com> Any way to save an object or a group of objects without having to save the stack? I would like to create a group, save the group, then be able to add that group to a stack. I am currently: 1. Creating a group on a blank stack; 2. Saving the stack binary; 3. Downloading the stack binary when needed; 4. Creating a stack file from the binary; 5. Loading the stack into memory; 6. Copying the group to another stack; 7 Deleting the stack from memory, from disk. I also thought about saving the properties of the group and all the objects to a text file, then creating all the objects on the fly and setting each one?s property from the text file. Any ideas? Thanks, Eric From alain.vezina at logilangue.com Thu Mar 12 13:00:41 2015 From: alain.vezina at logilangue.com (Alain Vezina) Date: Thu, 12 Mar 2015 13:00:41 -0400 Subject: 64-bit In-Reply-To: References: <07D6FB42-9A06-4F51-8C4B-4A22F5CB2380@logilangue.com> Message-ID: Thanks a lot to you two. I will make a test with my smallest app and let you know if it works. Alain Le 2015-03-12 ? 10:52, Chris Sheffield a ?crit : > Alain, > > Currently an app built with 64-bit support *does not* install/run on an iPad 1. I?ve been dealing with this myself. It?s not anything specific to LiveCode, however. For example, apps built with Xcode have the same issue. I don?t know if there?s a way to ?force? it to work, or not. I haven?t discovered one. > > There is already a ticket submitted for the issue here http://quality.runrev.com/show_bug.cgi?id=14794. I don?t know if it?s possible to build one standalone for all devices still or not (this would be ideal), as it seems to be something with the Xcode tools themselves. At the very least, I asked for an option in the standalone settings to build for 32-bit only, thus allowing us to continue testing on the iPad 1. > > It is my understanding that this is only an issue with testing apps. When an app is submitted to the app store, it will still be able to be installed on an iPad 1, even though it?s built with 64-bit support. Apple supposedly does something on their end to make this possible. > > Hopefully this helps a bit. > > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > >> On Mar 12, 2015, at 7:41 AM, Alain Vezina wrote: >> >> Hi all, >> >> If I am right, LC 7.0.3 it?s a 64-bit standalone maker. >> Does it contain also a 32-bit? If not, can we run a 64-bit app on an iPad of first generation (iOS 5.1.1) ? >> >> Regards >> >> Alain Vezina >> Directeur, Logilangue >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Thu Mar 12 13:21:00 2015 From: pete at lcsql.com (Peter Haworth) Date: Thu, 12 Mar 2015 17:21:00 +0000 Subject: SQLite Problem Message-ID: Just came across an SQLite problem. I issued the following statement in a revQueryDatabase command SELECT Date,printf('%6.2f',Value) FROM Transactions No errors on that. Subsequently I use revDatabaseColumnNames to get the column names followed by a loop using revDatabaseColumnNamed to get the column values. The latter returns an error indicating that printf('%6.2f' and ,Value are invalid column names. It appears that the comma in the printf command confuses Livecode. If I use sqlite3 with .mode column and .headings and issue the same statement, it uses the printf function as the column heading. There are a couple of workarounds for this. You can change the SELECT command to use "printf('%6.2f',Value) AS FormattedValue". Or you can use revDatabaseColumnNumbered to get the column values in the order they are referenced in the SELECT statement. From pete at lcsql.com Thu Mar 12 13:52:25 2015 From: pete at lcsql.com (Peter Haworth) Date: Thu, 12 Mar 2015 17:52:25 +0000 Subject: Saving Objects In-Reply-To: <73D8E71E-F121-4A99-B262-912723992C95@canelasoftware.com> References: <73D8E71E-F121-4A99-B262-912723992C95@canelasoftware.com> Message-ID: I think the following would work. First highlight the group then: copy put the clipboarddata["objects"] into URL "binfile:". To get it back: set the clipboarddata["Objects"] to URL "binfile:" paste --will paste onto the top card. On Thu, Mar 12, 2015 at 9:58 AM Eric Corbett wrote: > Any way to save an object or a group of objects without having to save the > stack? > > I would like to create a group, save the group, then be able to add that > group to a stack. > > I am currently: > > 1. Creating a group on a blank stack; > 2. Saving the stack binary; > 3. Downloading the stack binary when needed; > 4. Creating a stack file from the binary; > 5. Loading the stack into memory; > 6. Copying the group to another stack; > 7 Deleting the stack from memory, from disk. > > I also thought about saving the properties of the group and all the > objects to a text file, then creating all the objects on the fly and > setting each one?s property from the text file. > > Any ideas? > > Thanks, > > Eric > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From andrew at ctech.me Thu Mar 12 14:14:34 2015 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 12 Mar 2015 13:14:34 -0500 Subject: v8 and Widgets Message-ID: For the first time in a while, I'm pretty enthusiastic about what I'll be able to do with livecode in the future. The performance of the rotation demo on that clock was impressive. I've already started going through all of the .lcb files up on github. Previously, I wasn't getting my hopes up due to the lack of many details about its limitations, syntax, etc. After seeing today's webinar, I think this is exactly what defines "next-generation" livecode for me. Livecode builder compile directly to JS in the future? Meeee-oooow! -- Regards, Andrew Kluthe andrew at ctech.me From fraser.gordon at livecode.com Thu Mar 12 14:16:26 2015 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Thu, 12 Mar 2015 18:16:26 +0000 Subject: Release: LiveCode 8.0.0 DP 1 Message-ID: Dear list members, *** Warning: this is an alpha release *** We are pleased to announce the release of LiveCode 8.0 DP 1. This release brings a number of new features to the LiveCode platform: - A new language (LiveCode Builder) for extending LiveCode with new widgets and engine-level commands and functions - IDE improvements, with a re-written property inspector and project browser and a new dictionary - An ?extension builder? IDE plugin for testing and packaging widgets and libraries - The LiveCode Extension Store, for sharing community extensions This is a developer preview release and should be used with caution. As always, please backup your stacks. Known issues with 8.0 DP 1: - The new property inspector lacks some properties present in the old property inspector - The extension store pane of the extensions manager does not always load - The supplied widgets are examples and lack features and general robustness - The extension builder plugin ?Test? feature fails if the widget being tested is already installed - uninstalling the widget and restarting the IDE should help - Widget icons do not appear in Android and iOS standalones as the appropriate resources are not included in the standalone - All installed widgets are built into any standalones produced LiveCode 8 is in an early stage of development so we?d love to hear any feedback you have on it. There are a number of features that we?d like to implement but aren?t ready yet and the existing features are subject to change during development - we can?t guarantee that extensions written in DP1 will continue to work in later versions. Please report any bugs encountered on our Bugzilla at http://quality.livecode.com/ We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 Regards, The LiveCode Team From richmondmathewson at gmail.com Thu Mar 12 14:18:42 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Mar 2015 20:18:42 +0200 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: Message-ID: <5501D882.9000206@gmail.com> On 12/03/15 20:16, Fraser Gordon wrote: > Dear list members, > > *** Warning: this is an alpha release *** > > We are pleased to announce the release of LiveCode 8.0 DP 1. This release brings a number of new features to the LiveCode platform: > > - A new language (LiveCode Builder) for extending LiveCode with new widgets and engine-level commands and functions > - IDE improvements, with a re-written property inspector and project browser and a new dictionary > - An ?extension builder? IDE plugin for testing and packaging widgets and libraries > - The LiveCode Extension Store, for sharing community extensions > > This is a developer preview release and should be used with caution. As always, please backup your stacks. > > Known issues with 8.0 DP 1: > > - The new property inspector lacks some properties present in the old property inspector > - The extension store pane of the extensions manager does not always load > - The supplied widgets are examples and lack features and general robustness > - The extension builder plugin ?Test? feature fails if the widget being tested is already installed - uninstalling the widget and restarting the IDE should help > - Widget icons do not appear in Android and iOS standalones as the appropriate resources are not included in the standalone > - All installed widgets are built into any standalones produced > > LiveCode 8 is in an early stage of development so we?d love to hear any feedback you have on it. There are a number of features that we?d like to implement but aren?t ready yet and the existing features are subject to change during development - we can?t guarantee that extensions written in DP1 will continue to work in later versions. > > Please report any bugs encountered on our Bugzilla at http://quality.livecode.com/ > > We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 > > Oooooo, sexy! My digestive juices are flowing. Congratulations. Richmond. From richmondmathewson at gmail.com Thu Mar 12 14:20:10 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Mar 2015 20:20:10 +0200 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: Message-ID: <5501D8DA.5050400@gmail.com> Sorry, but where is the download location? Richmond. From fraser.gordon at livecode.com Thu Mar 12 14:22:25 2015 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Thu, 12 Mar 2015 18:22:25 +0000 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <5501D8DA.5050400@gmail.com> References: <5501D8DA.5050400@gmail.com> Message-ID: <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> On 12 Mar 2015, at 18:20, Richmond wrote: > Sorry, but where is the download location? My bad. http://downloads.livecode.com/livecode/ it should be listed at the top. The auto-updater should also have it. Regards, Fraser From richmondmathewson at gmail.com Thu Mar 12 14:23:57 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Mar 2015 20:23:57 +0200 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> Message-ID: <5501D9BD.5090804@gmail.com> On 12/03/15 20:22, Fraser Gordon wrote: > On 12 Mar 2015, at 18:20, Richmond wrote: > >> Sorry, but where is the download location? > My bad. > > http://downloads.livecode.com/livecode/ > > it should be listed at the top. The auto-updater should also have it. > > Regards, > Fraser > > > Unfortunately it isn't listed there. Richmond. From colinholgate at gmail.com Thu Mar 12 14:25:41 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Thu, 12 Mar 2015 14:25:41 -0400 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> Message-ID: <413C74B6-F8B4-4A2B-919A-1AF52C6EB299@gmail.com> i emailed Ben a screenshot of how the tool palette looks. It only has the two run mode arrows. No widgets, no classic controls. > On Mar 12, 2015, at 2:22 PM, Fraser Gordon wrote: > > > On 12 Mar 2015, at 18:20, Richmond wrote: > >> Sorry, but where is the download location? > > My bad. > > http://downloads.livecode.com/livecode/ > > it should be listed at the top. The auto-updater should also have it. > > Regards, > Fraser > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark.laffoon at gmail.com Thu Mar 12 14:28:29 2015 From: mark.laffoon at gmail.com (Mark Laffoon) Date: Thu, 12 Mar 2015 12:28:29 -0600 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <413C74B6-F8B4-4A2B-919A-1AF52C6EB299@gmail.com> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <413C74B6-F8B4-4A2B-919A-1AF52C6EB299@gmail.com> Message-ID: All of the "old" plugins (chart maker, scrapbook, etc.) are no longer available on the Livecode store... Is this feature discontinued? On Thu, Mar 12, 2015 at 12:25 PM, Colin Holgate wrote: > i emailed Ben a screenshot of how the tool palette looks. It only has the > two run mode arrows. No widgets, no classic controls. > > > > On Mar 12, 2015, at 2:22 PM, Fraser Gordon > wrote: > > > > > > On 12 Mar 2015, at 18:20, Richmond wrote: > > > >> Sorry, but where is the download location? > > > > My bad. > > > > http://downloads.livecode.com/livecode/ > > > > it should be listed at the top. The auto-updater should also have it. > > > > Regards, > > Fraser > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- I am CDO. This is a lot like OCD, except the letters are in alphabetical order... as they should be. From richmondmathewson at gmail.com Thu Mar 12 14:28:56 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Mar 2015 20:28:56 +0200 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <413C74B6-F8B4-4A2B-919A-1AF52C6EB299@gmail.com> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <413C74B6-F8B4-4A2B-919A-1AF52C6EB299@gmail.com> Message-ID: <5501DAE8.7060001@gmail.com> On 12/03/15 20:25, Colin Holgate wrote: > i emailed Ben a screenshot of how the tool palette looks. It only has the two run mode arrows. No widgets, no classic controls. Jolly-Dee; but where does one get hold of the thing? Richmond. > > >> On Mar 12, 2015, at 2:22 PM, Fraser Gordon wrote: >> >> >> On 12 Mar 2015, at 18:20, Richmond wrote: >> >>> Sorry, but where is the download location? >> My bad. >> >> http://downloads.livecode.com/livecode/ >> >> it should be listed at the top. The auto-updater should also have it. >> >> Regards, >> Fraser >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From fraser.gordon at livecode.com Thu Mar 12 14:29:42 2015 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Thu, 12 Mar 2015 18:29:42 +0000 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <413C74B6-F8B4-4A2B-919A-1AF52C6EB299@gmail.com> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <413C74B6-F8B4-4A2B-919A-1AF52C6EB299@gmail.com> Message-ID: <643CB333-8B75-444D-BE9E-69E916952A96@livecode.com> On 12 Mar 2015, at 18:25, Colin Holgate wrote: > i emailed Ben a screenshot of how the tool palette looks. It only has the two run mode arrows. No widgets, no classic controls. > Hi Colin, We?ve noticed that issue a couple of times but haven?t been able to track down the cause yet. It only seems to happen (for us, at least) the first time the IDE is launched. Restarting it makes the classic controls and new widgets re-appear. If not, let us know. Regards, Fraser From richmondmathewson at gmail.com Thu Mar 12 14:30:22 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Mar 2015 20:30:22 +0200 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <413C74B6-F8B4-4A2B-919A-1AF52C6EB299@gmail.com> Message-ID: <5501DB3E.3060808@gmail.com> Aha! 8 has just appeared. Thank you very much. Richmond. From fraser.gordon at livecode.com Thu Mar 12 14:30:30 2015 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Thu, 12 Mar 2015 18:30:30 +0000 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <5501D9BD.5090804@gmail.com> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <5501D9BD.5090804@gmail.com> Message-ID: <7CDCB55D-B6E3-4395-9D69-A1428C4130C6@livecode.com> On 12 Mar 2015, at 18:23, Richmond wrote: > On 12/03/15 20:22, Fraser Gordon wrote: >> On 12 Mar 2015, at 18:20, Richmond wrote: >> >>> Sorry, but where is the download location? >> My bad. >> >> http://downloads.livecode.com/livecode/ >> >> it should be listed at the top. The auto-updater should also have it. >> >> Regards, >> Fraser >> >> >> > Unfortunately it isn't listed there. Looks like a database update didn?t go through. Should be appearing now. Hopefully? Fraser From roger.e.eller at sealedair.com Thu Mar 12 14:30:58 2015 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 12 Mar 2015 14:30:58 -0400 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <5501D9BD.5090804@gmail.com> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <5501D9BD.5090804@gmail.com> Message-ID: http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Windows.exe http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Mac.dmg http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Linux.x86 On Thu, Mar 12, 2015 at 2:23 PM, Richmond wrote: > On 12/03/15 20:22, Fraser Gordon wrote: > >> On 12 Mar 2015, at 18:20, Richmond wrote: >> >> Sorry, but where is the download location? >>> >> My bad. >> >> http://downloads.livecode.com/livecode/ >> >> it should be listed at the top. The auto-updater should also have it. >> >> Regards, >> Fraser >> >> >> >> Unfortunately it isn't listed there. > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cs_livecode at icloud.com Thu Mar 12 14:30:51 2015 From: cs_livecode at icloud.com (Chris Sheffield) Date: Thu, 12 Mar 2015 12:30:51 -0600 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: Message-ID: Looks like there?s no commercial edition available. Is this community-only for now? > On Mar 12, 2015, at 12:16 PM, Fraser Gordon wrote: > > Dear list members, > > *** Warning: this is an alpha release *** > > We are pleased to announce the release of LiveCode 8.0 DP 1. This release brings a number of new features to the LiveCode platform: > > - A new language (LiveCode Builder) for extending LiveCode with new widgets and engine-level commands and functions > - IDE improvements, with a re-written property inspector and project browser and a new dictionary > - An ?extension builder? IDE plugin for testing and packaging widgets and libraries > - The LiveCode Extension Store, for sharing community extensions > > This is a developer preview release and should be used with caution. As always, please backup your stacks. > > Known issues with 8.0 DP 1: > > - The new property inspector lacks some properties present in the old property inspector > - The extension store pane of the extensions manager does not always load > - The supplied widgets are examples and lack features and general robustness > - The extension builder plugin ?Test? feature fails if the widget being tested is already installed - uninstalling the widget and restarting the IDE should help > - Widget icons do not appear in Android and iOS standalones as the appropriate resources are not included in the standalone > - All installed widgets are built into any standalones produced > > LiveCode 8 is in an early stage of development so we?d love to hear any feedback you have on it. There are a number of features that we?d like to implement but aren?t ready yet and the existing features are subject to change during development - we can?t guarantee that extensions written in DP1 will continue to work in later versions. > > Please report any bugs encountered on our Bugzilla at http://quality.livecode.com/ > > We have a forum available for discussing LiveCode Builder at http://forums.livecode.com/viewforum.php?f=93 > > > Regards, > The LiveCode Team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Mar 12 14:32:49 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Mar 2015 20:32:49 +0200 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <643CB333-8B75-444D-BE9E-69E916952A96@livecode.com> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <413C74B6-F8B4-4A2B-919A-1AF52C6EB299@gmail.com> <643CB333-8B75-444D-BE9E-69E916952A96@livecode.com> Message-ID: <5501DBD1.3070506@gmail.com> Interested to know why there is no longer a 32 bit version for Linux . . . . . . or, put another way: I'm going to have to spend all of next weekend reinstalling my Linux box with a 64 bit version and really wonder whether it is justified. Richmond. From matthias_livecode_150811 at m-r-d.de Thu Mar 12 14:33:20 2015 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Thu, 12 Mar 2015 19:33:20 +0100 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <5501D9BD.5090804@gmail.com> Message-ID: > Am 12.03.2015 um 19:30 schrieb Roger Eller : > > http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Windows.exe > > http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Mac.dmg > > http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Linux.x86 > > only the 64bit version is available at the moment http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Linux.x64 > > > On Thu, Mar 12, 2015 at 2:23 PM, Richmond > wrote: > >> On 12/03/15 20:22, Fraser Gordon wrote: >> >>> On 12 Mar 2015, at 18:20, Richmond wrote: >>> >>> Sorry, but where is the download location? >>>> >>> My bad. >>> >>> http://downloads.livecode.com/livecode/ >>> >>> it should be listed at the top. The auto-updater should also have it. >>> >>> Regards, >>> Fraser >>> >>> >>> >>> Unfortunately it isn't listed there. >> >> Richmond. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Mar 12 14:34:02 2015 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Thu, 12 Mar 2015 19:34:02 +0100 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <7FFD8CB7-1CBE-41BF-A038-04E000E8E5B6@m-r-d.de> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <7FFD8CB7-1CBE-41BF-A038-04E000E8E5B6@m-r-d.de> Message-ID: <531E3F6C-0E7A-479B-A38E-C819E1745BC5@m-r-d.de> Downloaded and installed the community version now. But it crashes immediately after showing the LC ide. Anything i can do except deleting all Lc preferences? Matthias > Am 12.03.2015 um 19:27 schrieb Matthias Rebbe | M-R-D : > > Auto updater in LC commercial Mac shows here an available download, but trying to download tells me, that an error occurred. > > Matthias > > > > >> Am 12.03.2015 um 19:22 schrieb Fraser Gordon : >> >> >> On 12 Mar 2015, at 18:20, Richmond wrote: >> >>> Sorry, but where is the download location? >> >> My bad. >> >> http://downloads.livecode.com/livecode/ >> >> it should be listed at the top. The auto-updater should also have it. >> >> Regards, >> Fraser >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Thu Mar 12 14:34:36 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Mar 2015 20:34:36 +0200 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <5501D9BD.5090804@gmail.com> Message-ID: <5501DC3C.80708@gmail.com> On 12/03/15 20:30, Roger Eller wrote: > http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Windows.exe > > http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Mac.dmg > > http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Linux.x86 > > > There is no "x86" Linux version, only a 64 bit version . . . grrrr. Richmond. From richmondmathewson at gmail.com Thu Mar 12 14:35:24 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Mar 2015 20:35:24 +0200 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <5501D9BD.5090804@gmail.com> Message-ID: <5501DC6C.3010205@gmail.com> On 12/03/15 20:33, Matthias Rebbe | M-R-D wrote: > >> Am 12.03.2015 um 19:30 schrieb Roger Eller : >> >> http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Windows.exe >> >> http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Mac.dmg >> >> http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Linux.x86 >> >> > only the 64bit version is available at the moment > http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Linux.x64 > > Let's hope the "at the moment" does not mean there will be NO 32 bit version. Richmond. From roger.e.eller at sealedair.com Thu Mar 12 14:38:21 2015 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 12 Mar 2015 14:38:21 -0400 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <5501D9BD.5090804@gmail.com> Message-ID: I meant to change the link to x64 after I figured out the x86 (32-bit) one was missing. In the excitement of the moment, I clicked send. On Thu, Mar 12, 2015 at 2:33 PM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > > > > Am 12.03.2015 um 19:30 schrieb Roger Eller >: > > > > > http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Windows.exe > > > > > http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Mac.dmg > > > > > http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Linux.x86 > > > > > only the 64bit version is available at the moment > > http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Linux.x64 > > > > > > > On Thu, Mar 12, 2015 at 2:23 PM, Richmond > > wrote: > > > >> On 12/03/15 20:22, Fraser Gordon wrote: > >> > >>> On 12 Mar 2015, at 18:20, Richmond > wrote: > >>> > >>> Sorry, but where is the download location? > >>>> > >>> My bad. > >>> > >>> http://downloads.livecode.com/livecode/ > >>> > >>> it should be listed at the top. The auto-updater should also have it. > >>> > >>> Regards, > >>> Fraser > >>> > >>> > >>> > >>> Unfortunately it isn't listed there. > >> > >> Richmond. > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From colinholgate at gmail.com Thu Mar 12 14:40:14 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Thu, 12 Mar 2015 14:40:14 -0400 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <5501D9BD.5090804@gmail.com> Message-ID: <20F24180-F47E-4081-9E31-2C0F7D6979C8@gmail.com> The download page is updated now. I?m redownloading in case the tool palette issue was fixed in a later DMG. > On Mar 12, 2015, at 2:38 PM, Roger Eller wrote: > > I meant to change the link to x64 after I figured out the x86 (32-bit) one > was missing. In the excitement of the moment, I clicked send. > > > > On Thu, Mar 12, 2015 at 2:33 PM, Matthias Rebbe | M-R-D < > matthias_livecode_150811 at m-r-d.de> wrote: > >> >> >>> Am 12.03.2015 um 19:30 schrieb Roger Eller >> : >>> >>> >> http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Windows.exe >>> >>> >> http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Mac.dmg >>> >>> >> http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Linux.x86 >>> >>> >> only the 64bit version is available at the moment >> >> http://downloads.livecode.com/livecode/8_0_0/LiveCodeCommunityInstaller-8_0_0_dp_1-Linux.x64 >> >>> >>> >>> On Thu, Mar 12, 2015 at 2:23 PM, Richmond >>> wrote: >>> >>>> On 12/03/15 20:22, Fraser Gordon wrote: >>>> >>>>> On 12 Mar 2015, at 18:20, Richmond >> wrote: >>>>> >>>>> Sorry, but where is the download location? >>>>>> >>>>> My bad. >>>>> >>>>> http://downloads.livecode.com/livecode/ >>>>> >>>>> it should be listed at the top. The auto-updater should also have it. >>>>> >>>>> Regards, >>>>> Fraser >>>>> >>>>> >>>>> >>>>> Unfortunately it isn't listed there. >>>> >>>> Richmond. >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From fraser.gordon at livecode.com Thu Mar 12 14:38:34 2015 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Thu, 12 Mar 2015 18:38:34 +0000 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: Message-ID: <66FC8B8B-41E4-4A5B-8F14-63C49EDE0DBF@livecode.com> On 12 Mar 2015, at 18:30, Chris Sheffield wrote: > Looks like there?s no commercial edition available. Is this community-only for now? For the initial DP releases, yes. There are a few more things to get sorted out with regards to commercial widgets before providing commercial builds. As Richmond has noticed, there?s also not a 32-bit Linux build currently - we have to custom-build the Chromium Embedded Framework so that revbrowser will work on Linux (as it is used for our new user guide and dictionary) and this is not a small undertaking. 32-bit will be returning, just not for this first DP. Which reminds me - revbrowser is now available on Linux (when used in CEF mode). Fraser From fraser.gordon at livecode.com Thu Mar 12 14:40:30 2015 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Thu, 12 Mar 2015 18:40:30 +0000 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <531E3F6C-0E7A-479B-A38E-C819E1745BC5@m-r-d.de> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <7FFD8CB7-1CBE-41BF-A038-04E000E8E5B6@m-r-d.de> <531E3F6C-0E7A-479B-A38E-C819E1745BC5@m-r-d.de> Message-ID: <5B9F8508-3E15-4781-98EC-DE461FBA780F@livecode.com> Hi Matthias, On 12 Mar 2015, at 18:34, Matthias Rebbe | M-R-D wrote: > Downloaded and installed the community version now. But it crashes immediately after showing the LC ide. > > Anything i can do except deleting all Lc preferences? > > Matthias What platform are you running on? Does it crash every time or just the first time you run it? Regards, Fraser From colinholgate at gmail.com Thu Mar 12 14:43:47 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Thu, 12 Mar 2015 14:43:47 -0400 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <71F72BA1-0B6D-43A8-A563-96356CA3C2B6@gmail.com> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <5501D9BD.5090804@gmail.com> <71F72BA1-0B6D-43A8-A563-96356CA3C2B6@gmail.com> Message-ID: Good news, a fresh download and install fixed the tool palette issue. From richmondmathewson at gmail.com Thu Mar 12 14:45:02 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Mar 2015 20:45:02 +0200 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <5501DC6C.3010205@gmail.com> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <5501D9BD.5090804@gmail.com> <5501DC6C.3010205@gmail.com> Message-ID: <5501DEAE.30004@gmail.com> Is there any point trying to build a 32 bit Linux version from Git Hub at the moment? Richmond. From kevin at runrev.com Thu Mar 12 14:45:57 2015 From: kevin at runrev.com (Kevin Miller) Date: Thu, 12 Mar 2015 14:45:57 -0400 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <413C74B6-F8B4-4A2B-919A-1AF52C6EB299@gmail.com> Message-ID: <5220C0B5-D06A-4F6A-B038-9B51EB4EAEC4@runrev.com> They will still be available after a short delay - we're doing some work on the website. Sent from my iPhone > On 12 Mar 2015, at 14:28, Mark Laffoon wrote: > > All of the "old" plugins (chart maker, scrapbook, etc.) are no longer > available on the Livecode store... Is this feature discontinued? > > On Thu, Mar 12, 2015 at 12:25 PM, Colin Holgate > wrote: > >> i emailed Ben a screenshot of how the tool palette looks. It only has the >> two run mode arrows. No widgets, no classic controls. >> >> >>>> On Mar 12, 2015, at 2:22 PM, Fraser Gordon >>> wrote: >>> >>> >>>> On 12 Mar 2015, at 18:20, Richmond wrote: >>>> >>>> Sorry, but where is the download location? >>> >>> My bad. >>> >>> http://downloads.livecode.com/livecode/ >>> >>> it should be listed at the top. The auto-updater should also have it. >>> >>> Regards, >>> Fraser >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > I am CDO. This is a lot like OCD, except the letters are in alphabetical > order... as they should be. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From fraser.gordon at livecode.com Thu Mar 12 14:52:54 2015 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Thu, 12 Mar 2015 18:52:54 +0000 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <5501DEAE.30004@gmail.com> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <5501D9BD.5090804@gmail.com> <5501DC6C.3010205@gmail.com> <5501DEAE.30004@gmail.com> Message-ID: <9CFB9216-818D-4A25-80BB-2210F7C7954C@livecode.com> On 12 Mar 2015, at 18:45, Richmond wrote: > Is there any point trying to build a 32 bit Linux version from Git Hub at the moment? If you?re able to build LiveCode for Linux normally, it should work. You might have to do an initial step of make bootstrap before ?make all? to ensure that the compiler for LC Builder gets created - some of the engine is now implemented in LCB. Other than the revbrowser component, the 32-bit Linux build works. However, we didn?t want to ship an incomplete installer where some of the major new IDE features don?t work (the new dictionary and the extension store pane of the extension manager rely on revbrowser). Fraser From matthias_livecode_150811 at m-r-d.de Thu Mar 12 14:53:19 2015 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Thu, 12 Mar 2015 19:53:19 +0100 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <5B9F8508-3E15-4781-98EC-DE461FBA780F@livecode.com> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <7FFD8CB7-1CBE-41BF-A038-04E000E8E5B6@m-r-d.de> <531E3F6C-0E7A-479B-A38E-C819E1745BC5@m-r-d.de> <5B9F8508-3E15-4781-98EC-DE461FBA780F@livecode.com> Message-ID: <0AEE12CD-94C9-4AD1-AA6B-614BA4518F33@m-r-d.de> Fraser, It was my ?My livecode? folder, i think the plugins. I renamed it and i was able to successfully start LC 8. But, as i need my plugins for my older LC versions, is there a way to tell LC to use its on ?my livecode? folder? Or do i really have to switch the prefs every time i switch the LC versions. Regards, Matthias > Am 12.03.2015 um 19:40 schrieb Fraser Gordon : > > Hi Matthias, > > On 12 Mar 2015, at 18:34, Matthias Rebbe | M-R-D wrote: > >> Downloaded and installed the community version now. But it crashes immediately after showing the LC ide. >> >> Anything i can do except deleting all Lc preferences? >> >> Matthias > > What platform are you running on? > > Does it crash every time or just the first time you run it? > > Regards, > Fraser > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From fraser.gordon at livecode.com Thu Mar 12 14:57:31 2015 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Thu, 12 Mar 2015 18:57:31 +0000 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <0AEE12CD-94C9-4AD1-AA6B-614BA4518F33@m-r-d.de> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <7FFD8CB7-1CBE-41BF-A038-04E000E8E5B6@m-r-d.de> <531E3F6C-0E7A-479B-A38E-C819E1745BC5@m-r-d.de> <5B9F8508-3E15-4781-98EC-DE461FBA780F@livecode.com> <0AEE12CD-94C9-4AD1-AA6B-614BA4518F33@m-r-d.de> Message-ID: <0631869F-C2A2-4A35-B66A-8DDC3747D4AB@livecode.com> On 12 Mar 2015, at 18:53, Matthias Rebbe | M-R-D wrote: > Fraser, > > It was my ?My livecode? folder, i think the plugins. I renamed it and i was able to successfully start LC 8. Thanks for tracking that down. We?ll investigate why that might be happening. Could you either submit a bugzilla report or let me know off-list what plugins you have installed so we can reproduce? > > But, as i need my plugins for my older LC versions, is there a way to tell LC to use its on ?my livecode? folder? > Or do i really have to switch the prefs every time i switch the LC versions. LiveCode 7 and above use a separate preferences file to 6.x and below - if you customise the location of your folder in 7 or above, it shouldn?t affect previous versions. Versions 7 and 8 use the same preferences file, though. The setting is in Preferences -> Files & Memory and is the ?User Extensions? folder at the bottom of the pane. Fraser From fraser.gordon at livecode.com Thu Mar 12 15:04:20 2015 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Thu, 12 Mar 2015 19:04:20 +0000 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <5501DEAE.30004@gmail.com> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <5501D9BD.5090804@gmail.com> <5501DC6C.3010205@gmail.com> <5501DEAE.30004@gmail.com> Message-ID: On 12 Mar 2015, at 18:45, Richmond wrote: > Is there any point trying to build a 32 bit Linux version from Git Hub at the moment? Just for you Richmond: http://downloads.livecode.com/fraser/LiveCodeCommunityInstaller-8_0_0_dp_1-Linux_NO_BROWSER.x86 The dictionary won?t work (you?ll get a blank window) and there may be one or two other oddities, but it should otherwise work. Regards, Fraser From richmondmathewson at gmail.com Thu Mar 12 15:12:55 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Mar 2015 21:12:55 +0200 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <5501D9BD.5090804@gmail.com> <5501DC6C.3010205@gmail.com> <5501DEAE.30004@gmail.com> Message-ID: <5501E537.2080108@gmail.com> On 12/03/15 21:04, Fraser Gordon wrote: > On 12 Mar 2015, at 18:45, Richmond wrote: > >> Is there any point trying to build a 32 bit Linux version from Git Hub at the moment? > Just for you Richmond: > > http://downloads.livecode.com/fraser/LiveCodeCommunityInstaller-8_0_0_dp_1-Linux_NO_BROWSER.x86 > > The dictionary won?t work (you?ll get a blank window) and there may be one or two other oddities, but it should otherwise work. > > Regards, > Fraser > > _______________________________________________ > Bless you. Richmond. From richmondmathewson at gmail.com Thu Mar 12 15:23:04 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Mar 2015 21:23:04 +0200 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <5501D9BD.5090804@gmail.com> <5501DC6C.3010205@gmail.com> <5501DEAE.30004@gmail.com> Message-ID: <5501E798.4080005@gmail.com> The one thing that really catches my eye is the "extension manager": Menubar/Tools/Extension Manager Richmond. From ludovic.thebault at laposte.net Thu Mar 12 15:38:18 2015 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Thu, 12 Mar 2015 20:38:18 +0100 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <5B9F8508-3E15-4781-98EC-DE461FBA780F@livecode.com> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <7FFD8CB7-1CBE-41BF-A038-04E000E8E5B6@m-r-d.de> <531E3F6C-0E7A-479B-A38E-C819E1745BC5@m-r-d.de> <5B9F8508-3E15-4781-98EC-DE461FBA780F@livecode.com> Message-ID: <242B31BB-D437-4F33-8D70-11AAB560A0BB@laposte.net> > Le 12 mars 2015 ? 19:40, Fraser Gordon a ?crit : > > Hi Matthias, > > On 12 Mar 2015, at 18:34, Matthias Rebbe | M-R-D wrote: > >> Downloaded and installed the community version now. But it crashes immediately after showing the LC ide. >> >> Anything i can do except deleting all Lc preferences? >> >> Matthias > > What platform are you running on? > > Does it crash every time or just the first time you run it? Same thing (Yosemite) but work when i rename the plug-in folder (where there are mobgui and data grid helper) From andrew at ctech.me Thu Mar 12 15:54:29 2015 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 12 Mar 2015 14:54:29 -0500 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <242B31BB-D437-4F33-8D70-11AAB560A0BB@laposte.net> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <7FFD8CB7-1CBE-41BF-A038-04E000E8E5B6@m-r-d.de> <531E3F6C-0E7A-479B-A38E-C819E1745BC5@m-r-d.de> <5B9F8508-3E15-4781-98EC-DE461FBA780F@livecode.com> <242B31BB-D437-4F33-8D70-11AAB560A0BB@laposte.net> Message-ID: Download crawling along for anyone else? On Thu, Mar 12, 2015 at 2:38 PM, Ludovic THEBAULT < ludovic.thebault at laposte.net> wrote: > > > Le 12 mars 2015 ? 19:40, Fraser Gordon a > ?crit : > > > > Hi Matthias, > > > > On 12 Mar 2015, at 18:34, Matthias Rebbe | M-R-D < > matthias_livecode_150811 at m-r-d.de> wrote: > > > >> Downloaded and installed the community version now. But it crashes > immediately after showing the LC ide. > >> > >> Anything i can do except deleting all Lc preferences? > >> > >> Matthias > > > > What platform are you running on? > > > > Does it crash every time or just the first time you run it? > > > Same thing (Yosemite) but work when i rename the plug-in folder (where > there are mobgui and data grid helper) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From colinholgate at gmail.com Thu Mar 12 15:56:34 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Thu, 12 Mar 2015 15:56:34 -0400 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <7FFD8CB7-1CBE-41BF-A038-04E000E8E5B6@m-r-d.de> <531E3F6C-0E7A-479B-A38E-C819E1745BC5@m-r-d.de> <5B9F8508-3E15-4781-98EC-DE461FBA780F@livecode.com> <242B31BB-D437-4F33-8D70-11AAB560A0BB@laposte.net> Message-ID: I expect a lot of people are downloading it. I downloaded it twice early, and it didn?t take too long. > On Mar 12, 2015, at 3:54 PM, Andrew Kluthe wrote: > > >Download crawling along for anyone else? From andrew at ctech.me Thu Mar 12 15:56:41 2015 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 12 Mar 2015 14:56:41 -0500 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <7FFD8CB7-1CBE-41BF-A038-04E000E8E5B6@m-r-d.de> <531E3F6C-0E7A-479B-A38E-C819E1745BC5@m-r-d.de> <5B9F8508-3E15-4781-98EC-DE461FBA780F@livecode.com> <242B31BB-D437-4F33-8D70-11AAB560A0BB@laposte.net> Message-ID: Restarted it a few times and now its going right. A couple of times there it said it was going to take 6 hours to download. On Thu, Mar 12, 2015 at 2:54 PM, Andrew Kluthe wrote: > Download crawling along for anyone else? > > On Thu, Mar 12, 2015 at 2:38 PM, Ludovic THEBAULT < > ludovic.thebault at laposte.net> wrote: > >> >> > Le 12 mars 2015 ? 19:40, Fraser Gordon a >> ?crit : >> > >> > Hi Matthias, >> > >> > On 12 Mar 2015, at 18:34, Matthias Rebbe | M-R-D < >> matthias_livecode_150811 at m-r-d.de> wrote: >> > >> >> Downloaded and installed the community version now. But it crashes >> immediately after showing the LC ide. >> >> >> >> Anything i can do except deleting all Lc preferences? >> >> >> >> Matthias >> > >> > What platform are you running on? >> > >> > Does it crash every time or just the first time you run it? >> >> >> Same thing (Yosemite) but work when i rename the plug-in folder (where >> there are mobgui and data grid helper) >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > -- Regards, Andrew Kluthe andrew at ctech.me From richmondmathewson at gmail.com Thu Mar 12 16:44:07 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Mar 2015 22:44:07 +0200 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <5501D9BD.5090804@gmail.com> <5501DC6C.3010205@gmail.com> <5501DEAE.30004@gmail.com> Message-ID: <5501FA97.1050902@gmail.com> On 12/03/15 21:04, Fraser Gordon wrote: > On 12 Mar 2015, at 18:45, Richmond wrote: > >> Is there any point trying to build a 32 bit Linux version from Git Hub at the moment? > Just for you Richmond: > > http://downloads.livecode.com/fraser/LiveCodeCommunityInstaller-8_0_0_dp_1-Linux_NO_BROWSER.x86 > > The dictionary won?t work (you?ll get a blank window) and there may be one or two other oddities, but it should otherwise work. > > Regards, > Fraser > > Interestingly enough; the first time I started this up the revTools stack loaded with just the 2 arrows at the top. Now I started it again and the whole palette loaded with all those new things at the top. Richmond. From skip at magicgate.com Thu Mar 12 16:58:36 2015 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Thu, 12 Mar 2015 16:58:36 -0400 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <5501FA97.1050902@gmail.com> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <5501D9BD.5090804@gmail.com> <5501DC6C.3010205@gmail.com> <5501DEAE.30004@gmail.com> <5501FA97.1050902@gmail.com> Message-ID: Seems to take two launches of the executable to get the palette to load properly. On Thu, Mar 12, 2015 at 4:44 PM, Richmond wrote: > On 12/03/15 21:04, Fraser Gordon wrote: > >> On 12 Mar 2015, at 18:45, Richmond wrote: >> >> Is there any point trying to build a 32 bit Linux version from Git Hub >>> at the moment? >>> >> Just for you Richmond: >> >> http://downloads.livecode.com/fraser/LiveCodeCommunityInstaller-8_ >> 0_0_dp_1-Linux_NO_BROWSER.x86 >> >> The dictionary won?t work (you?ll get a blank window) and there may be >> one or two other oddities, but it should otherwise work. >> >> Regards, >> Fraser >> >> >> > Interestingly enough; the first time I started this up the revTools stack > loaded with > just the 2 arrows at the top. > > Now I started it again and the whole palette loaded with all those new > things at the top. > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jimschaubeck at yahoo.com Thu Mar 12 18:30:21 2015 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Thu, 12 Mar 2015 15:30:21 -0700 Subject: Datagrid Help In-Reply-To: <1426163309002-4690012.post@n4.nabble.com> References: <1426163309002-4690012.post@n4.nabble.com> Message-ID: Sri, Thank you for the response and I wish I would have explained a bit more. I need to update the database one cell at a time preferably on some sort of "closeField" type of message. I have multiple users updating the same payroll grid at the same time. If I save the entire grid at once, I would erase changes made (at the same time) to other cells in the grid. Your method is simple to code yes but I need more granularity in what changes I save and when. I would like to trigger a save to db when I see a "closeField" type of message. This is what I do when I "roll my own" datagrid. My home made datagrids never look as good or work as well when scrolling as the LC Datagrid. Thank you On Thu, Mar 12, 2015 at 5:28 AM, Sri wrote: > 1. Load data from the database into tArray. > > 2. Set the dgData of the data grid to tArray to display the data. > Make a back up of the initial data to tBackupArray. > > 3. After the user edits the data in the data grid, say, he clicks a button > "Save" > Write the dgData of the data grid to the database. > > 4. If the write is successful, put the dgData of the data grid into > tBackupArray. > If the write is unsuccessful, set the dgData of the data grid to > tBackupArray. > > Regards, > Sri > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Datagrid-Help-tp4690006p4690012.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- ________________________________________________________________________________ jim schaubeck jschaubeck at gmail.com 714-321-4499 From jimschaubeck at yahoo.com Thu Mar 12 18:30:21 2015 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Thu, 12 Mar 2015 15:30:21 -0700 Subject: Datagrid Help In-Reply-To: <1426163309002-4690012.post@n4.nabble.com> References: <1426163309002-4690012.post@n4.nabble.com> Message-ID: Sri, Thank you for the response and I wish I would have explained a bit more. I need to update the database one cell at a time preferably on some sort of "closeField" type of message. I have multiple users updating the same payroll grid at the same time. If I save the entire grid at once, I would erase changes made (at the same time) to other cells in the grid. Your method is simple to code yes but I need more granularity in what changes I save and when. I would like to trigger a save to db when I see a "closeField" type of message. This is what I do when I "roll my own" datagrid. My home made datagrids never look as good or work as well when scrolling as the LC Datagrid. Thank you On Thu, Mar 12, 2015 at 5:28 AM, Sri wrote: > 1. Load data from the database into tArray. > > 2. Set the dgData of the data grid to tArray to display the data. > Make a back up of the initial data to tBackupArray. > > 3. After the user edits the data in the data grid, say, he clicks a button > "Save" > Write the dgData of the data grid to the database. > > 4. If the write is successful, put the dgData of the data grid into > tBackupArray. > If the write is unsuccessful, set the dgData of the data grid to > tBackupArray. > > Regards, > Sri > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Datagrid-Help-tp4690006p4690012.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- ________________________________________________________________________________ jim schaubeck jschaubeck at gmail.com 714-321-4499 From pete at lcsql.com Thu Mar 12 19:46:27 2015 From: pete at lcsql.com (Peter Haworth) Date: Thu, 12 Mar 2015 23:46:27 +0000 Subject: Datagrid Help In-Reply-To: References: <1426163309002-4690012.post@n4.nabble.com> Message-ID: Hi Jim, It's pretty complicated to explain on the list but you can certainly do that. Take a look at the Datagrid Manual section titled "How Do I Open A Table Cell For Editing". It tells how how to grab the data after the user has finished editing a cell and do whatever you need to do with it. On Thu, Mar 12, 2015 at 3:30 PM Jim Schaubeck wrote: > Sri, > Thank you for the response and I wish I would have explained a bit more. I > need to update the database one cell at a time preferably on some sort of > "closeField" type of message. I have multiple users updating the same > payroll grid at the same time. If I save the entire grid at once, I would > erase changes made (at the same time) to other cells in the grid. > > Your method is simple to code yes but I need more granularity in what > changes I save and when. I would like to trigger a save to db when I see a > "closeField" type of message. This is what I do when I "roll my own" > datagrid. My home made datagrids never look as good or work as well when > scrolling as the LC Datagrid. > > Thank you > > On Thu, Mar 12, 2015 at 5:28 AM, Sri wrote: > > > 1. Load data from the database into tArray. > > > > 2. Set the dgData of the data grid to tArray to display the data. > > Make a back up of the initial data to tBackupArray. > > > > 3. After the user edits the data in the data grid, say, he clicks a > button > > "Save" > > Write the dgData of the data grid to the database. > > > > 4. If the write is successful, put the dgData of the data grid into > > tBackupArray. > > If the write is unsuccessful, set the dgData of the data grid to > > tBackupArray. > > > > Regards, > > Sri > > > > > > > > > > -- > > View this message in context: > > http://runtime-revolution.278305.n4.nabble.com/Datagrid- > Help-tp4690006p4690012.html > > Sent from the Revolution - User mailing list archive at Nabble.com. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > ____________________________________________________________ > ____________________ > jim schaubeck jschaubeck at gmail.com > 714-321-4499 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Thu Mar 12 19:46:27 2015 From: pete at lcsql.com (Peter Haworth) Date: Thu, 12 Mar 2015 23:46:27 +0000 Subject: Datagrid Help In-Reply-To: References: <1426163309002-4690012.post@n4.nabble.com> Message-ID: Hi Jim, It's pretty complicated to explain on the list but you can certainly do that. Take a look at the Datagrid Manual section titled "How Do I Open A Table Cell For Editing". It tells how how to grab the data after the user has finished editing a cell and do whatever you need to do with it. On Thu, Mar 12, 2015 at 3:30 PM Jim Schaubeck wrote: > Sri, > Thank you for the response and I wish I would have explained a bit more. I > need to update the database one cell at a time preferably on some sort of > "closeField" type of message. I have multiple users updating the same > payroll grid at the same time. If I save the entire grid at once, I would > erase changes made (at the same time) to other cells in the grid. > > Your method is simple to code yes but I need more granularity in what > changes I save and when. I would like to trigger a save to db when I see a > "closeField" type of message. This is what I do when I "roll my own" > datagrid. My home made datagrids never look as good or work as well when > scrolling as the LC Datagrid. > > Thank you > > On Thu, Mar 12, 2015 at 5:28 AM, Sri wrote: > > > 1. Load data from the database into tArray. > > > > 2. Set the dgData of the data grid to tArray to display the data. > > Make a back up of the initial data to tBackupArray. > > > > 3. After the user edits the data in the data grid, say, he clicks a > button > > "Save" > > Write the dgData of the data grid to the database. > > > > 4. If the write is successful, put the dgData of the data grid into > > tBackupArray. > > If the write is unsuccessful, set the dgData of the data grid to > > tBackupArray. > > > > Regards, > > Sri > > > > > > > > > > -- > > View this message in context: > > http://runtime-revolution.278305.n4.nabble.com/Datagrid- > Help-tp4690006p4690012.html > > Sent from the Revolution - User mailing list archive at Nabble.com. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > ____________________________________________________________ > ____________________ > jim schaubeck jschaubeck at gmail.com > 714-321-4499 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From zryip.theslug at gmail.com Thu Mar 12 20:30:03 2015 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 13 Mar 2015 01:30:03 +0100 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <5501D9BD.5090804@gmail.com> <5501DC6C.3010205@gmail.com> <5501DEAE.30004@gmail.com> <5501FA97.1050902@gmail.com> Message-ID: For DGH users, Matthias reported me DGH is crashing LiveCode 8.0.0. After a quick investigation of the crash report, it seems LC is failing in rendering the graphics of the DGH stack. Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 ??? 0xa08d7cc9 -[PAStackshot initWithGlobalTrace].tracebuf + 4235425 1 com.runrev.livecode 0x0045ff27 SkARGB32_Shader_Blitter::blitAntiH(int, int, unsigned char const*, short const*) + 695 2 com.runrev.livecode 0x004ba9e9 SuperBlitter::~SuperBlitter() + 105 3 com.runrev.livecode 0x004ba575 SkScan::AntiFillPath(SkPath const&, SkRegion const&, SkBlitter*, bool) + 1237 4 com.runrev.livecode 0x004ba7b3 SkScan::AntiFillPath(SkPath const&, SkRasterClip const&, SkBlitter*) + 67 5 com.runrev.livecode 0x00478cb1 SkDraw::drawPath(SkPath const&, SkPaint const&, SkMatrix const*, bool, bool) const + 1137 6 com.runrev.livecode 0x004cf8d0 SkBitmapDevice::drawPath(SkDraw const&, SkPath const&, SkPaint const&, SkMatrix const*, bool) + 64 7 com.runrev.livecode 0x0046bc56 SkCanvas::drawPath(SkPath const&, SkPaint const&) + 790 8 com.runrev.livecode 0x0039a1f9 MCGContextFill(__MCGContext*) + 89 9 com.runrev.livecode 0x0021c069 MCGraphicsContext::fillarc(MCRectangle const&, unsigned short, unsigned short, bool) + 249 10 com.runrev.livecode 0x000b2f92 MCGraphic::draw(MCContext*, MCRectangle const&, bool, bool) + 898 11 com.runrev.livecode 0x0006a8c4 MCControl::redraw(MCContext*, MCRectangle const&) + 196 12 com.runrev.livecode 0x000ba493 MCGroup::draw(MCContext*, MCRectangle const&, bool, bool) + 787 13 com.runrev.livecode 0x0006a8c4 MCControl::redraw(MCContext*, MCRectangle const&) + 196 14 com.runrev.livecode 0x000ba493 MCGroup::draw(MCContext*, MCRectangle const&, bool, bool) + 787 15 com.runrev.livecode 0x0006a8c4 MCControl::redraw(MCContext*, MCRectangle const&) + 196 16 com.runrev.livecode 0x00029628 MCCard::draw(MCContext*, MCRectangle const&, bool) + 184 17 com.runrev.livecode 0x0015d5cc MCStack::render(MCContext*, MCRectangle const&) + 140 18 com.runrev.livecode 0x0015ca59 MCStack::render(__MCGContext*, MCRectangle const&) + 313 19 com.runrev.livecode 0x00220e51 MCStack::view_render(__MCGContext*, MCRectangle) + 577 20 com.runrev.livecode 0x0015cd97 MCStack::view_surface_redrawwindow(MCStackSurface*, __MCGRegion*) + 807 21 com.runrev.livecode 0x0024ae28 MCDispatch::wredraw(MCPlatformWindow*, MCPlatformSurface*, __MCGRegion*) + 136 22 com.runrev.livecode 0x0024b5c6 MCPlatformHandleWindowRedraw(MCPlatformWindow*, MCPlatformSurface*, __MCGRegion*) + 102 I deleted the 3 buttons graphics of the DGH palette and the plugin is now loading properly. If you are a DGH user and want to use the LiveCode 8.0.0 DP 1, remove DGH from your livecode plugins folder. Will investigate and report the issue in the qcc as soon as I have more infos for describing the reason of the crash. Best Regards, On Thu, Mar 12, 2015 at 9:58 PM, Magicgate Software - Skip Kimpel wrote: > Seems to take two launches of the executable to get the palette to load > properly. > > On Thu, Mar 12, 2015 at 4:44 PM, Richmond > wrote: > >> On 12/03/15 21:04, Fraser Gordon wrote: >> >>> On 12 Mar 2015, at 18:45, Richmond wrote: >>> >>> Is there any point trying to build a 32 bit Linux version from Git Hub >>>> at the moment? >>>> >>> Just for you Richmond: >>> >>> http://downloads.livecode.com/fraser/LiveCodeCommunityInstaller-8_ >>> 0_0_dp_1-Linux_NO_BROWSER.x86 >>> >>> The dictionary won?t work (you?ll get a blank window) and there may be >>> one or two other oddities, but it should otherwise work. >>> >>> Regards, >>> Fraser >>> >>> >>> >> Interestingly enough; the first time I started this up the revTools stack >> loaded with >> just the 2 arrows at the top. >> >> Now I started it again and the whole palette loaded with all those new >> things at the top. >> >> Richmond. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Zryip TheSlug http://www.aslugontheroad.com From MikeKerner at roadrunner.com Thu Mar 12 20:36:46 2015 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 12 Mar 2015 20:36:46 -0400 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <5501D9BD.5090804@gmail.com> <5501DC6C.3010205@gmail.com> <5501DEAE.30004@gmail.com> <5501FA97.1050902@gmail.com> Message-ID: All this activity, and all this excitement, for one wee little new version, lol On Thu, Mar 12, 2015 at 8:30 PM, zryip theSlug wrote: > For DGH users, > > Matthias reported me DGH is crashing LiveCode 8.0.0. > > After a quick investigation of the crash report, it seems LC is > failing in rendering the graphics of the DGH stack. > > Thread 0 Crashed:: Dispatch queue: com.apple.main-thread > 0 ??? 0xa08d7cc9 -[PAStackshot > initWithGlobalTrace].tracebuf + 4235425 > 1 com.runrev.livecode 0x0045ff27 > SkARGB32_Shader_Blitter::blitAntiH(int, int, unsigned char const*, > short const*) + 695 > 2 com.runrev.livecode 0x004ba9e9 SuperBlitter::~SuperBlitter() > + 105 > 3 com.runrev.livecode 0x004ba575 > SkScan::AntiFillPath(SkPath const&, SkRegion const&, SkBlitter*, bool) > + 1237 > 4 com.runrev.livecode 0x004ba7b3 > SkScan::AntiFillPath(SkPath const&, SkRasterClip const&, SkBlitter*) + > 67 > 5 com.runrev.livecode 0x00478cb1 SkDraw::drawPath(SkPath > const&, SkPaint const&, SkMatrix const*, bool, bool) const + 1137 > 6 com.runrev.livecode 0x004cf8d0 > SkBitmapDevice::drawPath(SkDraw const&, SkPath const&, SkPaint const&, > SkMatrix const*, bool) + 64 > 7 com.runrev.livecode 0x0046bc56 SkCanvas::drawPath(SkPath > const&, SkPaint const&) + 790 > 8 com.runrev.livecode 0x0039a1f9 MCGContextFill(__MCGContext*) > + 89 > 9 com.runrev.livecode 0x0021c069 > MCGraphicsContext::fillarc(MCRectangle const&, unsigned short, > unsigned short, bool) + 249 > 10 com.runrev.livecode 0x000b2f92 > MCGraphic::draw(MCContext*, MCRectangle const&, bool, bool) + 898 > 11 com.runrev.livecode 0x0006a8c4 > MCControl::redraw(MCContext*, MCRectangle const&) + 196 > 12 com.runrev.livecode 0x000ba493 MCGroup::draw(MCContext*, > MCRectangle const&, bool, bool) + 787 > 13 com.runrev.livecode 0x0006a8c4 > MCControl::redraw(MCContext*, MCRectangle const&) + 196 > 14 com.runrev.livecode 0x000ba493 MCGroup::draw(MCContext*, > MCRectangle const&, bool, bool) + 787 > 15 com.runrev.livecode 0x0006a8c4 > MCControl::redraw(MCContext*, MCRectangle const&) + 196 > 16 com.runrev.livecode 0x00029628 MCCard::draw(MCContext*, > MCRectangle const&, bool) + 184 > 17 com.runrev.livecode 0x0015d5cc > MCStack::render(MCContext*, MCRectangle const&) + 140 > 18 com.runrev.livecode 0x0015ca59 > MCStack::render(__MCGContext*, MCRectangle const&) + 313 > 19 com.runrev.livecode 0x00220e51 > MCStack::view_render(__MCGContext*, MCRectangle) + 577 > 20 com.runrev.livecode 0x0015cd97 > MCStack::view_surface_redrawwindow(MCStackSurface*, __MCGRegion*) + > 807 > 21 com.runrev.livecode 0x0024ae28 > MCDispatch::wredraw(MCPlatformWindow*, MCPlatformSurface*, > __MCGRegion*) + 136 > 22 com.runrev.livecode 0x0024b5c6 > MCPlatformHandleWindowRedraw(MCPlatformWindow*, MCPlatformSurface*, > __MCGRegion*) + 102 > > I deleted the 3 buttons graphics of the DGH palette and the plugin is > now loading properly. > > If you are a DGH user and want to use the LiveCode 8.0.0 DP 1, remove > DGH from your livecode plugins folder. > > Will investigate and report the issue in the qcc as soon as I have > more infos for describing the reason of the crash. > > > Best Regards, > > On Thu, Mar 12, 2015 at 9:58 PM, Magicgate Software - Skip Kimpel > wrote: > > Seems to take two launches of the executable to get the palette to load > > properly. > > > > On Thu, Mar 12, 2015 at 4:44 PM, Richmond > > wrote: > > > >> On 12/03/15 21:04, Fraser Gordon wrote: > >> > >>> On 12 Mar 2015, at 18:45, Richmond > wrote: > >>> > >>> Is there any point trying to build a 32 bit Linux version from Git Hub > >>>> at the moment? > >>>> > >>> Just for you Richmond: > >>> > >>> http://downloads.livecode.com/fraser/LiveCodeCommunityInstaller-8_ > >>> 0_0_dp_1-Linux_NO_BROWSER.x86 > >>> > >>> The dictionary won?t work (you?ll get a blank window) and there may be > >>> one or two other oddities, but it should otherwise work. > >>> > >>> Regards, > >>> Fraser > >>> > >>> > >>> > >> Interestingly enough; the first time I started this up the revTools > stack > >> loaded with > >> just the 2 arrows at the top. > >> > >> Now I started it again and the whole palette loaded with all those new > >> things at the top. > >> > >> Richmond. > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > Zryip TheSlug > http://www.aslugontheroad.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From sritcp at gmail.com Thu Mar 12 20:57:21 2015 From: sritcp at gmail.com (Sri) Date: Thu, 12 Mar 2015 17:57:21 -0700 (PDT) Subject: Datagrid Help In-Reply-To: References: <1426163309002-4690012.post@n4.nabble.com> Message-ID: <1426208241502-4690066.post@n4.nabble.com> As Peter points out http://lessons.runrev.com/m/datagrid/l/7337-how-do-i-save-changes-the-user-makes-in-an-editor-field-to-an-external-data-source explains how you can i) override EditFieldText with only one parameter, in which case it won't automatically save and refresh the data grid, but you'll have to ii) edit closeFieldEditor to write to the database and, if successful, update dgData and then "set" it, which will refresh datagrid. But, wouldn't the problem remain, that other users simultaneously updating a (different) cell of the datagrid would lose their edits as soon as you save one edited cell and refresh the datagrid (by setting the dgData)? Each user editing a copy of the datagrid would likely resolve this problem. Regards, Sri -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Datagrid-Help-tp4690006p4690066.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Thu Mar 12 21:27:23 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 12 Mar 2015 18:27:23 -0700 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <5501DBD1.3070506@gmail.com> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <413C74B6-F8B4-4A2B-919A-1AF52C6EB299@gmail.com> <643CB333-8B75-444D-BE9E-69E916952A96@livecode.com> <5501DBD1.3070506@gmail.com> Message-ID: <391629208734.20150312182723@ahsoftware.net> Richmond- Thursday, March 12, 2015, 11:32:49 AM, you wrote: > . . . or, put another way: I'm going to have to spend all of next > weekend reinstalling my > Linux box with a 64 bit version and really wonder whether it is justified. Just do it. You'll thank yourself later. The 64-bit version of LC on linux is actually faster, for one thing. Do it in a vm if you don't want to resintall. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From james at thehales.id.au Thu Mar 12 22:21:20 2015 From: james at thehales.id.au (James Hale) Date: Fri, 13 Mar 2015 13:21:20 +1100 Subject: No tools on Tools Palette (was Re: Release: LiveCode 8.0.0 DP 1) Message-ID: <76C0BECB-EC5F-4630-81D2-6AB9E1B7E6AA@thehales.id.au> I was just going through the bug database to see if this had been reported when I decided to uncheck the paint tools from the Tools menu. The Tools palette redrew and no included most of the expected items. Reselecting the show paint tools did just that. Perhaps it just needs a kick to get it to redraw itself after it has been populated with items? James BTW the data grid control is not available nor are some of the widgets the extension manager thinks are there! From colinholgate at gmail.com Thu Mar 12 22:30:42 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Thu, 12 Mar 2015 22:30:42 -0400 Subject: No tools on Tools Palette (was Re: Release: LiveCode 8.0.0 DP 1) In-Reply-To: <76C0BECB-EC5F-4630-81D2-6AB9E1B7E6AA@thehales.id.au> References: <76C0BECB-EC5F-4630-81D2-6AB9E1B7E6AA@thehales.id.au> Message-ID: <5C686AD1-1284-475D-8DF2-93AAC5A78FB5@gmail.com> It has been talked about a lot here. Just quit LiveCode and reopen it. > On Mar 12, 2015, at 10:21 PM, James Hale wrote: > > I was just going through the bug database to see if this had been reported when I decided to uncheck the paint tools from the Tools menu. The Tools palette redrew and no included most of the expected items. Reselecting the show paint tools did just that. > Perhaps it just needs a kick to get it to redraw itself after it has been populated with items? > > James > > BTW the data grid control is not available nor are some of the widgets the extension manager thinks are there! > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From james at thehales.id.au Thu Mar 12 23:12:24 2015 From: james at thehales.id.au (James Hale) Date: Fri, 13 Mar 2015 14:12:24 +1100 Subject: No tools on Tools Palette (was Re: Release: LiveCode 8.0.0 DP 1) Message-ID: Colin wrote: > It has been talked about a lot here. Just quit LiveCode and reopen it. Sorry if I wasn't clear. Just forcing the redraw (but adding/subtracting the paint tools) fixes it, no restart required. As for being talked about a lot, that's one downside with only getting the digest of the list. By the time you get it and reply there could be oodles of other replies you have yet to see as you have to wait for the next digest. James From stephenREVOLUTION2 at barncard.com Fri Mar 13 01:36:07 2015 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 12 Mar 2015 22:36:07 -0700 Subject: LC 8.0 Message-ID: The new widgets are AWESOME..... HOLY SMOKES... Great coding, team....... wow -- Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words From marc.vancauwenberghe at pandora.be Fri Mar 13 02:35:21 2015 From: marc.vancauwenberghe at pandora.be (Marc at Home) Date: Fri, 13 Mar 2015 07:35:21 +0100 Subject: Keynote Message-ID: <8ECF9AB6-A542-44CF-A57C-482D5BB20D09@pandora.be> Hi, Does anyone know if where I can get hold of the Kevin's keynote. I missed it :) Regards, Marc From simon at smknight.co.uk Fri Mar 13 03:34:07 2015 From: simon at smknight.co.uk (Simon Knight) Date: Fri, 13 Mar 2015 07:34:07 +0000 Subject: Keynote In-Reply-To: <8ECF9AB6-A542-44CF-A57C-482D5BB20D09@pandora.be> References: <8ECF9AB6-A542-44CF-A57C-482D5BB20D09@pandora.be> Message-ID: <550292EF.5060709@smknight.co.uk> Marc, I took a copy using screen snapz which you are welcome to although Livecode did say they were making the keynote available. My copy has a few audio drop outs each lasting a few seconds. It is just under 300Mbytes : https://dl.dropboxusercontent.com/u/41900569/GoToMeeting%20v6.4.10ScreenSnapz001.mov Simon On 13/03/2015 06:35, Marc at Home wrote: > Hi, > Does anyone know if where I can get hold of the Kevin's keynote. I missed it :) > > Regards, > Marc > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From marc.vancauwenberghe at pandora.be Fri Mar 13 03:41:56 2015 From: marc.vancauwenberghe at pandora.be (Marc at Home) Date: Fri, 13 Mar 2015 08:41:56 +0100 Subject: Keynote In-Reply-To: <550292EF.5060709@smknight.co.uk> References: <8ECF9AB6-A542-44CF-A57C-482D5BB20D09@pandora.be> <550292EF.5060709@smknight.co.uk> Message-ID: <49129BDC-59B6-478F-989C-0B9F5CA063CB@pandora.be> Hi Simon, Thank you very much! Best regards, Marc Verstuurd vanaf mijn iPad > Op 13-mrt.-2015 om 08:34 heeft Simon Knight het volgende geschreven: > > Marc, > > I took a copy using screen snapz which you are welcome to although Livecode did say they were making the keynote available. My copy has a few audio drop outs each lasting a few seconds. It is just under 300Mbytes : https://dl.dropboxusercontent.com/u/41900569/GoToMeeting%20v6.4.10ScreenSnapz001.mov > > Simon > >> On 13/03/2015 06:35, Marc at Home wrote: >> Hi, >> Does anyone know if where I can get hold of the Kevin's keynote. I missed it :) >> >> Regards, >> Marc >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From simon at smknight.co.uk Fri Mar 13 06:00:48 2015 From: simon at smknight.co.uk (Simon Knight) Date: Fri, 13 Mar 2015 10:00:48 +0000 Subject: Keynote In-Reply-To: <49129BDC-59B6-478F-989C-0B9F5CA063CB@pandora.be> References: <8ECF9AB6-A542-44CF-A57C-482D5BB20D09@pandora.be> <550292EF.5060709@smknight.co.uk> <49129BDC-59B6-478F-989C-0B9F5CA063CB@pandora.be> Message-ID: <5502B550.3040402@smknight.co.uk> I have just had a message that my drop box account has been suspended due to excessive activity so I guess I will have to remove the file. Simon On 13/03/2015 07:41, Marc at Home wrote: > Hi Simon, > > Thank you very much! > > Best regards, > Marc > > Verstuurd vanaf mijn iPad > >> Op 13-mrt.-2015 om 08:34 heeft Simon Knight het volgende geschreven: >> >> Marc, >> >> I took a copy using screen snapz which you are welcome to although Livecode did say they were making the keynote available. My copy has a few audio drop outs each lasting a few seconds. It is just under 300Mbytes : https://dl.dropboxusercontent.com/u/41900569/GoToMeeting%20v6.4.10ScreenSnapz001.mov >> >> Simon >> >>> On 13/03/2015 06:35, Marc at Home wrote: >>> Hi, >>> Does anyone know if where I can get hold of the Kevin's keynote. I missed it :) >>> >>> Regards, >>> Marc >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tate83 at gmail.com Fri Mar 13 06:07:43 2015 From: tate83 at gmail.com (Pascal Lehner) Date: Fri, 13 Mar 2015 11:07:43 +0100 Subject: Keynote In-Reply-To: <5502B550.3040402@smknight.co.uk> References: <8ECF9AB6-A542-44CF-A57C-482D5BB20D09@pandora.be> <550292EF.5060709@smknight.co.uk> <49129BDC-59B6-478F-989C-0B9F5CA063CB@pandora.be> <5502B550.3040402@smknight.co.uk> Message-ID: Hi Simon If LiveCode Ltd. (the company formerly known as RunRev) agrees I'd be happy to host the file as a download on my SpiderOak account or maybe you can even put it on youtube for everyone to watch? Since I watched the keynote live yesterday I do not have a copy of your catch it as yet. Best wishes, Pascal 2015-03-13 11:00 GMT+01:00 Simon Knight : > I have just had a message that my drop box account has been suspended due > to excessive activity so I guess I will have to remove the file. > > Simon > > > > On 13/03/2015 07:41, Marc at Home wrote: > >> Hi Simon, >> >> Thank you very much! >> >> Best regards, >> Marc >> >> Verstuurd vanaf mijn iPad >> >> Op 13-mrt.-2015 om 08:34 heeft Simon Knight het >>> volgende geschreven: >>> >>> Marc, >>> >>> I took a copy using screen snapz which you are welcome to although >>> Livecode did say they were making the keynote available. My copy has a few >>> audio drop outs each lasting a few seconds. It is just under 300Mbytes : >>> https://dl.dropboxusercontent.com/u/41900569/GoToMeeting% >>> 20v6.4.10ScreenSnapz001.mov >>> >>> Simon >>> >>> On 13/03/2015 06:35, Marc at Home wrote: >>>> Hi, >>>> Does anyone know if where I can get hold of the Kevin's keynote. I >>>> missed it :) >>>> >>>> Regards, >>>> Marc >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From simon at smknight.co.uk Fri Mar 13 06:29:05 2015 From: simon at smknight.co.uk (Simon Knight) Date: Fri, 13 Mar 2015 10:29:05 +0000 Subject: Keynote In-Reply-To: References: <8ECF9AB6-A542-44CF-A57C-482D5BB20D09@pandora.be> <550292EF.5060709@smknight.co.uk> <49129BDC-59B6-478F-989C-0B9F5CA063CB@pandora.be> <5502B550.3040402@smknight.co.uk> Message-ID: <5502BBF1.7040405@smknight.co.uk> Hi, I will send an email to Kevin to seek permission. Simon On 13/03/2015 10:07, Pascal Lehner wrote: > Hi Simon > > If LiveCode Ltd. (the company formerly known as RunRev) agrees I'd be happy > to host the file as a download on my SpiderOak account or maybe you can > even put it on youtube for everyone to watch? > Since I watched the keynote live yesterday I do not have a copy of your > catch it as yet. > > Best wishes, > Pascal > > > 2015-03-13 11:00 GMT+01:00 Simon Knight : > >> I have just had a message that my drop box account has been suspended due >> to excessive activity so I guess I will have to remove the file. >> >> Simon >> >> >> >> On 13/03/2015 07:41, Marc at Home wrote: >> >>> Hi Simon, >>> >>> Thank you very much! >>> >>> Best regards, >>> Marc >>> >>> Verstuurd vanaf mijn iPad >>> >>> Op 13-mrt.-2015 om 08:34 heeft Simon Knight het >>>> volgende geschreven: >>>> >>>> Marc, >>>> >>>> I took a copy using screen snapz which you are welcome to although >>>> Livecode did say they were making the keynote available. My copy has a few >>>> audio drop outs each lasting a few seconds. It is just under 300Mbytes : >>>> https://dl.dropboxusercontent.com/u/41900569/GoToMeeting% >>>> 20v6.4.10ScreenSnapz001.mov >>>> >>>> Simon >>>> >>>> On 13/03/2015 06:35, Marc at Home wrote: >>>>> Hi, >>>>> Does anyone know if where I can get hold of the Kevin's keynote. I >>>>> missed it :) >>>>> >>>>> Regards, >>>>> Marc >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From marc.vancauwenberghe at pandora.be Fri Mar 13 08:14:59 2015 From: marc.vancauwenberghe at pandora.be (Marc at Home) Date: Fri, 13 Mar 2015 13:14:59 +0100 Subject: Keynote In-Reply-To: <5502B550.3040402@smknight.co.uk> References: <8ECF9AB6-A542-44CF-A57C-482D5BB20D09@pandora.be> <550292EF.5060709@smknight.co.uk> <49129BDC-59B6-478F-989C-0B9F5CA063CB@pandora.be> <5502B550.3040402@smknight.co.uk> Message-ID: Ai, Just seen half of it :( Hope someone has another solution. Thx anyway. Regards, Marc Verstuurd vanaf mijn iPad > Op 13-mrt.-2015 om 11:00 heeft Simon Knight het volgende geschreven: > > I have just had a message that my drop box account has been suspended due to excessive activity so I guess I will have to remove the file. > > Simon > > >> On 13/03/2015 07:41, Marc at Home wrote: >> Hi Simon, >> >> Thank you very much! >> >> Best regards, >> Marc >> >> Verstuurd vanaf mijn iPad >> >>> Op 13-mrt.-2015 om 08:34 heeft Simon Knight het volgende geschreven: >>> >>> Marc, >>> >>> I took a copy using screen snapz which you are welcome to although Livecode did say they were making the keynote available. My copy has a few audio drop outs each lasting a few seconds. It is just under 300Mbytes : https://dl.dropboxusercontent.com/u/41900569/GoToMeeting%20v6.4.10ScreenSnapz001.mov >>> >>> Simon >>> >>>> On 13/03/2015 06:35, Marc at Home wrote: >>>> Hi, >>>> Does anyone know if where I can get hold of the Kevin's keynote. I missed it :) >>>> >>>> Regards, >>>> Marc >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Fri Mar 13 09:25:34 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Fri, 13 Mar 2015 09:25:34 -0400 Subject: Keynote In-Reply-To: <8ECF9AB6-A542-44CF-A57C-482D5BB20D09@pandora.be> References: <8ECF9AB6-A542-44CF-A57C-482D5BB20D09@pandora.be> Message-ID: The GoToMeeting session was recorded, so I would expect a link at some point. > On Mar 13, 2015, at 2:35 AM, Marc at Home wrote: > > Hi, > Does anyone know if where I can get hold of the Kevin's keynote. I missed it :) > > Regards, > Marc > From jiml at netrin.com Fri Mar 13 11:45:27 2015 From: jiml at netrin.com (Jim Lambert) Date: Fri, 13 Mar 2015 08:45:27 -0700 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: References: Message-ID: <4A7A23D8-AD9E-498D-B46F-E8D2F885B44B@netrin.com> Exciting webinar. Trying to draw the differences between widgets, extensions, externals. Extensions include: Externals ex-commands ex-functions Plug-ins Widgets Libraries With widgets eventually replacing externals. Is that about right? Jim Lambert From simon at smknight.co.uk Fri Mar 13 11:47:49 2015 From: simon at smknight.co.uk (Simon Knight) Date: Fri, 13 Mar 2015 15:47:49 +0000 Subject: Keynote In-Reply-To: References: <8ECF9AB6-A542-44CF-A57C-482D5BB20D09@pandora.be> <550292EF.5060709@smknight.co.uk> <49129BDC-59B6-478F-989C-0B9F5CA063CB@pandora.be> <5502B550.3040402@smknight.co.uk> Message-ID: <550306A5.7010406@smknight.co.uk> Hi Marc, Why half ? The movie should have been 80 minutes long. Simon On 13/03/2015 12:14, Marc at Home wrote: > Ai, > > Just seen half of it :( > > Hope someone has another solution. Thx anyway. > > Regards, > Marc > > Verstuurd vanaf mijn iPad > >> Op 13-mrt.-2015 om 11:00 heeft Simon Knight het volgende geschreven: >> >> I have just had a message that my drop box account has been suspended due to excessive activity so I guess I will have to remove the file. >> >> Simon >> >> >>> On 13/03/2015 07:41, Marc at Home wrote: >>> Hi Simon, >>> >>> Thank you very much! >>> >>> Best regards, >>> Marc >>> >>> Verstuurd vanaf mijn iPad >>> >>>> Op 13-mrt.-2015 om 08:34 heeft Simon Knight het volgende geschreven: >>>> >>>> Marc, >>>> >>>> I took a copy using screen snapz which you are welcome to although Livecode did say they were making the keynote available. My copy has a few audio drop outs each lasting a few seconds. It is just under 300Mbytes : https://dl.dropboxusercontent.com/u/41900569/GoToMeeting%20v6.4.10ScreenSnapz001.mov >>>> >>>> Simon >>>> >>>>> On 13/03/2015 06:35, Marc at Home wrote: >>>>> Hi, >>>>> Does anyone know if where I can get hold of the Kevin's keynote. I missed it :) >>>>> >>>>> Regards, >>>>> Marc >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From marc.vancauwenberghe at pandora.be Fri Mar 13 11:52:29 2015 From: marc.vancauwenberghe at pandora.be (Marc Van Cauwenberghe) Date: Fri, 13 Mar 2015 16:52:29 +0100 Subject: Keynote In-Reply-To: <550306A5.7010406@smknight.co.uk> References: <8ECF9AB6-A542-44CF-A57C-482D5BB20D09@pandora.be> <550292EF.5060709@smknight.co.uk> <49129BDC-59B6-478F-989C-0B9F5CA063CB@pandora.be> <5502B550.3040402@smknight.co.uk> <550306A5.7010406@smknight.co.uk> Message-ID: Well, I had to stop halfway for an errand but when I came back the file was gone. Marc Verstuurd vanaf mijn iPhone > Op 13-mrt.-2015 om 16:47 heeft Simon Knight het volgende geschreven: > > Hi Marc, > > Why half ? The movie should have been 80 minutes long. > > Simon > > >> On 13/03/2015 12:14, Marc at Home wrote: >> Ai, >> >> Just seen half of it :( >> >> Hope someone has another solution. Thx anyway. >> >> Regards, >> Marc >> >> Verstuurd vanaf mijn iPad >> >>> Op 13-mrt.-2015 om 11:00 heeft Simon Knight het volgende geschreven: >>> >>> I have just had a message that my drop box account has been suspended due to excessive activity so I guess I will have to remove the file. >>> >>> Simon >>> >>> >>>> On 13/03/2015 07:41, Marc at Home wrote: >>>> Hi Simon, >>>> >>>> Thank you very much! >>>> >>>> Best regards, >>>> Marc >>>> >>>> Verstuurd vanaf mijn iPad >>>> >>>>> Op 13-mrt.-2015 om 08:34 heeft Simon Knight het volgende geschreven: >>>>> >>>>> Marc, >>>>> >>>>> I took a copy using screen snapz which you are welcome to although Livecode did say they were making the keynote available. My copy has a few audio drop outs each lasting a few seconds. It is just under 300Mbytes : https://dl.dropboxusercontent.com/u/41900569/GoToMeeting%20v6.4.10ScreenSnapz001.mov >>>>> >>>>> Simon >>>>> >>>>>> On 13/03/2015 06:35, Marc at Home wrote: >>>>>> Hi, >>>>>> Does anyone know if where I can get hold of the Kevin's keynote. I missed it :) >>>>>> >>>>>> Regards, >>>>>> Marc >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kevin at livecode.com Fri Mar 13 12:00:03 2015 From: kevin at livecode.com (Kevin Miller) Date: Fri, 13 Mar 2015 12:00:03 -0400 Subject: Keynote In-Reply-To: References: <8ECF9AB6-A542-44CF-A57C-482D5BB20D09@pandora.be> <550292EF.5060709@smknight.co.uk> <49129BDC-59B6-478F-989C-0B9F5CA063CB@pandora.be> <5502B550.3040402@smknight.co.uk> <550306A5.7010406@smknight.co.uk> Message-ID: We will post the webinar as soon as we can but as its late in the UK it may be Monday. Having a few problems with the encode and traveling has slowed it down... On my way to Austin for SXSW just now. Kind regards, Kevin Kevin Miller ~ kevin at livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can create apps On 13/03/2015 11:52, "Marc Van Cauwenberghe" wrote: >Well, I had to stop halfway for an errand but when I came back the file >was gone. > > >Marc > > >Verstuurd vanaf mijn iPhone > >> Op 13-mrt.-2015 om 16:47 heeft Simon Knight het >>volgende geschreven: >> >> Hi Marc, >> >> Why half ? The movie should have been 80 minutes long. >> >> Simon >> >> >>> On 13/03/2015 12:14, Marc at Home wrote: >>> Ai, >>> >>> Just seen half of it :( >>> >>> Hope someone has another solution. Thx anyway. >>> >>> Regards, >>> Marc >>> >>> Verstuurd vanaf mijn iPad >>> >>>> Op 13-mrt.-2015 om 11:00 heeft Simon Knight >>>>het volgende geschreven: >>>> >>>> I have just had a message that my drop box account has been suspended >>>>due to excessive activity so I guess I will have to remove the file. >>>> >>>> Simon >>>> >>>> >>>>> On 13/03/2015 07:41, Marc at Home wrote: >>>>> Hi Simon, >>>>> >>>>> Thank you very much! >>>>> >>>>> Best regards, >>>>> Marc >>>>> >>>>> Verstuurd vanaf mijn iPad >>>>> >>>>>> Op 13-mrt.-2015 om 08:34 heeft Simon Knight >>>>>>het volgende geschreven: >>>>>> >>>>>> Marc, >>>>>> >>>>>> I took a copy using screen snapz which you are welcome to although >>>>>>Livecode did say they were making the keynote available. My copy >>>>>>has a few audio drop outs each lasting a few seconds. It is just >>>>>>under 300Mbytes : >>>>>>https://dl.dropboxusercontent.com/u/41900569/GoToMeeting%20v6.4.10Scr >>>>>>eenSnapz001.mov >>>>>> >>>>>> Simon >>>>>> >>>>>>> On 13/03/2015 06:35, Marc at Home wrote: >>>>>>> Hi, >>>>>>> Does anyone know if where I can get hold of the Kevin's keynote. I >>>>>>>missed it :) >>>>>>> >>>>>>> Regards, >>>>>>> Marc >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>>subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>>subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>>subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Fri Mar 13 13:03:44 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Fri, 13 Mar 2015 13:03:44 -0400 Subject: Keynote In-Reply-To: References: <8ECF9AB6-A542-44CF-A57C-482D5BB20D09@pandora.be> <550292EF.5060709@smknight.co.uk> <49129BDC-59B6-478F-989C-0B9F5CA063CB@pandora.be> <5502B550.3040402@smknight.co.uk> <550306A5.7010406@smknight.co.uk> Message-ID: <47957FF1-2285-41C4-99EE-95D2DEB1839E@gmail.com> If you have the time, maybe while traveling, can you let us know what the reaction is like at SXSW? > On Mar 13, 2015, at 12:00 PM, Kevin Miller wrote: > > >On my way to Austin for SXSW just now. From kevin at runrev.com Fri Mar 13 13:17:10 2015 From: kevin at runrev.com (Kevin Miller) Date: Fri, 13 Mar 2015 12:17:10 -0500 Subject: Keynote In-Reply-To: <47957FF1-2285-41C4-99EE-95D2DEB1839E@gmail.com> References: <8ECF9AB6-A542-44CF-A57C-482D5BB20D09@pandora.be> <550292EF.5060709@smknight.co.uk> <49129BDC-59B6-478F-989C-0B9F5CA063CB@pandora.be> <5502B550.3040402@smknight.co.uk> <550306A5.7010406@smknight.co.uk> <47957FF1-2285-41C4-99EE-95D2DEB1839E@gmail.com> Message-ID: Yes - will do. Sent from my iPhone > On 13 Mar 2015, at 12:03, Colin Holgate wrote: > > If you have the time, maybe while traveling, can you let us know what the reaction is like at SXSW? > > >>> On Mar 13, 2015, at 12:00 PM, Kevin Miller wrote: >>> >>> On my way to Austin for SXSW just now. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Fri Mar 13 13:15:54 2015 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 13 Mar 2015 13:15:54 -0400 Subject: LiveCode 8.0.0 Widgets Themed? Message-ID: <55031B4A.5040902@gmail.com> Can anyone comment on the intention for LiveCode Ltd supplied widgets... Is the intention that a single widget be themed to look appropriately on each platform? This would seem logical, but I don't see any clues or direction in the 8.0.0 Guide. This is really exciting stuff! -= Mike From jacque at hyperactivesw.com Fri Mar 13 13:34:18 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 Mar 2015 12:34:18 -0500 Subject: LiveCode 8.0.0 Widgets Themed? In-Reply-To: <55031B4A.5040902@gmail.com> References: <55031B4A.5040902@gmail.com> Message-ID: <55031F9A.8010708@hyperactivesw.com> On 3/13/2015 12:15 PM, Michael Doub wrote: > Is the intention that a single widget be themed to look appropriately on > each platform? Yes, that was mentioned, and also that iOS and Android would be kept in parity once themes are finished. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From livfoss at mac.com Fri Mar 13 13:47:57 2015 From: livfoss at mac.com (Graham Samuel) Date: Fri, 13 Mar 2015 18:47:57 +0100 Subject: XML Tutorial Message-ID: <808FC3E6-FCB5-483A-83E2-4ECEC6265B7A@mac.com> Not for the first time, I?m trying to get to grips with XML. I have to analyse some fairly trivial files (.gpx files, which show a geographical position, elevation and time). I find the explanation in the LC User Guide pretty tough, partly because they leave out elementary stuff about how legal XML is formed, partly because it?s got errors in it, and partly because the example they use isn?t rich enough. Oh and partly because I am slow and grumpy about this particular subject. Long ago, I know Sarah Reichelt wrote some kind of tutorial but I can?t find it. Can anyone help with this or any other ?XML for dummies? type stuff? I just want to do simple things like put attributes into arrays. TIA Graham From pete at lcsql.com Fri Mar 13 13:52:41 2015 From: pete at lcsql.com (Peter Haworth) Date: Fri, 13 Mar 2015 17:52:41 +0000 Subject: XML Tutorial In-Reply-To: <808FC3E6-FCB5-483A-83E2-4ECEC6265B7A@mac.com> References: <808FC3E6-FCB5-483A-83E2-4ECEC6265B7A@mac.com> Message-ID: Hi Graham, I had a similar need a few weeks back for a fairly simple XML file. I found it quicker and easier to parse the file myself using LC's standard chunks than to spend time learning the ins and outs of XML. Of course, that means I still know nothing about XML but I can live with that ;-) On Fri, Mar 13, 2015 at 10:48 AM Graham Samuel wrote: > Not for the first time, I?m trying to get to grips with XML. I have to > analyse some fairly trivial files (.gpx files, which show a geographical > position, elevation and time). I find the explanation in the LC User Guide > pretty tough, partly because they leave out elementary stuff about how > legal XML is formed, partly because it?s got errors in it, and partly > because the example they use isn?t rich enough. Oh and partly because I am > slow and grumpy about this particular subject. > > Long ago, I know Sarah Reichelt wrote some kind of tutorial but I can?t > find it. Can anyone help with this or any other ?XML for dummies? type > stuff? I just want to do simple things like put attributes into arrays. > > TIA > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Mar 13 13:54:52 2015 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 13 Mar 2015 18:54:52 +0100 Subject: XML Tutorial In-Reply-To: <808FC3E6-FCB5-483A-83E2-4ECEC6265B7A@mac.com> References: <808FC3E6-FCB5-483A-83E2-4ECEC6265B7A@mac.com> Message-ID: <5503246C.5000703@economy-x-talk.com> Hi, My book contains a chapter on XML. Several people told me it is quite useful, although it could use some extension. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/13/2015 18:47, Graham Samuel wrote: > Not for the first time, I?m trying to get to grips with XML. I have to analyse some fairly trivial files (.gpx files, which show a geographical position, elevation and time). I find the explanation in the LC User Guide pretty tough, partly because they leave out elementary stuff about how legal XML is formed, partly because it?s got errors in it, and partly because the example they use isn?t rich enough. Oh and partly because I am slow and grumpy about this particular subject. > > Long ago, I know Sarah Reichelt wrote some kind of tutorial but I can?t find it. Can anyone help with this or any other ?XML for dummies? type stuff? I just want to do simple things like put attributes into arrays. > > TIA > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Fri Mar 13 14:02:11 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 13 Mar 2015 14:02:11 -0400 Subject: XML Tutorial In-Reply-To: <808FC3E6-FCB5-483A-83E2-4ECEC6265B7A@mac.com> References: <808FC3E6-FCB5-483A-83E2-4ECEC6265B7A@mac.com> Message-ID: <00b601d05db7$d479e120$7d6da360$@net> Graham, Here's a link to my parsing of Google's Geo Coding API that returns XML. This function parses the XML and returns the results in an array. Doesn't do all the XML stuff but might be a help get you started. http://evergreeninfo.on-rev.com/runrev/GeoCodeAndXML.txt Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Graham Samuel Sent: Friday, March 13, 2015 1:48 PM To: How to use LiveCode Subject: XML Tutorial Not for the first time, I?m trying to get to grips with XML. I have to analyse some fairly trivial files (.gpx files, which show a geographical position, elevation and time). I find the explanation in the LC User Guide pretty tough, partly because they leave out elementary stuff about how legal XML is formed, partly because it?s got errors in it, and partly because the example they use isn?t rich enough. Oh and partly because I am slow and grumpy about this particular subject. Long ago, I know Sarah Reichelt wrote some kind of tutorial but I can?t find it. Can anyone help with this or any other ?XML for dummies? type stuff? I just want to do simple things like put attributes into arrays. TIA Graham _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Fri Mar 13 13:59:24 2015 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 13 Mar 2015 13:59:24 -0400 Subject: XML Tutorial In-Reply-To: <808FC3E6-FCB5-483A-83E2-4ECEC6265B7A@mac.com> References: <808FC3E6-FCB5-483A-83E2-4ECEC6265B7A@mac.com> Message-ID: <5503257C.3060909@gmail.com> Graham, ConvertArrayToXML and ConvertXMLToArray are both in the MasterLibrary under Misc. https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 Regards, Mike On 3/13/15 1:47 PM, Graham Samuel wrote: > Not for the first time, I?m trying to get to grips with XML. I have to analyse some fairly trivial files (.gpx files, which show a geographical position, elevation and time). I find the explanation in the LC User Guide pretty tough, partly because they leave out elementary stuff about how legal XML is formed, partly because it?s got errors in it, and partly because the example they use isn?t rich enough. Oh and partly because I am slow and grumpy about this particular subject. > > Long ago, I know Sarah Reichelt wrote some kind of tutorial but I can?t find it. Can anyone help with this or any other ?XML for dummies? type stuff? I just want to do simple things like put attributes into arrays. > > TIA > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From skiplondon at gmail.com Fri Mar 13 14:04:55 2015 From: skiplondon at gmail.com (Skip Kimpel) Date: Fri, 13 Mar 2015 14:04:55 -0400 Subject: XML Tutorial In-Reply-To: <5503257C.3060909@gmail.com> References: <808FC3E6-FCB5-483A-83E2-4ECEC6265B7A@mac.com> <5503257C.3060909@gmail.com> Message-ID: <2902A99B-C0C7-41E3-9A6C-606FD7DC2003@gmail.com> I HIGHLY recommend MasterLibrary!! I have used these XML functions and they work like a charm. SKIP > On Mar 13, 2015, at 1:59 PM, Michael Doub wrote: > > Graham, > > ConvertArrayToXML and ConvertXMLToArray are both in the MasterLibrary under Misc. > > https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 > > Regards, > Mike > > > > >> On 3/13/15 1:47 PM, Graham Samuel wrote: >> Not for the first time, I?m trying to get to grips with XML. I have to analyse some fairly trivial files (.gpx files, which show a geographical position, elevation and time). I find the explanation in the LC User Guide pretty tough, partly because they leave out elementary stuff about how legal XML is formed, partly because it?s got errors in it, and partly because the example they use isn?t rich enough. Oh and partly because I am slow and grumpy about this particular subject. >> >> Long ago, I know Sarah Reichelt wrote some kind of tutorial but I can?t find it. Can anyone help with this or any other ?XML for dummies? type stuff? I just want to do simple things like put attributes into arrays. >> >> TIA >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Fri Mar 13 14:13:12 2015 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 13 Mar 2015 14:13:12 -0400 Subject: XML Tutorial In-Reply-To: <2902A99B-C0C7-41E3-9A6C-606FD7DC2003@gmail.com> References: <808FC3E6-FCB5-483A-83E2-4ECEC6265B7A@mac.com> <5503257C.3060909@gmail.com> <2902A99B-C0C7-41E3-9A6C-606FD7DC2003@gmail.com> Message-ID: <550328B8.5010909@gmail.com> These were contributed by Trever Devore. Many thanks! -= Mike On 3/13/15 2:04 PM, Skip Kimpel wrote: > I HIGHLY recommend MasterLibrary!! I have used these XML functions and they work like a charm. > > SKIP > > > >> On Mar 13, 2015, at 1:59 PM, Michael Doub wrote: >> >> Graham, >> >> ConvertArrayToXML and ConvertXMLToArray are both in the MasterLibrary under Misc. >> >> https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 >> >> Regards, >> Mike >> >> >> >> >>> On 3/13/15 1:47 PM, Graham Samuel wrote: >>> Not for the first time, I?m trying to get to grips with XML. I have to analyse some fairly trivial files (.gpx files, which show a geographical position, elevation and time). I find the explanation in the LC User Guide pretty tough, partly because they leave out elementary stuff about how legal XML is formed, partly because it?s got errors in it, and partly because the example they use isn?t rich enough. Oh and partly because I am slow and grumpy about this particular subject. >>> >>> Long ago, I know Sarah Reichelt wrote some kind of tutorial but I can?t find it. Can anyone help with this or any other ?XML for dummies? type stuff? I just want to do simple things like put attributes into arrays. >>> >>> TIA >>> >>> Graham >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Mar 13 14:17:32 2015 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 13 Mar 2015 20:17:32 +0200 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <391629208734.20150312182723@ahsoftware.net> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <413C74B6-F8B4-4A2B-919A-1AF52C6EB299@gmail.com> <643CB333-8B75-444D-BE9E-69E916952A96@livecode.com> <5501DBD1.3070506@gmail.com> <391629208734.20150312182723@ahsoftware.net> Message-ID: <550329BC.3010604@gmail.com> On 13/03/15 03:27, Mark Wieder wrote: > Richmond- > > Thursday, March 12, 2015, 11:32:49 AM, you wrote: > >> . . . or, put another way: I'm going to have to spend all of next >> weekend reinstalling my >> Linux box with a 64 bit version and really wonder whether it is justified. > Just do it. You'll thank yourself later. > The 64-bit version of LC on linux is actually faster, for one thing. > Do it in a vm if you don't want to resintall. > The main "problem" is that my rig is highly customised and having to reinstall everything all over again just the way I like things is going to take a very long time indeed. Richmond. From david at viral.academy Fri Mar 13 14:37:34 2015 From: david at viral.academy (David Bovill) Date: Fri, 13 Mar 2015 18:37:34 +0000 Subject: It's my birthday Message-ID: And I want to watch the keynote or read something about widgets or open language. I've downloaded 8.0 but nothing to read? Can anyone help me? From prothero at earthednet.org Fri Mar 13 14:58:56 2015 From: prothero at earthednet.org (William Prothero) Date: Fri, 13 Mar 2015 11:58:56 -0700 Subject: Speaking of XML, what about KML? Message-ID: <8D0263A1-AB96-4906-88C1-EC468E1A86C6@earthednet.org> I?m about to build a parse to retrieve country outline data from a KML file. This seems straightforward, but just wondering if there is a handler posted someplace for this. Basically, I?ll parse out the lat/lon outlines, then render it onto a map using my own methods. If there is none, then I?ll be glad to share what I come up with. Best, Bill William A. Prothero http://es.earthednet.org/ From MikeKerner at roadrunner.com Fri Mar 13 15:09:00 2015 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 13 Mar 2015 15:09:00 -0400 Subject: It's my birthday In-Reply-To: References: Message-ID: Go into Dictionary. There is a bug in dictionary, so you'll have to close the dictionary and then reopen it, again. Once you do that, you'll see a tab for "Guide". Happy Birthday, have fun with playtime. On Fri, Mar 13, 2015 at 2:37 PM, David Bovill wrote: > And I want to watch the keynote or read something about widgets or open > language. I've downloaded 8.0 but nothing to read? > > Can anyone help me? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mikedoub at gmail.com Fri Mar 13 16:07:34 2015 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 13 Mar 2015 16:07:34 -0400 Subject: Speaking of XML, what about KML? In-Reply-To: <8D0263A1-AB96-4906-88C1-EC468E1A86C6@earthednet.org> References: <8D0263A1-AB96-4906-88C1-EC468E1A86C6@earthednet.org> Message-ID: <55034386.3010904@gmail.com> I had never heard of kml, so I poked around a bit and found some samples at https://developers.google.com/kml/documentation/kml_tut. It looks like it is a specific format of xml. convertXMLToArray seems to work, but you are still going to have to look closely at the array structure that is specific to kml. Hope this helps you get started. -= Mike On 3/13/15 2:58 PM, William Prothero wrote: > I?m about to build a parse to retrieve country outline data from a KML file. This seems straightforward, but just wondering if there is a handler posted someplace for this. Basically, I?ll parse out the lat/lon outlines, then render it onto a map using my own methods. > > If there is none, then I?ll be glad to share what I come up with. > > Best, > Bill > > > > William A. Prothero > http://es.earthednet.org/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kevin at runrev.com Fri Mar 13 16:09:59 2015 From: kevin at runrev.com (Kevin Miller) Date: Fri, 13 Mar 2015 15:09:59 -0500 Subject: LiveCode 8.0.0 Widgets Themed? In-Reply-To: <55031F9A.8010708@hyperactivesw.com> References: <55031B4A.5040902@gmail.com> <55031F9A.8010708@hyperactivesw.com> Message-ID: <9767305E-656C-4D4D-AB4C-ADEBE3751647@runrev.com> Yes. All platforms and parity before 8 ships. Sent from my iPhone > On 13 Mar 2015, at 12:34, J. Landman Gay wrote: > >> On 3/13/2015 12:15 PM, Michael Doub wrote: >> Is the intention that a single widget be themed to look appropriately on >> each platform? > > Yes, that was mentioned, and also that iOS and Android would be kept in parity once themes are finished. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From skip at magicgate.com Fri Mar 13 16:13:24 2015 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Fri, 13 Mar 2015 16:13:24 -0400 Subject: Speaking of XML, what about KML? In-Reply-To: <55034386.3010904@gmail.com> References: <8D0263A1-AB96-4906-88C1-EC468E1A86C6@earthednet.org> <55034386.3010904@gmail.com> Message-ID: I would think converXMLtoArray would work just fine. Haven't tried it but I can't see why not. SKIP On Fri, Mar 13, 2015 at 4:07 PM, Michael Doub wrote: > I had never heard of kml, so I poked around a bit and found some samples > at https://developers.google.com/kml/documentation/kml_tut. It looks > like it is a specific format of xml. > > convertXMLToArray seems to work, but you are still going to have to look > closely at the array structure that is specific to kml. Hope this helps > you get started. > > -= Mike > > > > > > > On 3/13/15 2:58 PM, William Prothero wrote: > >> I?m about to build a parse to retrieve country outline data from a KML >> file. This seems straightforward, but just wondering if there is a handler >> posted someplace for this. Basically, I?ll parse out the lat/lon outlines, >> then render it onto a map using my own methods. >> >> If there is none, then I?ll be glad to share what I come up with. >> >> Best, >> Bill >> >> >> >> William A. Prothero >> http://es.earthednet.org/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Fri Mar 13 16:35:31 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 13 Mar 2015 20:35:31 +0000 Subject: [Semi-OT] Execute Javascript for Acrobat In-Reply-To: <13BC3529-A69E-4A32-866A-E828E59A880B@iotecdigital.com> References: <13BC3529-A69E-4A32-866A-E828E59A880B@iotecdigital.com> Message-ID: <0B49AC90-9B1A-402F-8316-E7D9F3A7AC66@iotecdigital.com> As it turns out, there is no way in Windows to send commands to Adobe Acrobat, telling it to run a Javascript. And while there are tools for development systems like Java and C++ to do so, there is no shell method to do so. So apparently I will be stuck creating FDF files for the Windows environment. It would have been nice if Livecode had a way to directly communicate Javascript to other applications using the methods available, as it can with Applescript, but now that the widget architecture is on the way, perhaps someone will develop one. Bob S > On Mar 4, 2015, at 08:56 , Bob Sneidar wrote: > > Hi all. > > I know there are people on the list who know if this can even be done, and if so, how to do it. Presently to have a PDF fillable form open and auto-fill with data, I must first set the PDF form up to import an FDF file upon opening, and secondly I must create an FDF file for it to import, populated with the values I want. > > All this I have working, but I have developed a method for doing this directly from within my LC app without resorting to FDF files, but *only* for the Mac. I want to also develop a method for use in Windows. But since Windows has no built in equivalent to Inter-Application Communications (IAC otherwise known as Applescript) I am wondering if there is a way to do this via a shell command. I can execute Javascript alright by using wscript.exe, but how to get the message to Acrobat or Reader? > > Bob S > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Fri Mar 13 17:07:03 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 13 Mar 2015 17:07:03 -0400 Subject: [Semi-OT] Execute Javascript for Acrobat In-Reply-To: <0B49AC90-9B1A-402F-8316-E7D9F3A7AC66@iotecdigital.com> References: <13BC3529-A69E-4A32-866A-E828E59A880B@iotecdigital.com> <0B49AC90-9B1A-402F-8316-E7D9F3A7AC66@iotecdigital.com> Message-ID: <00c901d05dd1$a80740a0$f815c1e0$@net> Bob, At RR 14 Mark and I tried to do this through VBS. As I recall we had some success connecting to the JSO but could talk to Acrobat after the connection was established. My hour with him was up and I have not revisited it since. I will look for the VBS we were working on and see if I can get it to work. When I find it I will send it to you and see if you can get any further. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar Sent: Friday, March 13, 2015 4:36 PM To: How to use LiveCode Subject: Re: [Semi-OT] Execute Javascript for Acrobat As it turns out, there is no way in Windows to send commands to Adobe Acrobat, telling it to run a Javascript. And while there are tools for development systems like Java and C++ to do so, there is no shell method to do so. So apparently I will be stuck creating FDF files for the Windows environment. It would have been nice if Livecode had a way to directly communicate Javascript to other applications using the methods available, as it can with Applescript, but now that the widget architecture is on the way, perhaps someone will develop one. Bob S > On Mar 4, 2015, at 08:56 , Bob Sneidar wrote: > > Hi all. > > I know there are people on the list who know if this can even be done, and if so, how to do it. Presently to have a PDF fillable form open and auto-fill with data, I must first set the PDF form up to import an FDF file upon opening, and secondly I must create an FDF file for it to import, populated with the values I want. > > All this I have working, but I have developed a method for doing this directly from within my LC app without resorting to FDF files, but *only* for the Mac. I want to also develop a method for use in Windows. But since Windows has no built in equivalent to Inter-Application Communications (IAC otherwise known as Applescript) I am wondering if there is a way to do this via a shell command. I can execute Javascript alright by using wscript.exe, but how to get the message to Acrobat or Reader? > > Bob S > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at ctech.me Fri Mar 13 17:06:58 2015 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 13 Mar 2015 16:06:58 -0500 Subject: [Semi-OT] Execute Javascript for Acrobat In-Reply-To: <0B49AC90-9B1A-402F-8316-E7D9F3A7AC66@iotecdigital.com> References: <13BC3529-A69E-4A32-866A-E828E59A880B@iotecdigital.com> <0B49AC90-9B1A-402F-8316-E7D9F3A7AC66@iotecdigital.com> Message-ID: Except, what Apple does with applescript (and now JS) is at the OS level. VBscript is available to do certain things on windows. Maybe MS will replace VBScript with something more like Javascript in the future. Who knows, not something we can really have control over though. On Fri, Mar 13, 2015 at 3:35 PM, Bob Sneidar wrote: > As it turns out, there is no way in Windows to send commands to Adobe > Acrobat, telling it to run a Javascript. And while there are tools for > development systems like Java and C++ to do so, there is no shell method to > do so. So apparently I will be stuck creating FDF files for the Windows > environment. It would have been nice if Livecode had a way to directly > communicate Javascript to other applications using the methods available, > as it can with Applescript, but now that the widget architecture is on the > way, perhaps someone will develop one. > > Bob S > > > > On Mar 4, 2015, at 08:56 , Bob Sneidar > wrote: > > > > Hi all. > > > > I know there are people on the list who know if this can even be done, > and if so, how to do it. Presently to have a PDF fillable form open and > auto-fill with data, I must first set the PDF form up to import an FDF file > upon opening, and secondly I must create an FDF file for it to import, > populated with the values I want. > > > > All this I have working, but I have developed a method for doing this > directly from within my LC app without resorting to FDF files, but *only* > for the Mac. I want to also develop a method for use in Windows. But since > Windows has no built in equivalent to Inter-Application Communications (IAC > otherwise known as Applescript) I am wondering if there is a way to do this > via a shell command. I can execute Javascript alright by using wscript.exe, > but how to get the message to Acrobat or Reader? > > > > Bob S > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From stephenREVOLUTION2 at barncard.com Fri Mar 13 19:33:21 2015 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 13 Mar 2015 16:33:21 -0700 Subject: Keynote In-Reply-To: References: <8ECF9AB6-A542-44CF-A57C-482D5BB20D09@pandora.be> <550292EF.5060709@smknight.co.uk> <49129BDC-59B6-478F-989C-0B9F5CA063CB@pandora.be> <5502B550.3040402@smknight.co.uk> <550306A5.7010406@smknight.co.uk> <47957FF1-2285-41C4-99EE-95D2DEB1839E@gmail.com> Message-ID: Livecode at SXSW is so cool- this year will be a turning point for the platform... I just had another dear musician friend take my advice and get into learning about it. He's deep into it right now. sqb -- Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words On Fri, Mar 13, 2015 at 10:17 AM, Kevin Miller wrote: > Yes - will do. > > Sent from my iPhone > > > On 13 Mar 2015, at 12:03, Colin Holgate wrote: > > > > If you have the time, maybe while traveling, can you let us know what > the reaction is like at SXSW? > > > > > >>> On Mar 13, 2015, at 12:00 PM, Kevin Miller wrote: > >>> > >>> On my way to Austin for SXSW just now. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From prothero at earthednet.org Sat Mar 14 01:25:02 2015 From: prothero at earthednet.org (William Prothero) Date: Fri, 13 Mar 2015 22:25:02 -0700 Subject: Speaking of XML, what about KML? In-Reply-To: <55034386.3010904@gmail.com> References: <8D0263A1-AB96-4906-88C1-EC468E1A86C6@earthednet.org> <55034386.3010904@gmail.com> Message-ID: Thanks, I?ll give it a whack. Bill > On Mar 13, 2015, at 1:07 PM, Michael Doub wrote: > > I had never heard of kml, so I poked around a bit and found some samples at https://developers.google.com/kml/documentation/kml_tut. It looks like it is a specific format of xml. > > convertXMLToArray seems to work, but you are still going to have to look closely at the array structure that is specific to kml. Hope this helps you get started. > > -= Mike > > > > > > On 3/13/15 2:58 PM, William Prothero wrote: >> I?m about to build a parse to retrieve country outline data from a KML file. This seems straightforward, but just wondering if there is a handler posted someplace for this. Basically, I?ll parse out the lat/lon outlines, then render it onto a map using my own methods. >> >> If there is none, then I?ll be glad to share what I come up with. >> >> Best, >> Bill >> >> >> >> William A. Prothero >> http://es.earthednet.org/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee at kagi.com Sat Mar 14 02:36:54 2015 From: kee at kagi.com (kee nethery) Date: Fri, 13 Mar 2015 23:36:54 -0700 Subject: Speaking of XML, what about KML? In-Reply-To: References: <8D0263A1-AB96-4906-88C1-EC468E1A86C6@earthednet.org> <55034386.3010904@gmail.com> Message-ID: The XML command I use mostly is sometimes referred to as XPath. In Livecode it is: revXMLNodeContents(3,"/Book/Chapter/Section?) What this is is the direct address in the XML tree of the node data you are looking for. In this case /Book/Chapter/Section gives me the node data for Section, inside Chapter, inside Book. Think of this as a absolute file path. When your XML contains a set of data, you?ll need to use other commands to grab all the data in the set. But if your XML has a bunch of unique elements, you can specify the exact one you need using the NodeContents function. Cheers, Kee Nethery > On Mar 13, 2015, at 10:25 PM, William Prothero wrote: > > Thanks, > I?ll give it a whack. > Bill > >> On Mar 13, 2015, at 1:07 PM, Michael Doub wrote: >> >> I had never heard of kml, so I poked around a bit and found some samples at https://developers.google.com/kml/documentation/kml_tut. It looks like it is a specific format of xml. >> >> convertXMLToArray seems to work, but you are still going to have to look closely at the array structure that is specific to kml. Hope this helps you get started. >> >> -= Mike >> >> >> >> >> >> On 3/13/15 2:58 PM, William Prothero wrote: >>> I?m about to build a parse to retrieve country outline data from a KML file. This seems straightforward, but just wondering if there is a handler posted someplace for this. Basically, I?ll parse out the lat/lon outlines, then render it onto a map using my own methods. >>> >>> If there is none, then I?ll be glad to share what I come up with. >>> >>> Best, >>> Bill >>> >>> >>> >>> William A. Prothero >>> http://es.earthednet.org/ >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Sat Mar 14 07:43:05 2015 From: livfoss at mac.com (Graham Samuel) Date: Sat, 14 Mar 2015 12:43:05 +0100 Subject: XML Tutorial In-Reply-To: <5503257C.3060909@gmail.com> References: <808FC3E6-FCB5-483A-83E2-4ECEC6265B7A@mac.com> <5503257C.3060909@gmail.com> Message-ID: <734BFBAD-2B77-449D-AF01-E7C7F5E24735@mac.com> Fantastic! Seems to do the job admirably, and the small tweaks I needed in my particular case actually worked. What an excellent collection! Thanks also to all others who replied - I have a kind of scepticism about XML that perhaps I shall never overcome, but I do feel now that I can tackle my current task. Graham > On 13 Mar 2015, at 18:59, Michael Doub wrote: > > Graham, > > ConvertArrayToXML and ConvertXMLToArray are both in the MasterLibrary under Misc. > > https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 > > Regards, > Mike > > > > > On 3/13/15 1:47 PM, Graham Samuel wrote: >> Not for the first time, I?m trying to get to grips with XML. I have to analyse some fairly trivial files (.gpx files, which show a geographical position, elevation and time). I find the explanation in the LC User Guide pretty tough, partly because they leave out elementary stuff about how legal XML is formed, partly because it?s got errors in it, and partly because the example they use isn?t rich enough. Oh and partly because I am slow and grumpy about this particular subject. >> >> Long ago, I know Sarah Reichelt wrote some kind of tutorial but I can?t find it. Can anyone help with this or any other ?XML for dummies? type stuff? I just want to do simple things like put attributes into arrays. >> >> TIA >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Sat Mar 14 07:44:59 2015 From: mkoob at rogers.com (Martin Koob) Date: Sat, 14 Mar 2015 04:44:59 -0700 (PDT) Subject: XML Tutorial In-Reply-To: <808FC3E6-FCB5-483A-83E2-4ECEC6265B7A@mac.com> References: <808FC3E6-FCB5-483A-83E2-4ECEC6265B7A@mac.com> Message-ID: <1426333499970-4690109.post@n4.nabble.com> I use XML in my application and it works well. I use the xPath functions revXMLEvaluateXPath & revXMLDataFromXPathQuery which were added in LiveCode 6.5 as well and find they are very powerful. I have sent you Sarah's tutorial stack off list. Martin Koob -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/XML-Tutorial-tp4690088p4690109.html Sent from the Revolution - User mailing list archive at Nabble.com. From livfoss at mac.com Sat Mar 14 09:21:15 2015 From: livfoss at mac.com (Graham Samuel) Date: Sat, 14 Mar 2015 14:21:15 +0100 Subject: Further dumb question about arrays Message-ID: <6BC50E2A-1C5B-4381-964F-0944CA64EE4F@mac.com> Thanks to help from this list, I?ve used Trevor?s ?ConvertXMLtoArray? to convert an XML file into a multidimensional array. Looks good in the IDE, but I can?t understand how to access its elements by following the scraps of advice in the User Guide. The IDE says that my array (say ?myArray?) looks like this gpx @attributes metadata trk trkseg trkpt[1001] @attributes lat* lon* ele* time* trkpt[1002] etc (there are thousands of elements at the ?trkpt? level) The lines marked with an asterisk have actual values, for example the ?time? element contains a time. I have tried to follow the documentation, but I can?t understand how to address a specific element, much less loop through the whole array. For instance, how would I get the time for trkpt[1001]? It must be obvious to many, but not to me. The general syntax seems to be of the form put myArray[key1][key2]?[keyn] into someVariable where the keys are strings in quotes (or presumably expressions that evaluate to strings), but I haven?t hit on any sequence that just shows me one element, like the time. I feel stupid, but I have tried. Thanks for any clarification. Graham From richmondmathewson at gmail.com Sat Mar 14 10:35:19 2015 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 14 Mar 2015 16:35:19 +0200 Subject: Release: LiveCode 8.0.0 DP 1 In-Reply-To: <391629208734.20150312182723@ahsoftware.net> References: <5501D8DA.5050400@gmail.com> <7B02FF07-9214-4A8D-9BF7-87B50651ED6A@livecode.com> <413C74B6-F8B4-4A2B-919A-1AF52C6EB299@gmail.com> <643CB333-8B75-444D-BE9E-69E916952A96@livecode.com> <5501DBD1.3070506@gmail.com> <391629208734.20150312182723@ahsoftware.net> Message-ID: <55044727.8060006@gmail.com> Inspector? http://forums.livecode.com/viewtopic.php?f=5&t=23615 Richmond. From bvlahos at mac.com Sat Mar 14 10:40:39 2015 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 14 Mar 2015 07:40:39 -0700 Subject: lcTaskList and LiveCode 8 Message-ID: <092CE109-68CE-42AE-97DF-6F1064152B2F@mac.com> I already had LC 8.0.0 DP1 installed and lcTaskList worked fine. When I opened LiveCode today the auto updater wanted to update to what appears to be the same LC 8 DP1. When I open the updated version and then open lcTaskList, LiveCode IDE crashes. They must have changed something. I've submitted it as a bug report Bug 14953 to LiveCode. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) From bonnmike at gmail.com Sat Mar 14 10:44:58 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 14 Mar 2015 08:44:58 -0600 Subject: Further dumb question about arrays In-Reply-To: <6BC50E2A-1C5B-4381-964F-0944CA64EE4F@mac.com> References: <6BC50E2A-1C5B-4381-964F-0944CA64EE4F@mac.com> Message-ID: >From your post, it looks like trk is on the same level as gpx? So, you would have myArray["trk"] Then the next level.. it looks like your trkseg and trkpt[] are on the different levels. (hard to see from the email, but they pretty much have to be) So, you would have myarray["trk"]["trkseg"], and could do an easy repeat for each at that point. repeat for each key tKey in myarray["trk"]["trkseg"] do whatever with myArray["trk"]["trkseg"][tkey]["time*"] end repeat Another option to simplify would be to: put myArray["trk"]["trkseg"] into myNewArray and then you can repeat for each key tKey in myNewArray do whatever with myNewArray[tKey]["time*"] end repeat If you need to pull out the data in numeric order (based on [1001] in the brackets, you can put the keys in question into a list and do a sort put the keys of myArray[whateverleveltostartat] into tKeys set the itemdelimiter to "[" sort lines of tKeys numeric by item 2 of each then just repeat for each line tLine in tKeys and pull the data out as above using tLine as the key in question On Sat, Mar 14, 2015 at 7:21 AM, Graham Samuel wrote: > Thanks to help from this list, I?ve used Trevor?s ?ConvertXMLtoArray? to > convert an XML file into a multidimensional array. Looks good in the IDE, > but I can?t understand how to access its elements by following the scraps > of advice in the User Guide. The IDE says that my array (say ?myArray?) > looks like this > > gpx > @attributes > metadata > trk > trkseg > trkpt[1001] > @attributes > lat* > lon* > ele* > time* > trkpt[1002] > > etc (there are thousands of elements at the ?trkpt? level) > > The lines marked with an asterisk have actual values, for example the > ?time? element contains a time. > > I have tried to follow the documentation, but I can?t understand how to > address a specific element, much less loop through the whole array. For > instance, how would I get the time for trkpt[1001]? It must be obvious to > many, but not to me. The general syntax seems to be of the form > > put myArray[key1][key2]?[keyn] into someVariable > > where the keys are strings in quotes (or presumably expressions that > evaluate to strings), but I haven?t hit on any sequence that just shows me > one element, like the time. > > I feel stupid, but I have tried. > > Thanks for any clarification. > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Sat Mar 14 12:23:14 2015 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 14 Mar 2015 12:23:14 -0400 Subject: lcTaskList and LiveCode 8 In-Reply-To: <092CE109-68CE-42AE-97DF-6F1064152B2F@mac.com> References: <092CE109-68CE-42AE-97DF-6F1064152B2F@mac.com> Message-ID: I'm also getting a blue updater (over and over), which I would assume is LC commercial 8. When I run the updater, I get an error. On Sat, Mar 14, 2015 at 10:40 AM, Bill Vlahos wrote: > I already had LC 8.0.0 DP1 installed and lcTaskList worked fine. > > When I opened LiveCode today the auto updater wanted to update to what > appears to be the same LC 8 DP1. When I open the updated version and then > open lcTaskList, LiveCode IDE crashes. They must have changed something. > > I've submitted it as a bug report Bug 14953 to LiveCode. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important > life information with you, accessible, and secure. > lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) > RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dochawk at gmail.com Sat Mar 14 12:47:10 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 14 Mar 2015 09:47:10 -0700 Subject: SQLite Problem In-Reply-To: References: Message-ID: On Thu, Mar 12, 2015 at 10:21 AM, Peter Haworth wrote: > No errors on that. Subsequently I use revDatabaseColumnNames to get the > column names followed by a loop using revDatabaseColumnNamed to get the > column values. The latter returns an error indicating that printf('%6.2f' > and ,Value are invalid column names. > > It appears that the comma in the printf command confuses Livecode. If I use > sqlite3 with .mode column and .headings and issue the same statement, it > uses the printf function as the column heading. > I have found relying on revDatabaseColumnaNames() and revDatabaseTableNames() unreliable--tablenames so much so that I've written my own function twice for postgres, as livecode's misses tables sporadically. OK, columnNames may be guilt by association. And it looks like this has only bitten on postgres, as the switch uses revDatabaseTableNames() for sqlite. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Mar 14 13:02:08 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 14 Mar 2015 10:02:08 -0700 Subject: Getting use of menus straight Message-ID: Before I blow off another limb, I need to see if I have this straight. (Hey, I'm not a GUI kind of person. My general reaction is that they're for displaying arrays of xterms . . . ) So for mac, I set the defaultMenuBar, which can hang around in the main stack. For substacks with custom menus, I need to have an additional menu group with copies of the common buttons, and the extras. (and so a script can copy those). But these groups could be on any card of any stack. For Windows/Unix, however, I will need to copy the default group from the main stack to each substack that uses it, and place that group on every card. And for the script to keep the copies synchronized, something like set the properties of btn "File" of group "myMenu" of stack st to \ the properties of btn "File" of group "myMenu" of stack "mainStack" and similarly for customProperties if used, and a one-time for the behavior? And to be clear, the group with these on Windows/Unix is just another group that lives in the upper left? But this doesn't seem quite the case; I made the menu with menubuilder on a mac, and it knows to put it there on windows/unix, but not display on mac. Or does the menubar property indeed have something that carries over to windows/unix, in spite of the dictionary saying that it is mac only? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From kaveh at rivervalleytechnologies.com Sat Mar 14 13:34:04 2015 From: kaveh at rivervalleytechnologies.com (Kaveh Bazargan) Date: Sat, 14 Mar 2015 17:34:04 +0000 Subject: Where did the LiveCode videos go? Message-ID: I registered on the new site, following suggestion of Kevin on the front page. First time I clicked I got direct to set of 5 videos, and watched first by Eleanor, showing how to make simple App. Now I go in and even when I sign in I cannot find those videos. Where are they? And, being grumpy, why does not LiveCode remember who I am. I seem to have to log in even when I change pages. -- Kaveh Bazargan Director River Valley Technologies @kaveh1000 +44 7771 824 111 kaveh at rivervalleytechnologies.com www.rivervalleytechnologies.com From pete at lcsql.com Sat Mar 14 13:43:36 2015 From: pete at lcsql.com (Peter Haworth) Date: Sat, 14 Mar 2015 17:43:36 +0000 Subject: [OT] Apple Wireless mouse Message-ID: I recently purchased a new 27" iMac and very happy with it.... except for the wireless mouse. It seems to have a mind of its own when it comes to scrolling. I'll be happily typing away and reach for the mouse and suddenly the window I'm in scrolls before I even touch the thing. Makes using the script editor interesting! Anyone else have this problem? I've gone back to my old USB Apple keyboard and Kensington mouse and life is much better. It does take up my last USB port but there is a spare USB port on the keyboard that makes up for that, and also means I can plug in cameras, USB sticks, etc without scrabbling around at the back of the iMac. From MikeKerner at roadrunner.com Sat Mar 14 13:47:39 2015 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 14 Mar 2015 13:47:39 -0400 Subject: [OT] Apple Wireless mouse In-Reply-To: References: Message-ID: I have a similar problem with a Logitech Performance MX mouse. The scrolling can be a little touchy. On Sat, Mar 14, 2015 at 1:43 PM, Peter Haworth wrote: > I recently purchased a new 27" iMac and very happy with it.... except for > the wireless mouse. > > It seems to have a mind of its own when it comes to scrolling. I'll be > happily typing away and reach for the mouse and suddenly the window I'm in > scrolls before I even touch the thing. Makes using the script editor > interesting! > > Anyone else have this problem? > > I've gone back to my old USB Apple keyboard and Kensington mouse and life > is much better. It does take up my last USB port but there is a spare USB > port on the keyboard that makes up for that, and also means I can plug in > cameras, USB sticks, etc without scrabbling around at the back of the iMac. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Sat Mar 14 13:53:29 2015 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 14 Mar 2015 13:53:29 -0400 Subject: Getting use of menus straight In-Reply-To: References: Message-ID: On the Mac, instead of being in the top left of your window, it will display at the top of your display. On Sat, Mar 14, 2015 at 1:02 PM, Dr. Hawkins wrote: > Before I blow off another limb, I need to see if I have this straight. > (Hey, I'm not a GUI kind of person. My general reaction is that they're > for displaying arrays of xterms . . . ) > > So for mac, I set the defaultMenuBar, which can hang around in the main > stack. For substacks with custom menus, I need to have an additional menu > group with copies of the common buttons, and the extras. (and so a script > can copy those). But these groups could be on any card of any stack. > > For Windows/Unix, however, I will need to copy the default group from the > main stack to each substack that uses it, and place that group on every > card. > > And for the script to keep the copies synchronized, something like > > set the properties of btn "File" of group "myMenu" of stack st to \ > the properties of btn "File" of group "myMenu" of stack "mainStack" > > and similarly for customProperties if used, and a one-time for the > behavior? > > And to be clear, the group with these on Windows/Unix is just another group > that lives in the upper left? But this doesn't seem quite the case; I made > the menu with menubuilder on a mac, and it knows to put it there on > windows/unix, but not display on mac. > > Or does the menubar property indeed have something that carries over to > windows/unix, in spite of the dictionary saying that it is mac only? > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dochawk at gmail.com Sat Mar 14 13:54:25 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 14 Mar 2015 10:54:25 -0700 Subject: Bringing invisible main stack to front on start in IDE Message-ID: when my stack loads, the mainstack detects the development environment, and uses a "send openMcp2 to me in 0" to cause the script editor to open a couple of main scripts and position that window I've tried putting "open stack mcp" and send "open stack mcp" to me in 0 at the end of that script, but that just doesn't happen Is there a way to do this? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Mar 14 13:55:45 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 14 Mar 2015 10:55:45 -0700 Subject: [OT] Apple Wireless mouse In-Reply-To: References: Message-ID: On Sat, Mar 14, 2015 at 10:43 AM, Peter Haworth wrote: > It seems to have a mind of its own when it comes to scrolling. I'll be > happily typing away and reach for the mouse and suddenly the window I'm in > scrolls before I even touch the thing. Makes using the script editor > interesting! > > Anyone else have this problem? > Sporadically it goes wonky. It seems to be moisture (even mild perspiration) and humidity related. Bring it in to the apple store, and they'll swap it. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Mar 14 13:57:08 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 14 Mar 2015 10:57:08 -0700 Subject: Getting use of menus straight In-Reply-To: References: Message-ID: On Sat, Mar 14, 2015 at 10:53 AM, Mike Kerner wrote: > On the Mac, instead of being in the top left of your window, it will > display at the top of your display. > I've got that :) I primarily develop on that, and only have windows as a leftover on a FreeBSD laptop. But I'm trying to gbet the management of these down, and what stacks/cards need to hold them. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From MikeKerner at roadrunner.com Sat Mar 14 13:56:31 2015 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 14 Mar 2015 13:56:31 -0400 Subject: Bringing invisible main stack to front on start in IDE In-Reply-To: References: Message-ID: Your first problem is that you used "mcp" and not "MCP". End of line. On Sat, Mar 14, 2015 at 1:54 PM, Dr. Hawkins wrote: > when my stack loads, the mainstack detects the development environment, and > uses a "send openMcp2 to me in 0" to cause the script editor to open a > couple of main scripts and position that window > > I've tried putting "open stack mcp" and send "open stack mcp" to me in > 0 at the end of that script, but that just doesn't happen > > Is there a way to do this? > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Sat Mar 14 14:00:42 2015 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 14 Mar 2015 14:00:42 -0400 Subject: Getting use of menus straight In-Reply-To: References: Message-ID: annnnnnd, there's me, not bothering to understand the entire message. Going back to my hole, now. On Sat, Mar 14, 2015 at 1:57 PM, Dr. Hawkins wrote: > On Sat, Mar 14, 2015 at 10:53 AM, Mike Kerner > wrote: > > > On the Mac, instead of being in the top left of your window, it will > > display at the top of your display. > > > > I've got that :) I primarily develop on that, and only have windows as a > leftover on a FreeBSD laptop. > > But I'm trying to gbet the management of these down, and what stacks/cards > need to hold them. > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From rdimola at evergreeninfo.net Sat Mar 14 14:08:28 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 14 Mar 2015 14:08:28 -0400 Subject: SQLite Problem In-Reply-To: References: Message-ID: <003701d05e81$dfd27c10$9f777430$@net> If found that revDatabaseColumnaNames() is beyond all belief extremely slow(better part of a second). A SQLite update program sped up better than 10 times when I cached the column names. SQLite Windows XP Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dr. Hawkins Sent: Saturday, March 14, 2015 12:47 PM To: How to use LiveCode Subject: Re: SQLite Problem On Thu, Mar 12, 2015 at 10:21 AM, Peter Haworth wrote: > No errors on that. Subsequently I use revDatabaseColumnNames to get > the column names followed by a loop using revDatabaseColumnNamed to > get the column values. The latter returns an error indicating that printf('%6.2f' > and ,Value are invalid column names. > > It appears that the comma in the printf command confuses Livecode. If > I use > sqlite3 with .mode column and .headings and issue the same statement, > it uses the printf function as the column heading. > I have found relying on revDatabaseColumnaNames() and revDatabaseTableNames() unreliable--tablenames so much so that I've written my own function twice for postgres, as livecode's misses tables sporadically. OK, columnNames may be guilt by association. And it looks like this has only bitten on postgres, as the switch uses revDatabaseTableNames() for sqlite. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Mar 14 14:34:26 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 14 Mar 2015 13:34:26 -0500 Subject: Getting use of menus straight In-Reply-To: References: Message-ID: <55047F32.2020207@hyperactivesw.com> On 3/14/2015 12:02 PM, Dr. Hawkins wrote: > Before I blow off another limb, I need to see if I have this straight. Advice I received early on is that if your stack will have menus, develop for Windows first (even if you're on a Mac.) It's good advice. It allows you to see how the layout should accomodate the menu bar and gives you a visual representation so you know which cards you forgot to give menus to. Windows/Linux: Requires a menu group on each card that uses menus. Create a background group and place it on all relevant cards. You do need to set the menubar of the stack to that group if you want Windows keyboard shortcuts to work. Mac: The same setup applies, place the menu group on every card. You don't need to do anything else for a Mac if you've already done the above. Setting a group as the stack menubar changes the group behavior; it will force the autoscroll on a Mac, and respond to Cmd/Ctrl key presses as both Windows and Mac users expect. DefaultMenuBar: Only applies to Macs because there is always a system menu bar. It's okay on Windows not to have a menu inside a window, but you can't have a "no menu window" on a Mac. If you don't assign a default menu bar, you'll get a bare naked system menu with the Apple and Help default items in it and nothing else. If your app never has any windows without their own menu bars, then you don't need a default one. But if you have custom dialogs or other windows without any menu bar assigned, then that's what the default menu bar is for. Revising menus: It's much easier on Mac-only apps because you can set a menu group in another stack to be the system menu and it can be shared all across all stacks, so you only need to update one group. But you can't do that on Windows, so you do need to update all copies of the group. Yes it's a pain, but you can automate it somewhat with a script. The example you gave should work. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Mar 14 14:40:08 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 14 Mar 2015 13:40:08 -0500 Subject: [OT] Apple Wireless mouse In-Reply-To: References: Message-ID: <55048088.7020508@hyperactivesw.com> On 3/14/2015 12:43 PM, Peter Haworth wrote: > It seems to have a mind of its own when it comes to scrolling. I'll be > happily typing away and reach for the mouse and suddenly the window I'm in > scrolls before I even touch the thing. Makes using the script editor > interesting! > > Anyone else have this problem? EVERYONE has that problem. I used to think the mouse was responding to my thoughts, but after years of fighting with it I finally noticed that when I reach for the mouse my finger might barely brush one of the edges and ZOOM it takes off. I have developed some weird autonomic behaviors now, reaching with my hand in an unnatural position, fingers splayed at odd angles. I look like I have some kind of nerve disease. This is, in my opinion, one of the worst designs I've seen for a mouse. The only reason I don't swap it out for a USB mouse is because I've become so attached to the side swipe gesture to flip pages in web browsers. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From colinholgate at gmail.com Sat Mar 14 14:43:43 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Sat, 14 Mar 2015 14:43:43 -0400 Subject: [OT] Apple Wireless mouse In-Reply-To: <55048088.7020508@hyperactivesw.com> References: <55048088.7020508@hyperactivesw.com> Message-ID: <6E6C29B7-F0B8-431B-BE3C-25D3C9C99A4C@gmail.com> I use the Apple Magic Trackpad, it?s a great way to work. I can use various gestures to do things. Not sure if the mouse has the same setting, but with trackpads you can set it to tap to click. I hate that setting and have it turned off. If it was turned on and you?re trying to scroll a scrollbar, and instead of doing a brush action you accidentally do a tap, it would cause the scroll bar to jump a long way. From jacque at hyperactivesw.com Sat Mar 14 14:43:59 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 14 Mar 2015 13:43:59 -0500 Subject: Bringing invisible main stack to front on start in IDE In-Reply-To: References: Message-ID: <5504816F.4080007@hyperactivesw.com> On 3/14/2015 12:54 PM, Dr. Hawkins wrote: > when my stack loads, the mainstack detects the development environment, and > uses a "send openMcp2 to me in 0" to cause the script editor to open a > couple of main scripts and position that window > > I've tried putting "open stack mcp" and send "open stack mcp" to me in > 0 at the end of that script, but that just doesn't happen > > Is there a way to do this? I usually create a separate handler to do the task (which it sounds like you've done) and call that at the end of a preOpenCard or openCard handler. But you have to give the IDE enough time to finish loading and setting up everyhing, so instead of sending in 0, try sending in 2 or more ticks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Sat Mar 14 16:12:57 2015 From: pete at lcsql.com (Peter Haworth) Date: Sat, 14 Mar 2015 20:12:57 +0000 Subject: [OT] Apple Wireless mouse In-Reply-To: <6E6C29B7-F0B8-431B-BE3C-25D3C9C99A4C@gmail.com> References: <55048088.7020508@hyperactivesw.com> <6E6C29B7-F0B8-431B-BE3C-25D3C9C99A4C@gmail.com> Message-ID: I think I'm gonna stick with my USB keyboard/mouse now, just seems so much more predictable and I don;t have to worry about changing batteries. Plus, I really like the convenience of being able to plug things into the spare USB port on the keyboard so I don't have to scrabble around the back of the iMac. It would have been really nice if Apple had provided one USB port on the front/side/bottom edge of the iMac but they're so focused on sleek good looks that they sometimes forget about functionality. On Sat, Mar 14, 2015 at 11:44 AM Colin Holgate wrote: > I use the Apple Magic Trackpad, it?s a great way to work. I can use > various gestures to do things. > > Not sure if the mouse has the same setting, but with trackpads you can set > it to tap to click. I hate that setting and have it turned off. If it was > turned on and you?re trying to scroll a scrollbar, and instead of doing a > brush action you accidentally do a tap, it would cause the scroll bar to > jump a long way. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sat Mar 14 16:16:18 2015 From: pete at lcsql.com (Peter Haworth) Date: Sat, 14 Mar 2015 20:16:18 +0000 Subject: Getting use of menus straight In-Reply-To: <55047F32.2020207@hyperactivesw.com> References: <55047F32.2020207@hyperactivesw.com> Message-ID: I seem to remember you have to put your mouse handlers in the menubar group not the menu buttons? There used to be a problem with that because you couldn't tell which menu button had been clicked, or perhaps that was just on OSX. It's been a while since I used menubars though so it may have changed. On Sat, Mar 14, 2015 at 11:34 AM J. Landman Gay wrote: > On 3/14/2015 12:02 PM, Dr. Hawkins wrote: > > Before I blow off another limb, I need to see if I have this straight. > > Advice I received early on is that if your stack will have menus, > develop for Windows first (even if you're on a Mac.) It's good advice. > It allows you to see how the layout should accomodate the menu bar and > gives you a visual representation so you know which cards you forgot to > give menus to. > > Windows/Linux: Requires a menu group on each card that uses menus. > Create a background group and place it on all relevant cards. You do > need to set the menubar of the stack to that group if you want Windows > keyboard shortcuts to work. > > Mac: The same setup applies, place the menu group on every card. You > don't need to do anything else for a Mac if you've already done the above. > > Setting a group as the stack menubar changes the group behavior; it will > force the autoscroll on a Mac, and respond to Cmd/Ctrl key presses as > both Windows and Mac users expect. > > DefaultMenuBar: Only applies to Macs because there is always a system > menu bar. It's okay on Windows not to have a menu inside a window, but > you can't have a "no menu window" on a Mac. If you don't assign a > default menu bar, you'll get a bare naked system menu with the Apple and > Help default items in it and nothing else. If your app never has any > windows without their own menu bars, then you don't need a default one. > But if you have custom dialogs or other windows without any menu bar > assigned, then that's what the default menu bar is for. > > Revising menus: It's much easier on Mac-only apps because you can set a > menu group in another stack to be the system menu and it can be shared > all across all stacks, so you only need to update one group. But you > can't do that on Windows, so you do need to update all copies of the > group. Yes it's a pain, but you can automate it somewhat with a script. > The example you gave should work. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Sat Mar 14 16:24:07 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 14 Mar 2015 13:24:07 -0700 Subject: [OT] Apple Wireless mouse In-Reply-To: <55048088.7020508@hyperactivesw.com> References: <55048088.7020508@hyperactivesw.com> Message-ID: On Sat, Mar 14, 2015 at 11:40 AM, J. Landman Gay wrote: > > EVERYONE has that problem. I used to think the mouse was responding to my > thoughts, but after years of fighting with it I finally noticed that when I > reach for the mouse my finger might barely brush one of the edges and ZOOM > it takes off. Whoops, I read it as trackpad, not mouse. The trackpad (including macbooks) can act loopy, especially with moisture involved. Typically, it selects lines of text . . . I'd never heard of the distance problem before, though. I have both mouse and trackpad. I don't think I reach for the mouse more than once a month--and that is usually for checking the battery on the trackpad when it cuts out. How come apple can make a quad-core i7 laptop with a 15" retina screen that lasts 7-9 hours, yet can't make wireless keyboards or mice that last more than two weeks on good alkaline batteries??? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Sat Mar 14 16:24:36 2015 From: pete at lcsql.com (Peter Haworth) Date: Sat, 14 Mar 2015 20:24:36 +0000 Subject: SQLite Problem In-Reply-To: <003701d05e81$dfd27c10$9f777430$@net> References: <003701d05e81$dfd27c10$9f777430$@net> Message-ID: Interesting, hadn't thought about the speed aspect, thanks Ralph. I've taken to using PRAGMA table_info to get column names these days although if you're caching the names, probably doesn't matter. But the problem I found had to do with using revDatabaseColumnNamed on a cursor that didn't include all the columns in the table. Worked around that by giving the printf expression an alias in the SELECT statement. I'll probably enter a QCC report at some point although with all the activity on 7 and 8, I doubt it will be very high on the priority list. I've also taken to getting my own list of table names by querying the sqlite_master table directly. That way, I can distinguish between tables and views since the sqlite_master has a type column. revDatabaseTableNames return tables and views which depending on your application might be OK but for things like my SQLiteAdmin program, I need separate lists. On Sat, Mar 14, 2015 at 11:06 AM Ralph DiMola wrote: > If found that revDatabaseColumnaNames() is beyond all belief extremely > slow(better part of a second). A SQLite update program sped up better than > 10 times when I cached the column names. > > SQLite > Windows XP > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Dr. Hawkins > Sent: Saturday, March 14, 2015 12:47 PM > To: How to use LiveCode > Subject: Re: SQLite Problem > > On Thu, Mar 12, 2015 at 10:21 AM, Peter Haworth wrote: > > > No errors on that. Subsequently I use revDatabaseColumnNames to get > > the column names followed by a loop using revDatabaseColumnNamed to > > get the column values. The latter returns an error indicating that > printf('%6.2f' > > and ,Value are invalid column names. > > > > It appears that the comma in the printf command confuses Livecode. If > > I use > > sqlite3 with .mode column and .headings and issue the same statement, > > it uses the printf function as the column heading. > > > > I have found relying on revDatabaseColumnaNames() and > revDatabaseTableNames() unreliable--tablenames so much so that I've written > my own function twice for postgres, as livecode's misses tables > sporadically. > > OK, columnNames may be guilt by association. And it looks like this has > only bitten on postgres, as the switch uses revDatabaseTableNames() for > sqlite. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Sat Mar 14 16:51:05 2015 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 14 Mar 2015 13:51:05 -0700 Subject: [OT] Apple Wireless mouse In-Reply-To: References: <55048088.7020508@hyperactivesw.com> Message-ID: On Sat, Mar 14, 2015 at 1:24 PM, Dr. Hawkins wrote: > How come apple can make a quad-core i7 laptop with a 15" retina screen that > lasts 7-9 hours, yet can't make wireless keyboards or mice that last more > than two weeks on good alkaline batteries??? > It does help to turn off the mouse after working but it's a hassle to remember. I gave up and got a unit that has an 'air charger' battery kit that sits on an inductive charging unit and when I forget to charge it I have some rechargeable AAs and a charger waiting.. done with non-rechargeable batteries. http://forums.macrumors.com/showthread.php?t=1087123 -- Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words From pete at lcsql.com Sat Mar 14 17:02:00 2015 From: pete at lcsql.com (Peter Haworth) Date: Sat, 14 Mar 2015 21:02:00 +0000 Subject: [OT] Apple Wireless mouse In-Reply-To: References: <55048088.7020508@hyperactivesw.com> Message-ID: I just came across http://magicprefs.com/ - sounds like ti has a lot of customization settings for the MM, including restricting the are which is active for scrolling which I think would probably cure my inadvertent scrolling issue. On Sat, Mar 14, 2015 at 1:51 PM stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > On Sat, Mar 14, 2015 at 1:24 PM, Dr. Hawkins wrote: > > > How come apple can make a quad-core i7 laptop with a 15" retina screen > that > > lasts 7-9 hours, yet can't make wireless keyboards or mice that last more > > than two weeks on good alkaline batteries??? > > > > It does help to turn off the mouse after working but it's a hassle to > remember. > I gave up and got a unit that has an 'air charger' battery kit that sits on > an inductive charging unit and when I forget to charge it I have some > rechargeable AAs and a charger waiting.. done with non-rechargeable > batteries. > > http://forums.macrumors.com/showthread.php?t=1087123 > > -- > Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Sat Mar 14 17:42:11 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 14 Mar 2015 14:42:11 -0700 Subject: What property does "set as stack menubar" set? Message-ID: I just can't find the property being set or unset by "set as stack menubar" in the menuBuilder. I build a menu, and set that property. I then clone the stack, and my mac shows the menu in the cloned stack (I need to clone them dynamically for generating output). livecode "set as stack menubar" osx OR mac OR macos produces a whopping 5 hits on google . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Mar 14 18:00:34 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 14 Mar 2015 15:00:34 -0700 Subject: Bringing invisible main stack to front on start in IDE In-Reply-To: <5504816F.4080007@hyperactivesw.com> References: <5504816F.4080007@hyperactivesw.com> Message-ID: On Sat, Mar 14, 2015 at 11:43 AM, J. Landman Gay wrote: > I usually create a separate handler to do the task (which it sounds like > you've done) and call that at the end of a preOpenCard or openCard handler. > But you have to give the IDE enough time to finish loading and setting up > everyhing, so instead of sending in 0, try sending in 2 or more ticks. On further investigation . . . The stack being invisible stops the IDE from using its menus, instead showing ide menus. If I set the vis of it to true first, it displays. If there's another message after that setting the vis to false, the IDE menus take over. (The whole point of the stack being invisible is to mimic the standalone behavior on the mac . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Mar 14 18:04:51 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 14 Mar 2015 15:04:51 -0700 Subject: Getting use of menus straight In-Reply-To: <55047F32.2020207@hyperactivesw.com> References: <55047F32.2020207@hyperactivesw.com> Message-ID: On Sat, Mar 14, 2015 at 11:34 AM, J. Landman Gay wrote: > On 3/14/2015 12:02 PM, Dr. Hawkins wrote: > >> Before I blow off another limb, I need to see if I have this straight. >> > > Advice I received early on is that if your stack will have menus, develop > for Windows first (even if you're on a Mac.) It's good advice. But . . . it burns, it BURNS! :) Windows/Linux: Requires a menu group on each card that uses menus. Create a > background group and place it on all relevant cards. You do need to set the > menubar of the stack to that group if you want Windows keyboard shortcuts > to work. > OK, so the dictionary *is* wrong about menubar being only on mac? > Revising menus: It's much easier on Mac-only apps because you > can set a menu group in another stack to be the system menu and it can be > shared all across all stacks, so you only need to update one group. But you > can't do that on Windows, so you do need to update all copies of the group. > Yes it's a pain, but you can automate it somewhat with a script. The > example you gave should work. I already have code that watches for a version change (from the filename), and does similar housekeeping for other matters, so this won't hurt too much. thanks again -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Sat Mar 14 18:19:12 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 14 Mar 2015 17:19:12 -0500 Subject: Getting use of menus straight In-Reply-To: References: <55047F32.2020207@hyperactivesw.com> Message-ID: <5504B3E0.4060906@hyperactivesw.com> On 3/14/2015 3:16 PM, Peter Haworth wrote: > I seem to remember you have to put your mouse handlers in the menubar group > not the menu buttons? Right, mostly because of the Mac system menu bar. The item selected is only returned to the group. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Mar 14 18:20:19 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 14 Mar 2015 17:20:19 -0500 Subject: What property does "set as stack menubar" set? In-Reply-To: References: Message-ID: <5504B423.2000303@hyperactivesw.com> On 3/14/2015 4:42 PM, Dr. Hawkins wrote: > I just can't find the property being set or unset by "set as stack > menubar" in the menuBuilder. It's the "menubar", and is a property of a stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Mar 14 18:21:29 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 14 Mar 2015 17:21:29 -0500 Subject: Bringing invisible main stack to front on start in IDE In-Reply-To: References: <5504816F.4080007@hyperactivesw.com> Message-ID: <5504B469.60203@hyperactivesw.com> On 3/14/2015 5:00 PM, Dr. Hawkins wrote: > (The whole point of the stack being invisible is to mimic the standalone > behavior on the mac . . .) Leave it visible. When you want to test how the standalone will work, choose "Suspend Development Tools" from the Development menu. That's exactly what it's for, and it turns off all IDE messages. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Mar 14 18:27:00 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 14 Mar 2015 17:27:00 -0500 Subject: Getting use of menus straight In-Reply-To: References: <55047F32.2020207@hyperactivesw.com> Message-ID: <5504B5B4.90004@hyperactivesw.com> On 3/14/2015 5:04 PM, Dr. Hawkins wrote: > OK, so the dictionary*is* wrong about menubar being only on mac? Interesting. I could be (probably am) wrong. Like you, I work mostly on Mac and only test on Windows. Since I've never developed for Windows alone (always cross platform) I have never tried a menu group that didn't already have that property set. If any Windows people try it, I'd like to hear what you find out. Do keyboard shortcuts work in a menu group that isn't set as the menubar of the stack? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pktemp50 at gmail.com Sat Mar 14 18:41:20 2015 From: pktemp50 at gmail.com (Paul Kocsis) Date: Sat, 14 Mar 2015 17:41:20 -0500 Subject: on-rev urgent ticket system down? Message-ID: Would anyone know if on-rev support 'urgent' system might be down? I've sent 4 emails with the subject 'urgent' and have yet to hear from them. I have indeed generally heard from them in an hour in the past, but no go for over 18 hours now. Is there some other way to get them a message if their 'urgent' system is not functioning and they are not aware of that fact? (and yes, I am sending the 'urgent' email from my on-rev registered email address) To those that may be on-rev customers and read this....."no", the servers are not down, its just that my particular account has an issue that needs their immediate attention.....I add this just so I don't freak out current on-rev customers.... From peterwawood at gmail.com Sat Mar 14 19:47:06 2015 From: peterwawood at gmail.com (Peter W A Wood) Date: Sun, 15 Mar 2015 07:47:06 +0800 Subject: on-rev urgent ticket system down? In-Reply-To: References: Message-ID: <9BA49BF9-D45E-4ACA-A730-5AB04C305F22@gmail.com> Paul Have you tried submitting your emergency request via the on-rev website? I don?t know if it is any different from sending an email but it may be worth a try. Just in case you don?t have the url - http://www.on-rev.com/support/contact-us/ Regards Peter > On 15 Mar 2015, at 06:41, Paul Kocsis wrote: > > Would anyone know if on-rev support 'urgent' system might be down? I've > sent 4 emails with the subject 'urgent' and have yet to hear from them. I > have indeed generally heard from them in an hour in the past, but no go for > over 18 hours now. Is there some other way to get them a message if their > 'urgent' system is not functioning and they are not aware of that fact? > (and yes, I am sending the 'urgent' email from my on-rev registered email > address) > > To those that may be on-rev customers and read this....."no", the servers > are not down, its just that my particular account has an issue that needs > their immediate attention.....I add this just so I don't freak out current > on-rev customers.... > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pktemp50 at gmail.com Sat Mar 14 20:40:45 2015 From: pktemp50 at gmail.com (Paul Kocsis) Date: Sat, 14 Mar 2015 19:40:45 -0500 Subject: on-rev urgent ticket system down? In-Reply-To: <9BA49BF9-D45E-4ACA-A730-5AB04C305F22@gmail.com> References: <9BA49BF9-D45E-4ACA-A730-5AB04C305F22@gmail.com> Message-ID: Thanks for that suggestion Peter....I'll do that now! From dochawk at gmail.com Sat Mar 14 21:18:01 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 14 Mar 2015 18:18:01 -0700 Subject: What property does "set as stack menubar" set? In-Reply-To: <5504B423.2000303@hyperactivesw.com> References: <5504B423.2000303@hyperactivesw.com> Message-ID: On Sat, Mar 14, 2015 at 3:20 PM, J. Landman Gay wrote: > On 3/14/2015 4:42 PM, Dr. Hawkins wrote: > >> I just can't find the property being set or unset by "set as stack >> menubar" in the menuBuilder. >> > > It's the "menubar", and is a property of a stack. Hmm. It's definitely still set. Should I be manually setting the vis of the menu group to false to hide it? But the viz is false in the source stac and it stilldoesn't show there. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Sat Mar 14 22:11:02 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 14 Mar 2015 21:11:02 -0500 Subject: What property does "set as stack menubar" set? In-Reply-To: References: <5504B423.2000303@hyperactivesw.com> Message-ID: <5504EA36.9090703@hyperactivesw.com> On 3/14/2015 8:18 PM, Dr. Hawkins wrote: > On Sat, Mar 14, 2015 at 3:20 PM, J. Landman Gay > wrote: > >> On 3/14/2015 4:42 PM, Dr. Hawkins wrote: >> >>> I just can't find the property being set or unset by "set as stack >>> menubar" in the menuBuilder. >>> >> >> It's the "menubar", and is a property of a stack. > > > Hmm. It's definitely still set. > > Should I be manually setting the vis of the menu group to false to hide > it? But the viz is false in the source stac and it stilldoesn't show there. > > No, leave it visible so Windows users will see it and you will too during development. You probably have editmenus set to true, which prevents the card scrolling. You can either set that to false in the message box, or tick the "Preview in menubar" checkbox in the Menu Builder (which is LC-speak for setting the editmenus to false.) When set to true, editmenus is handy when you want to work with the buttons or the menu group on a Mac (on Windows editmenus is always functionally true.) When editmenus is false, the card scrolls up on a Mac to hide the group and the system menu bar shows your own menu. The IDE however has set the default menu bar to its own, which is good, because you can get back to the LC menus by clicking in any IDE stack, like the tools palette or an inspector. When you click back into your own stack, your custom menu reappears. Usually I leave editmenus set to true during development so the IDE menus are always available. If I want to use my own menus, I just use the mouse to select items since keyboard shortcuts won't always work. It's a small inconvenience I don't mind because I'm a heavy keyboard user with the IDE menus. When I want to see how things look in an app, I set editmenus back to false, or suspend development tools. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Sat Mar 14 22:15:56 2015 From: pete at lcsql.com (Peter Haworth) Date: Sun, 15 Mar 2015 02:15:56 +0000 Subject: Locality of control references Message-ID: In a preOpenCard handler, I have an unqualified reference to a field on the card which causes a "no such object" runtime error. The reference is correct, no typos, and the control exists on the card. If I qualify the reference with "of me", the runtime error goes away. This card is opened by a dragEnd handler after a control has been dropped onto a different card in a different stack. I suspect that without the "of me" qualification, LC thinks I'm referring to a control on the card it was dropped on to. In fact, if I display the value of "this card" at the start of the handler, it points to the card on which the control has been dropped, not the current card I can easily fix the issue by setting the defaultStack to the stack my preOpenCard handler is on (I think) but shouldn't any control references refer to the card the preOpenCard handler is executing on unless the default stack has been changed to something else? From gerry.orkin at gmail.com Sat Mar 14 22:39:49 2015 From: gerry.orkin at gmail.com (Gerry) Date: Sun, 15 Mar 2015 13:39:49 +1100 Subject: [OT] Apple Wireless mouse In-Reply-To: <55048088.7020508@hyperactivesw.com> References: <55048088.7020508@hyperactivesw.com> Message-ID: <59436229-964E-4187-9BD5-DE29ADACF27E@gmail.com> Nope. Not I. I find the Apple wireless mouse to be a fantastic device. Gerry > On 15 Mar 2015, at 5:40 am, J. Landman Gay wrote: > > EVERYONE has that problem. From jhj at jhj.com Sat Mar 14 22:59:44 2015 From: jhj at jhj.com (Jerry Jensen) Date: Sat, 14 Mar 2015 19:59:44 -0700 Subject: [OT] Apple Wireless mouse In-Reply-To: <59436229-964E-4187-9BD5-DE29ADACF27E@gmail.com> References: <55048088.7020508@hyperactivesw.com> <59436229-964E-4187-9BD5-DE29ADACF27E@gmail.com> Message-ID: I like it too. Every once in a while it does something I don't want when I'm careless about the edges. I don't think I'd recommend it to a newbie, though - I'd have to teach them how to use it. The Apple alternative, the one with the tiny little rollerball, is easier to teach but the ball gets dirty quickly and can't be cleaned. .Jerry > On Mar 14, 2015, at 7:39 PM, Gerry wrote: > > Nope. Not I. I find the Apple wireless mouse to be a fantastic device. > > Gerry > >> On 15 Mar 2015, at 5:40 am, J. Landman Gay wrote: >> >> EVERYONE has that problem. From jacque at hyperactivesw.com Sat Mar 14 23:01:22 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 14 Mar 2015 22:01:22 -0500 Subject: Locality of control references In-Reply-To: References: Message-ID: <5504F602.3000000@hyperactivesw.com> On 3/14/2015 9:15 PM, Peter Haworth wrote: > I can easily fix the issue by setting the defaultStack to the stack my > preOpenCard handler is on (I think) but shouldn't any control references > refer to the card the preOpenCard handler is executing on unless the > default stack has been changed to something else? I think the defaultstack actually was changed when the drop occurred. I usually just use "of me" in these types of object references so I don't have to worry about where the defaultstack is. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Mar 14 23:09:17 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 14 Mar 2015 22:09:17 -0500 Subject: [OT] Apple Wireless mouse In-Reply-To: <59436229-964E-4187-9BD5-DE29ADACF27E@gmail.com> References: <55048088.7020508@hyperactivesw.com> <59436229-964E-4187-9BD5-DE29ADACF27E@gmail.com> Message-ID: <5504F7DD.40805@hyperactivesw.com> You've never had that thing happen where you brush up against the mouse and your very long script goes madly scrolling at top speed off into the ether in a direction you can't pinpoint because it happens so fast, careening completely out of control and losing your place, causing you to forget where you were in the code and you can't find it again for a minute, which makes you so furious that you say things you aren't supposed to say, and then your spouse feels guilty because they think they did something you don't like but they don't know what it was? On 3/14/2015 9:39 PM, Gerry wrote: > Nope. Not I. I find the Apple wireless mouse to be a fantastic device. > > Gerry > > >> On 15 Mar 2015, at 5:40 am, J. Landman Gay wrote: >> >> EVERYONE has that problem. > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gerry.orkin at gmail.com Sat Mar 14 23:21:47 2015 From: gerry.orkin at gmail.com (Gerry) Date: Sun, 15 Mar 2015 14:21:47 +1100 Subject: [OT] Apple Wireless mouse In-Reply-To: <5504F7DD.40805@hyperactivesw.com> References: <55048088.7020508@hyperactivesw.com> <59436229-964E-4187-9BD5-DE29ADACF27E@gmail.com> <5504F7DD.40805@hyperactivesw.com> Message-ID: <6A089B2B-BB43-45F4-8BF9-445223D5D298@gmail.com> > You've never had that thing happen where you brush up against the mouse and your very long script goes madly scrolling at top speed off into the ether in a direction you can't pinpoint because it happens so fast, careening completely out of control and losing your place, causing you to forget where you were in the code and you can't find it again for a minute, which makes you so furious that you say things you aren't supposed to say, and then your spouse feels guilty because they think they did something you don't like but they don't know what it was? Nope :) Never, not even once. g From jacque at hyperactivesw.com Sat Mar 14 23:29:42 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 14 Mar 2015 22:29:42 -0500 Subject: [OT] Apple Wireless mouse In-Reply-To: <6A089B2B-BB43-45F4-8BF9-445223D5D298@gmail.com> References: <55048088.7020508@hyperactivesw.com> <59436229-964E-4187-9BD5-DE29ADACF27E@gmail.com> <5504F7DD.40805@hyperactivesw.com> <6A089B2B-BB43-45F4-8BF9-445223D5D298@gmail.com> Message-ID: <5504FCA6.4050605@hyperactivesw.com> On 3/14/2015 10:21 PM, Gerry wrote: >> You've never had that thing happen where you brush up against the mouse and your very long script goes madly scrolling at top speed off into the ether in a direction you can't pinpoint because it happens so fast, careening completely out of control and losing your place, causing you to forget where you were in the code and you can't find it again for a minute, which makes you so furious that you say things you aren't supposed to say, and then your spouse feels guilty because they think they did something you don't like but they don't know what it was? > > Nope :) Never, not even once. Maybe if I typed in shorter sentences it wouldn't happen to me either. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhj at jhj.com Sat Mar 14 23:34:51 2015 From: jhj at jhj.com (Jerry Jensen) Date: Sat, 14 Mar 2015 20:34:51 -0700 Subject: [OT] Apple Wireless mouse In-Reply-To: <5504F7DD.40805@hyperactivesw.com> References: <55048088.7020508@hyperactivesw.com> <59436229-964E-4187-9BD5-DE29ADACF27E@gmail.com> <5504F7DD.40805@hyperactivesw.com> Message-ID: I do know what you mean. I guess I've learned to be careful. It could (should) be better. I must say that I hope the new script editor has smooth scrolling. My old tired eye loses track when things jump-scroll. I find it too cumbersome to use an external editor. Maybe I could learn to ... .Jerry > On Mar 14, 2015, at 8:09 PM, J. Landman Gay wrote: > > You've never had that thing happen where you brush up against the mouse and your very long script goes madly scrolling at top speed off into the ether in a direction you can't pinpoint because it happens so fast, careening completely out of control and losing your place, causing you to forget where you were in the code and you can't find it again for a minute, which makes you so furious that you say things you aren't supposed to say, and then your spouse feels guilty because they think they did something you don't like but they don't know what it was? > > On 3/14/2015 9:39 PM, Gerry wrote: >> Nope. Not I. I find the Apple wireless mouse to be a fantastic device. >> >> Gerry >> >> >>> On 15 Mar 2015, at 5:40 am, J. Landman Gay wrote: >>> >>> EVERYONE has that problem. >> > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Mar 14 23:50:01 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 14 Mar 2015 22:50:01 -0500 Subject: [OT] Apple Wireless mouse In-Reply-To: References: <55048088.7020508@hyperactivesw.com> <59436229-964E-4187-9BD5-DE29ADACF27E@gmail.com> <5504F7DD.40805@hyperactivesw.com> Message-ID: <55050169.5030909@hyperactivesw.com> I'm getting better after years of practice, but then there's that thing where you're trying to select some text and your finger isn't exactly dead-still on the mouse, it rocks a fraction of a nano-inch while you're dragging, so the page or field that contains the text goes up down up down and and and and you can't quite grab the text until you resettle your finger dead-center and hold your breath so nothing moves. I hate that. On 3/14/2015 10:34 PM, Jerry Jensen wrote: > I do know what you mean. I guess I've learned to be careful. It could (should) be better. > > I must say that I hope the new script editor has smooth scrolling. My old tired eye loses track when things jump-scroll. I find it too cumbersome to use an external editor. Maybe I could learn to ... > .Jerry > >> On Mar 14, 2015, at 8:09 PM, J. Landman Gay wrote: >> >> You've never had that thing happen where you brush up against the mouse and your very long script goes madly scrolling at top speed off into the ether in a direction you can't pinpoint because it happens so fast, careening completely out of control and losing your place, causing you to forget where you were in the code and you can't find it again for a minute, which makes you so furious that you say things you aren't supposed to say, and then your spouse feels guilty because they think they did something you don't like but they don't know what it was? >> >> On 3/14/2015 9:39 PM, Gerry wrote: >>> Nope. Not I. I find the Apple wireless mouse to be a fantastic device. >>> >>> Gerry >>> >>> >>>> On 15 Mar 2015, at 5:40 am, J. Landman Gay wrote: >>>> >>>> EVERYONE has that problem. >>> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From irog at mac.com Sun Mar 15 00:37:25 2015 From: irog at mac.com (Roger Guay) Date: Sat, 14 Mar 2015 22:37:25 -0600 Subject: [OT] Apple Wireless mouse In-Reply-To: <5504F7DD.40805@hyperactivesw.com> References: <55048088.7020508@hyperactivesw.com> <59436229-964E-4187-9BD5-DE29ADACF27E@gmail.com> <5504F7DD.40805@hyperactivesw.com> Message-ID: <160D850A-FD39-43FB-873D-8DAA0E369336@mac.com> I read this to my wife and she said, I wish we could invite her over for martinis sometime? > On Mar 14, 2015, at 9:09 PM, J. Landman Gay wrote: > > You've never had that thing happen where you brush up against the mouse and your very long script goes madly scrolling at top speed off into the ether in a direction you can't pinpoint because it happens so fast, careening completely out of control and losing your place, causing you to forget where you were in the code and you can't find it again for a minute, which makes you so furious that you say things you aren't supposed to say, and then your spouse feels guilty because they think they did something you don't like but they don't know what it was? > > On 3/14/2015 9:39 PM, Gerry wrote: >> Nope. Not I. I find the Apple wireless mouse to be a fantastic device. >> >> Gerry >> >> >>> On 15 Mar 2015, at 5:40 am, J. Landman Gay wrote: >>> >>> EVERYONE has that problem. >> > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gerry.orkin at gmail.com Sun Mar 15 00:46:30 2015 From: gerry.orkin at gmail.com (Gerry) Date: Sun, 15 Mar 2015 15:46:30 +1100 Subject: [OT] Apple Wireless mouse In-Reply-To: <5504FCA6.4050605@hyperactivesw.com> References: <55048088.7020508@hyperactivesw.com> <59436229-964E-4187-9BD5-DE29ADACF27E@gmail.com> <5504F7DD.40805@hyperactivesw.com> <6A089B2B-BB43-45F4-8BF9-445223D5D298@gmail.com> <5504FCA6.4050605@hyperactivesw.com> Message-ID: <1351139E-E335-459B-80D1-53AC28DF06B3@gmail.com> I'm completely mystified. I've never had a single problem with any of the 4-5 wireless mice I've used. perhaps it's a northern-southern hemisphere thing? Magnetic fields, perhaps? ;-\ g > On 15 Mar 2015, at 2:29 pm, J. Landman Gay wrote: > > Maybe if I typed in shorter sentences it wouldn't happen to me either. From keith.clarke at me.com Sun Mar 15 07:40:23 2015 From: keith.clarke at me.com (Keith Clarke) Date: Sun, 15 Mar 2015 11:40:23 +0000 Subject: Denormalising CSV tables Message-ID: Folks, Is there a ?smart? way to denormalise ?child' & ?parent' CSV tables extracted from an RDBMS in LiveCode or is it down to iterating through lists using chunk functions? I have four tables, related in the database as Child-Parent-GrandParent-GreatGrandParent. Each file has its own record ID & the ID of its direct parent. I need to create a ?DenormalisedChild' file with GrandParent & GreatGrandParent IDs appended to each row. I?m currently assuming the only way forward is to build a tDenormalisedChild variable by repeated iteration at each ?level?: Iterating through lines of the Child file to compare its ChildParentId with each row in the the Parent file, until ParentRowId = ChildParentId; Repeat (1) on Parent file rows to find ParentGrandParent values; Repeat (1) on GrandParent file rows to get GreatGrandParent values Is their a more efficient approach? Best, Keith.. From richmondmathewson at gmail.com Sun Mar 15 08:06:25 2015 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Mar 2015 14:06:25 +0200 Subject: Serialtest.rev Message-ID: <550575C1.3090601@gmail.com> I have been searching for Sarah Reichelt's SerialTest.rev stack, but all links on the internet seem to lead to a dead-end. Would be extremely grateful if . . . Richmond. From richmondmathewson at gmail.com Sun Mar 15 08:18:34 2015 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Mar 2015 14:18:34 +0200 Subject: Laughing my socks off. Message-ID: <5505789A.50103@gmail.com> But in a slightly bitter way: So, I peeped into the "LiveCode Resource Center" under the heading "Linux Externals" this is on Livecode 7.0.4 rc1 . . . and read this: "One of the most important parts of the upcoming 2.9 release is that it contains an updated Linux engine full to the brim with features that were previously only available on Windows and Mac OS X. In particular, the old UNIX external mechanism has been replaced by one using shared libraries - thus gaining the same performance and implementation ease as the other platforms. In this article, we will introduce an updated version of the External Creator and show how to use it to produce a simple external that can be used on Linux. Before we begin Before going any further you will need: At least Revolution 2.9-dp-1 (Beta 8) up and running on a recent Linux distribution" Somebody mentioned that the Documentation had been updated recently . . . I don't believe it. Seeing is believing. Richmond. From mikedoub at gmail.com Sun Mar 15 08:49:59 2015 From: mikedoub at gmail.com (Mike Doub) Date: Sun, 15 Mar 2015 08:49:59 -0400 Subject: Denormalising CSV tables In-Reply-To: References: Message-ID: Would it not be better to make the child table into an array indexed by its ID, then make a single pass thru the parent table using the child ID into the array. Mike On Sunday, March 15, 2015, Keith Clarke wrote: > Folks, > Is there a ?smart? way to denormalise ?child' & ?parent' CSV tables > extracted from an RDBMS in LiveCode or is it down to iterating through > lists using chunk functions? > > I have four tables, related in the database as > Child-Parent-GrandParent-GreatGrandParent. Each file has its own record ID > & the ID of its direct parent. I need to create a ?DenormalisedChild' file > with GrandParent & GreatGrandParent IDs appended to each row. > > I?m currently assuming the only way forward is to build a > tDenormalisedChild variable by repeated iteration at each ?level?: > Iterating through lines of the Child file to compare its ChildParentId > with each row in the the Parent file, until ParentRowId = ChildParentId; > Repeat (1) on Parent file rows to find ParentGrandParent values; > Repeat (1) on GrandParent file rows to get GreatGrandParent values > > Is their a more efficient approach? > Best, > Keith.. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sun Mar 15 09:12:00 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 15 Mar 2015 06:12:00 -0700 Subject: What property does "set as stack menubar" set? In-Reply-To: <5504EA36.9090703@hyperactivesw.com> References: <5504B423.2000303@hyperactivesw.com> <5504EA36.9090703@hyperactivesw.com> Message-ID: On Sat, Mar 14, 2015 at 7:11 PM, J. Landman Gay wrote: > No, leave it visible so Windows users will see it and you will too during > development. > There's no direct development on this stack. When I need an output window, stack out0 gets cloned (out 1, out 2, etc.), but it is never seen itself. It has its own menugroup. In out0, the menu works, does not appear on the card, and is not marked invisible in the application browser. put the editMenus of stack out0, the vis of grp stk_menu of stack out0, the menubar of stack out0 yields fase, true, I clone stack out0, name it to out 1, and the menu now appears on the card. OK, I found it. in my setMenus handler, I have set the menuBar of stack otWnNm to the long id of group "stk_menu" of stack otWnNm (sometimes set only for macos) This line is making the group visible, but checking editMenus shows that it is still false. Is this behavior correct? And will it give me problems on windows? Thanks again -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mgruenthal at mac.com Sun Mar 15 09:19:34 2015 From: mgruenthal at mac.com (Michael Gruenthal) Date: Sun, 15 Mar 2015 09:19:34 -0400 Subject: Serialtest.rev In-Reply-To: <550575C1.3090601@gmail.com> References: <550575C1.3090601@gmail.com> Message-ID: Why don?t you ask her at sarah at troz.net? She doesn?t do much with LC these days, but if she has it I bet she?ll send it to you. Michael On 3/15/15, 8:06 AM, "Richmond" wrote: >I have been searching for Sarah Reichelt's SerialTest.rev stack, >but all links on the internet seem to lead to a dead-end. > >Would be extremely grateful if . . . > >Richmond. > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Sun Mar 15 09:21:17 2015 From: mikedoub at gmail.com (Mike Doub) Date: Sun, 15 Mar 2015 09:21:17 -0400 Subject: Denormalising CSV tables In-Reply-To: References: Message-ID: Basically createa direct access to all the child tables. On Sunday, March 15, 2015, Mike Doub wrote: > Would it not be better to make the child table into an array indexed by > its ID, then make a single pass thru the parent table using the child ID > into the array. > > Mike > > On Sunday, March 15, 2015, Keith Clarke > wrote: > >> Folks, >> Is there a ?smart? way to denormalise ?child' & ?parent' CSV tables >> extracted from an RDBMS in LiveCode or is it down to iterating through >> lists using chunk functions? >> >> I have four tables, related in the database as >> Child-Parent-GrandParent-GreatGrandParent. Each file has its own record ID >> & the ID of its direct parent. I need to create a ?DenormalisedChild' file >> with GrandParent & GreatGrandParent IDs appended to each row. >> >> I?m currently assuming the only way forward is to build a >> tDenormalisedChild variable by repeated iteration at each ?level?: >> Iterating through lines of the Child file to compare its ChildParentId >> with each row in the the Parent file, until ParentRowId = ChildParentId; >> Repeat (1) on Parent file rows to find ParentGrandParent values; >> Repeat (1) on GrandParent file rows to get GreatGrandParent values >> >> Is their a more efficient approach? >> Best, >> Keith.. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > From richmondmathewson at gmail.com Sun Mar 15 09:31:33 2015 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Mar 2015 15:31:33 +0200 Subject: Serialtest.rev In-Reply-To: References: <550575C1.3090601@gmail.com> Message-ID: <550589B5.1080007@gmail.com> On 15/03/15 15:19, Michael Gruenthal wrote: > Why don?t you ask her at sarah at troz.net? She doesn?t do much with LC these > days, but if she has it I bet she?ll send it to you. > > Michael > Thank you very much, Michael, that's a great help. Richmond. >> I have been searching for Sarah Reichelt's SerialTest.rev stack, >> but all links on the internet seem to lead to a dead-end. >> >> Would be extremely grateful if . . . >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Sun Mar 15 09:58:55 2015 From: keith.clarke at me.com (Keith Clarke) Date: Sun, 15 Mar 2015 13:58:55 +0000 Subject: Denormalising CSV tables In-Reply-To: References: Message-ID: <26C3813F-6491-4987-8C05-FD86F6D6BF17@me.com> Thanks for the steer, Mike. I?ve not really used arrays before, but this sounds a more efficient approach - so I?ll wok through the lessons & docs. Best, Keith.. > On 15 Mar 2015, at 13:21, Mike Doub wrote: > > Basically createa direct access to all the child tables. > > On Sunday, March 15, 2015, Mike Doub wrote: > >> Would it not be better to make the child table into an array indexed by >> its ID, then make a single pass thru the parent table using the child ID >> into the array. >> >> Mike >> >> On Sunday, March 15, 2015, Keith Clarke > > wrote: >> >>> Folks, >>> Is there a ?smart? way to denormalise ?child' & ?parent' CSV tables >>> extracted from an RDBMS in LiveCode or is it down to iterating through >>> lists using chunk functions? >>> >>> I have four tables, related in the database as >>> Child-Parent-GrandParent-GreatGrandParent. Each file has its own record ID >>> & the ID of its direct parent. I need to create a ?DenormalisedChild' file >>> with GrandParent & GreatGrandParent IDs appended to each row. >>> >>> I?m currently assuming the only way forward is to build a >>> tDenormalisedChild variable by repeated iteration at each ?level?: >>> Iterating through lines of the Child file to compare its ChildParentId >>> with each row in the the Parent file, until ParentRowId = ChildParentId; >>> Repeat (1) on Parent file rows to find ParentGrandParent values; >>> Repeat (1) on GrandParent file rows to get GreatGrandParent values >>> >>> Is their a more efficient approach? >>> Best, >>> Keith.. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sun Mar 15 11:14:40 2015 From: pete at lcsql.com (Peter Haworth) Date: Sun, 15 Mar 2015 15:14:40 +0000 Subject: Denormalising CSV tables References: <26C3813F-6491-4987-8C05-FD86F6D6BF17@me.com> Message-ID: Are you creating the csv file yourself? If so, it should be easy to use a Select statement with JOINs to make one row for each group of related entries from the four tables. On Sun, Mar 15, 2015, 6:59 AM Keith Clarke wrote: > Thanks for the steer, Mike. I?ve not really used arrays before, but this > sounds a more efficient approach - so I?ll wok through the lessons & docs. > Best, > Keith.. > > > On 15 Mar 2015, at 13:21, Mike Doub wrote: > > > > Basically createa direct access to all the child tables. > > > > On Sunday, March 15, 2015, Mike Doub wrote: > > > >> Would it not be better to make the child table into an array indexed by > >> its ID, then make a single pass thru the parent table using the child ID > >> into the array. > >> > >> Mike > >> > >> On Sunday, March 15, 2015, Keith Clarke >> > wrote: > >> > >>> Folks, > >>> Is there a ?smart? way to denormalise ?child' & ?parent' CSV tables > >>> extracted from an RDBMS in LiveCode or is it down to iterating through > >>> lists using chunk functions? > >>> > >>> I have four tables, related in the database as > >>> Child-Parent-GrandParent-GreatGrandParent. Each file has its own > record ID > >>> & the ID of its direct parent. I need to create a ?DenormalisedChild' > file > >>> with GrandParent & GreatGrandParent IDs appended to each row. > >>> > >>> I?m currently assuming the only way forward is to build a > >>> tDenormalisedChild variable by repeated iteration at each ?level?: > >>> Iterating through lines of the Child file to compare its ChildParentId > >>> with each row in the the Parent file, until ParentRowId = > ChildParentId; > >>> Repeat (1) on Parent file rows to find ParentGrandParent values; > >>> Repeat (1) on GrandParent file rows to get GreatGrandParent values > >>> > >>> Is their a more efficient approach? > >>> Best, > >>> Keith.. > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Sun Mar 15 11:20:45 2015 From: keith.clarke at me.com (Keith Clarke) Date: Sun, 15 Mar 2015 15:20:45 +0000 Subject: Denormalising CSV tables In-Reply-To: References: <26C3813F-6491-4987-8C05-FD86F6D6BF17@me.com> Message-ID: Sadly, I have no control over the source CSVs - they are from a backup zip file. I?m trying to denormalise the key data down to the most detailed level in LiveCode to simplify a single import into Excel - to enable pivot table reporting without having to reconstruct the relationships in Excel using Vlookups. Best, Keith.. > On 15 Mar 2015, at 15:14, Peter Haworth wrote: > > Are you creating the csv file yourself? If so, it should be easy to use a > Select statement with JOINs to make one row for each group of related > entries from the four tables. > > On Sun, Mar 15, 2015, 6:59 AM Keith Clarke wrote: > >> Thanks for the steer, Mike. I?ve not really used arrays before, but this >> sounds a more efficient approach - so I?ll wok through the lessons & docs. >> Best, >> Keith.. >> >>> On 15 Mar 2015, at 13:21, Mike Doub wrote: >>> >>> Basically createa direct access to all the child tables. >>> >>> On Sunday, March 15, 2015, Mike Doub wrote: >>> >>>> Would it not be better to make the child table into an array indexed by >>>> its ID, then make a single pass thru the parent table using the child ID >>>> into the array. >>>> >>>> Mike >>>> >>>> On Sunday, March 15, 2015, Keith Clarke >>> > wrote: >>>> >>>>> Folks, >>>>> Is there a ?smart? way to denormalise ?child' & ?parent' CSV tables >>>>> extracted from an RDBMS in LiveCode or is it down to iterating through >>>>> lists using chunk functions? >>>>> >>>>> I have four tables, related in the database as >>>>> Child-Parent-GrandParent-GreatGrandParent. Each file has its own >> record ID >>>>> & the ID of its direct parent. I need to create a ?DenormalisedChild' >> file >>>>> with GrandParent & GreatGrandParent IDs appended to each row. >>>>> >>>>> I?m currently assuming the only way forward is to build a >>>>> tDenormalisedChild variable by repeated iteration at each ?level?: >>>>> Iterating through lines of the Child file to compare its ChildParentId >>>>> with each row in the the Parent file, until ParentRowId = >> ChildParentId; >>>>> Repeat (1) on Parent file rows to find ParentGrandParent values; >>>>> Repeat (1) on GrandParent file rows to get GreatGrandParent values >>>>> >>>>> Is their a more efficient approach? >>>>> Best, >>>>> Keith.. >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sun Mar 15 11:21:38 2015 From: pete at lcsql.com (Peter Haworth) Date: Sun, 15 Mar 2015 15:21:38 +0000 Subject: [OT] Apple Wireless mouse References: <55048088.7020508@hyperactivesw.com> <59436229-964E-4187-9BD5-DE29ADACF27E@gmail.com> <5504F7DD.40805@hyperactivesw.com> <6A089B2B-BB43-45F4-8BF9-445223D5D298@gmail.com> <5504FCA6.4050605@hyperactivesw.com> <1351139E-E335-459B-80D1-53AC28DF06B3@gmail.com> Message-ID: I'm putting it down to my electric personality. Seriously though, I wonder if it is due to static electricity? On Sat, Mar 14, 2015, 9:46 PM Gerry wrote: > I'm completely mystified. I've never had a single problem with any of the > 4-5 wireless mice I've used. perhaps it's a northern-southern hemisphere > thing? Magnetic fields, perhaps? ;-\ > > > g > > > > On 15 Mar 2015, at 2:29 pm, J. Landman Gay > wrote: > > > > Maybe if I typed in shorter sentences it wouldn't happen to me either. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sun Mar 15 11:30:45 2015 From: pete at lcsql.com (Peter Haworth) Date: Sun, 15 Mar 2015 15:30:45 +0000 Subject: Denormalising CSV tables References: <26C3813F-6491-4987-8C05-FD86F6D6BF17@me.com> Message-ID: OK, then I think the array approach is the way to go. But you'll still need to parse the files which could be pain. Get yourself a copy of Alex Tweedly's csv file parser, it takes care of all the gotchas. Another approach might be to create an sqlite database with the 4 tables in it, load the data into it and then select it as mentioned and create the denormalized csv file yourself On Sun, Mar 15, 2015, 8:21 AM Keith Clarke wrote: > Sadly, I have no control over the source CSVs - they are from a backup zip > file. > > I?m trying to denormalise the key data down to the most detailed level in > LiveCode to simplify a single import into Excel - to enable pivot table > reporting without having to reconstruct the relationships in Excel using > Vlookups. > Best, > Keith.. > > > On 15 Mar 2015, at 15:14, Peter Haworth wrote: > > > > Are you creating the csv file yourself? If so, it should be easy to use a > > Select statement with JOINs to make one row for each group of related > > entries from the four tables. > > > > On Sun, Mar 15, 2015, 6:59 AM Keith Clarke wrote: > > > >> Thanks for the steer, Mike. I?ve not really used arrays before, but this > >> sounds a more efficient approach - so I?ll wok through the lessons & > docs. > >> Best, > >> Keith.. > >> > >>> On 15 Mar 2015, at 13:21, Mike Doub wrote: > >>> > >>> Basically createa direct access to all the child tables. > >>> > >>> On Sunday, March 15, 2015, Mike Doub wrote: > >>> > >>>> Would it not be better to make the child table into an array indexed > by > >>>> its ID, then make a single pass thru the parent table using the child > ID > >>>> into the array. > >>>> > >>>> Mike > >>>> > >>>> On Sunday, March 15, 2015, Keith Clarke >>>> > wrote: > >>>> > >>>>> Folks, > >>>>> Is there a ?smart? way to denormalise ?child' & ?parent' CSV tables > >>>>> extracted from an RDBMS in LiveCode or is it down to iterating > through > >>>>> lists using chunk functions? > >>>>> > >>>>> I have four tables, related in the database as > >>>>> Child-Parent-GrandParent-GreatGrandParent. Each file has its own > >> record ID > >>>>> & the ID of its direct parent. I need to create a ?DenormalisedChild' > >> file > >>>>> with GrandParent & GreatGrandParent IDs appended to each row. > >>>>> > >>>>> I?m currently assuming the only way forward is to build a > >>>>> tDenormalisedChild variable by repeated iteration at each ?level?: > >>>>> Iterating through lines of the Child file to compare its > ChildParentId > >>>>> with each row in the the Parent file, until ParentRowId = > >> ChildParentId; > >>>>> Repeat (1) on Parent file rows to find ParentGrandParent values; > >>>>> Repeat (1) on GrandParent file rows to get GreatGrandParent values > >>>>> > >>>>> Is their a more efficient approach? > >>>>> Best, > >>>>> Keith.. > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>> subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Mar 15 11:33:33 2015 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Mar 2015 17:33:33 +0200 Subject: charWrap Message-ID: <5505A64D.2090505@gmail.com> Crude stack that performs char wrapping here: http://forums.livecode.com/viewtopic.php?f=6&t=10810&start=30 Richmond. From livfoss at mac.com Sun Mar 15 12:50:31 2015 From: livfoss at mac.com (Graham Samuel) Date: Sun, 15 Mar 2015 17:50:31 +0100 Subject: Does 'exists' work on arrays? Message-ID: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> Still struggling with arrays: no results, no error messages, no data? will get there no doubt. While trying to get there, I tried put exists(myArray[?gpx?]) I got ?false?, but the IDE seems to say that the top key in this multidimensional array is ?gpx?, so why isn?t it true? Puzzled on a wet Sunday afternoon? Graham From sritcp at gmail.com Sun Mar 15 13:37:15 2015 From: sritcp at gmail.com (Sri) Date: Sun, 15 Mar 2015 10:37:15 -0700 (PDT) Subject: Does 'exists' work on arrays? In-Reply-To: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> References: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> Message-ID: <1426441035264-4690175.post@n4.nabble.com> The argument of the exits() function should be an object. exists(myArray) should work. myArray["gpx"] is a property, I think. if "gpx" is among the lines in the keys of myArray should work. Regards, Sri. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Does-exists-work-on-arrays-tp4690174p4690175.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sun Mar 15 13:49:39 2015 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 15 Mar 2015 13:49:39 -0400 Subject: LC8 Crash while importing JPG image Message-ID: Hi All, Please verify if this crash happens in your platform while importing a JPG image into a stack created in LC8: Write in the message box: create stack After the new stack appears, write in the message box: create image Now, using the Pointer Tool, select the (invisible) image in the center of the stack and in the Menu Object, select Object Properties... In the Object Properties palette, click the Source button [...] and select a JPG image LiveCode 8 hangs and become unresponsive. PNG and Animated GIF imports fine, without problems and (surprise) Animated GIF could be scaled (up and down) nicely! :D Alejandro From livfoss at mac.com Sun Mar 15 13:52:40 2015 From: livfoss at mac.com (Graham Samuel) Date: Sun, 15 Mar 2015 18:52:40 +0100 Subject: Does 'exists' work on arrays? In-Reply-To: <1426441035264-4690175.post@n4.nabble.com> References: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> <1426441035264-4690175.post@n4.nabble.com> Message-ID: <84F8C4CA-9D03-44F1-A590-28527F02D8E2@mac.com> Ah, thanks. I thought that myArray[?gpx?] was an array (since it?s the ?top? key of a multidimensional array), so therefore an object. I think my mental model of arrays is wrong: roughly my model is array[key1][key2] etc means an array which has a series of arrays at the level of key1 each of which is indexed (keyed) by key2, etc. I suppose I?m wrong. Thanks anyway Graham > On 15 Mar 2015, at 18:37, Sri wrote: > > The argument of the exits() function should be an object. > exists(myArray) > should work. > myArray["gpx"] is a property, I think. > if "gpx" is among the lines in the keys of myArray > should work. > > Regards, > Sri. > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Does-exists-work-on-arrays-tp4690174p4690175.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Sun Mar 15 13:56:22 2015 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 15 Mar 2015 10:56:22 -0700 Subject: Does 'exists' work on arrays? In-Reply-To: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> References: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> Message-ID: Try: if myArray is an array Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/15/15, 9:50 AM, "Graham Samuel" wrote: >Still struggling with arrays: no results, no error messages, no data? >will get there no doubt. While trying to get there, I tried > > put exists(myArray[?gpx?]) > >I got ?false?, but the IDE seems to say that the top key in this >multidimensional array is ?gpx?, so why isn?t it true? > >Puzzled on a wet Sunday afternoon? > >Graham > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Sun Mar 15 14:19:25 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 15 Mar 2015 12:19:25 -0600 Subject: Does 'exists' work on arrays? In-Reply-To: References: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> Message-ID: If you are just trying to get a handle on the structure, and how to pull out specific chunks, you can declare it global, and use the message box to poke around. If its global, in the multiline msg box declare it too, and "put the keys of... " Then adjust it to look at subkey contents, poking around till you figure out where things are. And now i'm wondering if anyone has built an array browser utility? On Sun, Mar 15, 2015 at 11:56 AM, Scott Rossi wrote: > Try: if myArray is an array > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 3/15/15, 9:50 AM, "Graham Samuel" wrote: > > >Still struggling with arrays: no results, no error messages, no data? > >will get there no doubt. While trying to get there, I tried > > > > put exists(myArray[?gpx?]) > > > >I got ?false?, but the IDE seems to say that the top key in this > >multidimensional array is ?gpx?, so why isn?t it true? > > > >Puzzled on a wet Sunday afternoon? > > > >Graham > > > > > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Mar 15 14:23:48 2015 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Mar 2015 20:23:48 +0200 Subject: LC8 Crash while importing JPG image In-Reply-To: References: Message-ID: <5505CE34.4050008@gmail.com> On 15/03/15 19:49, Alejandro Tejada wrote: > Hi All, > > Please verify if this crash happens in your platform > while importing a JPG image into a stack created > in LC8: > > Write in the message box: > create stack > > After the new stack appears, write in the message box: > create image > > Now, using the Pointer Tool, select the (invisible) image > in the center of the stack and in the Menu Object, > select Object Properties... > > In the Object Properties palette, click > the Source button [...] and select a JPG image > > LiveCode 8 hangs and become unresponsive. > > PNG and Animated GIF imports fine, without problems > and (surprise) Animated GIF could be scaled (up and down) nicely! :D > > Alejandro > _______________________________________________ > I had absolutely no problem following your instructions and importing an image; nothing hung! Ubuntu Studio 32-bit 14.10 Richmond. From richmondmathewson at gmail.com Sun Mar 15 14:25:23 2015 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Mar 2015 20:25:23 +0200 Subject: LC8 Crash while importing JPG image In-Reply-To: References: Message-ID: <5505CE93.1090000@gmail.com> Sorry; my mistake, I imported a GIF the first time. Second time I imported a JPG: the thing did not hang, but the image just vanished from the card. Richmond. From pmbrig at gmail.com Sun Mar 15 14:32:20 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 15 Mar 2015 14:32:20 -0400 Subject: Does 'exists' work on arrays? In-Reply-To: References: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> Message-ID: <17CB98DA-9594-444E-B6A5-F3CEB2DED25E@gmail.com> Not a utility, but here's a way of displaying a multilevel array so you can see its structure. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig ------- function displayArray @pArray, pFullData, _pDimension -- by Peter M. Brigham, pmbrig at gmail.com ? freeware -- adapted from a handler by Trevor DeVore -- displays an array as an outline-style list -- most useful for multidimensional arrays, to see the structure -- if an element of the array contains more than one line, -- the first line only will be displayed (less confusing to look at) -- if you want to see the full data then pass pFullData = true -- _pDimension is an internally used parameter -- pArray is referenced to avoid duplicating large arrays in memory, -- but the array is not altered by this function -- call it like this: put displayArray(tArray) into fld "peruse" -- requires makestring() if _pDimension is empty then put 0 into _pDimension if pFullData = empty then put false into pFullData put ": " into divString put the keys of pArray into theKeys if line 1 of theKeys is a number then sort theKeys numeric else sort theKeys end if repeat for each line theKey in theKeys if pArray[theKey] is an array then put makeString(space,_pDimension*3) & theKey & cr after theText put pArray[theKey] into theTempArray put displayArray(theTempArray, pFullData, _pDimension + 1) after theText else if pFullData then put makeString(space,_pDimension*3) & theKey & ":" \ && pArray[theKey] & cr after theText else put pArray[theKey] into tElement put empty into tTrailer if the number of lines of tElement > 1 then put " ..." into tTrailer end if put makeString(space,_pDimension*3) & theKey & divString \ & (line 1 of tElement) & tTrailer & cr after theText end if end if end repeat return theText end displayArray function makeString pChar, n -- returns a string of n characters (pChar) -- no repeat loop! -- by Peter M. Brigham, pmbrig at gmail.com ? freeware -- improved by Richard Gaskin set the linedel to pChar put pChar into line n of temp return temp end makeString On Mar 15, 2015, at 2:19 PM, Mike Bonner wrote: > If you are just trying to get a handle on the structure, and how to pull > out specific chunks, you can declare it global, and use the message box to > poke around. > > If its global, in the multiline msg box declare it too, and "put the keys > of... " > Then adjust it to look at subkey contents, poking around till you figure > out where things are. > > And now i'm wondering if anyone has built an array browser utility? > > On Sun, Mar 15, 2015 at 11:56 AM, Scott Rossi > wrote: > >> Try: if myArray is an array >> >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 3/15/15, 9:50 AM, "Graham Samuel" wrote: >> >>> Still struggling with arrays: no results, no error messages, no data? >>> will get there no doubt. While trying to get there, I tried >>> >>> put exists(myArray[?gpx?]) >>> >>> I got ?false?, but the IDE seems to say that the top key in this >>> multidimensional array is ?gpx?, so why isn?t it true? >>> >>> Puzzled on a wet Sunday afternoon? >>> >>> Graham >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sun Mar 15 15:21:51 2015 From: pete at lcsql.com (Peter Haworth) Date: Sun, 15 Mar 2015 19:21:51 +0000 Subject: Does 'exists' work on arrays? In-Reply-To: <17CB98DA-9594-444E-B6A5-F3CEB2DED25E@gmail.com> References: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> <17CB98DA-9594-444E-B6A5-F3CEB2DED25E@gmail.com> Message-ID: lcStackBrowser has one but it only operates on custom properties not variables. Search keys, delete keys, change key values, add new keys all available. And there's always the script editor variables tab. On Sun, Mar 15, 2015 at 11:32 AM Peter M. Brigham wrote: > Not a utility, but here's a way of displaying a multilevel array so you > can see its structure. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > ------- > > function displayArray @pArray, pFullData, _pDimension > -- by Peter M. Brigham, pmbrig at gmail.com ? freeware > -- adapted from a handler by Trevor DeVore > -- displays an array as an outline-style list > -- most useful for multidimensional arrays, to see the structure > -- if an element of the array contains more than one line, > -- the first line only will be displayed (less confusing to look at) > -- if you want to see the full data then pass pFullData = true > -- _pDimension is an internally used parameter > -- pArray is referenced to avoid duplicating large arrays in memory, > -- but the array is not altered by this function > > -- call it like this: put displayArray(tArray) into fld "peruse" > > -- requires makestring() > > if _pDimension is empty then put 0 into _pDimension > if pFullData = empty then put false into pFullData > put ": " into divString > put the keys of pArray into theKeys > if line 1 of theKeys is a number then > sort theKeys numeric > else > sort theKeys > end if > repeat for each line theKey in theKeys > if pArray[theKey] is an array then > put makeString(space,_pDimension*3) & theKey & cr after theText > put pArray[theKey] into theTempArray > put displayArray(theTempArray, pFullData, _pDimension + 1) after > theText > else > if pFullData then > put makeString(space,_pDimension*3) & theKey & ":" \ > && pArray[theKey] & cr after theText > else > put pArray[theKey] into tElement > put empty into tTrailer > if the number of lines of tElement > 1 then > put " ..." into tTrailer > end if > put makeString(space,_pDimension*3) & theKey & divString \ > & (line 1 of tElement) & tTrailer & cr after theText > end if > end if > end repeat > return theText > end displayArray > > function makeString pChar, n > -- returns a string of n characters (pChar) > -- no repeat loop! > -- by Peter M. Brigham, pmbrig at gmail.com ? freeware > -- improved by Richard Gaskin > set the linedel to pChar > put pChar into line n of temp > return temp > end makeString > > > On Mar 15, 2015, at 2:19 PM, Mike Bonner wrote: > > > If you are just trying to get a handle on the structure, and how to pull > > out specific chunks, you can declare it global, and use the message box > to > > poke around. > > > > If its global, in the multiline msg box declare it too, and "put the keys > > of... " > > Then adjust it to look at subkey contents, poking around till you figure > > out where things are. > > > > And now i'm wondering if anyone has built an array browser utility? > > > > On Sun, Mar 15, 2015 at 11:56 AM, Scott Rossi > > wrote: > > > >> Try: if myArray is an array > >> > >> > >> Regards, > >> > >> Scott Rossi > >> Creative Director > >> Tactile Media, UX/UI Design > >> > >> > >> > >> > >> On 3/15/15, 9:50 AM, "Graham Samuel" wrote: > >> > >>> Still struggling with arrays: no results, no error messages, no data? > >>> will get there no doubt. While trying to get there, I tried > >>> > >>> put exists(myArray[?gpx?]) > >>> > >>> I got ?false?, but the IDE seems to say that the top key in this > >>> multidimensional array is ?gpx?, so why isn?t it true? > >>> > >>> Puzzled on a wet Sunday afternoon? > >>> > >>> Graham > >>> > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From livfoss at mac.com Sun Mar 15 15:27:50 2015 From: livfoss at mac.com (Graham Samuel) Date: Sun, 15 Mar 2015 20:27:50 +0100 Subject: Array Confusion [was: Re: Does 'exists' work on arrays?] In-Reply-To: <17CB98DA-9594-444E-B6A5-F3CEB2DED25E@gmail.com> References: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> <17CB98DA-9594-444E-B6A5-F3CEB2DED25E@gmail.com> Message-ID: <236A92D5-5234-4AA1-9C3A-E497A3929102@mac.com> Thanks Peter, it seems to work very well. I tried it on my XML-derived test file, which I put (as an array) into a global, gGeneralArray. Hoping you?ll excuse the bandwidth, I?ll show you the first few lines of text from your function's output, as I would like to ask a question about it: gpx @attributes creator: Geolives schemaLocation: http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd version: 1.1 xmlns: http://www.topografix.com/GPX/1/1 metadata: trk trkseg trkpt[1000] @attributes lat: 43.099438 lon: 2.075522 ele: 392.6022 time: 2015-03-12T10:34:43Z trkpt[1001] @attributes lat: 43.099384 lon: 2.0755 ele: 392.6022 time: 2015-03-12T10:34:47Z trkpt[1002] @attributes lat: 43.099335 lon: 2.075483 ele: 393.96625 time: 2015-03-12T10:34:51Z This seems to me to show a multidimensional array, but perhaps it doesn?t, because when I do this in the Message Box put the keys of gGeneralArray I just get gpx But I can see all the other keys (can?t I?) in above display and in the IDE - they derive from different levels of angle brackets in the XML. Perhaps I?m simply going crazy. Just going back to my model of LC arrays - can someone tell me if this is reasonable: An array is a kind of group, or a physical analogy would be a box. This group (box) contains elements which can be actual objects (numbers for example) or other groups (boxes). This nesting can go on as deep as you like. So a reference like myArray[?aa?][?bb?] means ?get me out the box or object labelled ?bb? from the box labelled ?aa?. We only find out if it?s a box (i.e. another array) or a real object when we go to fetch it. I?m using this model to get as far away as possible from the numerically indexed arrays I was brought up with. Is it wrong? TIA Graham > On 15 Mar 2015, at 19:32, Peter M. Brigham wrote: > > Not a utility, but here's a way of displaying a multilevel array so you can see its structure. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > ------- > > function displayArray @pArray, pFullData, _pDimension > -- by Peter M. Brigham, pmbrig at gmail.com ? freeware > -- adapted from a handler by Trevor DeVore > -- displays an array as an outline-style list > -- most useful for multidimensional arrays, to see the structure > -- if an element of the array contains more than one line, > -- the first line only will be displayed (less confusing to look at) > -- if you want to see the full data then pass pFullData = true > -- _pDimension is an internally used parameter > -- pArray is referenced to avoid duplicating large arrays in memory, > -- but the array is not altered by this function > > -- call it like this: put displayArray(tArray) into fld "peruse" > > -- requires makestring() > > if _pDimension is empty then put 0 into _pDimension > if pFullData = empty then put false into pFullData > put ": " into divString > put the keys of pArray into theKeys > if line 1 of theKeys is a number then > sort theKeys numeric > else > sort theKeys > end if > repeat for each line theKey in theKeys > if pArray[theKey] is an array then > put makeString(space,_pDimension*3) & theKey & cr after theText > put pArray[theKey] into theTempArray > put displayArray(theTempArray, pFullData, _pDimension + 1) after theText > else > if pFullData then > put makeString(space,_pDimension*3) & theKey & ":" \ > && pArray[theKey] & cr after theText > else > put pArray[theKey] into tElement > put empty into tTrailer > if the number of lines of tElement > 1 then > put " ..." into tTrailer > end if > put makeString(space,_pDimension*3) & theKey & divString \ > & (line 1 of tElement) & tTrailer & cr after theText > end if > end if > end repeat > return theText > end displayArray > > function makeString pChar, n > -- returns a string of n characters (pChar) > -- no repeat loop! > -- by Peter M. Brigham, pmbrig at gmail.com ? freeware > -- improved by Richard Gaskin > set the linedel to pChar > put pChar into line n of temp > return temp > end makeString > > > On Mar 15, 2015, at 2:19 PM, Mike Bonner wrote: > >> If you are just trying to get a handle on the structure, and how to pull >> out specific chunks, you can declare it global, and use the message box to >> poke around. >> >> If its global, in the multiline msg box declare it too, and "put the keys >> of... " >> Then adjust it to look at subkey contents, poking around till you figure >> out where things are. >> >> And now i'm wondering if anyone has built an array browser utility? >> >> On Sun, Mar 15, 2015 at 11:56 AM, Scott Rossi >> wrote: >> >>> Try: if myArray is an array >>> >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> >>> On 3/15/15, 9:50 AM, "Graham Samuel" wrote: >>> >>>> Still struggling with arrays: no results, no error messages, no data? >>>> will get there no doubt. While trying to get there, I tried >>>> >>>> put exists(myArray[?gpx?]) >>>> >>>> I got ?false?, but the IDE seems to say that the top key in this >>>> multidimensional array is ?gpx?, so why isn?t it true? >>>> >>>> Puzzled on a wet Sunday afternoon? >>>> >>>> Graham >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Sun Mar 15 15:35:24 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 15 Mar 2015 13:35:24 -0600 Subject: Does 'exists' work on arrays? In-Reply-To: References: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> <17CB98DA-9594-444E-B6A5-F3CEB2DED25E@gmail.com> Message-ID: Thank you! Will have to study the script, and will check out lcstackbrowser too. On Sun, Mar 15, 2015 at 1:21 PM, Peter Haworth wrote: > lcStackBrowser has one but it only operates on custom properties not > variables. Search keys, delete keys, change key values, add new keys all > available. > > And there's always the script editor variables tab. > > On Sun, Mar 15, 2015 at 11:32 AM Peter M. Brigham > wrote: > > > Not a utility, but here's a way of displaying a multilevel array so you > > can see its structure. > > > > -- Peter > > > > Peter M. Brigham > > pmbrig at gmail.com > > http://home.comcast.net/~pmbrig > > > > ------- > > > > function displayArray @pArray, pFullData, _pDimension > > -- by Peter M. Brigham, pmbrig at gmail.com ? freeware > > -- adapted from a handler by Trevor DeVore > > -- displays an array as an outline-style list > > -- most useful for multidimensional arrays, to see the structure > > -- if an element of the array contains more than one line, > > -- the first line only will be displayed (less confusing to look > at) > > -- if you want to see the full data then pass pFullData = true > > -- _pDimension is an internally used parameter > > -- pArray is referenced to avoid duplicating large arrays in memory, > > -- but the array is not altered by this function > > > > -- call it like this: put displayArray(tArray) into fld "peruse" > > > > -- requires makestring() > > > > if _pDimension is empty then put 0 into _pDimension > > if pFullData = empty then put false into pFullData > > put ": " into divString > > put the keys of pArray into theKeys > > if line 1 of theKeys is a number then > > sort theKeys numeric > > else > > sort theKeys > > end if > > repeat for each line theKey in theKeys > > if pArray[theKey] is an array then > > put makeString(space,_pDimension*3) & theKey & cr after theText > > put pArray[theKey] into theTempArray > > put displayArray(theTempArray, pFullData, _pDimension + 1) after > > theText > > else > > if pFullData then > > put makeString(space,_pDimension*3) & theKey & ":" \ > > && pArray[theKey] & cr after theText > > else > > put pArray[theKey] into tElement > > put empty into tTrailer > > if the number of lines of tElement > 1 then > > put " ..." into tTrailer > > end if > > put makeString(space,_pDimension*3) & theKey & divString \ > > & (line 1 of tElement) & tTrailer & cr after theText > > end if > > end if > > end repeat > > return theText > > end displayArray > > > > function makeString pChar, n > > -- returns a string of n characters (pChar) > > -- no repeat loop! > > -- by Peter M. Brigham, pmbrig at gmail.com ? freeware > > -- improved by Richard Gaskin > > set the linedel to pChar > > put pChar into line n of temp > > return temp > > end makeString > > > > > > On Mar 15, 2015, at 2:19 PM, Mike Bonner wrote: > > > > > If you are just trying to get a handle on the structure, and how to > pull > > > out specific chunks, you can declare it global, and use the message box > > to > > > poke around. > > > > > > If its global, in the multiline msg box declare it too, and "put the > keys > > > of... " > > > Then adjust it to look at subkey contents, poking around till you > figure > > > out where things are. > > > > > > And now i'm wondering if anyone has built an array browser utility? > > > > > > On Sun, Mar 15, 2015 at 11:56 AM, Scott Rossi > > > wrote: > > > > > >> Try: if myArray is an array > > >> > > >> > > >> Regards, > > >> > > >> Scott Rossi > > >> Creative Director > > >> Tactile Media, UX/UI Design > > >> > > >> > > >> > > >> > > >> On 3/15/15, 9:50 AM, "Graham Samuel" wrote: > > >> > > >>> Still struggling with arrays: no results, no error messages, no > data? > > >>> will get there no doubt. While trying to get there, I tried > > >>> > > >>> put exists(myArray[?gpx?]) > > >>> > > >>> I got ?false?, but the IDE seems to say that the top key in this > > >>> multidimensional array is ?gpx?, so why isn?t it true? > > >>> > > >>> Puzzled on a wet Sunday afternoon? > > >>> > > >>> Graham > > >>> > > >>> > > >>> > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > > >>> subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sun Mar 15 15:37:20 2015 From: pete at lcsql.com (Peter Haworth) Date: Sun, 15 Mar 2015 19:37:20 +0000 Subject: [OT] Apple Wireless mouse In-Reply-To: References: <55048088.7020508@hyperactivesw.com> <6E6C29B7-F0B8-431B-BE3C-25D3C9C99A4C@gmail.com> Message-ID: Found this free app named MagicPrefs that gives you the capability of configuring all sorts of things on the Magic Mouse (and trackpad and laptop finger pads). Using it you can configure the area that reacts to finger drag to scroll actions. I set it to a region down the middle of the mouse and now all the weird scrolling issues have gone away. I also have configured it to issue a right click when I click anywhere on the right side of the mouse instead of just the area at the top right. Worth checking out if you're having magic mouse issues. On Sat, Mar 14, 2015 at 1:12 PM Peter Haworth wrote: > I think I'm gonna stick with my USB keyboard/mouse now, just seems so much > more predictable and I don;t have to worry about changing batteries. > > Plus, I really like the convenience of being able to plug things into the > spare USB port on the keyboard so I don't have to scrabble around the back > of the iMac. It would have been really nice if Apple had provided one USB > port on the front/side/bottom edge of the iMac but they're so focused on > sleek good looks that they sometimes forget about functionality. > > On Sat, Mar 14, 2015 at 11:44 AM Colin Holgate > wrote: > >> I use the Apple Magic Trackpad, it?s a great way to work. I can use >> various gestures to do things. >> >> Not sure if the mouse has the same setting, but with trackpads you can >> set it to tap to click. I hate that setting and have it turned off. If it >> was turned on and you?re trying to scroll a scrollbar, and instead of doing >> a brush action you accidentally do a tap, it would cause the scroll bar to >> jump a long way. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > From bonnmike at gmail.com Sun Mar 15 15:38:06 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 15 Mar 2015 13:38:06 -0600 Subject: Array Confusion [was: Re: Does 'exists' work on arrays?] In-Reply-To: <236A92D5-5234-4AA1-9C3A-E497A3929102@mac.com> References: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> <17CB98DA-9594-444E-B6A5-F3CEB2DED25E@gmail.com> <236A92D5-5234-4AA1-9C3A-E497A3929102@mac.com> Message-ID: try " put the keys of gGeneralArray["gpx"] and you'll get the next level of keys. On Sun, Mar 15, 2015 at 1:27 PM, Graham Samuel wrote: > Thanks Peter, it seems to work very well. I tried it on my XML-derived > test file, which I put (as an array) into a global, gGeneralArray. > > Hoping you?ll excuse the bandwidth, I?ll show you the first few lines of > text from your function's output, as I would like to ask a question about > it: > > gpx > @attributes > creator: Geolives > schemaLocation: http://www.topografix.com/GPX/1/1 > http://www.topografix.com/GPX/1/1/gpx.xsd > version: 1.1 > xmlns: http://www.topografix.com/GPX/1/1 > metadata: > trk > trkseg > trkpt[1000] > @attributes > lat: 43.099438 > lon: 2.075522 > ele: 392.6022 > time: 2015-03-12T10:34:43Z > trkpt[1001] > @attributes > lat: 43.099384 > lon: 2.0755 > ele: 392.6022 > time: 2015-03-12T10:34:47Z > trkpt[1002] > @attributes > lat: 43.099335 > lon: 2.075483 > ele: 393.96625 > time: 2015-03-12T10:34:51Z > > This seems to me to show a multidimensional array, but perhaps it doesn?t, > because when I do this in the Message Box > > put the keys of gGeneralArray > > I just get > > gpx > > But I can see all the other keys (can?t I?) in above display and in the > IDE - they derive from different levels of angle brackets in the XML. > Perhaps I?m simply going crazy. > > Just going back to my model of LC arrays - can someone tell me if this is > reasonable: > > An array is a kind of group, or a physical analogy would be a box. This > group (box) contains elements which can be actual objects (numbers for > example) or other groups (boxes). This nesting can go on as deep as you > like. So a reference like > > myArray[?aa?][?bb?] > > means ?get me out the box or object labelled ?bb? from the box labelled > ?aa?. We only find out if it?s a box (i.e. another array) or a real object > when we go to fetch it. > > I?m using this model to get as far away as possible from the numerically > indexed arrays I was brought up with. Is it wrong? > > TIA > > Graham > > On 15 Mar 2015, at 19:32, Peter M. Brigham wrote: > > > > Not a utility, but here's a way of displaying a multilevel array so you > can see its structure. > > > > -- Peter > > > > Peter M. Brigham > > pmbrig at gmail.com > > http://home.comcast.net/~pmbrig > > > > ------- > > > > function displayArray @pArray, pFullData, _pDimension > > -- by Peter M. Brigham, pmbrig at gmail.com ? freeware > > -- adapted from a handler by Trevor DeVore > > -- displays an array as an outline-style list > > -- most useful for multidimensional arrays, to see the structure > > -- if an element of the array contains more than one line, > > -- the first line only will be displayed (less confusing to look at) > > -- if you want to see the full data then pass pFullData = true > > -- _pDimension is an internally used parameter > > -- pArray is referenced to avoid duplicating large arrays in memory, > > -- but the array is not altered by this function > > > > -- call it like this: put displayArray(tArray) into fld "peruse" > > > > -- requires makestring() > > > > if _pDimension is empty then put 0 into _pDimension > > if pFullData = empty then put false into pFullData > > put ": " into divString > > put the keys of pArray into theKeys > > if line 1 of theKeys is a number then > > sort theKeys numeric > > else > > sort theKeys > > end if > > repeat for each line theKey in theKeys > > if pArray[theKey] is an array then > > put makeString(space,_pDimension*3) & theKey & cr after theText > > put pArray[theKey] into theTempArray > > put displayArray(theTempArray, pFullData, _pDimension + 1) after > theText > > else > > if pFullData then > > put makeString(space,_pDimension*3) & theKey & ":" \ > > && pArray[theKey] & cr after theText > > else > > put pArray[theKey] into tElement > > put empty into tTrailer > > if the number of lines of tElement > 1 then > > put " ..." into tTrailer > > end if > > put makeString(space,_pDimension*3) & theKey & divString \ > > & (line 1 of tElement) & tTrailer & cr after theText > > end if > > end if > > end repeat > > return theText > > end displayArray > > > > function makeString pChar, n > > -- returns a string of n characters (pChar) > > -- no repeat loop! > > -- by Peter M. Brigham, pmbrig at gmail.com ? freeware > > -- improved by Richard Gaskin > > set the linedel to pChar > > put pChar into line n of temp > > return temp > > end makeString > > > > > > On Mar 15, 2015, at 2:19 PM, Mike Bonner wrote: > > > >> If you are just trying to get a handle on the structure, and how to pull > >> out specific chunks, you can declare it global, and use the message box > to > >> poke around. > >> > >> If its global, in the multiline msg box declare it too, and "put the > keys > >> of... " > >> Then adjust it to look at subkey contents, poking around till you figure > >> out where things are. > >> > >> And now i'm wondering if anyone has built an array browser utility? > >> > >> On Sun, Mar 15, 2015 at 11:56 AM, Scott Rossi > >> wrote: > >> > >>> Try: if myArray is an array > >>> > >>> > >>> Regards, > >>> > >>> Scott Rossi > >>> Creative Director > >>> Tactile Media, UX/UI Design > >>> > >>> > >>> > >>> > >>> On 3/15/15, 9:50 AM, "Graham Samuel" wrote: > >>> > >>>> Still struggling with arrays: no results, no error messages, no data? > >>>> will get there no doubt. While trying to get there, I tried > >>>> > >>>> put exists(myArray[?gpx?]) > >>>> > >>>> I got ?false?, but the IDE seems to say that the top key in this > >>>> multidimensional array is ?gpx?, so why isn?t it true? > >>>> > >>>> Puzzled on a wet Sunday afternoon? > >>>> > >>>> Graham > >>>> > >>>> > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sun Mar 15 15:41:33 2015 From: pete at lcsql.com (Peter Haworth) Date: Sun, 15 Mar 2015 19:41:33 +0000 Subject: Does 'exists' work on arrays? In-Reply-To: References: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> <17CB98DA-9594-444E-B6A5-F3CEB2DED25E@gmail.com> Message-ID: I've been thinking of pulling that code out and making it available as a free utility but I can't quite figure out the best way for a user to point it to the variable containing the array. On Sun, Mar 15, 2015 at 12:35 PM Mike Bonner wrote: > Thank you! Will have to study the script, and will check out lcstackbrowser > too. > > On Sun, Mar 15, 2015 at 1:21 PM, Peter Haworth wrote: > > > lcStackBrowser has one but it only operates on custom properties not > > variables. Search keys, delete keys, change key values, add new keys all > > available. > > > > And there's always the script editor variables tab. > > > > On Sun, Mar 15, 2015 at 11:32 AM Peter M. Brigham > > wrote: > > > > > Not a utility, but here's a way of displaying a multilevel array so you > > > can see its structure. > > > > > > -- Peter > > > > > > Peter M. Brigham > > > pmbrig at gmail.com > > > http://home.comcast.net/~pmbrig > > > > > > ------- > > > > > > function displayArray @pArray, pFullData, _pDimension > > > -- by Peter M. Brigham, pmbrig at gmail.com ? freeware > > > -- adapted from a handler by Trevor DeVore > > > -- displays an array as an outline-style list > > > -- most useful for multidimensional arrays, to see the structure > > > -- if an element of the array contains more than one line, > > > -- the first line only will be displayed (less confusing to look > > at) > > > -- if you want to see the full data then pass pFullData = true > > > -- _pDimension is an internally used parameter > > > -- pArray is referenced to avoid duplicating large arrays in memory, > > > -- but the array is not altered by this function > > > > > > -- call it like this: put displayArray(tArray) into fld "peruse" > > > > > > -- requires makestring() > > > > > > if _pDimension is empty then put 0 into _pDimension > > > if pFullData = empty then put false into pFullData > > > put ": " into divString > > > put the keys of pArray into theKeys > > > if line 1 of theKeys is a number then > > > sort theKeys numeric > > > else > > > sort theKeys > > > end if > > > repeat for each line theKey in theKeys > > > if pArray[theKey] is an array then > > > put makeString(space,_pDimension*3) & theKey & cr after > theText > > > put pArray[theKey] into theTempArray > > > put displayArray(theTempArray, pFullData, _pDimension + 1) > after > > > theText > > > else > > > if pFullData then > > > put makeString(space,_pDimension*3) & theKey & ":" \ > > > && pArray[theKey] & cr after theText > > > else > > > put pArray[theKey] into tElement > > > put empty into tTrailer > > > if the number of lines of tElement > 1 then > > > put " ..." into tTrailer > > > end if > > > put makeString(space,_pDimension*3) & theKey & divString \ > > > & (line 1 of tElement) & tTrailer & cr after theText > > > end if > > > end if > > > end repeat > > > return theText > > > end displayArray > > > > > > function makeString pChar, n > > > -- returns a string of n characters (pChar) > > > -- no repeat loop! > > > -- by Peter M. Brigham, pmbrig at gmail.com ? freeware > > > -- improved by Richard Gaskin > > > set the linedel to pChar > > > put pChar into line n of temp > > > return temp > > > end makeString > > > > > > > > > On Mar 15, 2015, at 2:19 PM, Mike Bonner wrote: > > > > > > > If you are just trying to get a handle on the structure, and how to > > pull > > > > out specific chunks, you can declare it global, and use the message > box > > > to > > > > poke around. > > > > > > > > If its global, in the multiline msg box declare it too, and "put the > > keys > > > > of... " > > > > Then adjust it to look at subkey contents, poking around till you > > figure > > > > out where things are. > > > > > > > > And now i'm wondering if anyone has built an array browser utility? > > > > > > > > On Sun, Mar 15, 2015 at 11:56 AM, Scott Rossi < > scott at tactilemedia.com> > > > > wrote: > > > > > > > >> Try: if myArray is an array > > > >> > > > >> > > > >> Regards, > > > >> > > > >> Scott Rossi > > > >> Creative Director > > > >> Tactile Media, UX/UI Design > > > >> > > > >> > > > >> > > > >> > > > >> On 3/15/15, 9:50 AM, "Graham Samuel" wrote: > > > >> > > > >>> Still struggling with arrays: no results, no error messages, no > > data? > > > >>> will get there no doubt. While trying to get there, I tried > > > >>> > > > >>> put exists(myArray[?gpx?]) > > > >>> > > > >>> I got ?false?, but the IDE seems to say that the top key in this > > > >>> multidimensional array is ?gpx?, so why isn?t it true? > > > >>> > > > >>> Puzzled on a wet Sunday afternoon? > > > >>> > > > >>> Graham > > > >>> > > > >>> > > > >>> > > > >>> _______________________________________________ > > > >>> use-livecode mailing list > > > >>> use-livecode at lists.runrev.com > > > >>> Please visit this url to subscribe, unsubscribe and manage your > > > >>> subscription preferences: > > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >> > > > >> > > > >> > > > >> _______________________________________________ > > > >> use-livecode mailing list > > > >> use-livecode at lists.runrev.com > > > >> Please visit this url to subscribe, unsubscribe and manage your > > > >> subscription preferences: > > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >> > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Mar 15 15:50:09 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 15 Mar 2015 14:50:09 -0500 Subject: What property does "set as stack menubar" set? In-Reply-To: References: <5504B423.2000303@hyperactivesw.com> <5504EA36.9090703@hyperactivesw.com> Message-ID: <5505E271.10700@hyperactivesw.com> On 3/15/2015 8:12 AM, Dr. Hawkins wrote: > put the editMenus of stack out0, the vis of grp stk_menu of stack out0, the > menubar of stack out0 > > yields > fase, true, > > I clone stack out0, name it to out 1, and the menu now appears on the card. Is it really on the card, or just in the system menu bar? The result of your "put" statement says there is no menubar assigned to that stack (the last item is empty.) Do you see the group in the App Browser when you look at that card? > > OK, I found it. in my setMenus handler, I have > > set the menuBar of stack otWnNm to the long id of group "stk_menu" of > stack otWnNm > > (sometimes set only for macos) You've assigned a menu from a different stack. This does not copy the group, it just loads that menu into the Mac system menu bar. On Windows there will be no menus because the group isn't placed on that card. > > This line is making the group visible, but checking editMenus shows that it > is still false. This is confusing. If there is no physical group placed on that card, nothing should show. If you mean the menus are in the system menu bar, then it makes sense; the menus are being loaded from a group on a different stack, which is only possible on a Mac. I think you're making this too hard. Create the menu group in Out0, set its backgroundBehavior to true, and place it on every card in that stack. Set the menubar of Out0 to the short name of the group. You don't need to script anything else for menu setup, just do this once during development. When you clone the stack it should just work. Unless you are changing the content of the menu buttons dynamically, you won't need a setMenus handler. The state of editMenus is not saved with the stack, it will change to its default of false on a Mac and true on Windows on each launch. So you don't really need to worry about that in the final app, it's a development tool. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at livecode.org Sun Mar 15 15:51:04 2015 From: paul at livecode.org (Paul Hibbert) Date: Sun, 15 Mar 2015 12:51:04 -0700 Subject: LC8 Crash while importing JPG image In-Reply-To: References: Message-ID: <88A81795-F806-4116-AB48-8D610C98FF33@livecode.org> Works fine here on Mac OS X Yosemite. I tried a small 40KB JPG to start with, then a 1MB JPG, both worked as expected. Paul > On Mar 15, 2015, at 10:49 AM, Alejandro Tejada wrote: > > Hi All, > > Please verify if this crash happens in your platform > while importing a JPG image into a stack created > in LC8: > > Write in the message box: > create stack > > After the new stack appears, write in the message box: > create image > > Now, using the Pointer Tool, select the (invisible) image > in the center of the stack and in the Menu Object, > select Object Properties... > > In the Object Properties palette, click > the Source button [...] and select a JPG image > > LiveCode 8 hangs and become unresponsive. > > PNG and Animated GIF imports fine, without problems > and (surprise) Animated GIF could be scaled (up and down) nicely! :D > > Alejandro > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Sun Mar 15 15:52:28 2015 From: livfoss at mac.com (Graham Samuel) Date: Sun, 15 Mar 2015 20:52:28 +0100 Subject: Array Confusion [was: Re: Does 'exists' work on arrays?] In-Reply-To: References: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> <17CB98DA-9594-444E-B6A5-F3CEB2DED25E@gmail.com> <236A92D5-5234-4AA1-9C3A-E497A3929102@mac.com> Message-ID: <04F25E9B-8E12-4D75-AAC4-23C97AE06BA6@mac.com> Thanks Mike I can?t see how anyone could possibly infer that from the entry in the LC Dictionary, which just says > The keys function returns a list of keys, one per line. Thanks for that clarification - I really needed it! In passing, I think the whole topic of arrays is very poorly treated both in the User Guide and the Dictionary. Just my two (Euro) cents Thanks again Graham > On 15 Mar 2015, at 20:38, Mike Bonner wrote: > > try " put the keys of gGeneralArray["gpx"] and you'll get the next level of > keys. > > On Sun, Mar 15, 2015 at 1:27 PM, Graham Samuel wrote: > [snip] >> >> put the keys of gGeneralArray >> >> I just get >> >> gpx >> >> But I can see all the other keys (can?t I?) in above display and in the >> IDE - they derive from different levels of angle brackets in the XML. >> Perhaps I?m simply going crazy. >> From scott at tactilemedia.com Sun Mar 15 15:53:25 2015 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 15 Mar 2015 12:53:25 -0700 Subject: Glyph Text in LC7 Won't Wrap Message-ID: I have a text field that is filled with tab delimited glyph characters from an icon font (FontAwesome). The field wraps as expected in LC 6.7, but displays all characters on a single line in LC 7.0.3 regardless of the dontWrap setting. The dontWrap property works because if I place Roman text in the field, it wraps as expected. This seems due to the new Unicode text handling, but now how now do I get the field to wrap its glyph character text? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From mikedoub at gmail.com Sun Mar 15 16:00:38 2015 From: mikedoub at gmail.com (Michael Doub) Date: Sun, 15 Mar 2015 16:00:38 -0400 Subject: charWrap In-Reply-To: <5505A64D.2090505@gmail.com> References: <5505A64D.2090505@gmail.com> Message-ID: <5505E4E6.7040601@gmail.com> Richmond, You might find the SoftLineBreaks function of the MasterLibrary of interest. This function returns information about how the text within a field has been soft wrapped. -= Mike On 3/15/15 11:33 AM, Richmond wrote: > Crude stack that performs char wrapping here: > http://forums.livecode.com/viewtopic.php?f=6&t=10810&start=30 > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Mar 15 16:10:22 2015 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Mar 2015 22:10:22 +0200 Subject: Glyph Text in LC7 Won't Wrap In-Reply-To: References: Message-ID: <5505E72E.7000005@gmail.com> On 15/03/15 21:53, Scott Rossi wrote: > I have a text field that is filled with tab delimited glyph characters > from an icon font (FontAwesome). The field wraps as expected in LC 6.7, > but displays all characters on a single line in LC 7.0.3 regardless of the > dontWrap setting. The dontWrap property works because if I place Roman > text in the field, it wraps as expected. > > This seems due to the new Unicode text handling, but now how now do I get > the field to wrap its glyph character text? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > http://forums.livecode.com/viewtopic.php?f=6&t=10810&start=30 Richmond. From richmondmathewson at gmail.com Sun Mar 15 16:12:10 2015 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Mar 2015 22:12:10 +0200 Subject: charWrap In-Reply-To: <5505E4E6.7040601@gmail.com> References: <5505A64D.2090505@gmail.com> <5505E4E6.7040601@gmail.com> Message-ID: <5505E79A.6040101@gmail.com> On 15/03/15 22:00, Michael Doub wrote: > Richmond, > > You might find the SoftLineBreaks function of the MasterLibrary of > interest. This function returns information about how the text > within a field has been soft wrapped. > > -= Mike > I prefer working within the constraints of Livecode, Ding-an-Sich, rather than with any add-ons. Richmond. From jacque at hyperactivesw.com Sun Mar 15 16:20:51 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 15 Mar 2015 15:20:51 -0500 Subject: Does 'exists' work on arrays? In-Reply-To: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> References: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> Message-ID: <5505E9A3.6000806@hyperactivesw.com> On 3/15/2015 11:50 AM, Graham Samuel wrote: > Still struggling with arrays: no results, no error messages, no data? will get there no doubt. While trying to get there, I tried > > put exists(myArray[?gpx?]) > > I got ?false?, but the IDE seems to say that the top key in this multidimensional array is ?gpx?, so why isn?t it true? "Exists" is only for card controls. Array elements are variables, so myArray(["gpx"]) resolves to the content of whatever is stored inside the gpx variable. If you want to know whether there's a key named "gpx" then: put "gpx" is among the lines of the keys of myArray If you want to know the content of the key named "gpx": put myArray["gpx"] Devin had a cool way to explain arrays in one of our classes some years ago. He just held up an egg carton. That's an array. Each egg depression holds some kind of egg (a variable.) The egg carton can be big enough that each egg depression holds a whole different egg carton. carton[1] = the egg in the first slot carton[1][3] = the egg in the third slot of the carton that's in slot 1 of the main carton The slots can be named instead of numbered. The names identify the slots, not the contents: carton["gooseEggs"] = the value of whatever is in the slot named "gooseEggs" in the main carton carton["gooseEggs"]["Canadian"] = the value in the slot named "Canadian" of the carton that's named "gooseEggs" which is inside the main carton And yeah, it gets confusing when the arrays get big. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From skip at magicgate.com Sun Mar 15 16:41:40 2015 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sun, 15 Mar 2015 16:41:40 -0400 Subject: WatchKit Message-ID: Anybody experimented yet with Apple's WatchKit? Is it possible to create an app for this using LC? Just downloaded the 8.2 simulator but have not played around with it yet. Would love to hear your feedback and take on this! SKIP From bonnmike at gmail.com Sun Mar 15 16:45:20 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 15 Mar 2015 14:45:20 -0600 Subject: Does 'exists' work on arrays? In-Reply-To: References: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> <17CB98DA-9594-444E-B6A5-F3CEB2DED25E@gmail.com> Message-ID: If the scripts are used as a library, and one wishes to look at the local variables for an object you can use send.. So you could use "the localnames" in a script in your library to get a list of variables. send "myfunctionthatgetslocals" to.. Since this would be for dev use, it could default to the selobj maybe? Or prompt the user to select an object or.. Globals are both easier and harder. Getting the names? Easy, they're global. It seems that one would have to ensure they were actually declared in whatever object is executing the script. But since they're global, no send would be required, just declare them in the library and start digging through them. (meaning, get the global list, filter out things with $* and *rev* and msg and each, then: do "global theglobalname" to declare it and make it accessible. Have messed with this just a little.. it seems to me that just declaring a global would be enough to make it show up in the globalnames, but apparently this isn't so? One must actually use the global (even just setting it empty) to make it show up? Or am I missing something? Seems like it should appear in the globalnames as soon as the containing script is compiled. Either way, now I know. On Sun, Mar 15, 2015 at 1:41 PM, Peter Haworth wrote: > I've been thinking of pulling that code out and making it available as a > free utility but I can't quite figure out the best way for a user to point > it to the variable containing the array. > > On Sun, Mar 15, 2015 at 12:35 PM Mike Bonner wrote: > > > Thank you! Will have to study the script, and will check out > lcstackbrowser > > too. > > > > On Sun, Mar 15, 2015 at 1:21 PM, Peter Haworth wrote: > > > > > lcStackBrowser has one but it only operates on custom properties not > > > variables. Search keys, delete keys, change key values, add new keys > all > > > available. > > > > > > And there's always the script editor variables tab. > > > > > > On Sun, Mar 15, 2015 at 11:32 AM Peter M. Brigham > > > wrote: > > > > > > > Not a utility, but here's a way of displaying a multilevel array so > you > > > > can see its structure. > > > > > > > > -- Peter > > > > > > > > Peter M. Brigham > > > > pmbrig at gmail.com > > > > http://home.comcast.net/~pmbrig > > > > > > > > ------- > > > > > > > > function displayArray @pArray, pFullData, _pDimension > > > > -- by Peter M. Brigham, pmbrig at gmail.com ? freeware > > > > -- adapted from a handler by Trevor DeVore > > > > -- displays an array as an outline-style list > > > > -- most useful for multidimensional arrays, to see the structure > > > > -- if an element of the array contains more than one line, > > > > -- the first line only will be displayed (less confusing to > look > > > at) > > > > -- if you want to see the full data then pass pFullData = true > > > > -- _pDimension is an internally used parameter > > > > -- pArray is referenced to avoid duplicating large arrays in > memory, > > > > -- but the array is not altered by this function > > > > > > > > -- call it like this: put displayArray(tArray) into fld "peruse" > > > > > > > > -- requires makestring() > > > > > > > > if _pDimension is empty then put 0 into _pDimension > > > > if pFullData = empty then put false into pFullData > > > > put ": " into divString > > > > put the keys of pArray into theKeys > > > > if line 1 of theKeys is a number then > > > > sort theKeys numeric > > > > else > > > > sort theKeys > > > > end if > > > > repeat for each line theKey in theKeys > > > > if pArray[theKey] is an array then > > > > put makeString(space,_pDimension*3) & theKey & cr after > > theText > > > > put pArray[theKey] into theTempArray > > > > put displayArray(theTempArray, pFullData, _pDimension + 1) > > after > > > > theText > > > > else > > > > if pFullData then > > > > put makeString(space,_pDimension*3) & theKey & ":" \ > > > > && pArray[theKey] & cr after theText > > > > else > > > > put pArray[theKey] into tElement > > > > put empty into tTrailer > > > > if the number of lines of tElement > 1 then > > > > put " ..." into tTrailer > > > > end if > > > > put makeString(space,_pDimension*3) & theKey & divString > \ > > > > & (line 1 of tElement) & tTrailer & cr after > theText > > > > end if > > > > end if > > > > end repeat > > > > return theText > > > > end displayArray > > > > > > > > function makeString pChar, n > > > > -- returns a string of n characters (pChar) > > > > -- no repeat loop! > > > > -- by Peter M. Brigham, pmbrig at gmail.com ? freeware > > > > -- improved by Richard Gaskin > > > > set the linedel to pChar > > > > put pChar into line n of temp > > > > return temp > > > > end makeString > > > > > > > > > > > > On Mar 15, 2015, at 2:19 PM, Mike Bonner wrote: > > > > > > > > > If you are just trying to get a handle on the structure, and how to > > > pull > > > > > out specific chunks, you can declare it global, and use the message > > box > > > > to > > > > > poke around. > > > > > > > > > > If its global, in the multiline msg box declare it too, and "put > the > > > keys > > > > > of... " > > > > > Then adjust it to look at subkey contents, poking around till you > > > figure > > > > > out where things are. > > > > > > > > > > And now i'm wondering if anyone has built an array browser utility? > > > > > > > > > > On Sun, Mar 15, 2015 at 11:56 AM, Scott Rossi < > > scott at tactilemedia.com> > > > > > wrote: > > > > > > > > > >> Try: if myArray is an array > > > > >> > > > > >> > > > > >> Regards, > > > > >> > > > > >> Scott Rossi > > > > >> Creative Director > > > > >> Tactile Media, UX/UI Design > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> On 3/15/15, 9:50 AM, "Graham Samuel" wrote: > > > > >> > > > > >>> Still struggling with arrays: no results, no error messages, no > > > data? > > > > >>> will get there no doubt. While trying to get there, I tried > > > > >>> > > > > >>> put exists(myArray[?gpx?]) > > > > >>> > > > > >>> I got ?false?, but the IDE seems to say that the top key in this > > > > >>> multidimensional array is ?gpx?, so why isn?t it true? > > > > >>> > > > > >>> Puzzled on a wet Sunday afternoon? > > > > >>> > > > > >>> Graham > > > > >>> > > > > >>> > > > > >>> > > > > >>> _______________________________________________ > > > > >>> use-livecode mailing list > > > > >>> use-livecode at lists.runrev.com > > > > >>> Please visit this url to subscribe, unsubscribe and manage your > > > > >>> subscription preferences: > > > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > >> > > > > >> > > > > >> > > > > >> _______________________________________________ > > > > >> use-livecode mailing list > > > > >> use-livecode at lists.runrev.com > > > > >> Please visit this url to subscribe, unsubscribe and manage your > > > > >> subscription preferences: > > > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > >> > > > > > _______________________________________________ > > > > > use-livecode mailing list > > > > > use-livecode at lists.runrev.com > > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mikedoub at gmail.com Sun Mar 15 17:49:25 2015 From: mikedoub at gmail.com (mikedoub at gmail.com) Date: Sun, 15 Mar 2015 17:49:25 -0400 Subject: charWrap In-Reply-To: <5505E79A.6040101@gmail.com> References: <5505A64D.2090505@gmail.com> <5505E4E6.7040601@gmail.com> <5505E79A.6040101@gmail.com> Message-ID: <20150315214925.6037650.63277.11645@gmail.com> It it totally livecode. ? ? Original Message ? From: Richmond Sent: Sunday, March 15, 2015 4:12 PM To: How to use LiveCode Reply To: How to use LiveCode Subject: Re: charWrap On 15/03/15 22:00, Michael Doub wrote: > Richmond, > > You might find the SoftLineBreaks function of the MasterLibrary of > interest. This function returns information about how the text > within a field has been soft wrapped. > > -= Mike > I prefer working within the constraints of Livecode, Ding-an-Sich, rather than with any add-ons. Richmond. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Sun Mar 15 18:03:54 2015 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 15 Mar 2015 15:03:54 -0700 Subject: Glyph Text in LC7 Won't Wrap In-Reply-To: <5505E72E.7000005@gmail.com> References: <5505E72E.7000005@gmail.com> Message-ID: On 3/15/15, 1:10 PM, "Richmond" wrote: >On 15/03/15 21:53, Scott Rossi wrote: >> I have a text field that is filled with tab delimited glyph characters >> from an icon font (FontAwesome). The field wraps as expected in LC 6.7, >> but displays all characters on a single line in LC 7.0.3 regardless of >>the >> dontWrap setting. The dontWrap property works because if I place Roman >> text in the field, it wraps as expected. >> >> This seems due to the new Unicode text handling, but now how now do I >>get >> the field to wrap its glyph character text? >> >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >http://forums.livecode.com/viewtopic.php?f=6&t=10810&start=30 > >Richmond. The bottom line is one shouldn?t have to do anything like this when text is separated by spaces or tabs. Text should wrap automatically. That said, if using LC 6.5 or later, you can do what you show in your stack much more dynamically by using something like the measureText function within a resizeControl handler. Unlock your source field, and add the following script to the field: on resizeControl local theWrappedText put width of me into myWidth put margins of me into myMargins subtract item 1 of myMargins from myWidth if item 3 of myMargins is not empty then subtract item 3 of myMargins from myWidth else subtract item 1 of myMargins from myWidth put text of me into myText replace return with empty in myText -- RESET TEXT lock screen put 1 into S repeat with N = 1 to number of chars of myText put measureText(char S to N of myText,me) into theLineWidth if theLineWidth > myWidth then put return after theWrappedText put N into S end if put char N of myText after theWrappedText end repeat set text of me to theWrappedText unlock screen end resizeControl You also make the field wrap instantaneous by placing the field in a group and triggering the wrap from resizing the group since groups generate the resizeControl message while they?re being resized. A sample of this has been uploaded to your post in the forum. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From livfoss at mac.com Sun Mar 15 18:04:26 2015 From: livfoss at mac.com (Graham Samuel) Date: Sun, 15 Mar 2015 23:04:26 +0100 Subject: Does 'exists' work on arrays? In-Reply-To: <5505E9A3.6000806@hyperactivesw.com> References: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> <5505E9A3.6000806@hyperactivesw.com> Message-ID: That looks just like my box model to me - very gratifying! It may possibly show that I?m getting the hang of it at last. Thanks for the correction on the idea of an object - I see now that it has to be a control, something that is capable of being displayed: so not a variable, array, script etc. Cheers Graham > On 15 Mar 2015, at 21:20, J. Landman Gay wrote: > > On 3/15/2015 11:50 AM, Graham Samuel wrote: >> Still struggling with arrays: no results, no error messages, no data? will get there no doubt. While trying to get there, I tried >> >> put exists(myArray[?gpx?]) >> >> I got ?false?, but the IDE seems to say that the top key in this multidimensional array is ?gpx?, so why isn?t it true? > > "Exists" is only for card controls. Array elements are variables, so myArray(["gpx"]) resolves to the content of whatever is stored inside the gpx variable. > > If you want to know whether there's a key named "gpx" then: > > put "gpx" is among the lines of the keys of myArray > > If you want to know the content of the key named "gpx": > > put myArray["gpx"] > > Devin had a cool way to explain arrays in one of our classes some years ago. He just held up an egg carton. That's an array. Each egg depression holds some kind of egg (a variable.) The egg carton can be big enough that each egg depression holds a whole different egg carton. > > carton[1] = the egg in the first slot > carton[1][3] = the egg in the third slot of the carton that's in slot 1 of the main carton > > The slots can be named instead of numbered. The names identify the slots, not the contents: > > carton["gooseEggs"] = the value of whatever is in the slot named "gooseEggs" in the main carton > > carton["gooseEggs"]["Canadian"] = the value in the slot named "Canadian" of the carton that's named "gooseEggs" which is inside the main carton > > And yeah, it gets confusing when the arrays get big. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Sun Mar 15 18:10:05 2015 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 15 Mar 2015 18:10:05 -0400 Subject: WatchKit & AndroidWear Message-ID: I haven't looked at WatchKit yet, but I have looked into LC apps for smart watches running AndroidWear OS. Previously, a lite Android 4.4w (KitKat for wearables) existed, until the official API was announced in January, 2015. https://developer.android.com/wear I look forward to hearing from Runtime Revolution on their plans of support for these new devices. For the record, current LiveCode built apps will run on Android 4.4w. I have played around with that with a watch I was given for Christmas. All that really changes is the screen size. Fun times! On Mar 15, 2015 4:42 PM, "Magicgate Software - Skip Kimpel" < skip at magicgate.com> wrote: > Anybody experimented yet with Apple's WatchKit? Is it possible to create > an app for this using LC? > > Just downloaded the 8.2 simulator but have not played around with it yet. > > Would love to hear your feedback and take on this! > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Mar 15 18:10:41 2015 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 16 Mar 2015 00:10:41 +0200 Subject: Glyph Text in LC7 Won't Wrap In-Reply-To: References: <5505E72E.7000005@gmail.com> Message-ID: <015A17F5-7C52-4575-B563-C928586DF0CC@gmail.com> The whole point of my stack was to wrap a long string that contained NO spaces. Richmond. from my jail-broken, recycled iPad 1 On 16 Mar 2015, at 00:03, Scott Rossi wrote: > > On 3/15/15, 1:10 PM, "Richmond" wrote: > >> On 15/03/15 21:53, Scott Rossi wrote: >>> I have a text field that is filled with tab delimited glyph characters >>> from an icon font (FontAwesome). The field wraps as expected in LC 6.7, >>> but displays all characters on a single line in LC 7.0.3 regardless of >>> the >>> dontWrap setting. The dontWrap property works because if I place Roman >>> text in the field, it wraps as expected. >>> >>> This seems due to the new Unicode text handling, but now how now do I >>> get >>> the field to wrap its glyph character text? >>> >>> Thanks & Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >> http://forums.livecode.com/viewtopic.php?f=6&t=10810&start=30 >> >> Richmond. > > > The bottom line is one shouldn?t have to do anything like this when text > is separated by spaces or tabs. Text should wrap automatically. > > That said, if using LC 6.5 or later, you can do what you show in your > stack much more dynamically by using something like the measureText > function within a resizeControl handler. Unlock your source field, and > add the following script to the field: > > on resizeControl > local theWrappedText > put width of me into myWidth > put margins of me into myMargins > subtract item 1 of myMargins from myWidth > if item 3 of myMargins is not empty then > subtract item 3 of myMargins from myWidth > else subtract item 1 of myMargins from myWidth > put text of me into myText > replace return with empty in myText -- RESET TEXT > lock screen > put 1 into S > repeat with N = 1 to number of chars of myText > put measureText(char S to N of myText,me) into theLineWidth > if theLineWidth > myWidth then > put return after theWrappedText > put N into S > end if > put char N of myText after theWrappedText > end repeat > set text of me to theWrappedText > unlock screen > end resizeControl > > You also make the field wrap instantaneous by placing the field in a group > and triggering the wrap from resizing the group since groups generate the > resizeControl message while they?re being resized. A sample of this has > been uploaded to your post in the forum. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Sun Mar 15 18:18:08 2015 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 15 Mar 2015 15:18:08 -0700 Subject: Glyph Text in LC7 Won't Wrap In-Reply-To: <015A17F5-7C52-4575-B563-C928586DF0CC@gmail.com> References: <5505E72E.7000005@gmail.com> <015A17F5-7C52-4575-B563-C928586DF0CC@gmail.com> Message-ID: Which is exactly what the stack I posted does, but is not the problem in my case. The text I?m working with is tab delimited. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/15/15, 3:10 PM, "Richmond" wrote: >The whole point of my stack was to wrap a long string that contained NO >spaces. > >Richmond. > >from my jail-broken, recycled iPad 1 > > >On 16 Mar 2015, at 00:03, Scott Rossi wrote: > >> >> On 3/15/15, 1:10 PM, "Richmond" wrote: >> >>> On 15/03/15 21:53, Scott Rossi wrote: >>>> I have a text field that is filled with tab delimited glyph characters >>>> from an icon font (FontAwesome). The field wraps as expected in LC >>>>6.7, >>>> but displays all characters on a single line in LC 7.0.3 regardless of >>>> the >>>> dontWrap setting. The dontWrap property works because if I place >>>>Roman >>>> text in the field, it wraps as expected. >>>> >>>> This seems due to the new Unicode text handling, but now how now do I >>>> get >>>> the field to wrap its glyph character text? >>>> >>>> Thanks & Regards, >>>> >>>> Scott Rossi >>>> Creative Director >>>> Tactile Media, UX/UI Design >>>> >>>> >>>> >>> http://forums.livecode.com/viewtopic.php?f=6&t=10810&start=30 >>> >>> Richmond. >> >> >> The bottom line is one shouldn?t have to do anything like this when text >> is separated by spaces or tabs. Text should wrap automatically. >> >> That said, if using LC 6.5 or later, you can do what you show in your >> stack much more dynamically by using something like the measureText >> function within a resizeControl handler. Unlock your source field, and >> add the following script to the field: >> >> on resizeControl >> local theWrappedText >> put width of me into myWidth >> put margins of me into myMargins >> subtract item 1 of myMargins from myWidth >> if item 3 of myMargins is not empty then >> subtract item 3 of myMargins from myWidth >> else subtract item 1 of myMargins from myWidth >> put text of me into myText >> replace return with empty in myText -- RESET TEXT >> lock screen >> put 1 into S >> repeat with N = 1 to number of chars of myText >> put measureText(char S to N of myText,me) into theLineWidth >> if theLineWidth > myWidth then >> put return after theWrappedText >> put N into S >> end if >> put char N of myText after theWrappedText >> end repeat >> set text of me to theWrappedText >> unlock screen >> end resizeControl >> >> You also make the field wrap instantaneous by placing the field in a >>group >> and triggering the wrap from resizing the group since groups generate >>the >> resizeControl message while they?re being resized. A sample of this has >> been uploaded to your post in the forum. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Sun Mar 15 18:25:54 2015 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 15 Mar 2015 15:25:54 -0700 Subject: Glyph Text in LC7 Won't Wrap In-Reply-To: References: Message-ID: OK apparently tab characters are an issue with breaks/wrapping. It seems LC7 doesn?t see fit to auto-wrap text at tabs, so is there some property or similar that can be set to enable this? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/15/15, 12:53 PM, "Scott Rossi" wrote: >I have a text field that is filled with tab delimited glyph characters >from an icon font (FontAwesome). The field wraps as expected in LC 6.7, >but displays all characters on a single line in LC 7.0.3 regardless of >the >dontWrap setting. The dontWrap property works because if I place Roman >text in the field, it wraps as expected. > >This seems due to the new Unicode text handling, but now how now do I get >the field to wrap its glyph character text? > >Thanks & Regards, > >Scott Rossi >Creative Director >Tactile Media, UX/UI Design > From keith.clarke at me.com Sun Mar 15 18:50:49 2015 From: keith.clarke at me.com (Keith Clarke) Date: Sun, 15 Mar 2015 22:50:49 +0000 Subject: Pre-select / highlight list field lines on cardOpen? Message-ID: Folks, I?m using the selected lines of a list field as a simple filter. However, when I navigate from the card & return, the selected lines are forgotten - so the filter has to be reset manually. So, I?ve added a script to trap the selections & save to stack-level custom properties, so they?re available on cardOpen... on mouseUp put the selectedText of me into tScheduleFieldSelected set the ScheduleFieldSelected of this stack to tScheduleFieldSelected end mouseUp ? but I?m struggling with errors on the openCard script to set the selected lines... on openCard // Set the Extract folder // Get the CSV files into memory // Get Selected Field put the ScheduleFieldSelected of this stack into tScheduleFieldSelected repeat for each line tField in field ScheduleFields if tField is among the lines of tScheduleFieldSelected then highlight tField end repeat end openCard LiveCode errors with ...(Handler: can't find handler) near ?highlight?... Is this a simple syntax issue or is it not possible to select / highlight list field lines via code? I can?t find anything in the documentation or Google on forcing selection in lists. Thanks & regards, Keith.. From scott at tactilemedia.com Sun Mar 15 18:58:23 2015 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 15 Mar 2015 15:58:23 -0700 Subject: Pre-select / highlight list field lines on cardOpen? In-Reply-To: References: Message-ID: If I understand what you?re asking, I think you want the hilitedLines (or hilitedLine) property. set the hilitedLines of field ?myList" to 3 -- hilite the 3rd line Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/15/15, 3:50 PM, "Keith Clarke" wrote: >Folks, >I?m using the selected lines of a list field as a simple filter. However, >when I navigate from the card & return, the selected lines are forgotten >- so the filter has to be reset manually. > >So, I?ve added a script to trap the selections & save to stack-level >custom properties, so they?re available on cardOpen... > >on mouseUp > put the selectedText of me into tScheduleFieldSelected > set the ScheduleFieldSelected of this stack to tScheduleFieldSelected >end mouseUp > >? but I?m struggling with errors on the openCard script to set the >selected lines... > >on openCard > // Set the Extract folder > > // Get the CSV files into memory > > // Get Selected Field > put the ScheduleFieldSelected of this stack into tScheduleFieldSelected > > repeat for each line tField in field ScheduleFields > if tField is among the lines of tScheduleFieldSelected then >highlight tField > end repeat >end openCard > >LiveCode errors with ...(Handler: can't find handler) near ?highlight?... > >Is this a simple syntax issue or is it not possible to select / highlight >list field lines via code? I can?t find anything in the documentation or >Google on forcing selection in lists. >Thanks & regards, >Keith.. >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sun Mar 15 19:11:32 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 15 Mar 2015 16:11:32 -0700 Subject: Does 'exists' work on arrays? In-Reply-To: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> References: <417D5CF7-FB07-4D28-8F71-E7D0678C5DF1@mac.com> Message-ID: On Sun, Mar 15, 2015 at 9:50 AM, Graham Samuel wrote: > put exists(myArray[?gpx?]) > > I got ?false?, but the IDE seems to say that the top key in this > multidimensional array is ?gpx?, so why isn?t it true? > put ( "gpx" is among the words of the keys of myArray) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Sun Mar 15 19:15:40 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 15 Mar 2015 16:15:40 -0700 Subject: Glyph Text in LC7 Won't Wrap In-Reply-To: References: Message-ID: <5506129C.3090601@fourthworld.com> Scott Rossi wrote: > OK apparently tab characters are an issue with breaks/wrapping. It seems > LC7 doesn?t see fit to auto-wrap text at tabs, so is there some property > or similar that can be set to enable this? It's the fixEngine global property. :) Reported 7 March, confirmed: -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Sun Mar 15 19:22:17 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 15 Mar 2015 16:22:17 -0700 Subject: What property does "set as stack menubar" set? In-Reply-To: <5505E271.10700@hyperactivesw.com> References: <5504B423.2000303@hyperactivesw.com> <5504EA36.9090703@hyperactivesw.com> <5505E271.10700@hyperactivesw.com> Message-ID: On Sun, Mar 15, 2015 at 12:50 PM, J. Landman Gay wrote: > On 3/15/2015 8:12 AM, Dr. Hawkins wrote: > >> put the editMenus of stack out0, the vis of grp stk_menu of stack out0, >> the >> menubar of stack out0 >> >> yields >> fase, true, >> >> I clone stack out0, name it to out 1, and the menu now appears on the >> card. >> > > Is it really on the card, or just in the system menu bar? The result of > your "put" statement says there is no menubar assigned to that stack (the > last item is empty.) Do you see the group in the App Browser when you look > at that card? > Yet the group is there in the application browser. I have no idea how to figure out whether the displayed menu is from the source stack, or the cloned stack itself. But in any event, the cloned stack is not an exact clone. I also have each "normal" (non palette) stack setting its menu as the default menu bar when opening or resuming. > > >> OK, I found it. in my setMenus handler, I have >> >> set the menuBar of stack otWnNm to the long id of group "stk_menu" of >> stack otWnNm >> >> (sometimes set only for macos) >> > > You've assigned a menu from a different stack. This does not copy the > group, it just loads that menu into the Mac system menu bar. On Windows > there will be no menus because the group isn't placed on that card. > Am I missing something? both seem to be stack otWnNm (which holds a short name) I have a maintenance routine that runs when the filename/version changes. It loops through the user visible stacks, copies the mcp menu to cd 1 if there is not already a menu of one of the two defined names (i.e., mcp_menu for generic menus, and stk_menu if the stack has it's own), and then places the menu on cd 1 of these stacks on any other cards in the stack that lack a menu of the same name (I understand that this is unnecessary for mack) > > >> This line is making the group visible, but checking editMenus shows that >> it >> is still false. >> > > This is confusing. If there is no physical group placed on that card, > nothing should show. If you mean the menus are in the system menu bar, then > it makes sense; the menus are being loaded from a group on a different > stack, which is only possible on a Mac. > There are menus on every card of every stack (by a background group) > > I think you're making this too hard. Create the menu group in Out0, set > its backgroundBehavior to true, and place it on every card in that stack. > Set the menubar of Out0 to the short name of the group. You don't need to > script anything else for menu setup, just do this once during development. > When you clone the stack it should just work. I think this is what I'm doing. > Unless you are changing the content of the menu buttons dynamically, you > won't need a setMenus handler. > I need to change dynamically, yes. The first six entries of the Window menu stay the same, but as output windows are added and deleted, it changes. It's even using | so that I can use the displayed value to show the name of the card. 2-5 simultaneous output windows would probably be typical. The state of editMenus is not saved with the stack, it will change to its > default of false on a Mac and true on Windows on each launch. So you don't > really need to worry about that in the final app, it's a development tool. I didn't realize that . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sun Mar 15 19:24:37 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 15 Mar 2015 16:24:37 -0700 Subject: [OT] Apple Wireless mouse In-Reply-To: References: <55048088.7020508@hyperactivesw.com> <59436229-964E-4187-9BD5-DE29ADACF27E@gmail.com> <5504F7DD.40805@hyperactivesw.com> <6A089B2B-BB43-45F4-8BF9-445223D5D298@gmail.com> <5504FCA6.4050605@hyperactivesw.com> <1351139E-E335-459B-80D1-53AC28DF06B3@gmail.com> Message-ID: On Sun, Mar 15, 2015 at 8:21 AM, Peter Haworth wrote: > I'm putting it down to my electric personality. > > Seriously though, I wonder if it is due to static electricity > Your flesh near it certainly changes the dielectric constant of the air and such things. The mouse surface uses capacitance to detect position, doesn't it? So it is entirely possible . . . Remember tuning AM radios and televisions with rabbit ears, and the tuning changing as you pulled your hand away? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sun Mar 15 19:25:43 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 15 Mar 2015 16:25:43 -0700 Subject: [OT] Apple Wireless mouse In-Reply-To: References: <55048088.7020508@hyperactivesw.com> <6E6C29B7-F0B8-431B-BE3C-25D3C9C99A4C@gmail.com> Message-ID: On Sun, Mar 15, 2015 at 12:37 PM, Peter Haworth wrote: > Found this free app named MagicPrefs that gives you the capability of > configuring all sorts of things on the Magic Mouse (and trackpad and laptop > finger pads). > ... > I also have configured it to issue a right click when I click anywhere on > the right side of the mouse instead of just the area at the top right. > oooh, can it do middle click? I still miss unix cut/paste (by selection of text and middle click), and true focus-follows-mouse. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sun Mar 15 19:26:35 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 15 Mar 2015 16:26:35 -0700 Subject: Glyph Text in LC7 Won't Wrap In-Reply-To: <5506129C.3090601@fourthworld.com> References: <5506129C.3090601@fourthworld.com> Message-ID: On Sun, Mar 15, 2015 at 4:15 PM, Richard Gaskin wrote: > It's the fixEngine global property. :) > > Which is assigned to the DWIM key -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From scott at tactilemedia.com Sun Mar 15 19:33:26 2015 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 15 Mar 2015 16:33:26 -0700 Subject: Glyph Text in LC7 Won't Wrap In-Reply-To: <5506129C.3090601@fourthworld.com> References: <5506129C.3090601@fourthworld.com> Message-ID: If only the LiveCode guys had implemented this property in version 1 ? we?d never need to request fixes to anything ever again. :-) You have my vote! Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/15/15, 4:15 PM, "Richard Gaskin" wrote: > Scott Rossi wrote: >> OK apparently tab characters are an issue with breaks/wrapping. It >>seems >> LC7 doesn?t see fit to auto-wrap text at tabs, so is there some property >> or similar that can be set to enable this? > >It's the fixEngine global property. :) > >Reported 7 March, confirmed: > > >-- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and Web > ____________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Sun Mar 15 19:41:10 2015 From: keith.clarke at me.com (Keith Clarke) Date: Sun, 15 Mar 2015 23:41:10 +0000 Subject: Pre-select / highlight list field lines on cardOpen? In-Reply-To: References: Message-ID: <4ADAA4F5-8AF9-43D4-A024-DA920E664999@me.com> ?great, thanks Scott. I had tried setting the hilitedLines property on the field but that was throwing errors too. It turned out to be an error on the custom property setting end - as I was saving the selectedLines into the custom property (values) rather than hilitedLines (comma-delimited integers). All good now :-) Best, Keith.. > On 15 Mar 2015, at 22:58, Scott Rossi wrote: > > If I understand what you?re asking, I think you want the hilitedLines (or > hilitedLine) property. > > set the hilitedLines of field ?myList" to 3 -- hilite the 3rd line > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 3/15/15, 3:50 PM, "Keith Clarke" wrote: > >> Folks, >> I?m using the selected lines of a list field as a simple filter. However, >> when I navigate from the card & return, the selected lines are forgotten >> - so the filter has to be reset manually. >> >> So, I?ve added a script to trap the selections & save to stack-level >> custom properties, so they?re available on cardOpen... >> >> on mouseUp >> put the selectedText of me into tScheduleFieldSelected >> set the ScheduleFieldSelected of this stack to tScheduleFieldSelected >> end mouseUp >> >> ? but I?m struggling with errors on the openCard script to set the >> selected lines... >> >> on openCard >> // Set the Extract folder >> >> // Get the CSV files into memory >> >> // Get Selected Field >> put the ScheduleFieldSelected of this stack into tScheduleFieldSelected >> >> repeat for each line tField in field ScheduleFields >> if tField is among the lines of tScheduleFieldSelected then >> highlight tField >> end repeat >> end openCard >> >> LiveCode errors with ...(Handler: can't find handler) near ?highlight?... >> >> Is this a simple syntax issue or is it not possible to select / highlight >> list field lines via code? I can?t find anything in the documentation or >> Google on forcing selection in lists. >> Thanks & regards, >> Keith.. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Sun Mar 15 20:08:14 2015 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 16 Mar 2015 11:08:14 +1100 Subject: WatchKit & AndroidWear In-Reply-To: References: Message-ID: <162F827C-E14C-49FF-B5A1-469FB9BEAB4B@sweattechnologies.com> On 16 Mar 2015, at 9:10 am, Roger Eller wrote: > I look forward to hearing from Runtime Revolution on their plans of support > for these new devices. I hadn't looked at it until you're post prompted me... It doesn't look like it would be all that easy for LiveCode to support WatchKit as only UI resources are installed on the watch and the code runs on the phone. It would be feasible for them to come up with a way to script the extension but you would still need to do storyboards in Xcode and using the full engine for scripting a watch extension will bloat your app and given LC 7 is already much heavier it's probably better avoided. On the up side it doesn't look like there's anything stopping you building a watch app in Xcode then including it in your LC app. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From keith.clarke at me.com Sun Mar 15 20:24:35 2015 From: keith.clarke at me.com (Keith Clarke) Date: Mon, 16 Mar 2015 00:24:35 +0000 Subject: Denormalising CSV tables In-Reply-To: References: <26C3813F-6491-4987-8C05-FD86F6D6BF17@me.com> Message-ID: Thanks Peter - definitely time to learn more about arrays! :-) Best, Keith.. keith.clarke at improvedapps.com > On 15 Mar 2015, at 15:30, Peter Haworth wrote: > > OK, then I think the array approach is the way to go. But you'll still need > to parse the files which could be pain. Get yourself a copy of Alex > Tweedly's csv file parser, it takes care of all the gotchas. > > Another approach might be to create an sqlite database with the 4 tables in > it, load the data into it and then select it as mentioned and create the > denormalized csv file yourself > >> On Sun, Mar 15, 2015, 8:21 AM Keith Clarke wrote: >> >> Sadly, I have no control over the source CSVs - they are from a backup zip >> file. >> >> I?m trying to denormalise the key data down to the most detailed level in >> LiveCode to simplify a single import into Excel - to enable pivot table >> reporting without having to reconstruct the relationships in Excel using >> Vlookups. >> Best, >> Keith.. >> >>> On 15 Mar 2015, at 15:14, Peter Haworth wrote: >>> >>> Are you creating the csv file yourself? If so, it should be easy to use a >>> Select statement with JOINs to make one row for each group of related >>> entries from the four tables. >>> >>>> On Sun, Mar 15, 2015, 6:59 AM Keith Clarke wrote: >>>> >>>> Thanks for the steer, Mike. I?ve not really used arrays before, but this >>>> sounds a more efficient approach - so I?ll wok through the lessons & >> docs. >>>> Best, >>>> Keith.. >>>> >>>>> On 15 Mar 2015, at 13:21, Mike Doub wrote: >>>>> >>>>> Basically createa direct access to all the child tables. >>>>> >>>>>> On Sunday, March 15, 2015, Mike Doub wrote: >>>>>> >>>>>> Would it not be better to make the child table into an array indexed >> by >>>>>> its ID, then make a single pass thru the parent table using the child >> ID >>>>>> into the array. >>>>>> >>>>>> Mike >>>>>> >>>>>> On Sunday, March 15, 2015, Keith Clarke >>>>> > wrote: >>>>>> >>>>>>> Folks, >>>>>>> Is there a ?smart? way to denormalise ?child' & ?parent' CSV tables >>>>>>> extracted from an RDBMS in LiveCode or is it down to iterating >> through >>>>>>> lists using chunk functions? >>>>>>> >>>>>>> I have four tables, related in the database as >>>>>>> Child-Parent-GrandParent-GreatGrandParent. Each file has its own >>>> record ID >>>>>>> & the ID of its direct parent. I need to create a ?DenormalisedChild' >>>> file >>>>>>> with GrandParent & GreatGrandParent IDs appended to each row. >>>>>>> >>>>>>> I?m currently assuming the only way forward is to build a >>>>>>> tDenormalisedChild variable by repeated iteration at each ?level?: >>>>>>> Iterating through lines of the Child file to compare its >> ChildParentId >>>>>>> with each row in the the Parent file, until ParentRowId = >>>> ChildParentId; >>>>>>> Repeat (1) on Parent file rows to find ParentGrandParent values; >>>>>>> Repeat (1) on GrandParent file rows to get GreatGrandParent values >>>>>>> >>>>>>> Is their a more efficient approach? >>>>>>> Best, >>>>>>> Keith.. >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Sun Mar 15 20:42:16 2015 From: bvg at mac.com (Bjoernke von Gierke) Date: Mon, 16 Mar 2015 01:42:16 +0100 Subject: Laughing my socks off. In-Reply-To: <5505789A.50103@gmail.com> References: <5505789A.50103@gmail.com> Message-ID: <56C8FEF7-2CFC-4A5D-B934-A449C3564F37@mac.com> http://quality.runrev.com/enter_bug.cgi At option 4 "I can see this bug in", choose "Documentation" > On 15 Mar 2015, at 13:18, Richmond wrote: > > But in a slightly bitter way: > > So, I peeped into the "LiveCode Resource Center" under the heading "Linux Externals" > > this is on Livecode 7.0.4 rc1 . . . > > and read this: > > "One of the most important parts of the upcoming 2.9 release is that it contains an updated Linux engine full to the brim with features that were previously only available on Windows and Mac OS X. In particular, the old UNIX external mechanism has been replaced by one using shared libraries - thus gaining the same performance and implementation ease as the other platforms. > > In this article, we will introduce an updated version of the External Creator and show how to use it to produce a simple external that can be used on Linux. > > Before we begin > Before going any further you will need: > At least Revolution 2.9-dp-1 (Beta 8) up and running on a recent Linux distribution" > > > Somebody mentioned that the Documentation had been updated recently . . . I don't believe it. > > Seeing is believing. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Sun Mar 15 20:53:10 2015 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 16 Mar 2015 00:53:10 +0000 Subject: Getting the name of an iOS device? Message-ID: Hmm, I can?t find any obvious way of doing this. Is it possible with native commands or environment variables or do I need an external? Terry? Dr Terry Judd Senior Lecturer Department of Medical Education The University of Melbourne From roger.e.eller at sealedair.com Sun Mar 15 21:07:30 2015 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 15 Mar 2015 21:07:30 -0400 Subject: WatchKit & AndroidWear In-Reply-To: <162F827C-E14C-49FF-B5A1-469FB9BEAB4B@sweattechnologies.com> References: <162F827C-E14C-49FF-B5A1-469FB9BEAB4B@sweattechnologies.com> Message-ID: If it's not feasible for WatchKit, then how about the Android Wear API? On Mar 15, 2015 8:08 PM, "Monte Goulding" wrote: > > On 16 Mar 2015, at 9:10 am, Roger Eller > wrote: > > > I look forward to hearing from Runtime Revolution on their plans of > support > > for these new devices. > > I hadn't looked at it until you're post prompted me... It doesn't look > like it would be all that easy for LiveCode to support WatchKit as only UI > resources are installed on the watch and the code runs on the phone. It > would be feasible for them to come up with a way to script the extension > but you would still need to do storyboards in Xcode and using the full > engine for scripting a watch extension will bloat your app and given LC 7 > is already much heavier it's probably better avoided. On the up side it > doesn't look like there's anything stopping you building a watch app in > Xcode then including it in your LC app. > > Cheers > > Monte > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From simon at asato-media.com Sun Mar 15 21:07:58 2015 From: simon at asato-media.com (Simon) Date: Sun, 15 Mar 2015 18:07:58 -0700 (PDT) Subject: Getting the name of an iOS device? In-Reply-To: References: Message-ID: <1426468078995-4690221.post@n4.nabble.com> Hi Terry, Try "machine()" Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Getting-the-name-of-an-iOS-device-tp4690219p4690221.html Sent from the Revolution - User mailing list archive at Nabble.com. From terry.judd at unimelb.edu.au Sun Mar 15 21:33:02 2015 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 16 Mar 2015 01:33:02 +0000 Subject: Getting the name of an iOS device? In-Reply-To: <1426468078995-4690221.post@n4.nabble.com> References: <1426468078995-4690221.post@n4.nabble.com> Message-ID: Hi Simon - by name I mean the name that is assigned to the device when it is set up - e.g. ?Terry?s iPad 2? rather than the generic device name. Any ideas on how to get that (I want to be able to differentiate between devices in a class set). Terry... On 16/03/2015 12:07 pm, "Simon" wrote: >Hi Terry, >Try "machine()" > >Simon > > > >-- >View this message in context: >http://runtime-revolution.278305.n4.nabble.com/Getting-the-name-of-an-iOS- >device-tp4690219p4690221.html >Sent from the Revolution - User mailing list archive at Nabble.com. > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From simon at asato-media.com Sun Mar 15 21:41:32 2015 From: simon at asato-media.com (Simon) Date: Sun, 15 Mar 2015 18:41:32 -0700 (PDT) Subject: Getting the name of an iOS device? In-Reply-To: References: <1426468078995-4690221.post@n4.nabble.com> Message-ID: <1426470092102-4690223.post@n4.nabble.com> Sorry, I don't know that one. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Getting-the-name-of-an-iOS-device-tp4690219p4690223.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sun Mar 15 22:19:56 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 15 Mar 2015 21:19:56 -0500 Subject: What property does "set as stack menubar" set? In-Reply-To: References: <5504B423.2000303@hyperactivesw.com> <5504EA36.9090703@hyperactivesw.com> <5505E271.10700@hyperactivesw.com> Message-ID: <55063DCC.2090902@hyperactivesw.com> On 3/15/2015 6:22 PM, Dr. Hawkins wrote: > >> > >> > >>> >>OK, I found it. in my setMenus handler, I have >>> >> >>> >>set the menuBar of stack otWnNm to the long id of group "stk_menu" of >>> >>stack otWnNm Oh wait. It should be a name, not an ID. I don't know if an ID will work; apparently you're getting something. >> >You've assigned a menu from a different stack. This does not copy the >> >group, it just loads that menu into the Mac system menu bar. On Windows >> >there will be no menus because the group isn't placed on that card. >> > > Am I missing something? both seem to be stack otWnNm (which holds a short > name) > > I have a maintenance routine that runs when the filename/version changes. > It loops through the user visible stacks, copies the mcp menu to cd 1 if > there is not already a menu of one of the two defined names (i.e., mcp_menu > for generic menus, and stk_menu if the stack has it's own), and then places > the menu on cd 1 of these stacks on any other cards in the stack that lack > a menu of the same name (I understand that this is unnecessary for mack) I'm rapidly getting lost, but what it sounds like is that you have the menu group in the stack, but you're assigning the menubar to a group in a different stack. If that's the case, the menu group would be present in the clone as a regular group object but would not being used as the actual menubar -- it would be using the one in the other stack. If both menu groups are identical (which would be the case if they're clones) then they'd look the same in the system menu bar. But my mental picture of your setup is fuzzy. At any rate, you can try: set the menubar of stack to the long name of grp "stk_menu" of stack But again, you shouldn't need to do that. Assign the menubar to the original stack using a short name, and any cloned stack will be searched for it. It should work the same way a button reference does; the current stack is searched first. There shouldn't be a need for a handler to set it, but if there is for some reason, use the above syntax. After the clone is made you can reset any menu items you need to, using the clone stack in the group reference; i.e., grp "stk-menu" of stack "clonedStack". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 15 22:34:55 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 15 Mar 2015 21:34:55 -0500 Subject: What property does "set as stack menubar" set? In-Reply-To: <55063DCC.2090902@hyperactivesw.com> References: <5504B423.2000303@hyperactivesw.com> <5504EA36.9090703@hyperactivesw.com> <5505E271.10700@hyperactivesw.com> <55063DCC.2090902@hyperactivesw.com> Message-ID: <5506414F.50806@hyperactivesw.com> On 3/15/2015 9:19 PM, J. Landman Gay wrote: >>>> >>set the menuBar of stack otWnNm to the long id of group >>>> "stk_menu" of >>>> >>stack otWnNm > > Oh wait. It should be a name, not an ID. Thinking about this, the ID is likely the problem. The long ID locks the menu reference to the original stack, it's unique. You don't want that, you want a generic name so that the object hierarchy is searched. In the original source stack, set the menubar to "stk_menu" without any other qualifiers. Its clone should retain that setting, but when the engine tries to find the menu group it will find the one in the clone first. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sun Mar 15 23:40:54 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 15 Mar 2015 20:40:54 -0700 Subject: Laughing my socks off. In-Reply-To: <5505789A.50103@gmail.com> References: <5505789A.50103@gmail.com> Message-ID: <103261099321.20150315204054@ahsoftware.net> Richmond- Sunday, March 15, 2015, 5:18:34 AM, you wrote: > But in a slightly bitter way: > So, I peeped into the "LiveCode Resource Center" under the heading > "Linux Externals" Hmmm... I don't seem to have a 'LiveCode Resource Center' anywhere. Did I miss downloading something? But maybe more importantly, can you no longer create shared libraries for use as LC linux externals? -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From monte at sweattechnologies.com Sun Mar 15 23:44:26 2015 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 16 Mar 2015 14:44:26 +1100 Subject: Getting the name of an iOS device? In-Reply-To: References: <1426468078995-4690221.post@n4.nabble.com> Message-ID: <10CD5762-4DAB-4360-8200-8042277B1AF7@sweattechnologies.com> It's an easy external if that helps ;-) On 16 Mar 2015, at 12:33 pm, Terry Judd wrote: > Hi Simon - by name I mean the name that is assigned to the device when it > is set up - e.g. ?Terry?s iPad 2? rather than the generic device name. Any > ideas on how to get that (I want to be able to differentiate between > devices in a class set). > > Terry... > > On 16/03/2015 12:07 pm, "Simon" wrote: > >> Hi Terry, >> Try "machine()" >> >> Simon >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/Getting-the-name-of-an-iOS- >> device-tp4690219p4690221.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Sun Mar 15 23:49:51 2015 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 16 Mar 2015 14:49:51 +1100 Subject: WatchKit & AndroidWear In-Reply-To: References: <162F827C-E14C-49FF-B5A1-469FB9BEAB4B@sweattechnologies.com> Message-ID: <2EBCB0F8-8A79-4AF4-81B4-DBD945288A71@sweattechnologies.com> Looks like that will be much simpler to implement because it's a full app that's installed on the watch. Still I think there will be issues with app size because of the size of the LC 7 engine. On 16 Mar 2015, at 12:07 pm, Roger Eller wrote: > If it's not feasible for WatchKit, then how about the Android Wear API? > On Mar 15, 2015 8:08 PM, "Monte Goulding" > wrote: > >> >> On 16 Mar 2015, at 9:10 am, Roger Eller >> wrote: >> >>> I look forward to hearing from Runtime Revolution on their plans of >> support >>> for these new devices. >> >> I hadn't looked at it until you're post prompted me... It doesn't look >> like it would be all that easy for LiveCode to support WatchKit as only UI >> resources are installed on the watch and the code runs on the phone. It >> would be feasible for them to come up with a way to script the extension >> but you would still need to do storyboards in Xcode and using the full >> engine for scripting a watch extension will bloat your app and given LC 7 >> is already much heavier it's probably better avoided. On the up side it >> doesn't look like there's anything stopping you building a watch app in >> Xcode then including it in your LC app. >> >> Cheers >> >> Monte >> -- >> M E R Goulding >> Software development services >> Bespoke application development for vertical markets >> >> mergExt - There's an external for that! >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacque at hyperactivesw.com Mon Mar 16 00:16:27 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 15 Mar 2015 23:16:27 -0500 Subject: Laughing my socks off. In-Reply-To: <103261099321.20150315204054@ahsoftware.net> References: <5505789A.50103@gmail.com> <103261099321.20150315204054@ahsoftware.net> Message-ID: <5506591B.9040702@hyperactivesw.com> On 3/15/2015 10:40 PM, Mark Wieder wrote: > Hmmm... I don't seem to have a 'LiveCode Resource Center' anywhere. > Did I miss downloading something? Maybe he's still using an old version of LC. We now have the Start Center, and its content is live online where it can be kept updated. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Mon Mar 16 00:26:05 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 15 Mar 2015 21:26:05 -0700 Subject: Laughing my socks off. In-Reply-To: <5506591B.9040702@hyperactivesw.com> References: <5505789A.50103@gmail.com> <103261099321.20150315204054@ahsoftware.net> <5506591B.9040702@hyperactivesw.com> Message-ID: <154263810056.20150315212605@ahsoftware.net> Jacque- Sunday, March 15, 2015, 9:16:27 PM, you wrote: > On 3/15/2015 10:40 PM, Mark Wieder wrote: >> Hmmm... I don't seem to have a 'LiveCode Resource Center' anywhere. >> Did I miss downloading something? > Maybe he's still using an old version of LC. We now have the Start > Center, and its content is live online where it can be kept updated. Good one. I loaded up 5.5.4 and I see the Resource Center, and drilled down to the section on linux externals. AFAIK that process still works, because that's how I build linux externals. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From terry.judd at unimelb.edu.au Mon Mar 16 00:28:50 2015 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 16 Mar 2015 04:28:50 +0000 Subject: Getting the name of an iOS device? In-Reply-To: <10CD5762-4DAB-4360-8200-8042277B1AF7@sweattechnologies.com> References: <1426468078995-4690221.post@n4.nabble.com> <10CD5762-4DAB-4360-8200-8042277B1AF7@sweattechnologies.com> Message-ID: Thanks Monte - I?ll contact you off list about it in the next couple of days when I follow up with you about the other stuff. Cheers, Terry... On 16/03/2015 2:44 pm, "Monte Goulding" wrote: >It's an easy external if that helps ;-) > > >On 16 Mar 2015, at 12:33 pm, Terry Judd wrote: > >> Hi Simon - by name I mean the name that is assigned to the device when >>it >> is set up - e.g. ?Terry?s iPad 2? rather than the generic device name. >>Any >> ideas on how to get that (I want to be able to differentiate between >> devices in a class set). >> >> Terry... >> >> On 16/03/2015 12:07 pm, "Simon" wrote: >> >>> Hi Terry, >>> Try "machine()" >>> >>> Simon >>> >>> >>> >>> -- >>> View this message in context: >>> >>>http://runtime-revolution.278305.n4.nabble.com/Getting-the-name-of-an-iO >>>S- >>> device-tp4690219p4690221.html >>> Sent from the Revolution - User mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > >-- >M E R Goulding >Software development services >Bespoke application development for vertical markets > >mergExt - There's an external for that! > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Mon Mar 16 01:00:24 2015 From: pete at lcsql.com (Peter Haworth) Date: Mon, 16 Mar 2015 05:00:24 +0000 Subject: [OT] Apple Wireless mouse References: <55048088.7020508@hyperactivesw.com> <6E6C29B7-F0B8-431B-BE3C-25D3C9C99A4C@gmail.com> Message-ID: Yep, middle click setting is there. On Sun, Mar 15, 2015, 4:25 PM Dr. Hawkins wrote: > On Sun, Mar 15, 2015 at 12:37 PM, Peter Haworth wrote: > > > Found this free app named MagicPrefs that gives you the capability of > > configuring all sorts of things on the Magic Mouse (and trackpad and > laptop > > finger pads). > > ... > > I also have configured it to issue a right click when I click anywhere on > > the right side of the mouse instead of just the area at the top right. > > > > oooh, can it do middle click? > > I still miss unix cut/paste (by selection of text and middle click), and > true focus-follows-mouse. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Mon Mar 16 03:02:37 2015 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 16 Mar 2015 09:02:37 +0200 Subject: Laughing my socks off. In-Reply-To: <154263810056.20150315212605@ahsoftware.net> References: <5505789A.50103@gmail.com> <103261099321.20150315204054@ahsoftware.net> <5506591B.9040702@hyperactivesw.com> <154263810056.20150315212605@ahsoftware.net> Message-ID: <5506800D.2040408@gmail.com> Like the cow said to the dairyman: "Udderly hilarious" if you read my original posting properly you would find that I had opened the "Resource Center" in LC 7.0.4 rc1. I am at work now, the latest recension I have installed here is 7.0.1 rc2 and it HAS a resource thing as well. Richmond. On 03/16/2015 06:26 AM, Mark Wieder wrote: > Jacque- > > Sunday, March 15, 2015, 9:16:27 PM, you wrote: > >> On 3/15/2015 10:40 PM, Mark Wieder wrote: >>> Hmmm... I don't seem to have a 'LiveCode Resource Center' anywhere. >>> Did I miss downloading something? >> Maybe he's still using an old version of LC. We now have the Start >> Center, and its content is live online where it can be kept updated. > Good one. I loaded up 5.5.4 and I see the Resource Center, and drilled > down to the section on linux externals. AFAIK that process still > works, because that's how I build linux externals. > From ludovic.thebault at laposte.net Mon Mar 16 06:42:50 2015 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Mon, 16 Mar 2015 11:42:50 +0100 Subject: "Open in" for Android Message-ID: <449448B4-285A-4ADA-8918-F91BC38C503C@laposte.net> Hello, To open a file with your app in iOS, i found this thread : http://forums.livecode.com/viewtopic.php?f=75&t=18775 But how do the same for an android app ? Thanks From roger.e.eller at sealedair.com Mon Mar 16 08:03:12 2015 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 16 Mar 2015 08:03:12 -0400 Subject: WatchKit & AndroidWear In-Reply-To: <2EBCB0F8-8A79-4AF4-81B4-DBD945288A71@sweattechnologies.com> References: <162F827C-E14C-49FF-B5A1-469FB9BEAB4B@sweattechnologies.com> <2EBCB0F8-8A79-4AF4-81B4-DBD945288A71@sweattechnologies.com> Message-ID: Does it have to use the LC 7 engine? Why not use what fits, LC 6? Like I said, my early watch accepts LC apps built with 6, but a modern Android Wear watch has a more strict definition of what is allowed. OTOH, if Raspberry Pi handles LC 7, a smart watch should - based on hardware specs alone. On Mar 15, 2015 11:50 PM, "Monte Goulding" wrote: > Looks like that will be much simpler to implement because it's a full app > that's installed on the watch. Still I think there will be issues with app > size because of the size of the LC 7 engine. > > > On 16 Mar 2015, at 12:07 pm, Roger Eller > wrote: > > > If it's not feasible for WatchKit, then how about the Android Wear API? > > On Mar 15, 2015 8:08 PM, "Monte Goulding" > > wrote: > > > >> > >> On 16 Mar 2015, at 9:10 am, Roger Eller > >> wrote: > >> > >>> I look forward to hearing from Runtime Revolution on their plans of > >> support > >>> for these new devices. > >> > >> I hadn't looked at it until you're post prompted me... It doesn't look > >> like it would be all that easy for LiveCode to support WatchKit as only > UI > >> resources are installed on the watch and the code runs on the phone. It > >> would be feasible for them to come up with a way to script the extension > >> but you would still need to do storyboards in Xcode and using the full > >> engine for scripting a watch extension will bloat your app and given LC > 7 > >> is already much heavier it's probably better avoided. On the up side it > >> doesn't look like there's anything stopping you building a watch app in > >> Xcode then including it in your LC app. > >> > >> Cheers > >> > >> Monte > >> -- > >> M E R Goulding > >> Software development services > >> Bespoke application development for vertical markets > >> > >> mergExt - There's an external for that! > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From colinholgate at gmail.com Mon Mar 16 08:41:11 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 16 Mar 2015 08:41:11 -0400 Subject: WatchKit & AndroidWear In-Reply-To: References: <162F827C-E14C-49FF-B5A1-469FB9BEAB4B@sweattechnologies.com> <2EBCB0F8-8A79-4AF4-81B4-DBD945288A71@sweattechnologies.com> Message-ID: <8AD7B7F4-6C19-4B32-B6AC-F9AFEE41480A@gmail.com> I have built an app that uses accelerometer from LC7 to Google Glass, and it worked ok. That doesn?t mean that watch specific features (e.g., heart rate) will work without new functions in LiveCode. > On Mar 16, 2015, at 8:03 AM, Roger Eller wrote: > > Does it have to use the LC 7 engine? Why not use what fits, LC 6? Like I > said, my early watch accepts LC apps built with 6, but a modern Android > Wear watch has a more strict definition of what is allowed. OTOH, if > Raspberry Pi handles LC 7, a smart watch should - based on hardware specs > alone. > On Mar 15, 2015 11:50 PM, "Monte Goulding" > wrote: > >> Looks like that will be much simpler to implement because it's a full app >> that's installed on the watch. Still I think there will be issues with app >> size because of the size of the LC 7 engine. >> >> >> On 16 Mar 2015, at 12:07 pm, Roger Eller >> wrote: >> >>> If it's not feasible for WatchKit, then how about the Android Wear API? >>> On Mar 15, 2015 8:08 PM, "Monte Goulding" >>> wrote: >>> >>>> >>>> On 16 Mar 2015, at 9:10 am, Roger Eller >>>> wrote: >>>> >>>>> I look forward to hearing from Runtime Revolution on their plans of >>>> support >>>>> for these new devices. >>>> >>>> I hadn't looked at it until you're post prompted me... It doesn't look >>>> like it would be all that easy for LiveCode to support WatchKit as only >> UI >>>> resources are installed on the watch and the code runs on the phone. It >>>> would be feasible for them to come up with a way to script the extension >>>> but you would still need to do storyboards in Xcode and using the full >>>> engine for scripting a watch extension will bloat your app and given LC >> 7 >>>> is already much heavier it's probably better avoided. On the up side it >>>> doesn't look like there's anything stopping you building a watch app in >>>> Xcode then including it in your LC app. >>>> >>>> Cheers >>>> >>>> Monte >>>> -- >>>> M E R Goulding >>>> Software development services >>>> Bespoke application development for vertical markets >>>> >>>> mergExt - There's an external for that! >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> -- >> M E R Goulding >> Software development services >> Bespoke application development for vertical markets >> >> mergExt - There's an external for that! >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Mon Mar 16 10:20:41 2015 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 16 Mar 2015 10:20:41 -0400 Subject: WatchKit In-Reply-To: References: Message-ID: Skip, did you see Monte's reply regarding LC and WatchKit in my spinoff thread "WatchKit & AndroidWear"? ~Roger On Sun, Mar 15, 2015 at 4:41 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Anybody experimented yet with Apple's WatchKit? Is it possible to create > an app for this using LC? > > Just downloaded the 8.2 simulator but have not played around with it yet. > > Would love to hear your feedback and take on this! > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From skip at magicgate.com Mon Mar 16 10:27:11 2015 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 16 Mar 2015 10:27:11 -0400 Subject: WatchKit In-Reply-To: References: Message-ID: Roger, I did... thank you. Very interesting conversation and I will be interested to see how strong developers (outside of LC) latch onto the WatchKit and develop apps for it. I think it will be one of those make or break elements for Apple. I am interested, however, in digging more into the AdroidWear arena and see what can be done with that. SKIP On Mon, Mar 16, 2015 at 10:20 AM, Roger Eller wrote: > Skip, did you see Monte's reply regarding LC and WatchKit in my spinoff > thread "WatchKit & AndroidWear"? > > ~Roger > > > On Sun, Mar 15, 2015 at 4:41 PM, Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > > > Anybody experimented yet with Apple's WatchKit? Is it possible to create > > an app for this using LC? > > > > Just downloaded the 8.2 simulator but have not played around with it yet. > > > > Would love to hear your feedback and take on this! > > > > SKIP > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Mon Mar 16 10:48:39 2015 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 16 Mar 2015 10:48:39 -0400 Subject: WatchKit In-Reply-To: References: Message-ID: I highly recommend watching "All About Android" on TWiT.tv every week. Those guys do a great job of presenting any/all new trends in Android hardware and apps. They demo the latest variants of Android Wear devices from Pebble to Glass to LG-Watch to Moto360. I love those round screens on the high-end Android watches. Check them out! Here are a couple good ones: http://twit.tv/show/all-about-android/201 http://twit.tv/show/all-about-android/204 On Mon, Mar 16, 2015 at 10:27 AM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Roger, > > I did... thank you. Very interesting conversation and I will be interested > to see how strong developers (outside of LC) latch onto the WatchKit and > develop apps for it. I think it will be one of those make or break > elements for Apple. > > I am interested, however, in digging more into the AdroidWear arena and see > what can be done with that. > > SKIP > > On Mon, Mar 16, 2015 at 10:20 AM, Roger Eller > > wrote: > > > Skip, did you see Monte's reply regarding LC and WatchKit in my spinoff > > thread "WatchKit & AndroidWear"? > > > > ~Roger > > > > > > On Sun, Mar 15, 2015 at 4:41 PM, Magicgate Software - Skip Kimpel < > > skip at magicgate.com> wrote: > > > > > Anybody experimented yet with Apple's WatchKit? Is it possible to > create > > > an app for this using LC? > > > > > > Just downloaded the 8.2 simulator but have not played around with it > yet. > > > > > > Would love to hear your feedback and take on this! > > > > > > SKIP > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Mon Mar 16 10:48:50 2015 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 16 Mar 2015 15:48:50 +0100 Subject: "Open in" for Android In-Reply-To: <449448B4-285A-4ADA-8918-F91BC38C503C@laposte.net> References: <449448B4-285A-4ADA-8918-F91BC38C503C@laposte.net> Message-ID: <5506ED52.6000407@economy-x-talk.com> Hi Ludovic, You can now enter the custom URL scheme in the standalone builder (or isn't that what you're looking for?) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/16/2015 11:42, Ludovic THEBAULT wrote: > Hello, > > To open a file with your app in iOS, i found this thread : > http://forums.livecode.com/viewtopic.php?f=75&t=18775 > > But how do the same for an android app ? > > Thanks From dochawk at gmail.com Mon Mar 16 10:52:40 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 16 Mar 2015 07:52:40 -0700 Subject: menuitems accumulating extra ( in them? Message-ID: I am seeing one menuItem in particular (hmm, the only one I disable) pick up multiple ( in front of it. Is the correct behavior of "disable menuItem foo" to simply stick a ( before its line of the text of the button in question? Should I be checking for whether or not it's already disabled (seems that this would be far, far faster to do in the engine than user code) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Mon Mar 16 10:56:56 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 16 Mar 2015 07:56:56 -0700 Subject: menuitems accumulating extra ( in them? In-Reply-To: References: Message-ID: Ack, early release. the dictionary seems to suggest such foolish behavior: so when used to disable a menu item, the disable menu command adds an open parenthesis at the beginning of the specified line. Without checking to see if one is already there??? On Mon, Mar 16, 2015 at 7:52 AM, Dr. Hawkins wrote: > > I am seeing one menuItem in particular (hmm, the only one I disable) pick > up multiple ( in front of it. > > Is the correct behavior of "disable menuItem foo" to simply stick a ( > before its line of the text of the button in question? > > Should I be checking for whether or not it's already disabled (seems that > this would be far, far faster to do in the engine than user code) > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Mon Mar 16 10:56:52 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 16 Mar 2015 07:56:52 -0700 Subject: WatchKit & AndroidWear In-Reply-To: References: Message-ID: <5506EF34.2030109@fourthworld.com> Roger Eller wrote: > Does it have to use the LC 7 engine? Why not use what fits, LC 6? There is no build of the v6 engine that runs on wearables. What "fits" is more than size. Fixes are backported to v6.7 as a courtesy to those who haven't yet migrated their work to the current engine, but I doubt we'll see significant feature enhancements for that legacy engine. The present is v7, and the future is v8. Like v5 and all earlier versions, we can expect v6 to be EOL'd long before v7. To "fit" on wearables an engine needs fundamental changes, perhaps possible in the future but unlikely with v6. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From roger.e.eller at sealedair.com Mon Mar 16 11:13:41 2015 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 16 Mar 2015 11:13:41 -0400 Subject: WatchKit & AndroidWear In-Reply-To: <5506EF34.2030109@fourthworld.com> References: <5506EF34.2030109@fourthworld.com> Message-ID: On Mon, Mar 16, 2015 at 10:56 AM, Richard Gaskin wrote: > Roger Eller wrote: > > > Does it have to use the LC 7 engine? Why not use what fits, LC 6? > > There is no build of the v6 engine that runs on wearables. > > Ummm... http://livecode1001.blogspot.com/search?q=Android+Wear Just luck I guess. Also, Colin has tested LC apps on Google Glass. What "fits" is more than size. > > Fixes are backported to v6.7 as a courtesy to those who haven't yet > migrated their work to the current engine, but I doubt we'll see > significant feature enhancements for that legacy engine. > > The present is v7, and the future is v8. Like v5 and all earlier > versions, we can expect v6 to be EOL'd long before v7. > > To "fit" on wearables an engine needs fundamental changes, perhaps > possible in the future but unlikely with v6. > > If not intentional, I am happy that it works, at least for a limited few wearables. I would like to see official support before wearables are "old news" however. > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > ~Roger From ben at livecode.com Mon Mar 16 12:02:31 2015 From: ben at livecode.com (Benjamin Beaumont) Date: Mon, 16 Mar 2015 16:02:31 +0000 Subject: lcTaskList and LiveCode 8 In-Reply-To: <092CE109-68CE-42AE-97DF-6F1064152B2F@mac.com> References: <092CE109-68CE-42AE-97DF-6F1064152B2F@mac.com> Message-ID: Hi Bill, Thanks for the report. We've got a good amount of resource working on the IDE at the moment so it shouldn't take use too long to get this resolved. Warm regards, Ben On 14 March 2015 at 14:40, Bill Vlahos wrote: > I already had LC 8.0.0 DP1 installed and lcTaskList worked fine. > > When I opened LiveCode today the auto updater wanted to update to what > appears to be the same LC 8 DP1. When I open the updated version and then > open lcTaskList, LiveCode IDE crashes. They must have changed something. > > I've submitted it as a bug report Bug 14953 to LiveCode. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important > life information with you, accessible, and secure. > lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) > RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- _____________________________________________ Benjamin Beaumont . LiveCode Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at livecode.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.livecode.com From skiplondon at gmail.com Mon Mar 16 13:00:19 2015 From: skiplondon at gmail.com (Skip Kimpel) Date: Mon, 16 Mar 2015 13:00:19 -0400 Subject: WatchKit In-Reply-To: References: Message-ID: <97103162-7313-48A5-9261-50C67167D2CB@gmail.com> Thank you... Sounds interesting! SKIP > On Mar 16, 2015, at 10:48 AM, Roger Eller wrote: > > I highly recommend watching "All About Android" on TWiT.tv every week. > Those guys do a great job of presenting any/all new trends in Android > hardware and apps. They demo the latest variants of Android Wear devices > from Pebble to Glass to LG-Watch to Moto360. I love those round screens on > the high-end Android watches. Check them out! > > Here are a couple good ones: > > http://twit.tv/show/all-about-android/201 > > http://twit.tv/show/all-about-android/204 > > > > On Mon, Mar 16, 2015 at 10:27 AM, Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > >> Roger, >> >> I did... thank you. Very interesting conversation and I will be interested >> to see how strong developers (outside of LC) latch onto the WatchKit and >> develop apps for it. I think it will be one of those make or break >> elements for Apple. >> >> I am interested, however, in digging more into the AdroidWear arena and see >> what can be done with that. >> >> SKIP >> >> On Mon, Mar 16, 2015 at 10:20 AM, Roger Eller > wrote: >> >>> Skip, did you see Monte's reply regarding LC and WatchKit in my spinoff >>> thread "WatchKit & AndroidWear"? >>> >>> ~Roger >>> >>> >>> On Sun, Mar 15, 2015 at 4:41 PM, Magicgate Software - Skip Kimpel < >>> skip at magicgate.com> wrote: >>> >>>> Anybody experimented yet with Apple's WatchKit? Is it possible to >> create >>>> an app for this using LC? >>>> >>>> Just downloaded the 8.2 simulator but have not played around with it >> yet. >>>> >>>> Would love to hear your feedback and take on this! >>>> >>>> SKIP >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tedennis at softwaredetails.com Mon Mar 16 12:56:58 2015 From: tedennis at softwaredetails.com (TEDennis) Date: Mon, 16 Mar 2015 09:56:58 -0700 (PDT) Subject: LC7 & Unicode In-Reply-To: References: <1F665522-6694-45D5-B3A2-944886B164AF@icloud.com> <54FF3AE1.9090202@fourthworld.com> Message-ID: <1426525018019-4690247.post@n4.nabble.com> No response to my prior post, so let's try this again ... Dr Peter Brett wrote: "Internally, the LC7 engine only uses Unicode if it has to. If your application only uses native strings, then LC7 will only use native strings. Built-in Unicode support has very little to do with the fact that LC7 is slower for some workload" I don't now, and don't intend to, use Unicode. I don't want *ANY* overhead associated with a feature I don't use. How can we determine whether or not Unicode is being "used"? How does the LC7 engine detect Unicode is being used? Can we turn off that detection, thus eliminating Unicode processing? My situation: I create a "chunk" of data by concatenating binary data to "native strings". Then, I save the chunk into a large roll-your-own one-record-at-a-time "database". If LC7 is somehow automatically detecting Unicode, perhaps my "blob" of data is fooling it into thinking it's Unicode. The "blob" also includes native HTML text. Could that be involved somehow in Unicode detection? TED -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC7-Unicode-tp4689927p4690247.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Mon Mar 16 13:20:19 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 16 Mar 2015 10:20:19 -0700 Subject: WatchKit & AndroidWear In-Reply-To: References: Message-ID: <550710D3.3000505@fourthworld.com> Roger Eller wrote: > On Mon, Mar 16, 2015 at 10:56 AM, Richard Gaskin wrote: > >> Roger Eller wrote: >> >> > Does it have to use the LC 7 engine? Why not use what fits, LC 6? >> >> There is no build of the v6 engine that runs on wearables. >> > Ummm... http://livecode1001.blogspot.com/search?q=Android+Wear Delighted to be corrected. Since it seems we can already use LiveCode to build for Android wearables, what more is needed? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From pete at lcsql.com Mon Mar 16 13:25:23 2015 From: pete at lcsql.com (Peter Haworth) Date: Mon, 16 Mar 2015 17:25:23 +0000 Subject: WatchKit In-Reply-To: <97103162-7313-48A5-9261-50C67167D2CB@gmail.com> References: <97103162-7313-48A5-9261-50C67167D2CB@gmail.com> Message-ID: Have you checked out the Addroid Neptune Pine watch? Different than the rest because it's self contained, no need for a smartphone. But it's huge! On Mon, Mar 16, 2015 at 10:01 AM Skip Kimpel wrote: > Thank you... Sounds interesting! > > SKIP > > > On Mar 16, 2015, at 10:48 AM, Roger Eller > wrote: > > > > I highly recommend watching "All About Android" on TWiT.tv every week. > > Those guys do a great job of presenting any/all new trends in Android > > hardware and apps. They demo the latest variants of Android Wear devices > > from Pebble to Glass to LG-Watch to Moto360. I love those round screens > on > > the high-end Android watches. Check them out! > > > > Here are a couple good ones: > > > > http://twit.tv/show/all-about-android/201 > > > > http://twit.tv/show/all-about-android/204 > > > > > > > > On Mon, Mar 16, 2015 at 10:27 AM, Magicgate Software - Skip Kimpel < > > skip at magicgate.com> wrote: > > > >> Roger, > >> > >> I did... thank you. Very interesting conversation and I will be > interested > >> to see how strong developers (outside of LC) latch onto the WatchKit and > >> develop apps for it. I think it will be one of those make or break > >> elements for Apple. > >> > >> I am interested, however, in digging more into the AdroidWear arena and > see > >> what can be done with that. > >> > >> SKIP > >> > >> On Mon, Mar 16, 2015 at 10:20 AM, Roger Eller < > roger.e.eller at sealedair.com > >> wrote: > >> > >>> Skip, did you see Monte's reply regarding LC and WatchKit in my spinoff > >>> thread "WatchKit & AndroidWear"? > >>> > >>> ~Roger > >>> > >>> > >>> On Sun, Mar 15, 2015 at 4:41 PM, Magicgate Software - Skip Kimpel < > >>> skip at magicgate.com> wrote: > >>> > >>>> Anybody experimented yet with Apple's WatchKit? Is it possible to > >> create > >>>> an app for this using LC? > >>>> > >>>> Just downloaded the 8.2 simulator but have not played around with it > >> yet. > >>>> > >>>> Would love to hear your feedback and take on this! > >>>> > >>>> SKIP > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From livfoss at mac.com Mon Mar 16 13:37:50 2015 From: livfoss at mac.com (Graham Samuel) Date: Mon, 16 Mar 2015 18:37:50 +0100 Subject: Interfacing with web services - advice needed Message-ID: <8D445762-02E1-4921-A670-71E18B3FC40B@mac.com> I?ve been bothering this list about XML and arrays, for a geography project I?m pursuing. I?m making progress. However, I?ve now come up against a new issue which isn?t about LiveCode as such but which raises a fairly general question, i.e. I need to do a calculation (see the end of this mail if you want to know my current need) - the calculation is a tricky algorithm which is in the public domain and which relies on possibly large data sets which are also in the public domain. I want to avoid coding the algorithm in LiveCode - or any other language for that matter. If I wanted to do this calculation personally as a one-off, I would go to one of a number of web sites that provide the calculation as a service, put in my parameters and read off the result. Simple. Now I want to do the same thing repetitively from within a LiveCode program. So I need a way to ?talk? to one of these web sites as if I was keying information in and reading it out - I?m not expecting any special privileges like being given an more machine-oriented API to work with. So the question is, how would I go about coding this type of interaction? Has anyone done this recently? Are there any tutorials? I must say I find it very daunting, and would love to be told "it?s really quite easy?. Could be widget material, but I?m getting ahead of myself. Here?s hoping Graham For those who want to know, my current case involves a succession of points on the Earth?s surface where I know each one's longitude and latitude: I want to convert the intervals between these points to distances in metres (say). This is a known problem, and AFAIK involves converting longitude and latitude to UTM. Several academic and other web sites offer services. Once one has the points in metres from some two-dimensional datum, it?s easy to calculate distances. All the GPS-display systems do it, usually imposing the route on a commercially available map and calculating how far you?ve travelled etc. From keith.clarke at me.com Mon Mar 16 13:45:19 2015 From: keith.clarke at me.com (Keith Clarke) Date: Mon, 16 Mar 2015 17:45:19 +0000 Subject: How to add a new item into the end of an existing line? Message-ID: <1B1E15F1-8E14-4AAD-B2B5-C4E6AD9E2248@me.com> Folks, Please can anyone clarify the syntax needed to add a new item A to the end of an existing line B of an existing variable C? I can add to the end of the variable OK, as in put foo after C but if I try to put foo after B, after line B or after item -1 of line B, after Z (defined as item -1 of B) etc., and I get either no result or compilation errors. I?m clearly missing the magic words. Thanks in advance Keith.. From roger.e.eller at sealedair.com Mon Mar 16 13:46:54 2015 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 16 Mar 2015 13:46:54 -0400 Subject: WatchKit In-Reply-To: References: <97103162-7313-48A5-9261-50C67167D2CB@gmail.com> Message-ID: Wow! That's a big'en! I like how it can be removed from the band, and held as a super small tablet, yet worn as a giant watch. But... in the end, I still want Android Wear support in LiveCode. http://www.amazon.com/NEPTUNE-Pine-32GB-Smartwatch-Packaging/dp/B00NQTO1PM/ On Mon, Mar 16, 2015 at 1:25 PM, Peter Haworth wrote: > Have you checked out the Addroid Neptune Pine watch? Different than the > rest because it's self contained, no need for a smartphone. But it's huge! > > On Mon, Mar 16, 2015 at 10:01 AM Skip Kimpel wrote: > > > Thank you... Sounds interesting! > > > > SKIP > > > > > On Mar 16, 2015, at 10:48 AM, Roger Eller > > > wrote: > > > > > > I highly recommend watching "All About Android" on TWiT.tv every week. > > > Those guys do a great job of presenting any/all new trends in Android > > > hardware and apps. They demo the latest variants of Android Wear > devices > > > from Pebble to Glass to LG-Watch to Moto360. I love those round > screens > > on > > > the high-end Android watches. Check them out! > > > > > > Here are a couple good ones: > > > > > > http://twit.tv/show/all-about-android/201 > > > > > > http://twit.tv/show/all-about-android/204 > > > > > > > > > > > > On Mon, Mar 16, 2015 at 10:27 AM, Magicgate Software - Skip Kimpel < > > > skip at magicgate.com> wrote: > > > > > >> Roger, > > >> > > >> I did... thank you. Very interesting conversation and I will be > > interested > > >> to see how strong developers (outside of LC) latch onto the WatchKit > and > > >> develop apps for it. I think it will be one of those make or break > > >> elements for Apple. > > >> > > >> I am interested, however, in digging more into the AdroidWear arena > and > > see > > >> what can be done with that. > > >> > > >> SKIP > > >> > > >> On Mon, Mar 16, 2015 at 10:20 AM, Roger Eller < > > roger.e.eller at sealedair.com > > >> wrote: > > >> > > >>> Skip, did you see Monte's reply regarding LC and WatchKit in my > spinoff > > >>> thread "WatchKit & AndroidWear"? > > >>> > > >>> ~Roger > > >>> > > >>> > > >>> On Sun, Mar 15, 2015 at 4:41 PM, Magicgate Software - Skip Kimpel < > > >>> skip at magicgate.com> wrote: > > >>> > > >>>> Anybody experimented yet with Apple's WatchKit? Is it possible to > > >> create > > >>>> an app for this using LC? > > >>>> > > >>>> Just downloaded the 8.2 simulator but have not played around with it > > >> yet. > > >>>> > > >>>> Would love to hear your feedback and take on this! > > >>>> > > >>>> SKIP > > >>>> _______________________________________________ > > >>>> use-livecode mailing list > > >>>> use-livecode at lists.runrev.com > > >>>> Please visit this url to subscribe, unsubscribe and manage your > > >>>> subscription preferences: > > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > > >>> subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >> subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Mar 16 13:49:29 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 16 Mar 2015 12:49:29 -0500 Subject: Laughing my socks off. In-Reply-To: <5506800D.2040408@gmail.com> References: <5505789A.50103@gmail.com> <103261099321.20150315204054@ahsoftware.net> <5506591B.9040702@hyperactivesw.com> <154263810056.20150315212605@ahsoftware.net> <5506800D.2040408@gmail.com> Message-ID: <550717A9.8040304@hyperactivesw.com> On 3/16/2015 2:02 AM, Richmond wrote: > the latest recension I have installed here is 7.0.1 rc2 and it HAS a > resource thing as well Where? I can't find it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Mon Mar 16 13:52:49 2015 From: pete at lcsql.com (Peter Haworth) Date: Mon, 16 Mar 2015 17:52:49 +0000 Subject: How to add a new item into the end of an existing line? In-Reply-To: <1B1E15F1-8E14-4AAD-B2B5-C4E6AD9E2248@me.com> References: <1B1E15F1-8E14-4AAD-B2B5-C4E6AD9E2248@me.com> Message-ID: Maybe "put the itemdelimiter & foo after line B of C" On Mon, Mar 16, 2015 at 10:46 AM Keith Clarke wrote: > Folks, > Please can anyone clarify the syntax needed to add a new item A to the end > of an existing line B of an existing variable C? > > I can add to the end of the variable OK, as in > > put foo after C > > but if I try to put foo after B, after line B or after item -1 of line B, > after Z (defined as item -1 of B) etc., and I get either no result or > compilation errors. > > I?m clearly missing the magic words. > > Thanks in advance > Keith.. > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ludovic.thebault at laposte.net Mon Mar 16 13:57:38 2015 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Mon, 16 Mar 2015 18:57:38 +0100 Subject: "Open in" for Android In-Reply-To: <5506ED52.6000407@economy-x-talk.com> References: <449448B4-285A-4ADA-8918-F91BC38C503C@laposte.net> <5506ED52.6000407@economy-x-talk.com> Message-ID: <57B9F2E3-F5ED-4CBC-BE4F-8A8009244F71@laposte.net> > Le 16 mars 2015 ? 15:48, Mark Schonewille a ?crit : > > Hi Ludovic, > > You can now enter the custom URL scheme in the standalone builder (or isn't that what you're looking for?) > Hello, thanks. I want to save a file on the documents folder of my app from an email to avoid using iTunes. From richmondmathewson at gmail.com Mon Mar 16 14:05:14 2015 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 16 Mar 2015 20:05:14 +0200 Subject: Laughing my socks off. In-Reply-To: <550717A9.8040304@hyperactivesw.com> References: <5505789A.50103@gmail.com> <103261099321.20150315204054@ahsoftware.net> <5506591B.9040702@hyperactivesw.com> <154263810056.20150315212605@ahsoftware.net> <5506800D.2040408@gmail.com> <550717A9.8040304@hyperactivesw.com> Message-ID: <55071B5A.5000908@gmail.com> On 16/03/15 19:49, J. Landman Gay wrote: > On 3/16/2015 2:02 AM, Richmond wrote: >> the latest recension I have installed here is 7.0.1 rc2 and it HAS a >> resource thing as well > > Where? I can't find it. > http://forums.livecode.com/viewtopic.php?f=5&t=23663 Richmond. From roger.e.eller at sealedair.com Mon Mar 16 14:20:02 2015 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 16 Mar 2015 14:20:02 -0400 Subject: WatchKit & AndroidWear In-Reply-To: <550710D3.3000505@fourthworld.com> References: <550710D3.3000505@fourthworld.com> Message-ID: The API has changed (has become more strict). Apps have to adhere to the new specifications, or the Google Play Store won't allow them to be downloaded to "Android Wear" compatible watches. It works with my watch because it isn't recognized as a true Android Wear device, but instead as a tablet. Again, that has changed in the requirements. Also, as Colin mentioned, wearables have new sensors that phones and tablets may not have, such as a heartrate sensor, for example. https://developer.android.com/wear ~Roger On Mon, Mar 16, 2015 at 1:20 PM, Richard Gaskin wrote: > Roger Eller wrote: > > > On Mon, Mar 16, 2015 at 10:56 AM, Richard Gaskin wrote: > > > >> Roger Eller wrote: > >> > >> > Does it have to use the LC 7 engine? Why not use what fits, LC 6? > >> > >> There is no build of the v6 engine that runs on wearables. > >> > > Ummm... http://livecode1001.blogspot.com/search?q=Android+Wear > > Delighted to be corrected. > > Since it seems we can already use LiveCode to build for Android wearables, > what more is needed? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at livecode.org Mon Mar 16 14:32:31 2015 From: paul at livecode.org (Paul Hibbert) Date: Mon, 16 Mar 2015 11:32:31 -0700 Subject: LC7 & Unicode In-Reply-To: <1426525018019-4690247.post@n4.nabble.com> References: <1F665522-6694-45D5-B3A2-944886B164AF@icloud.com> <54FF3AE1.9090202@fourthworld.com> <1426525018019-4690247.post@n4.nabble.com> Message-ID: > No response to my prior post, so let's try this again ... I'll give some answers as far as I understand LC7 at present, if I get something wrong no doubt someone will correct me! It wouldn't be the first time. :) > Dr Peter Brett wrote: "Internally, the LC7 engine only uses Unicode if it > has to. If your application only uses native strings, then LC7 will only > use native strings. Built-in Unicode support has very little to do with the > fact that LC7 is slower for some workload" > > I don't now, and don't intend to, use Unicode. You could try LC6.7.3 instead, as far as I'm aware it has most of the same features as LC7 apart from the native unicode. > I don't want *ANY* overhead associated with a feature I don't use. If you really need to use LC 7.x.x, then you currently have no choice, it should work fine with or without Unicode, it may be slower, but the engineers are working to improve that. > How can we determine whether or not Unicode is being "used"? I can't see any easy way to do that, but I seem to remember some people discussing it on this list a while ago, maybe somebody could chime in. > How does the LC7 engine detect Unicode is being used? I really don't know, but I'd guess it has some way to detect the number of bytes used per character. > Can we turn off that detection, thus eliminating Unicode processing? No, this has been asked several times on the list, it's part of the internal processing that LC uses and is too deeply embedded to eliminate. > My situation: I create a "chunk" of data by concatenating binary data to > "native strings". Then, I save the chunk into a large roll-your-own > one-record-at-a-time "database". If LC7 is somehow automatically detecting > Unicode, perhaps my "blob" of data is fooling it into thinking it's Unicode. If there is a problem, this sounds like the type of case that the engineers are asking to see, if you can send your stacks to them and point out where the problem lies, they should be able to pinpoint the culprit and eliminate it from future builds. You would be helping them to build a better LiveCode, then you and the rest of the LC community benefits. If you are concerned with your app security, you can email the files to them, they will even sign an NDA agreement if necessary, but they do have a strong respect for customer confidentiality. If they never get to see your files, they may never see a similar problem, we all seem to generate unique situations (problems) from time to time. > The "blob" also includes native HTML text. Could that be involved somehow > in Unicode detection? If your HTML text contains some Unicode characters, maybe that is triggering the Unicode detection. I hope you find a solution. Paul From keith.clarke at me.com Mon Mar 16 14:53:35 2015 From: keith.clarke at me.com (Keith Clarke) Date: Mon, 16 Mar 2015 18:53:35 +0000 Subject: How to add a new item into the end of an existing line? In-Reply-To: References: <1B1E15F1-8E14-4AAD-B2B5-C4E6AD9E2248@me.com> Message-ID: ?thanks for the response, Peter. Weirdly, using this form? put comma & tInsert after line tRecord of tRecords ... Compiles OK but then fails on run with (Chunk: error in range start expression) Maybe I?ll try building into a new variable line by line, instead of appending to lines in the existing container. Best, Keith.. > On 16 Mar 2015, at 17:52, Peter Haworth wrote: > > Maybe "put the itemdelimiter & foo after line B of C" > > On Mon, Mar 16, 2015 at 10:46 AM Keith Clarke wrote: > >> Folks, >> Please can anyone clarify the syntax needed to add a new item A to the end >> of an existing line B of an existing variable C? >> >> I can add to the end of the variable OK, as in >> >> put foo after C >> >> but if I try to put foo after B, after line B or after item -1 of line B, >> after Z (defined as item -1 of B) etc., and I get either no result or >> compilation errors. >> >> I?m clearly missing the magic words. >> >> Thanks in advance >> Keith.. >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Mon Mar 16 15:04:35 2015 From: pete at lcsql.com (Peter Haworth) Date: Mon, 16 Mar 2015 19:04:35 +0000 Subject: How to add a new item into the end of an existing line? In-Reply-To: References: <1B1E15F1-8E14-4AAD-B2B5-C4E6AD9E2248@me.com> Message-ID: Maybe tRecord has an invalid value? On Mon, Mar 16, 2015 at 11:54 AM Keith Clarke wrote: > ?thanks for the response, Peter. > > Weirdly, using this form? > > put comma & tInsert after line tRecord of tRecords > > ... Compiles OK but then fails on run with (Chunk: error in range start > expression) > > Maybe I?ll try building into a new variable line by line, instead of > appending to lines in the existing container. > Best, > Keith.. > > > On 16 Mar 2015, at 17:52, Peter Haworth wrote: > > > > Maybe "put the itemdelimiter & foo after line B of C" > > > > On Mon, Mar 16, 2015 at 10:46 AM Keith Clarke > wrote: > > > >> Folks, > >> Please can anyone clarify the syntax needed to add a new item A to the > end > >> of an existing line B of an existing variable C? > >> > >> I can add to the end of the variable OK, as in > >> > >> put foo after C > >> > >> but if I try to put foo after B, after line B or after item -1 of line > B, > >> after Z (defined as item -1 of B) etc., and I get either no result or > >> compilation errors. > >> > >> I?m clearly missing the magic words. > >> > >> Thanks in advance > >> Keith.. > >> > >> > >> > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bdrunrev at gmail.com Mon Mar 16 15:07:08 2015 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 16 Mar 2015 19:07:08 +0000 Subject: Interfacing with web services - advice needed In-Reply-To: <8D445762-02E1-4921-A670-71E18B3FC40B@mac.com> References: <8D445762-02E1-4921-A670-71E18B3FC40B@mac.com> Message-ID: Hi Graham Interfacing with a website as you describe may be very easy. However, if you anticipate making scores or thousands of queries a day, they may block your app (e.g. based on the User-Agent header sent along with your query). Assuming you don't face that problem, then if the website just takes a URL with parameters, you can simply use "get url" and construct the relevant query, e.g. if the url in your browser is: http://somegpssite.com/query.htm?lat=33.33&lon=66.66 you can produce this yourself thus: put merge("http://somegpssite.com/query.htm?lat=[[tLat]]&lon=[[tLon]]") into tURL get tURL Apart from error handling once you've initiated such a query, I don't think it could be any easier than this. If the website does not take a HTTP GET query, i.e. it uses a POST query, then you will need to look at the FORM object inside the HTML source of the web page where you initiate the query. You will need to send a form to the website to initiate the query. I would have directed you to the Livecode online documentation, but in their enthusiasm for v8, they have removed the old documentation from the internet without putting up the new docs. You can find the old version through Google's cache: http://webcache.googleusercontent.com/search?q=cache:n3TMFxFqBfAJ:docs.runrev.com/Function/libUrlFormData+&cd=1&hl=en&ct=clnk&gl=uk Or you can look up libUrlFormData in the dictionary. Once you have the relevant page returned from the site, then you need to extract the data you want from the HTML. A service with an API would probably be cleaner. But I'd imagine they would expect payment for multiple queries to their service. Regards Bernard On Mon, Mar 16, 2015 at 5:37 PM, Graham Samuel wrote: > If I wanted to do this calculation personally as a one-off, I would go to > one of a number of web sites that provide the calculation as a service, put > in my parameters and read off the result. Simple. Now I want to do the same > thing repetitively from within a LiveCode program. So I need a way to > ?talk? to one of these web sites as if I was keying information in and > reading it out - I?m not expecting any special privileges like being given > an more machine-oriented API to work with. So the question is, how would I > go about coding this type of interaction? Has anyone done this recently? > Are there any tutorials? I must say I find it very daunting, and would love > to be told "it?s really quite easy?. Could be widget material, but I?m > getting ahead of myself. > > From tedennis at softwaredetails.com Mon Mar 16 15:02:19 2015 From: tedennis at softwaredetails.com (TEDennis) Date: Mon, 16 Mar 2015 12:02:19 -0700 (PDT) Subject: LC7 & Unicode In-Reply-To: References: <1F665522-6694-45D5-B3A2-944886B164AF@icloud.com> <54FF3AE1.9090202@fourthworld.com> <1426525018019-4690247.post@n4.nabble.com> Message-ID: <1426532539823-4690262.post@n4.nabble.com> Paul: Thanks for the response. I asked: "/Can we turn off that /[Unicode]/ detection, thus eliminating Unicode processing?/" You replied: "/No, this has been asked several times on the list, it's part of the internal processing that LC uses and is too deeply embedded to eliminate/". I have been watching this forum for many moons, but usually don't have much to say. I have seen MANY questions asked about whether an option was available to turn off the Unicode "feature". I have seen the responses, all of which were negative. OK, fine. LC7 can't live without Unicode. If Unicode is what's behind the performance glitches, then that's most certainly not the answer I want to hear. But, life goes on. My question arose from Dr. Brett's claim that "/the LC7 engine only uses Unicode if it has to/". That was news to me, and it made it sound to me like the engine was somehow detecting Unicode being used. That's why I asked if we could disable that detection, and thus effectively disable Unicode processing. I envisioned a bazillion places in the engine's code where it might say "If gUnicodeGlobal is true then ... else ...". I hope there aren't a bazillion places where the engine determines it has to use Unicode, because that would require a bunch of needless CPU cycles that could be reduced to referencing a single global (like above). Perhaps my logical view of the situation was incorrect, but I (we) can hope, right? re: "/this sounds like the type of case that the engineers are asking to see/" Agreed. That sounds like the next step in the resolution of "my" problem. But, none of them responded, so I got the feeling they weren't interested. If they need some example data, I can spend the time to extrapolate some records during a test run within the IDE. However, the explanation of concatenating native strings to a few binary bytes should give them enough info to say "yes" or "no" about the engine's detection of Unicode ... which I hoped could be turned off, so no matter what info I use would bypass the Unicode processing. If that's not the case, then ... ... we're back to square one, meaning I/we have to live with Unicode's performance issues. I'm wondering how a feature like Unicode that has had a major performance impact managed to get past the initial design stage, but that's a different issue altogether. Surely somebody, somewhere foresaw this "enhancement" would be a major resource hog. TED -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC7-Unicode-tp4689927p4690262.html Sent from the Revolution - User mailing list archive at Nabble.com. From jhj at jhj.com Mon Mar 16 15:31:22 2015 From: jhj at jhj.com (Jerry Jensen) Date: Mon, 16 Mar 2015 12:31:22 -0700 Subject: How to add a new item into the end of an existing line? In-Reply-To: References: <1B1E15F1-8E14-4AAD-B2B5-C4E6AD9E2248@me.com> Message-ID: Keith, There is a good explanation of chunk expressions in the User Guide, starting on p. 168. You get to the User Guide by opening the Resource Center from the toolbar, which has a link to download the PDF of the User Guide. There is lots of good stuff in there that explains the basics. What is in tRecord? It needs to be the line NUMBER, not the contents of that line. If tRecords contains: first line second line third line put comma & "foo" after line 2 of tRecords -- will change tRecords to: first line second line,foo third line But instead if you put "second line" into tRecord put comma & "foo" after line tRecord of tRecords -- will fail at runtime because the variable tRecord doesn't evaluate to a line NUMBER or range of numbers. It compiles OK because tRecord might contain a number at runtime, it can't tell. Cheer, .Jerry > On Mar 16, 2015, at 11:53 AM, Keith Clarke wrote: > > Weirdly, using this form? > > put comma & tInsert after line tRecord of tRecords > > ... Compiles OK but then fails on run with (Chunk: error in range start expression) From bdrunrev at gmail.com Mon Mar 16 15:41:26 2015 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 16 Mar 2015 19:41:26 +0000 Subject: LC7 & Unicode In-Reply-To: <1426532539823-4690262.post@n4.nabble.com> References: <1F665522-6694-45D5-B3A2-944886B164AF@icloud.com> <54FF3AE1.9090202@fourthworld.com> <1426525018019-4690247.post@n4.nabble.com> <1426532539823-4690262.post@n4.nabble.com> Message-ID: I think the important part of Peter Brett's answer comes after his remarks on Unicode: >> Internally, the LC7 engine only uses Unicode if it has to. If your application only uses native strings, then LC7 will only use native strings. Built-in Unicode support has very little to do with the fact that LC7 is slower for some workloads. *The cause of potential slow-down is more fundamental, and has to do with the way that variables and values in the language are handled and the way that the language is executed. * As Richard says,* some of these changes were required in order to enable the future development of the LiveCode language and to make it more flexible and powerful.* << I know no more about unicode than the next person. Perhaps being able to sell an app to 1 billion Chinese people might be beneficial to some. I can think of a Hebrew app I once wrote which was a nightmare in an earlier version of Livecode, but which would be far easier now with unicode. But all the goodness of widgets and the javascript engine and the new "DSL" language enhancements seem to me to be far more significant than unicode. I would imagine that the Livecode staff want v8+ to be no slower than version v6.x. What is coming in v8 would appear to me to be a bigger evolutionary step in the history of the engine than all the previous evolutionary steps combined. After decades of working with computers, I am struggling to think of a technology which has attempted to make such a massive step. Perhaps the difference between Mac OS 9 and OS X is the kind of shift we are going to see. Or between DOS and OS/2. Or Window 3.1 and Windows NT. With all of Apple's and Microsoft's and IBM's resources, they struggled with the performance of the early versions of their technological shift. If someone can think of a programming environment which has made an analogous shift to that which Livecode is undertaking, I'd be interested to hear. I can think of an open source database and a web application framework which made major shifts. These changes brought very little in benefit to the projects, and seemed to be vanity projects for those involved. But what Livecode are doing with v8 has obvious benefits. I really hope they succeed. Regards, Bernard On Mon, Mar 16, 2015 at 7:02 PM, TEDennis wrote: > ... we're back to square one, meaning I/we have to live with Unicode's > performance issues. > > I'm wondering how a feature like Unicode that has had a major performance > impact managed to get past the initial design stage, but that's a different > issue altogether. Surely somebody, somewhere foresaw this "enhancement" > would be a major resource hog. > > TED > > From paul at livecode.org Mon Mar 16 16:24:36 2015 From: paul at livecode.org (Paul Hibbert) Date: Mon, 16 Mar 2015 13:24:36 -0700 Subject: LC7 & Unicode In-Reply-To: <1426532539823-4690262.post@n4.nabble.com> References: <1F665522-6694-45D5-B3A2-944886B164AF@icloud.com> <54FF3AE1.9090202@fourthworld.com> <1426525018019-4690247.post@n4.nabble.com> <1426532539823-4690262.post@n4.nabble.com> Message-ID: > If > Unicode is what's behind the performance glitches, then that's most > certainly not the answer I want to hear. But, life goes on. This is what I understand the LC engineers are actively working on, so hopefully there should be some performance improvements in the future. I really suspect that there's more to the performance issue than just Unicode, there have been changes to the graphics engine, AV foundation and probably lots of other code resource changes. LC7 was a total re-write over LC6, and even though it shares many of the same new features, I assume it accesses them differently, so I'd expect there to be many areas for improvements and tweaks as long as development continues. > re: "/this sounds like the type of case that the engineers are asking to > see/" > > Agreed. That sounds like the next step in the resolution of "my" problem. > But, none of them responded, so I got the feeling they weren't interested. They rarely respond to specific issues on the user list, they used to respond more often on the Dev list, but for an engineer to look at this problem you need to report it to the quality control centre [ http://quality.runrev.com ]. Even if it doesn't turn out to be a bug you may benefit from reporting it there. > ... we're back to square one, meaning I/we have to live with Unicode's > performance issues. Does LC6.7.3 not work for you until LC7 performance improves? > I'm wondering how a feature like Unicode that has had a major performance > impact managed to get past the initial design stage, but that's a different > issue altogether. Surely somebody, somewhere foresaw this "enhancement" > would be a major resource hog. I think Bernard hit the nail square on the head? >> Perhaps being able to sell an app to 1 billion Chinese people might be beneficial to some. Paul From tedennis at softwaredetails.com Mon Mar 16 16:38:08 2015 From: tedennis at softwaredetails.com (TEDennis) Date: Mon, 16 Mar 2015 13:38:08 -0700 (PDT) Subject: LC7 & Unicode In-Reply-To: References: <1F665522-6694-45D5-B3A2-944886B164AF@icloud.com> <54FF3AE1.9090202@fourthworld.com> <1426525018019-4690247.post@n4.nabble.com> <1426532539823-4690262.post@n4.nabble.com> Message-ID: <1426538288308-4690266.post@n4.nabble.com> Bernard: I didn't see the transition in Dr. Brett's discussion to be as black and white as your interpretation. re: all the goodness of widgets and the javascript engine and the new "DSL" language enhancements seem to me to be far more significant than unicode. Agree 100%, and I am looking forward to the re-architected version (LC 8) so I can make significant changes to extend the LC base for my own purposes. Not because I need to do it, but just because LC provides the ability to do it ... and I like to play around with code. If you build it, they will come. Since the major complaints have been mostly related to Unicode, it's apparent that most everybody "out here" has been relating the performance issues to Unicode. Apparently all those references have been wrong. How did we ALL (or most of us) get to the point where we thought Unicode was the culprit? Dr. Brett's reference to "more fundamental" issues immediately followed his discussion of Unicode, so I interpreted that to mean the "/way values and variables are handled/" was also related to Unicode. I made this (possibly incorrect) subtle association because "values and variables" can themselves be Unicode. I reasoned that if Unicode wasn't involved, the impact of the "more fundamental" changes wouldn't have been so severe. In any case, we get back to my comment ... modified a bit to match your response: /I'm wondering how these LC language extensions that have had a major performance impact managed to get past the initial design stage, but that's a different issue altogether. Surely somebody, somewhere foresaw these "enhancements" would be a major resource hog./ It has been a while since LC7 hit the streets. Perhaps there were some warnings ahead of time that I didn't pay attention to, but I don't recall being "conditioned" to experience a significant performance hit. Does that mean they didn't know about those performance glitches until builders of *real* apps started using the new system? Or, was it a "damn the torpedoes, full speed ahead" scenario? TED -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC7-Unicode-tp4689927p4690266.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Mon Mar 16 16:59:37 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 16 Mar 2015 15:59:37 -0500 Subject: Laughing my socks off. In-Reply-To: <55071B5A.5000908@gmail.com> References: <5505789A.50103@gmail.com> <103261099321.20150315204054@ahsoftware.net> <5506591B.9040702@hyperactivesw.com> <154263810056.20150315212605@ahsoftware.net> <5506800D.2040408@gmail.com> <550717A9.8040304@hyperactivesw.com> <55071B5A.5000908@gmail.com> Message-ID: <55074439.1000208@hyperactivesw.com> On 3/16/2015 1:05 PM, Richmond wrote: > On 16/03/15 19:49, J. Landman Gay wrote: >> On 3/16/2015 2:02 AM, Richmond wrote: >>> the latest recension I have installed here is 7.0.1 rc2 and it HAS a >>> resource thing as well >> >> Where? I can't find it. >> > > http://forums.livecode.com/viewtopic.php?f=5&t=23663 That didn't help, but a mention of the toolbar icon would have done it. I don't believe I've ever looked at that icon before, I'm not...resourceful...enough. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Mon Mar 16 16:59:43 2015 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 16 Mar 2015 20:59:43 +0000 Subject: Interfacing with web services - advice needed In-Reply-To: <8D445762-02E1-4921-A670-71E18B3FC40B@mac.com> References: <8D445762-02E1-4921-A670-71E18B3FC40B@mac.com> Message-ID: <91EA6249-3D55-4D23-9FE6-5C3C3DD5D88B@byu.edu> Graham, Here are some links to notes I use in my class for introducing students to the concept of web services in general and for how to access them in LiveCode. They?re written assuming no prior knowledge of web services. You may find something of interest. Intro to Web Services Lesson Outline: http://livecode.byu.edu/internet/webServicesintro.php Connecting to Web Services in LC: http://livecode.byu.edu/internet/webServices.php Implementing a RESTful web service using GET?a case study: http://livecode.byu.edu/internet/getMethodSteps.php Finally a couple of BRIEF intros to JSON and XML formatted data: http://livecode.byu.edu/internet/json_intro.php http://livecode.byu.edu/internet/intro_xml.php HTH Devin On Mar 16, 2015, at 11:37 AM, Graham Samuel wrote: > I?ve been bothering this list about XML and arrays, for a geography project I?m pursuing. I?m making progress. However, I?ve now come up against a new issue which isn?t about LiveCode as such but which raises a fairly general question, i.e. > > I need to do a calculation (see the end of this mail if you want to know my current need) - the calculation is a tricky algorithm which is in the public domain and which relies on possibly large data sets which are also in the public domain. I want to avoid coding the algorithm in LiveCode - or any other language for that matter. > > If I wanted to do this calculation personally as a one-off, I would go to one of a number of web sites that provide the calculation as a service, put in my parameters and read off the result. Simple. Now I want to do the same thing repetitively from within a LiveCode program. So I need a way to ?talk? to one of these web sites as if I was keying information in and reading it out - I?m not expecting any special privileges like being given an more machine-oriented API to work with. So the question is, how would I go about coding this type of interaction? Has anyone done this recently? Are there any tutorials? I must say I find it very daunting, and would love to be told "it?s really quite easy?. Could be widget material, but I?m getting ahead of myself. > > Here?s hoping > > Graham > > For those who want to know, my current case involves a succession of points on the Earth?s surface where I know each one's longitude and latitude: I want to convert the intervals between these points to distances in metres (say). This is a known problem, and AFAIK involves converting longitude and latitude to UTM. Several academic and other web sites offer services. Once one has the points in metres from some two-dimensional datum, it?s easy to calculate distances. All the GPS-display systems do it, usually imposing the route on a commercially available map and calculating how far you?ve travelled etc. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Office of Digital Humanities Brigham Young University From tedennis at softwaredetails.com Mon Mar 16 17:09:47 2015 From: tedennis at softwaredetails.com (TEDennis) Date: Mon, 16 Mar 2015 14:09:47 -0700 (PDT) Subject: LC7 & Unicode In-Reply-To: References: <1F665522-6694-45D5-B3A2-944886B164AF@icloud.com> <54FF3AE1.9090202@fourthworld.com> <1426525018019-4690247.post@n4.nabble.com> <1426532539823-4690262.post@n4.nabble.com> Message-ID: <1426540187004-4690269.post@n4.nabble.com> re: Does LC6.7.3 not work for you until LC7 performance improves? I gave up quite a while ago trying to use any version higher than 6.1 because I ran into an intermittent issue with arrays. I don't even remember what the problem was now, but that same app now works in 7.0.4. Well, it *almost* works. Unfortunately, 7.0 caused a problem with "eof" being reported when the last record in the file was read, instead of on the next read. That was a show stopper. I reported it, and they [claim to have] fixed it. The next time I "enhance" that app, I will verify the fix and use 7.x from then on. At which time I will encounter the performance glitch. Again. Sigh ... TED -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC7-Unicode-tp4689927p4690269.html Sent from the Revolution - User mailing list archive at Nabble.com. From mikedoub at gmail.com Mon Mar 16 17:31:58 2015 From: mikedoub at gmail.com (Michael Doub) Date: Mon, 16 Mar 2015 17:31:58 -0400 Subject: How to add a new item into the end of an existing line? In-Reply-To: <1B1E15F1-8E14-4AAD-B2B5-C4E6AD9E2248@me.com> References: <1B1E15F1-8E14-4AAD-B2B5-C4E6AD9E2248@me.com> Message-ID: <55074BCE.1040301@gmail.com> put "1,2,3,4,5,6,7,8,9" & cr & "11,22,33,44,55,66,77,88,99" & cr after tData set itemdel to comma put the itemdel & 10 after item -1 of line 1 of tData On 3/16/15 1:45 PM, Keith Clarke wrote: > Folks, > Please can anyone clarify the syntax needed to add a new item A to the end of an existing line B of an existing variable C? > > I can add to the end of the variable OK, as in > > put foo after C > > but if I try to put foo after B, after line B or after item -1 of line B, after Z (defined as item -1 of B) etc., and I get either no result or compilation errors. > > I?m clearly missing the magic words. > > Thanks in advance > Keith.. > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Mon Mar 16 17:41:05 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 16 Mar 2015 21:41:05 +0000 (UTC) Subject: Laughing my socks off. References: <5505789A.50103@gmail.com> <103261099321.20150315204054@ahsoftware.net> <5506591B.9040702@hyperactivesw.com> <154263810056.20150315212605@ahsoftware.net> <5506800D.2040408@gmail.com> <550717A9.8040304@hyperactivesw.com> <55071B5A.5000908@gmail.com> <55074439.1000208@hyperactivesw.com> Message-ID: J. Landman Gay writes: > >> Where? I can't find it. > >> > > > > http://forums.livecode.com/viewtopic.php?f=5&t=23663 > > That didn't help, but a mention of the toolbar icon would have done it. > I don't believe I've ever looked at that icon before, I'm > not...resourceful...enough. Ah. That does make it a bit clearer. Since I have all the toolbar eyecandy disabled, I never saw that. So... now that I've gotten that far, I forget what the original problem is. -- Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Mon Mar 16 17:51:23 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 16 Mar 2015 16:51:23 -0500 Subject: Laughing my socks off. In-Reply-To: References: <5505789A.50103@gmail.com> <103261099321.20150315204054@ahsoftware.net> <5506591B.9040702@hyperactivesw.com> <154263810056.20150315212605@ahsoftware.net> <5506800D.2040408@gmail.com> <550717A9.8040304@hyperactivesw.com> <55071B5A.5000908@gmail.com> <55074439.1000208@hyperactivesw.com> Message-ID: <5507505B.5080206@hyperactivesw.com> On 3/16/2015 4:41 PM, Mark Wieder wrote: > Since I have all the toolbar eyecandy disabled, I never saw that. I think a lot of people do that. > So... now that I've gotten that far, I forget what the original problem is. A quibble about the version (2.9) mentioned in the Externals instructions, I believe. Rule of thumb should probably be to avoid mentioning any particular version in the docs, especially with releases coming out so quickly these days. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Mon Mar 16 18:53:05 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Mon, 16 Mar 2015 16:53:05 -0600 Subject: How to add a new item into the end of an existing line? In-Reply-To: <55074BCE.1040301@gmail.com> References: <1B1E15F1-8E14-4AAD-B2B5-C4E6AD9E2248@me.com> <55074BCE.1040301@gmail.com> Message-ID: you can even: put "whatever" into item (the number of items in c + 1) of c (and you can of course specify a line too) that way it'll pop the comma in there for you too. But like everyone else I actually find it easier to just insert the comma and data. On Mon, Mar 16, 2015 at 3:31 PM, Michael Doub wrote: > put "1,2,3,4,5,6,7,8,9" & cr & "11,22,33,44,55,66,77,88,99" & cr after > tData > set itemdel to comma > put the itemdel & 10 after item -1 of line 1 of tData > > > > On 3/16/15 1:45 PM, Keith Clarke wrote: > >> Folks, >> Please can anyone clarify the syntax needed to add a new item A to the >> end of an existing line B of an existing variable C? >> >> I can add to the end of the variable OK, as in >> >> put foo after C >> >> but if I try to put foo after B, after line B or after item -1 of line B, >> after Z (defined as item -1 of B) etc., and I get either no result or >> compilation errors. >> >> I?m clearly missing the magic words. >> >> Thanks in advance >> Keith.. >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From james at thehales.id.au Mon Mar 16 19:29:57 2015 From: james at thehales.id.au (James Hale) Date: Tue, 17 Mar 2015 10:29:57 +1100 Subject: How to add a new item into the end of an existing line? Message-ID: A line is a chunk of a container. It is not an object in and of itself. So to add something after the line you need to fully specify the line. put "thenextbit" after line twhatever of containerWithLines No? James From mwieder at ahsoftware.net Mon Mar 16 19:50:18 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 16 Mar 2015 23:50:18 +0000 (UTC) Subject: Laughing my socks off. References: <5505789A.50103@gmail.com> <103261099321.20150315204054@ahsoftware.net> <5506591B.9040702@hyperactivesw.com> <154263810056.20150315212605@ahsoftware.net> <5506800D.2040408@gmail.com> <550717A9.8040304@hyperactivesw.com> <55071B5A.5000908@gmail.com> <55074439.1000208@hyperactivesw.com> <5507505B.5080206@hyperactivesw.com> Message-ID: J. Landman Gay writes: > > So... now that I've gotten that far, I forget what the original problem is. > > A quibble about the version (2.9) mentioned in the Externals > instructions, I believe. Rule of thumb should probably be to avoid > mentioning any particular version in the docs, especially with releases > coming out so quickly these days. Well, I think version 2.9 is when the external interface for linux changed. So it's useful as a marker - previous versions can't use the shared libraries. -- Mark Wieder ahsoftware at gmail.com From lan.kc.macmail at gmail.com Tue Mar 17 02:13:55 2015 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 17 Mar 2015 14:13:55 +0800 Subject: LC7 & Unicode In-Reply-To: <1426538288308-4690266.post@n4.nabble.com> References: <1F665522-6694-45D5-B3A2-944886B164AF@icloud.com> <54FF3AE1.9090202@fourthworld.com> <1426525018019-4690247.post@n4.nabble.com> <1426532539823-4690262.post@n4.nabble.com> <1426538288308-4690266.post@n4.nabble.com> Message-ID: On Tue, Mar 17, 2015 at 4:38 AM, TEDennis wrote: > Apparently all those references have been wrong. How > did we ALL (or most of us) get to the point where we thought Unicode was > the > culprit? > > Probably because LC7 was billed as the Unicode version and it's simple word association. The fact that a lot more was being changed under the hood seems to be brushed over and the focus returns to 'it's Unicode'. > I reasoned that if Unicode wasn't involved, the impact of the > "more fundamental" changes wouldn't have been so severe. > > And then of course the human trait not to believe what we've been told. Some people believe the World Trade Centres were a controlled demolition perpetrated by the US Gov. No matter how many times you show them videos of planes crashing into WTC 1 & 2 they wont change their mind and the theories and websites persist. People have decided that Unicode is to blame for LC 7's slowdown and although the experts have explained there are other fundamental reasons for the sluggishness, some stick with the Unicode theory. Personally I've seen very little performance hit. Certainly FAR less than when compared to upgrading my phone from iOS 7 to iOS 8 - but then again Apple wouldn't let such a performance hit get past the design phase would they - unless of course you call it Lion, Mountain Lion, Mavericks or Yosemite. Yes, within the IDE I do notice an occasional lethargy, but once I build a standalone I can't see what all the fuss is about. I do accept though that other people's millage may vary, but regardless my own 'theory' is: I've never seen so much time and effort put into improving LC than has occurred since the success of the Kick Starter campaign. I've never seen so many posts by Runrev employees, including Kevin, on this LIst, as there've been since the IKS campaign. I've not seen so many bug squashed and such a determination to exterminate them as is currently the case. Now is the ONLY time I've ever noted users posting a bug they've recorded at the QQC and withn days post again that it's been fixed and then at the next release a grateful post as to how responsive Runrev have been. I can not fathom the extra code, time and effort that will be required to bring us LC 8. I do know that it is impossible to get there without some kind of performance hit, but be that as it may if there is some way, any way to reduce that performance hit then Runrev will make every effort to achieve it AND if anyone actually comes up with a VALID way to improve the code and improve the performance, Runrev will happily implement it for the benefit of everyone: users and the company bottom line. From richmondmathewson at gmail.com Tue Mar 17 02:54:26 2015 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 17 Mar 2015 08:54:26 +0200 Subject: Laughing my socks off. In-Reply-To: <5507505B.5080206@hyperactivesw.com> References: <5505789A.50103@gmail.com> <103261099321.20150315204054@ahsoftware.net> <5506591B.9040702@hyperactivesw.com> <154263810056.20150315212605@ahsoftware.net> <5506800D.2040408@gmail.com> <550717A9.8040304@hyperactivesw.com> <55071B5A.5000908@gmail.com> <55074439.1000208@hyperactivesw.com> <5507505B.5080206@hyperactivesw.com> Message-ID: <5507CFA2.1070300@gmail.com> On 03/16/2015 11:51 PM, J. Landman Gay wrote: > On 3/16/2015 4:41 PM, Mark Wieder wrote: >> Since I have all the toolbar eyecandy disabled, I never saw that. > > I think a lot of people do that. > >> So... now that I've gotten that far, I forget what the original >> problem is. > > A quibble about the version (2.9) mentioned in the Externals > instructions, I believe. Rule of thumb should probably be to avoid > mentioning any particular version in the docs, especially with > releases coming out so quickly these days. > Not, just a quibble; the documentation talks about upcoming features, which by version 7 should have been implemented (have they ???). Richmond. From richmondmathewson at gmail.com Tue Mar 17 02:57:09 2015 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 17 Mar 2015 08:57:09 +0200 Subject: Laughing my socks off. In-Reply-To: References: <5505789A.50103@gmail.com> <103261099321.20150315204054@ahsoftware.net> <5506591B.9040702@hyperactivesw.com> <154263810056.20150315212605@ahsoftware.net> <5506800D.2040408@gmail.com> <550717A9.8040304@hyperactivesw.com> <55071B5A.5000908@gmail.com> <55074439.1000208@hyperactivesw.com> <5507505B.5080206@hyperactivesw.com> Message-ID: <5507D045.7080203@gmail.com> On 03/17/2015 01:50 AM, Mark Wieder wrote: > J. Landman Gay writes: > >>> So... now that I've gotten that far, I forget what the original problem is. >> A quibble about the version (2.9) mentioned in the Externals >> instructions, I believe. Rule of thumb should probably be to avoid >> mentioning any particular version in the docs, especially with releases >> coming out so quickly these days. > Well, I think version 2.9 is when the external interface for linux changed. > So it's useful as a marker - previous versions can't use the shared libraries. > "useful as a marker" - who the flying "fudge" is likely to be using a version of LC/RR lower than 2.9 on Linux any more? Richmond. From keith.clarke at me.com Tue Mar 17 05:15:00 2015 From: keith.clarke at me.com (Keith Clarke) Date: Tue, 17 Mar 2015 09:15:00 +0000 Subject: How to add a new item into the end of an existing line? In-Reply-To: References: <1B1E15F1-8E14-4AAD-B2B5-C4E6AD9E2248@me.com> <55074BCE.1040301@gmail.com> Message-ID: <32FE2F6E-A900-436F-8A4F-13412120E9A5@me.com> Folks, Thanks to Mike, Michael, Jerry & Peter for all the useful feedback. I?m keen to try some of these ideas but unfortunately my project file has now become unstable in ?run? mode when I try to access the card containing the key scripted bits! :-( (And of course, this issue has also identified problems with my Time Machine backup setup, as I can?t enter Time Machine due inconsistencies with my MacBook Air?s SSD.) I?ve emailed the project to support at livecode.com and I?m hoping they can identify what has gone awry and recover the project. Ho hum - such is life. Best, Keith.. > On 16 Mar 2015, at 22:53, Mike Bonner wrote: > > you can even: put "whatever" into item (the number of items in c + 1) of c > (and you can of course specify a line too) that way it'll pop the comma in > there for you too. But like everyone else I actually find it easier to just > insert the comma and data. > > > > On Mon, Mar 16, 2015 at 3:31 PM, Michael Doub wrote: > >> put "1,2,3,4,5,6,7,8,9" & cr & "11,22,33,44,55,66,77,88,99" & cr after >> tData >> set itemdel to comma >> put the itemdel & 10 after item -1 of line 1 of tData >> >> >> >> On 3/16/15 1:45 PM, Keith Clarke wrote: >> >>> Folks, >>> Please can anyone clarify the syntax needed to add a new item A to the >>> end of an existing line B of an existing variable C? >>> >>> I can add to the end of the variable OK, as in >>> >>> put foo after C >>> >>> but if I try to put foo after B, after line B or after item -1 of line B, >>> after Z (defined as item -1 of B) etc., and I get either no result or >>> compilation errors. >>> >>> I?m clearly missing the magic words. >>> >>> Thanks in advance >>> Keith.. >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Mar 17 10:32:43 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 17 Mar 2015 14:32:43 +0000 Subject: stack not specified height (from using editmenus?) In-Reply-To: References: <54FA05C9.7080209@hyperactivesw.com> Message-ID: <6E2AE0EE-C8E8-4446-9915-1A8B49FC6208@iotecdigital.com> I think it?s wiggy too, until you consider that someone developing for both platforms would want the same spacial look and feel for both Win and OS X. Having empty space at the top of an OS X window would almost always be undesirable. Bob S > On Mar 6, 2015, at 14:51 , Dr. Hawkins wrote: > > On Fri, Mar 6, 2015 at 11:53 AM, J. Landman Gay > wrote: > >> No, it isn't editmenus, it's that you assigned a menu bar to the stack. >> What you describe is normal and expected behavior on Mac (only.) When a >> menubar exists, the content is scrolled up by the height of the menu group. >> T > > > I had read this as only applying if I am using X or Windows style menus in > the window. It doesn't seem to make sense that a menu on the > application/macos titlebar would affect the window layout (but if that's > correct, it's easy enough to adapt to). > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Mar 17 10:43:27 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 17 Mar 2015 14:43:27 +0000 Subject: Valuable tip re. v7's Save As In-Reply-To: <54FB3AC8.9080403@fourthworld.com> References: <54FB3AC8.9080403@fourthworld.com> Message-ID: <7769109C-D640-42AB-B96F-E045E16EB6A2@iotecdigital.com> Nice. Bob S > On Mar 7, 2015, at 09:52 , Richard Gaskin wrote: > > I recently learned that the Save As option in v7 is even smarter than I'd thought: > > Most of us already know it allows us save our stack files in any format we like, using the current v7 format by default or any legacy version going back more than a decade. > > But Mark Waddingham recently mentioned a detail about it that I didn't now before: the IDE's Save As goes further, setting a cREVGeneral["stackFileVersion"] custom property in your stack, so that all subsequent saves by the IDE in v7 will save in whatever format you last specified in the Save As dialog. > > In short, when migrating work to v7 in which you need to maintain compatibility with older engines, you only need to select the older format in Save As once, and from then on any save done by the IDE will use the format you'd specified. > > Super-convenient. Almost no reason not to be at least testing in v7. :) > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Tue Mar 17 10:49:36 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 17 Mar 2015 07:49:36 -0700 Subject: more menus oddities Message-ID: Exporting my first PDFs , I found another oddity: on a mac, the menubar appears on the exported PDF, even though it isn't visible on screen. This was easy enough to solve, with my script stashing, falsing and resetting the vis of the menu. However, the adjustment in screen height apparently means that my boxes and bordered fields are now getting scaled, and at first guess, I would say that they're landing on pixel/point boundaries, rather than a truly scaled pdf. I suspect I can solve this by changing the print area. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bonnmike at gmail.com Tue Mar 17 11:02:53 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 17 Mar 2015 09:02:53 -0600 Subject: How to add a new item into the end of an existing line? In-Reply-To: <32FE2F6E-A900-436F-8A4F-13412120E9A5@me.com> References: <1B1E15F1-8E14-4AAD-B2B5-C4E6AD9E2248@me.com> <55074BCE.1040301@gmail.com> <32FE2F6E-A900-436F-8A4F-13412120E9A5@me.com> Message-ID: Hope a flaky ssd hasn't munged your stack. That would be awful! On Tue, Mar 17, 2015 at 3:15 AM, Keith Clarke wrote: > Folks, > Thanks to Mike, Michael, Jerry & Peter for all the useful feedback. > > I?m keen to try some of these ideas but unfortunately my project file has > now become unstable in ?run? mode when I try to access the card containing > the key scripted bits! :-( > > (And of course, this issue has also identified problems with my Time > Machine backup setup, as I can?t enter Time Machine due inconsistencies > with my MacBook Air?s SSD.) > > I?ve emailed the project to support at livecode.com and I?m hoping they can > identify what has gone awry and recover the project. > > Ho hum - such is life. > Best, > Keith.. > > > On 16 Mar 2015, at 22:53, Mike Bonner wrote: > > > > you can even: put "whatever" into item (the number of items in c + 1) of > c > > (and you can of course specify a line too) that way it'll pop the comma > in > > there for you too. But like everyone else I actually find it easier to > just > > insert the comma and data. > > > > > > > > On Mon, Mar 16, 2015 at 3:31 PM, Michael Doub > wrote: > > > >> put "1,2,3,4,5,6,7,8,9" & cr & "11,22,33,44,55,66,77,88,99" & cr after > >> tData > >> set itemdel to comma > >> put the itemdel & 10 after item -1 of line 1 of tData > >> > >> > >> > >> On 3/16/15 1:45 PM, Keith Clarke wrote: > >> > >>> Folks, > >>> Please can anyone clarify the syntax needed to add a new item A to the > >>> end of an existing line B of an existing variable C? > >>> > >>> I can add to the end of the variable OK, as in > >>> > >>> put foo after C > >>> > >>> but if I try to put foo after B, after line B or after item -1 of line > B, > >>> after Z (defined as item -1 of B) etc., and I get either no result or > >>> compilation errors. > >>> > >>> I?m clearly missing the magic words. > >>> > >>> Thanks in advance > >>> Keith.. > >>> > >>> > >>> > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tedennis at softwaredetails.com Tue Mar 17 10:55:31 2015 From: tedennis at softwaredetails.com (TEDennis) Date: Tue, 17 Mar 2015 07:55:31 -0700 (PDT) Subject: LC7 & Unicode In-Reply-To: References: <1F665522-6694-45D5-B3A2-944886B164AF@icloud.com> <54FF3AE1.9090202@fourthworld.com> <1426525018019-4690247.post@n4.nabble.com> <1426532539823-4690262.post@n4.nabble.com> <1426538288308-4690266.post@n4.nabble.com> Message-ID: <1426604131081-4690286.post@n4.nabble.com> Kay C Lan: Well, I'm glad you got that off your chest. Feel better? It seems you have an emotional tie to somebody or something at RunRev. It could simply be that your years of Revolution/LiveCode usage has created a strong loyalty. Whatever ... It's likely your view is somewhat biased towards the positive. re: I've never seen so much time and effort put into improving LC than has occurred since the success of the Kick Starter campaign. I sure hoped that would be the case, and that's why I donated to the KS campaign. I have been using Rev/LC since 2007. It has great potential, and I want to see that potential realized. Not just for myself in my own post-career software projects, but for newbies just dipping their toes into the very complex world of software development. LC8 *should* prepare the way for a more robust ... and STABLE ... product. re: Apple wouldn't let such a performance hit get past the design phase would they - unless of course you call it Lion, Mountain Lion, Mavericks or Yosemite. Your comparison of the relative complexities of LC's application development platform and Apple's full blown operating system is almost comical. But, that discussion is beyond the scope of this forum. I am, and will continue to be, a supporter of this company and its goals. But, that doesn't mean I have to sit by quietly and let issues that affected an entire user community go by with nary a comment. And there you have it. TED -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC7-Unicode-tp4689927p4690286.html Sent from the Revolution - User mailing list archive at Nabble.com. From prothero at earthednet.org Tue Mar 17 11:24:38 2015 From: prothero at earthednet.org (Earthednet-wp) Date: Tue, 17 Mar 2015 08:24:38 -0700 Subject: LC7 & Unicode In-Reply-To: <1426604131081-4690286.post@n4.nabble.com> References: <1F665522-6694-45D5-B3A2-944886B164AF@icloud.com> <54FF3AE1.9090202@fourthworld.com> <1426525018019-4690247.post@n4.nabble.com> <1426532539823-4690262.post@n4.nabble.com> <1426538288308-4690266.post@n4.nabble.com> <1426604131081-4690286.post@n4.nabble.com> Message-ID: <9CEC2884-46A7-45E8-80E0-0999FECEB91E@earthednet.org> Cogent comments, all. One of the functions of this community, I believe, is to support and encourage the livecode dev team, and each other. Another equally important function is to provide honest feedback and a kick in the pants when it seems to be needed. I love the direction the team is going. Are they perfect in every aspect? No. Is that normal? Yes. Do the need us to call out problems? Yes. For me, the worst thing is to create software that gets used, but get no feedback, good or bad. Best wishes to all on the list and to those at Livecode who are working hard to create the best product they can. Bill William Prothero http://es.earthednet.org > On Mar 17, 2015, at 7:55 AM, TEDennis wrote: > > Kay C Lan: Well, I'm glad you got that off your chest. Feel better? > > It seems you have an emotional tie to somebody or something at RunRev. It > could simply be that your years of Revolution/LiveCode usage has created a > strong loyalty. Whatever ... It's likely your view is somewhat biased > towards the positive. > > re: I've never seen so much time and effort put into improving LC than has > occurred since the success of the Kick Starter campaign. > > I sure hoped that would be the case, and that's why I donated to the KS > campaign. I have been using Rev/LC since 2007. It has great potential, and > I want to see that potential realized. Not just for myself in my own > post-career software projects, but for newbies just dipping their toes into > the very complex world of software development. LC8 *should* prepare the > way for a more robust ... and STABLE ... product. > > re: Apple wouldn't let such a performance hit get past the design phase > would they - unless of course you call it Lion, Mountain Lion, Mavericks or > Yosemite. > > Your comparison of the relative complexities of LC's application development > platform and Apple's full blown operating system is almost comical. But, > that discussion is beyond the scope of this forum. > > I am, and will continue to be, a supporter of this company and its goals. > But, that doesn't mean I have to sit by quietly and let issues that affected > an entire user community go by with nary a comment. > > And there you have it. > > TED > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC7-Unicode-tp4689927p4690286.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Mar 17 12:34:36 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 17 Mar 2015 09:34:36 -0700 Subject: LC7 & Unicode In-Reply-To: <1426604131081-4690286.post@n4.nabble.com> References: <1426604131081-4690286.post@n4.nabble.com> Message-ID: <5508579C.70001@fourthworld.com> TEDennis wrote: > Kay C Lan: Well, I'm glad you got that off your chest. Feel better? > > It seems you have an emotional tie to somebody or something at RunRev. It > could simply be that your years of Revolution/LiveCode usage has created a > strong loyalty. Whatever ... It's likely your view is somewhat biased > towards the positive. One man's "bias toward the positive" is another man's "bias toward the productive". :) I thought Kay's post lent a welcome balance to the discussion. But before we rush into "Richard's an apologist fanboy!" (the former is not the case, but I'll gladly admit the latter), let's see if we can avoid ad hominem altogether and instead look at Kay's comments on their own merit. For example, the reference to iOS 8 is a good and fair one, IMO: The transition from LiveCode v6 to v7 was in many ways similar in scope to Apple's migration from OS 9 to OS X, yet even with the relatively modest scope of change in iOS 8 we saw one of the wealthiest and most powerful multinationals in the world stumble, and have to release 8.0.1 shortly after - and then it was discovered that 8.0.1 had critical issues, and rushed 8.0.2 out right after. This isn't to suggest that Apple fell down on the job. It's just a healthy reminder that sometimes software engineering is less trivial than we might prefer. > re: Apple wouldn't let such a performance hit get past the design phase > would they - unless of course you call it Lion, Mountain Lion, Mavericks or > Yosemite. > > Your comparison of the relative complexities of LC's application development > platform and Apple's full blown operating system is almost comical. But, > that discussion is beyond the scope of this forum. Such a perspective may actually be a point in LiveCode's favor: LiveCode is far more complex than just about any consumer app; it really does have much more in common with an OS or virtual machine. It's a sort of meta-OS, allowing us to write apps to a single API which then get translated across a range of OS APIs that few developers of even simple consumer apps dare to attempt. It would seem LiveCode's been doing a pretty good job if we find ourselves with a perspective that lets us take this level of effort for granted. If we look at just one small corner of that, the pulsing default button on OS X, we'd see a level of effort deeper than I care to write here but suffice to say nothing in the OS APIs supports what LiveCode allows its users to do with that. And that's just one very small corner of one of seven platforms LiveCode deploys to. Of course our participation in improving the quality of the tools we rely on is essential, and it benefits no one to whitewash areas of actual concern. But I won't hold it against Kay or anyone else if they enjoy using LiveCode. I certainly wouldn't feel compelled to dismiss their thoughts as "emotional", any more than I would dismiss complaints on such grounds. To move forward productively it's helpful to look at what's working and not working based on our own direct experience. This may be a good example: > I am, and will continue to be, a supporter of this company and its goals. > But, that doesn't mean I have to sit by quietly and let issues that affected > an entire user community go by with nary a comment. "Entire user community" is pretty big, and neither Kay nor anyone else has suggested no one report bugs. Since I migrated my work to v7 I find I'm working at least as productively as under v6.x, in some ways more so given the effort Fraser put in with GDK integration and that I spend nearly half of my time these days on Ubuntu (most of the rest on Mac and a bit on Windows, FWIW). But I can't presume to speak for everyone, and more importantly I don't believe any single one of us can. I know firsthand many who are enjoying v7. Sure, like all previous versions, and like nearly all software ever written, it has bugs. But the degree to which bugs specific to v7 are preventing anyone from using it has not been clearly defined, and seems likely to be as frequently the result of social memetics than actual firsthand experience. In fact, I think Kay's observation about human nature here is relevant: "And then of course the human trait not to believe what we've been told." This is not to dismiss actual bugs, but it does help remind us that readers of this list enjoy a great many repetitive posts about a relatively small number of issues from an even smaller number of posters. When we look at the community's discussion as a whole, the number of actual issues is far small than the many posts about them. So let's find issues and report them. And when we have trouble pinning down a recipe, lets explore the issue here and work together to find the recipe that will make it reproducible for the team, and thus fixable. But let's also try to maintain a perspective of actual scope here, relying more often on what we've seen for ourselves rather than what we heard from someone who who heard it from someone else. Let me put my time where my mouth is, and see if I can help steward your concern here toward a fix: > Unfortunately, 7.0 caused a problem with "eof" being reported when > the last record in the file was read, instead of on the next read. Would the next read contain data, or be empty? If the latter, it may not be a bug, but a fix for a bug that we'd just come to accept. If the former, let's report it. Have you submitted it? If not, do you have a sample script I might use to verify the issue and submit it for you? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From livfoss at mac.com Tue Mar 17 12:40:03 2015 From: livfoss at mac.com (Graham Samuel) Date: Tue, 17 Mar 2015 17:40:03 +0100 Subject: Interfacing with web services - advice needed In-Reply-To: <91EA6249-3D55-4D23-9FE6-5C3C3DD5D88B@byu.edu> References: <8D445762-02E1-4921-A670-71E18B3FC40B@mac.com> <91EA6249-3D55-4D23-9FE6-5C3C3DD5D88B@byu.edu> Message-ID: <234459BE-86BE-42C6-9EB1-589E3C7109FD@mac.com> Thanks very much Devin - I?ll be studying this material. Looks like exactly what I was hoping for. Graham > On 16 Mar 2015, at 21:59, Devin Asay wrote: > > Graham, > > Here are some links to notes I use in my class for introducing students to the concept of web services in general and for how to access them in LiveCode. They?re written assuming no prior knowledge of web services. You may find something of interest. > > Intro to Web Services Lesson Outline: http://livecode.byu.edu/internet/webServicesintro.php > > Connecting to Web Services in LC: http://livecode.byu.edu/internet/webServices.php > > Implementing a RESTful web service using GET?a case study: http://livecode.byu.edu/internet/getMethodSteps.php > > Finally a couple of BRIEF intros to JSON and XML formatted data: > http://livecode.byu.edu/internet/json_intro.php > http://livecode.byu.edu/internet/intro_xml.php > > HTH > > Devin > > On Mar 16, 2015, at 11:37 AM, Graham Samuel wrote: > >> I?ve been bothering this list about XML and arrays, for a geography project I?m pursuing. I?m making progress. However, I?ve now come up against a new issue which isn?t about LiveCode as such but which raises a fairly general question, i.e. >> >> I need to do a calculation (see the end of this mail if you want to know my current need) - the calculation is a tricky algorithm which is in the public domain and which relies on possibly large data sets which are also in the public domain. I want to avoid coding the algorithm in LiveCode - or any other language for that matter. >> >> If I wanted to do this calculation personally as a one-off, I would go to one of a number of web sites that provide the calculation as a service, put in my parameters and read off the result. Simple. Now I want to do the same thing repetitively from within a LiveCode program. So I need a way to ?talk? to one of these web sites as if I was keying information in and reading it out - I?m not expecting any special privileges like being given an more machine-oriented API to work with. So the question is, how would I go about coding this type of interaction? Has anyone done this recently? Are there any tutorials? I must say I find it very daunting, and would love to be told "it?s really quite easy?. Could be widget material, but I?m getting ahead of myself. >> >> Here?s hoping >> >> Graham >> >> For those who want to know, my current case involves a succession of points on the Earth?s surface where I know each one's longitude and latitude: I want to convert the intervals between these points to distances in metres (say). This is a known problem, and AFAIK involves converting longitude and latitude to UTM. Several academic and other web sites offer services. Once one has the points in metres from some two-dimensional datum, it?s easy to calculate distances. All the GPS-display systems do it, usually imposing the route on a commercially available map and calculating how far you?ve travelled etc. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > Devin Asay > Office of Digital Humanities > Brigham Young University > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Tue Mar 17 13:08:19 2015 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 17 Mar 2015 17:08:19 +0000 Subject: Oops... I've made a mistake..:-( Message-ID: I updated my mini ipad and iphone 5s to iOS 8.2... now I cannot get an LC app onto these devices..:-( Does anyone know when liveCode will be able to deal with iOS 8.2 ? Dixie From cs_livecode at icloud.com Tue Mar 17 13:17:01 2015 From: cs_livecode at icloud.com (Chris Sheffield) Date: Tue, 17 Mar 2015 11:17:01 -0600 Subject: Oops... I've made a mistake..:-( In-Reply-To: References: Message-ID: <3AFD6571-64EF-4098-B635-D87DEF1BE397@icloud.com> John, You can download Xcode 6.2 in order to be able to install your apps onto your devices. LiveCode does not support using Xcode 6.2 for development/building quite yet, but I?m sure it will soon. So just continue to keep Xcode 6.1 around for that purpose for now. Only fire up Xcode 6.2 when you want to actually install your apps. Just a note. If you?ve installed Xcode through the Mac App Store, you can update that copy to 6.2, then just go into Apple?s Dev Center, log in, find the ?Additional Downloads? link (I don?t recall the exact name of it), and download a copy of Xcode 6.1. Or do the opposite. Don?t update your Mac App Store copy, and instead go and manually download and install Xcode 6.2. Hopefully that makes sense. :-) Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com > On Mar 17, 2015, at 11:08 AM, John Dixon wrote: > > I updated my mini ipad and iphone 5s to iOS 8.2... now I cannot get an LC app onto these devices..:-( Does anyone know when liveCode will be able to deal with iOS 8.2 ? > > Dixie > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Tue Mar 17 13:40:52 2015 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 17 Mar 2015 17:40:52 +0000 Subject: Oops... I've made a mistake..:-( In-Reply-To: <3AFD6571-64EF-4098-B635-D87DEF1BE397@icloud.com> References: , <3AFD6571-64EF-4098-B635-D87DEF1BE397@icloud.com> Message-ID: Chris... What is happening is this... I can build a standalone with LC & Xcode 6.1.1, no problem... but it will not load onto the ipad or iphone since they are running iOS 8.2 xCode 6.2 is not recognised as a valid SDK by liveCode Dixie > > John, > > You can download Xcode 6.2 in order to be able to install your apps onto your devices. LiveCode does not support using Xcode 6.2 for development/building quite yet, but I?m sure it will soon. So just continue to keep Xcode 6.1 around for that purpose for now. Only fire up Xcode 6.2 when you want to actually install your apps. > > Just a note. If you?ve installed Xcode through the Mac App Store, you can update that copy to 6.2, then just go into Apple?s Dev Center, log in, find the ?Additional Downloads? link (I don?t recall the exact name of it), and download a copy of Xcode 6.1. Or do the opposite. Don?t update your Mac App Store copy, and instead go and manually download and install Xcode 6.2. > > Hopefully that makes sense. :-) > > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > On Mar 17, 2015, at 11:08 AM, John Dixon wrote: > > > > I updated my mini ipad and iphone 5s to iOS 8.2... now I cannot get an LC app onto these devices..:-( Does anyone know when liveCode will be able to deal with iOS 8.2 ? > > > > Dixie > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cs_livecode at icloud.com Tue Mar 17 13:52:26 2015 From: cs_livecode at icloud.com (Chris Sheffield) Date: Tue, 17 Mar 2015 11:52:26 -0600 Subject: Oops... I've made a mistake..:-( In-Reply-To: References: <3AFD6571-64EF-4098-B635-D87DEF1BE397@icloud.com> Message-ID: <1D1394D7-94C1-490F-857F-9A7D4E0C9D46@icloud.com> Correct. You should still be able to use Xcode 6.2 to install your apps on your devices running iOS 8.2, though, even though you?re using Xcode 6.1.1 to build with. Just fire up Xcode 6.2 after building your app, open up Window -> Devices, and install your app from there. You can also use Monte?s mergTestApp if you have that. It will continue to install apps (straight from LiveCode) on devices running a newer version of iOS. Works great. Build and install with one click. :-) > On Mar 17, 2015, at 11:40 AM, John Dixon wrote: > > Chris... > > What is happening is this... I can build a standalone with LC & Xcode 6.1.1, no problem... but it will not load onto the ipad or iphone since they are running iOS 8.2 > > xCode 6.2 is not recognised as a valid SDK by liveCode > > Dixie > >> >> John, >> >> You can download Xcode 6.2 in order to be able to install your apps onto your devices. LiveCode does not support using Xcode 6.2 for development/building quite yet, but I?m sure it will soon. So just continue to keep Xcode 6.1 around for that purpose for now. Only fire up Xcode 6.2 when you want to actually install your apps. >> >> Just a note. If you?ve installed Xcode through the Mac App Store, you can update that copy to 6.2, then just go into Apple?s Dev Center, log in, find the ?Additional Downloads? link (I don?t recall the exact name of it), and download a copy of Xcode 6.1. Or do the opposite. Don?t update your Mac App Store copy, and instead go and manually download and install Xcode 6.2. >> >> Hopefully that makes sense. :-) >> >> Chris >> >> >> -- >> Chris Sheffield >> Read Naturally, Inc. >> www.readnaturally.com >> >>> On Mar 17, 2015, at 11:08 AM, John Dixon wrote: >>> >>> I updated my mini ipad and iphone 5s to iOS 8.2... now I cannot get an LC app onto these devices..:-( Does anyone know when liveCode will be able to deal with iOS 8.2 ? >>> >>> Dixie >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at me.com Tue Mar 17 13:55:00 2015 From: keith.clarke at me.com (Keith Clarke) Date: Tue, 17 Mar 2015 17:55:00 +0000 Subject: How to add a new item into the end of an existing line? In-Reply-To: References: <1B1E15F1-8E14-4AAD-B2B5-C4E6AD9E2248@me.com> <55074BCE.1040301@gmail.com> <32FE2F6E-A900-436F-8A4F-13412120E9A5@me.com> Message-ID: <96BAF641-6C7F-4F24-96D3-87DCB5309296@me.com> I can?t be sure whether the SSD issue contributed to the stack crashing the IDE but I?ve created this bug report and attached the file. http://quality.runrev.com/show_bug.cgi?id=14984 Meanwhile, I can access the stack in developer mode, so can migrate the resources to a new stack and do a bit of refactoring as I go. Best, Keith.. > On 17 Mar 2015, at 15:02, Mike Bonner wrote: > > Hope a flaky ssd hasn't munged your stack. That would be awful! > > On Tue, Mar 17, 2015 at 3:15 AM, Keith Clarke wrote: > >> Folks, >> Thanks to Mike, Michael, Jerry & Peter for all the useful feedback. >> >> I?m keen to try some of these ideas but unfortunately my project file has >> now become unstable in ?run? mode when I try to access the card containing >> the key scripted bits! :-( >> >> (And of course, this issue has also identified problems with my Time >> Machine backup setup, as I can?t enter Time Machine due inconsistencies >> with my MacBook Air?s SSD.) >> >> I?ve emailed the project to support at livecode.com and I?m hoping they can >> identify what has gone awry and recover the project. >> >> Ho hum - such is life. >> Best, >> Keith.. >> >>> On 16 Mar 2015, at 22:53, Mike Bonner wrote: >>> >>> you can even: put "whatever" into item (the number of items in c + 1) of >> c >>> (and you can of course specify a line too) that way it'll pop the comma >> in >>> there for you too. But like everyone else I actually find it easier to >> just >>> insert the comma and data. >>> >>> >>> >>> On Mon, Mar 16, 2015 at 3:31 PM, Michael Doub >> wrote: >>> >>>> put "1,2,3,4,5,6,7,8,9" & cr & "11,22,33,44,55,66,77,88,99" & cr after >>>> tData >>>> set itemdel to comma >>>> put the itemdel & 10 after item -1 of line 1 of tData >>>> >>>> >>>> >>>> On 3/16/15 1:45 PM, Keith Clarke wrote: >>>> >>>>> Folks, >>>>> Please can anyone clarify the syntax needed to add a new item A to the >>>>> end of an existing line B of an existing variable C? >>>>> >>>>> I can add to the end of the variable OK, as in >>>>> >>>>> put foo after C >>>>> >>>>> but if I try to put foo after B, after line B or after item -1 of line >> B, >>>>> after Z (defined as item -1 of B) etc., and I get either no result or >>>>> compilation errors. >>>>> >>>>> I?m clearly missing the magic words. >>>>> >>>>> Thanks in advance >>>>> Keith.. >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Tue Mar 17 13:57:27 2015 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 17 Mar 2015 17:57:27 +0000 Subject: Oops... I've made a mistake..:-( In-Reply-To: <1D1394D7-94C1-490F-857F-9A7D4E0C9D46@icloud.com> References: , <3AFD6571-64EF-4098-B635-D87DEF1BE397@icloud.com>, , <1D1394D7-94C1-490F-857F-9A7D4E0C9D46@icloud.com> Message-ID: mmm.... I'll try :-) > > Correct. > > You should still be able to use Xcode 6.2 to install your apps on your devices running iOS 8.2, though, even though you?re using Xcode 6.1.1 to build with. Just fire up Xcode 6.2 after building your app, open up Window -> Devices, and install your app from there. > > You can also use Monte?s mergTestApp if you have that. It will continue to install apps (straight from LiveCode) on devices running a newer version of iOS. Works great. Build and install with one click. :-) > > > > On Mar 17, 2015, at 11:40 AM, John Dixon wrote: > > > > Chris... > > > > What is happening is this... I can build a standalone with LC & Xcode 6.1.1, no problem... but it will not load onto the ipad or iphone since they are running iOS 8.2 > > > > xCode 6.2 is not recognised as a valid SDK by liveCode > > > > Dixie > > > >> > >> John, > >> > >> You can download Xcode 6.2 in order to be able to install your apps onto your devices. LiveCode does not support using Xcode 6.2 for development/building quite yet, but I?m sure it will soon. So just continue to keep Xcode 6.1 around for that purpose for now. Only fire up Xcode 6.2 when you want to actually install your apps. > >> > >> Just a note. If you?ve installed Xcode through the Mac App Store, you can update that copy to 6.2, then just go into Apple?s Dev Center, log in, find the ?Additional Downloads? link (I don?t recall the exact name of it), and download a copy of Xcode 6.1. Or do the opposite. Don?t update your Mac App Store copy, and instead go and manually download and install Xcode 6.2. > >> > >> Hopefully that makes sense. :-) > >> > >> Chris > >> > >> > >> -- > >> Chris Sheffield > >> Read Naturally, Inc. > >> www.readnaturally.com > >> > >>> On Mar 17, 2015, at 11:08 AM, John Dixon wrote: > >>> > >>> I updated my mini ipad and iphone 5s to iOS 8.2... now I cannot get an LC app onto these devices..:-( Does anyone know when liveCode will be able to deal with iOS 8.2 ? > >>> > >>> Dixie > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Mar 17 13:59:04 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 17 Mar 2015 10:59:04 -0700 Subject: stack not specified height (from using editmenus?) In-Reply-To: <6E2AE0EE-C8E8-4446-9915-1A8B49FC6208@iotecdigital.com> References: <6E2AE0EE-C8E8-4446-9915-1A8B49FC6208@iotecdigital.com> Message-ID: <55086B68.7040707@fourthworld.com> Bob Sneidar wrote: >> On Mar 6, 2015, at 14:51 , Dr. Hawkins wrote: >> It doesn't seem to make sense that a menu on the application/macos >> titlebar would affect the window layout (but if that's >> correct, it's easy enough to adapt to). > > I think it?s wiggy too, until you consider that someone developing > for both platforms would want the same spacial look and feel for both > Win and OS X. Having empty space at the top of an OS X window would > almost always be undesirable. It can seem "wiggy" if you spend most of your time on Macs so that it may not be readily apparent just how uncommon it is to have a global menu bar. I trust Windows users feel this Mac convention is equally "wiggy". :) In general GUI terms, a window has two primary regions: the drag region and the content region. The window's title is drawn in the drag region, while a menu bar is part of the content region. Menu aren't in the title bar at all. On Mac they're completely disconnected from the window, and for the other 90% of the GUI world they're not in the title bar either but below it. As a convenience for deploying to Macs, by default the portion of the content region occupied by the menu bar is cropped when rendering the window, and the menus from that group are rendered in the Mac's global menu bar instead. The portion of the card containing the menu group will only appear empty if you also go out of your way to hide that group, a step normally not needed by virtue of this automatic cropping. Even then, hiding the group generally won't show an empty area because the window's already cropped. You'd have to go further out of your way to show that to the user by explicitly turning on the editMenus stack property, something you wouldn't normally consider unless you were actually editing the objects in the menu group. By and large, the default behaviors are pretty good and can usually be left alone for reasonably HIG-savvy deployment across platforms. One of the few areas where the complete contents of the card may come into play is with printing, and only in certain circumstances. Given that the layouts in our UI stacks are more frequently set up for user interaction, it's common to have a substack for printing in which the card is sized for the current printer metrics and page orientation, and contains only the elements we want to print. But sometimes we may want to print the same card we've designed for the user to interact with, and in that case we'll need to take into account everything on the card, which may include a menu bar. In any layout, if you want to print only a portion of the card you'll want to specify that portion in your print command options. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rdimola at evergreeninfo.net Tue Mar 17 14:04:22 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 17 Mar 2015 14:04:22 -0400 Subject: Oops... I've made a mistake..:-( In-Reply-To: References: Message-ID: <008601d060dc$cc48f770$64dae650$@net> I am using LC 6.7.3 and Xcode 6.1.1 to build. I then use Xcode 6.1.1 devices(or iTunes) to install on a 8.1.3 and 8.2 device. No problems although Xcode squawks that the "Developer Disk Image could not be mounted" for the 8.2 device. Other than that all seems to work OK. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of John Dixon Sent: Tuesday, March 17, 2015 1:08 PM To: use-livecode at lists.runrev.com Subject: Oops... I've made a mistake..:-( I updated my mini ipad and iphone 5s to iOS 8.2... now I cannot get an LC app onto these devices..:-( Does anyone know when liveCode will be able to deal with iOS 8.2 ? Dixie _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Mar 17 14:07:50 2015 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 17 Mar 2015 14:07:50 -0400 Subject: Oops... I've made a mistake..:-( In-Reply-To: References: <3AFD6571-64EF-4098-B635-D87DEF1BE397@icloud.com> <1D1394D7-94C1-490F-857F-9A7D4E0C9D46@icloud.com> Message-ID: You can also use Jacque's AirLaunch, which has become my new favorite way to get apps onto devices that aren't mine On Tue, Mar 17, 2015 at 1:57 PM, John Dixon wrote: > > > mmm.... I'll try :-) > > > > Correct. > > > > You should still be able to use Xcode 6.2 to install your apps on your > devices running iOS 8.2, though, even though you?re using Xcode 6.1.1 to > build with. Just fire up Xcode 6.2 after building your app, open up Window > -> Devices, and install your app from there. > > > > You can also use Monte?s mergTestApp if you have that. It will continue > to install apps (straight from LiveCode) on devices running a newer version > of iOS. Works great. Build and install with one click. :-) > > > > > > > On Mar 17, 2015, at 11:40 AM, John Dixon > wrote: > > > > > > Chris... > > > > > > What is happening is this... I can build a standalone with LC & Xcode > 6.1.1, no problem... but it will not load onto the ipad or iphone since > they are running iOS 8.2 > > > > > > xCode 6.2 is not recognised as a valid SDK by liveCode > > > > > > Dixie > > > > > >> > > >> John, > > >> > > >> You can download Xcode 6.2 in order to be able to install your apps > onto your devices. LiveCode does not support using Xcode 6.2 for > development/building quite yet, but I?m sure it will soon. So just continue > to keep Xcode 6.1 around for that purpose for now. Only fire up Xcode 6.2 > when you want to actually install your apps. > > >> > > >> Just a note. If you?ve installed Xcode through the Mac App Store, you > can update that copy to 6.2, then just go into Apple?s Dev Center, log in, > find the ?Additional Downloads? link (I don?t recall the exact name of it), > and download a copy of Xcode 6.1. Or do the opposite. Don?t update your Mac > App Store copy, and instead go and manually download and install Xcode 6.2. > > >> > > >> Hopefully that makes sense. :-) > > >> > > >> Chris > > >> > > >> > > >> -- > > >> Chris Sheffield > > >> Read Naturally, Inc. > > >> www.readnaturally.com > > >> > > >>> On Mar 17, 2015, at 11:08 AM, John Dixon > wrote: > > >>> > > >>> I updated my mini ipad and iphone 5s to iOS 8.2... now I cannot get > an LC app onto these devices..:-( Does anyone know when liveCode will be > able to deal with iOS 8.2 ? > > >>> > > >>> Dixie > > >>> > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Tue Mar 17 14:09:13 2015 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 17 Mar 2015 14:09:13 -0400 Subject: Oops... I've made a mistake..:-( In-Reply-To: References: <3AFD6571-64EF-4098-B635-D87DEF1BE397@icloud.com> <1D1394D7-94C1-490F-857F-9A7D4E0C9D46@icloud.com> Message-ID: Doing it this (airLaunch) way, I'm not having to fiddle with xc 6.2 at all. I just build as per usual and upload to dropbox On Tue, Mar 17, 2015 at 2:07 PM, Mike Kerner wrote: > You can also use Jacque's AirLaunch, which has become my new favorite way > to get apps onto devices that aren't mine > > On Tue, Mar 17, 2015 at 1:57 PM, John Dixon wrote: > >> >> >> mmm.... I'll try :-) >> > >> > Correct. >> > >> > You should still be able to use Xcode 6.2 to install your apps on your >> devices running iOS 8.2, though, even though you?re using Xcode 6.1.1 to >> build with. Just fire up Xcode 6.2 after building your app, open up Window >> -> Devices, and install your app from there. >> > >> > You can also use Monte?s mergTestApp if you have that. It will continue >> to install apps (straight from LiveCode) on devices running a newer version >> of iOS. Works great. Build and install with one click. :-) >> > >> > >> > > On Mar 17, 2015, at 11:40 AM, John Dixon >> wrote: >> > > >> > > Chris... >> > > >> > > What is happening is this... I can build a standalone with LC & Xcode >> 6.1.1, no problem... but it will not load onto the ipad or iphone since >> they are running iOS 8.2 >> > > >> > > xCode 6.2 is not recognised as a valid SDK by liveCode >> > > >> > > Dixie >> > > >> > >> >> > >> John, >> > >> >> > >> You can download Xcode 6.2 in order to be able to install your apps >> onto your devices. LiveCode does not support using Xcode 6.2 for >> development/building quite yet, but I?m sure it will soon. So just continue >> to keep Xcode 6.1 around for that purpose for now. Only fire up Xcode 6.2 >> when you want to actually install your apps. >> > >> >> > >> Just a note. If you?ve installed Xcode through the Mac App Store, >> you can update that copy to 6.2, then just go into Apple?s Dev Center, log >> in, find the ?Additional Downloads? link (I don?t recall the exact name of >> it), and download a copy of Xcode 6.1. Or do the opposite. Don?t update >> your Mac App Store copy, and instead go and manually download and install >> Xcode 6.2. >> > >> >> > >> Hopefully that makes sense. :-) >> > >> >> > >> Chris >> > >> >> > >> >> > >> -- >> > >> Chris Sheffield >> > >> Read Naturally, Inc. >> > >> www.readnaturally.com >> > >> >> > >>> On Mar 17, 2015, at 11:08 AM, John Dixon >> wrote: >> > >>> >> > >>> I updated my mini ipad and iphone 5s to iOS 8.2... now I cannot get >> an LC app onto these devices..:-( Does anyone know when liveCode will be >> able to deal with iOS 8.2 ? >> > >>> >> > >>> Dixie >> > >>> >> > >>> _______________________________________________ >> > >>> use-livecode mailing list >> > >>> use-livecode at lists.runrev.com >> > >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> >> > >> _______________________________________________ >> > >> use-livecode mailing list >> > >> use-livecode at lists.runrev.com >> > >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From tedennis at softwaredetails.com Tue Mar 17 14:19:27 2015 From: tedennis at softwaredetails.com (TEDennis) Date: Tue, 17 Mar 2015 11:19:27 -0700 (PDT) Subject: LC7 & Unicode In-Reply-To: <5508579C.70001@fourthworld.com> References: <54FF3AE1.9090202@fourthworld.com> <1426525018019-4690247.post@n4.nabble.com> <1426532539823-4690262.post@n4.nabble.com> <1426538288308-4690266.post@n4.nabble.com> <1426604131081-4690286.post@n4.nabble.com> <5508579C.70001@fourthworld.com> Message-ID: <1426616367775-4690301.post@n4.nabble.com> Richard: re: I thought Kay's post lent a welcome balance to the discussion. Good for you. It's all in perspective. The tone of Kay's post certainly didn't sound like a "welcome balance" to me. It sounded condescending, so I responded in kind. Trust me, that was far milder than what I felt like saying. re: "Entire user community" is pretty big, and neither Kay nor anyone else has suggested no one report bugs. Nor did I. My comment was about me, and my reluctance to keep strong feelings under wraps. Especially since I've already been doing that. For a long time. I spent a very successful career developing big bux big iron software, all the way from programming low level operating system interfaces (including assisting IBM with some of their early operating systems) to high level management. I know software is a tough job. My involvement in this thread started with a desire for clarification of a claim made by one of the developers (?) which made it sound like LC was determining all by its lonesome that Unicode was being used. If that were the case, and we could disable that auto-determination, I would readily use it as an "easy" way out of a situation that affects my application. Sometimes the developers are so close to their baby that they overlook some obvious alternatives. Was that the case here? I don't know. And I still don't. I doubted it when I first conceived the notion, but I would have been amiss by not mentioning it with the hopes of being a help to myself and others in the community. re: But let's also try to maintain a perspective of actual scope here, relying more often on what we've seen for ourselves rather than what we heard from someone who who heard it from someone else. If you can review the comments here and on other forums and come to the conclusion that Unicode support did not impact the "Entire User Community" at some level, then we will have to agree to disagree. I know for a FACT that it impacted my app in a negative manner, and I explained the circumstances. A simple answer to a simple question would have short circuited this discussion many posts ago. re: Have you submitted it? [the "eof" bug]. If not, do you have a sample script I might use to verify the issue and submit it for you? I submitted it, complete with a detailed script/recipe. It was accepted as a bug, and they [claim to have] fixed it. When I need to enhance that app, I will verify it. TED -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC7-Unicode-tp4689927p4690301.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Tue Mar 17 14:55:27 2015 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 17 Mar 2015 20:55:27 +0200 Subject: [OT] Wifi, Bluetooth, WiFi Direct Message-ID: <5508789F.9010301@gmail.com> Interesting reading: http://www.techradar.com/news/phone-and-communications/mobile-phones/what-is-bluetooth-how-it-works-and-how-you-can-use-it-1141428/3 Richmond. From jacque at hyperactivesw.com Tue Mar 17 16:08:43 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Mar 2015 15:08:43 -0500 Subject: more menus oddities In-Reply-To: References: Message-ID: <550889CB.8030507@hyperactivesw.com> On 3/17/2015 9:49 AM, Dr. Hawkins wrote: > Exporting my first PDFs , I found another oddity: on a mac, the menubar > appears on the exported PDF, even though it isn't visible on screen. > > This was easy enough to solve, with my script stashing, falsing and > resetting the vis of the menu. > > However, the adjustment in screen height apparently means that my boxes and > bordered fields are now getting scaled, and at first guess, I would say > that they're landing on pixel/point boundaries, rather than a truly scaled > pdf. I suspect I can solve this by changing the print area. Don't try to adjust the menu group. I suspect you are issuing a "print this card" command. Remember that the whole card is not visible because the top area has scrolled out of view, but it does contain the menu group, which will print when you "print card". The solution is simple. Instead of printing the whole card, just print the area from the bottom of the menu group to the bottom of the card. That way the card scroll won't change and the objects will remain where they appear on screen. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Tue Mar 17 16:37:50 2015 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 17 Mar 2015 20:37:50 +0000 Subject: LC7 & Unicode In-Reply-To: <1426616367775-4690301.post@n4.nabble.com> References: <54FF3AE1.9090202@fourthworld.com> <1426525018019-4690247.post@n4.nabble.com> <1426532539823-4690262.post@n4.nabble.com> <1426538288308-4690266.post@n4.nabble.com> <1426604131081-4690286.post@n4.nabble.com> <5508579C.70001@fourthworld.com> <1426616367775-4690301.post@n4.nabble.com> Message-ID: <5508909E.4020608@tweedly.net> On 17/03/2015 18:19, TEDennis wrote: > re: Have you submitted it? [the "eof" bug]. If not, do you have a sample > script I might use to verify the issue and submit it for you? > > I submitted it, complete with a detailed script/recipe. It was accepted as > a bug, and they [claim to have] fixed it. When I need to enhance that app, > I will verify it. > > We all have our own way of working, but ..... if I had reported a bug which - had a serious impact on an app of mine - has been claimed to be fixed - and I had any doubt about that fix then I would verify it (or confirm its non-fixed status and re-report) so that when I needed to enhance my app, I would be confident it would work. Alex. From dochawk at gmail.com Tue Mar 17 17:14:20 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 17 Mar 2015 14:14:20 -0700 Subject: more menus oddities In-Reply-To: <550889CB.8030507@hyperactivesw.com> References: <550889CB.8030507@hyperactivesw.com> Message-ID: On Tue, Mar 17, 2015 at 1:08 PM, J. Landman Gay wrote: > Don't try to adjust the menu group. I suspect you are issuing a "print > this card" command. > open printing to pdf outpath ... print otCd into 18,18,576+18,756 It used to be print otCd from 18,18,576+18,756 into 18,18,576+18,756 until that started crashing livecode a couple of months ago. Is that fixed? It seems to me that someone else was bit a couple of weeks ago and posted here. Remember that the whole card is not visible because the top area has > scrolled out of view, but it does contain the menu group, which will print > when you "print card". > > The solution is simple. Instead of printing the whole card, just print the > area from the bottom of the menu group to the bottom of the card. That way > the card scroll won't change and the objects will remain where they appear > on screen. > It prints *over* the objects that I have placed on the card, rather than above them. SO the objects display on screen, but not output. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From tedennis at softwaredetails.com Tue Mar 17 17:09:51 2015 From: tedennis at softwaredetails.com (TEDennis) Date: Tue, 17 Mar 2015 14:09:51 -0700 (PDT) Subject: LC7 & Unicode In-Reply-To: <5508909E.4020608@tweedly.net> References: <1426525018019-4690247.post@n4.nabble.com> <1426532539823-4690262.post@n4.nabble.com> <1426538288308-4690266.post@n4.nabble.com> <1426604131081-4690286.post@n4.nabble.com> <5508579C.70001@fourthworld.com> <1426616367775-4690301.post@n4.nabble.com> <5508909E.4020608@tweedly.net> Message-ID: <1426626591412-4690306.post@n4.nabble.com> You're right. Everybody has their own way of working. I have no reason to doubt they fixed it, considering the detailed self-validating script I submitted. However, I will most certainly verify it in my own app when I enhance that app. If it fails for some reason at that point in time, then there's probably a different, albeit related, bug that needs to be researched, documented, and submitted. Hopefully by the time I need to enhance the app, 7.x's performance will have improved. Combining that with a show stopper glitch having been fixed, will be cause for dancing in the aisles. Currently, I have no reason to open up the app. In the meantime, any other community members who use 7.x can benefit from a fix of a glitch in file read processing they don't even know they have. TED -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LC7-Unicode-tp4689927p4690306.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Tue Mar 17 17:21:11 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 17 Mar 2015 14:21:11 -0700 Subject: more menus oddities In-Reply-To: References: Message-ID: <55089AC7.2050507@fourthworld.com> Dr. Hawkins wrote: > It used to be > > print otCd from 18,18,576+18,756 into 18,18,576+18,756 > > until that started crashing livecode a couple of months ago. > > Is that fixed? It seems to me that someone else was bit a couple > of weeks ago and posted here. It wasn't reported until Paul Hilbert filed the report for someone else on the 5th. It was fixed on the 10th, but was just outside the window for 7.0.4 DP1, now expected for DP 2. > It prints *over* the objects that I have placed on the card, rather > than above them. SO the objects display on screen, but not output. The card prints with objects arranged differently than how they appear on the card when viewed on screen? Sounds worth filing a bug report on that. Are you seeing that will all layouts, or just one? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Tue Mar 17 17:33:39 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 17 Mar 2015 14:33:39 -0700 Subject: more menus oddities In-Reply-To: <55089AC7.2050507@fourthworld.com> References: <55089AC7.2050507@fourthworld.com> Message-ID: On Tue, Mar 17, 2015 at 2:21 PM, Richard Gaskin wrote: > It wasn't reported until Paul Hilbert filed the report for someone else on > the 5th. It was fixed on the 10th, but was just outside the window for > 7.0.4 DP1, now expected for DP 2. > > I must have been in a hurry that day (or particularly frustrated!) if I didn't report it at least here. Now, I just file the report and mention it here. > > > It prints *over* the objects that I have placed on the card, rather > > than above them. SO the objects display on screen, but not output. > > The card prints with objects arranged differently than how they appear on > the card when viewed on screen? > > Sounds worth filing a bug report on that. Are you seeing that will all > layouts, or just one? > I only have one layout :) mnkPdf loops through all of the pages that appear. The menu appears over the text of each page). I'll play a bit more before filing the bug. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dfepstein at comcast.net Tue Mar 17 18:14:37 2015 From: dfepstein at comcast.net (David Epstein) Date: Tue, 17 Mar 2015 18:14:37 -0400 Subject: Interfacing with web services - advice needed In-Reply-To: References: Message-ID: >> For those who want to know, my current case involves a succession of points on the Earth?s surface where I know each one's longitude and latitude: I want to convert the intervals between these points to distances in metres (say). Graham Samuel stipulated that he did not want to code a LiveCode algorithm to solve this problem, but in case it might be useful here is a function that I believe does so. function earthKM myLat,myLon,Lat0,Lon0, at aid -- return km distance on earth, load aid [angle in degrees] from origin point Lon0,Lat0 to myPoint myLon,myLat put PI/180 into rpd -- radians per degree put myLat*rpd into myLat put myLon*rpd into myLon put Lat0*rpd into Lat0 put Lon0*rpd into lon0 put (SIN((myLat-Lat0)/2))^2+COS(Lat0)*COS(myLat)*(SIN((myLon-Lon0)/2))^2 into j put 6371*2*ASIN(MIN(1,j^0.5)) into dkm -- distance in km put ATAN2(SIN(myLon-Lon0)*COS(myLat),COS(Lat0)*SIN(myLat)-SIN(Lat0)*COS(myLat)*COS(myLon-Lon0)) into k -- bearing in radians put k/rpd into aid -- in degrees return dkm end earthKM David Epstein From ambassador at fourthworld.com Tue Mar 17 18:23:10 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 17 Mar 2015 15:23:10 -0700 Subject: Interfacing with web services - advice needed In-Reply-To: References: Message-ID: <5508A94E.6090103@fourthworld.com> David Epstein wrote: > Graham Samuel stipulated that he did not want to code a LiveCode algorithm to solve this problem, but in case it might be useful here is a function that I believe does so. > > function earthKM myLat,myLon,Lat0,Lon0, at aid > -- return km distance on earth, load aid [angle in degrees] from origin point Lon0,Lat0 to myPoint myLon,myLat > put PI/180 into rpd -- radians per degree > put myLat*rpd into myLat > put myLon*rpd into myLon > put Lat0*rpd into Lat0 > put Lon0*rpd into lon0 > put (SIN((myLat-Lat0)/2))^2+COS(Lat0)*COS(myLat)*(SIN((myLon-Lon0)/2))^2 into j > put 6371*2*ASIN(MIN(1,j^0.5)) into dkm -- distance in km > put ATAN2(SIN(myLon-Lon0)*COS(myLat),COS(Lat0)*SIN(myLat)-SIN(Lat0)*COS(myLat)*COS(myLon-Lon0)) into k -- bearing in radians > put k/rpd into aid -- in degrees > return dkm > end earthKM Rockin', David - thanks for posting that! @Michael Doub: with Mr. Epstein's permission, I nominate this for inclusion in Master Library. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mikedoub at gmail.com Tue Mar 17 18:21:12 2015 From: mikedoub at gmail.com (Michael Doub) Date: Tue, 17 Mar 2015 18:21:12 -0400 Subject: Livecode's math precision Message-ID: <5508A8D8.9090300@gmail.com> Can anyone point me to a reference that discusses the precision of livecode's math calculations? Is it doing IEEE 754 64-bit floating point under the covers? Thanks Mike From matthias_livecode_150811 at m-r-d.de Tue Mar 17 18:59:54 2015 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 17 Mar 2015 23:59:54 +0100 Subject: OT Wordpress installation on On-Rev server Diesel fails Message-ID: <0FFB3D63-6066-460A-99C5-88E68E003F85@m-r-d.de> Hi, one of my customers has a On-Rev account on Diesel. He?s trying to install Wordpress into it and is getting the following error "Forbidden You don't have permission to access /wp-admin/install.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.? when he tries to open the wp installer script. He added a addon domain which root is ~/public_html/www2. Into the www2 folder he has copied the complete wordpress stuff. Btw: A info.php file which is in the same folder than the installer script is executed w/o error. Does anyone have a clue what might be wrong? Regards, Matthias From mikedoub at gmail.com Tue Mar 17 19:04:18 2015 From: mikedoub at gmail.com (Mike Doub) Date: Tue, 17 Mar 2015 19:04:18 -0400 Subject: Interfacing with web services - advice needed In-Reply-To: <5508A94E.6090103@fourthworld.com> References: <5508A94E.6090103@fourthworld.com> Message-ID: I'm on it. :-). There is one in there already, but David's adds a Bering.,, but there's always room for more good routines. David, if you have any others that you would like to share let me know. Mike On Tuesday, March 17, 2015, Richard Gaskin wrote: > David Epstein wrote: > > Graham Samuel stipulated that he did not want to code a LiveCode >> algorithm to solve this problem, but in case it might be useful here is a >> function that I believe does so. >> >> function earthKM myLat,myLon,Lat0,Lon0, at aid >> -- return km distance on earth, load aid [angle in degrees] from origin >> point Lon0,Lat0 to myPoint myLon,myLat >> put PI/180 into rpd -- radians per degree >> put myLat*rpd into myLat >> put myLon*rpd into myLon >> put Lat0*rpd into Lat0 >> put Lon0*rpd into lon0 >> put (SIN((myLat-Lat0)/2))^2+COS(Lat0)*COS(myLat)*(SIN((myLon-Lon0)/2))^2 >> into j >> put 6371*2*ASIN(MIN(1,j^0.5)) into dkm -- distance in km >> put ATAN2(SIN(myLon-Lon0)*COS(myLat),COS(Lat0)*SIN(myLat)- >> SIN(Lat0)*COS(myLat)*COS(myLon-Lon0)) into k -- bearing in radians >> put k/rpd into aid -- in degrees >> return dkm >> end earthKM >> > > Rockin', David - thanks for posting that! > > @Michael Doub: with Mr. Epstein's permission, I nominate this for > inclusion in Master Library. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From peterwawood at gmail.com Tue Mar 17 21:55:15 2015 From: peterwawood at gmail.com (Peter W A Wood) Date: Wed, 18 Mar 2015 09:55:15 +0800 Subject: Livecode's math precision In-Reply-To: <5508A8D8.9090300@gmail.com> References: <5508A8D8.9090300@gmail.com> Message-ID: <86AB289F-083C-43B8-A288-00FDA4B91815@gmail.com> Mike This explanation from Mark Waddingham confirms that numbers are held in IEEE 754 format - http://quality.runrev.com/show_bug.cgi?id=9349 I?m pretty sure it is 64-bit. I tried multiplying a value of Pi with more significant digits than a 32 bit number can hold in the message box: Code: put format ("%.30g",3.14159265358979323846264338327950 * 1.0) Result: 3.14159265358979311599796346854 Hope this helps Peter > On 18 Mar 2015, at 06:21, Michael Doub wrote: > > Can anyone point me to a reference that discusses the precision of livecode's math calculations? Is it doing IEEE 754 64-bit floating point under the covers? > > Thanks > Mike > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jhj at jhj.com Tue Mar 17 22:04:01 2015 From: jhj at jhj.com (Jerry Jensen) Date: Tue, 17 Mar 2015 19:04:01 -0700 Subject: Livecode's math precision In-Reply-To: <86AB289F-083C-43B8-A288-00FDA4B91815@gmail.com> References: <5508A8D8.9090300@gmail.com> <86AB289F-083C-43B8-A288-00FDA4B91815@gmail.com> Message-ID: <1FA63990-CA8F-42F7-9DDA-64F5BDE76E7F@jhj.com> They diverge at the 15th decimal digit. That is about where the 64 bit format runs out of mantissa precision. You only get about 7 with the 32 bit format. .Jerry > On Mar 17, 2015, at 6:55 PM, Peter W A Wood wrote: > > Mike > > This explanation from Mark Waddingham confirms that numbers are held in IEEE 754 format - http://quality.runrev.com/show_bug.cgi?id=9349 > > I?m pretty sure it is 64-bit. I tried multiplying a value of Pi with more significant digits than a 32 bit number can hold in the message box: > > Code: > put format ("%.30g",3.14159265358979323846264338327950 * 1.0) > > Result: > 3.14159265358979311599796346854 > > Hope this helps > > Peter > > >> On 18 Mar 2015, at 06:21, Michael Doub wrote: >> >> Can anyone point me to a reference that discusses the precision of livecode's math calculations? Is it doing IEEE 754 64-bit floating point under the covers? >> >> Thanks >> Mike >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Tue Mar 17 22:08:36 2015 From: mikedoub at gmail.com (mikedoub at gmail.com) Date: Tue, 17 Mar 2015 22:08:36 -0400 Subject: Livecode's math precision In-Reply-To: <86AB289F-083C-43B8-A288-00FDA4B91815@gmail.com> References: <5508A8D8.9090300@gmail.com> <86AB289F-083C-43B8-A288-00FDA4B91815@gmail.com> Message-ID: <20150318020836.6037650.53144.11770@gmail.com> Thanks Peter. ? ?Just the info I needed. ? Regards, ? ?Mike ? Original Message ? From: Peter W A Wood Sent: Tuesday, March 17, 2015 9:55 PM To: How to use LiveCode Reply To: How to use LiveCode Subject: Re: Livecode's math precision Mike This explanation from Mark Waddingham confirms that numbers are held in IEEE 754 format - http://quality.runrev.com/show_bug.cgi?id=9349 I?m pretty sure it is 64-bit. I tried multiplying a value of Pi with more significant digits than a 32 bit number can hold in the message box: Code: put format ("%.30g",3.14159265358979323846264338327950 * 1.0) Result: 3.14159265358979311599796346854 Hope this helps Peter > On 18 Mar 2015, at 06:21, Michael Doub wrote: > > Can anyone point me to a reference that discusses the precision of livecode's math calculations? Is it doing IEEE 754 64-bit floating point under the covers? > > Thanks > Mike > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Tue Mar 17 22:17:13 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 17 Mar 2015 19:17:13 -0700 Subject: OT Wordpress installation on On-Rev server Diesel fails In-Reply-To: <0FFB3D63-6066-460A-99C5-88E68E003F85@m-r-d.de> References: <0FFB3D63-6066-460A-99C5-88E68E003F85@m-r-d.de> Message-ID: <188340696948.20150317191713@ahsoftware.net> Matthias- Tuesday, March 17, 2015, 3:59:54 PM, you wrote: > one of my customers has a On-Rev account on Diesel. He?s trying > to install Wordpress into it and is getting the following error Not sure. Diesel has an up-to-date WP installed already. It can be added via the control panel. Shouldn't have to install anything. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From stephenREVOLUTION2 at barncard.com Wed Mar 18 00:38:01 2015 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 17 Mar 2015 21:38:01 -0700 Subject: LC7 & Unicode In-Reply-To: References: <1F665522-6694-45D5-B3A2-944886B164AF@icloud.com> <54FF3AE1.9090202@fourthworld.com> <1426525018019-4690247.post@n4.nabble.com> <1426532539823-4690262.post@n4.nabble.com> <1426538288308-4690266.post@n4.nabble.com> Message-ID: On Mon, Mar 16, 2015 at 11:13 PM, Kay C Lan wrote: > Some people believe the World Trade Centres were a controlled demolition > perpetrated by the US Gov. No matter how many times you show them videos of > planes crashing into WTC 1 & 2 they wont change their mind and the theories > and websites persist. People have decided that Unicode is to blame for LC > This is especially a really bad analogy. Some people and 1100 Engineers and architects who say steel buildings don't collapse by a jet fuel fire. There are false flags all around us. But people believe what they are told by 'official investigations'. sorry, this irked me. you opened the door. -- Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words From jbv at souslelogo.com Wed Mar 18 02:36:10 2015 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 18 Mar 2015 08:36:10 +0200 Subject: [semi-OT] Distributing apps for iOs outside iTunes Message-ID: <2b3280d34b8450b1c0a9e290da79fab1.squirrel@continental.on-rev.com> Hi list One of my clients needs an app for his employees that will run on their iphones or itabs. Those employees are very few (less than 10) and no one else will be interested in the app because it's related to a very specific activity, therefore using iTunes doesn't seem relevant. I took a look at Apple's distribution options, and the "Ad Hoc Distribution" looks like the way to go, but I was wondering if anyone had already use it, or if there was any better option... Thanks in advance jbv From keith.clarke at me.com Wed Mar 18 04:33:04 2015 From: keith.clarke at me.com (Keith Clarke) Date: Wed, 18 Mar 2015 08:33:04 +0000 Subject: How to add a new item into the end of an existing line? In-Reply-To: <96BAF641-6C7F-4F24-96D3-87DCB5309296@me.com> References: <1B1E15F1-8E14-4AAD-B2B5-C4E6AD9E2248@me.com> <55074BCE.1040301@gmail.com> <32FE2F6E-A900-436F-8A4F-13412120E9A5@me.com> <96BAF641-6C7F-4F24-96D3-87DCB5309296@me.com> Message-ID: The good news is that the SSD issue didn?t cause my stack to crash the IDE - and my thanks to Richard Gaskin who commented on the bug and provided me with a simple button script recipe to empty the fields containing data that was triggering the crash. The IDE shouldn?t have been bothered by what was happening, but the RunRev team now has a bug with recipe for repeating it. Meanwhile, I can get back to implementing all the suggestions on correct syntax to append data to existing lines in a container! :-) Best, Keith.. > On 17 Mar 2015, at 17:55, Keith Clarke wrote: > > I can?t be sure whether the SSD issue contributed to the stack crashing the IDE but I?ve created this bug report and attached the file. http://quality.runrev.com/show_bug.cgi?id=14984 > > Meanwhile, I can access the stack in developer mode, so can migrate the resources to a new stack and do a bit of refactoring as I go. > Best, > Keith.. > >> On 17 Mar 2015, at 15:02, Mike Bonner wrote: >> >> Hope a flaky ssd hasn't munged your stack. That would be awful! >> >> On Tue, Mar 17, 2015 at 3:15 AM, Keith Clarke wrote: >> >>> Folks, >>> Thanks to Mike, Michael, Jerry & Peter for all the useful feedback. >>> >>> I?m keen to try some of these ideas but unfortunately my project file has >>> now become unstable in ?run? mode when I try to access the card containing >>> the key scripted bits! :-( >>> >>> (And of course, this issue has also identified problems with my Time >>> Machine backup setup, as I can?t enter Time Machine due inconsistencies >>> with my MacBook Air?s SSD.) >>> >>> I?ve emailed the project to support at livecode.com and I?m hoping they can >>> identify what has gone awry and recover the project. >>> >>> Ho hum - such is life. >>> Best, >>> Keith.. >>> >>>> On 16 Mar 2015, at 22:53, Mike Bonner wrote: >>>> >>>> you can even: put "whatever" into item (the number of items in c + 1) of >>> c >>>> (and you can of course specify a line too) that way it'll pop the comma >>> in >>>> there for you too. But like everyone else I actually find it easier to >>> just >>>> insert the comma and data. >>>> >>>> >>>> >>>> On Mon, Mar 16, 2015 at 3:31 PM, Michael Doub >>> wrote: >>>> >>>>> put "1,2,3,4,5,6,7,8,9" & cr & "11,22,33,44,55,66,77,88,99" & cr after >>>>> tData >>>>> set itemdel to comma >>>>> put the itemdel & 10 after item -1 of line 1 of tData >>>>> >>>>> >>>>> >>>>> On 3/16/15 1:45 PM, Keith Clarke wrote: >>>>> >>>>>> Folks, >>>>>> Please can anyone clarify the syntax needed to add a new item A to the >>>>>> end of an existing line B of an existing variable C? >>>>>> >>>>>> I can add to the end of the variable OK, as in >>>>>> >>>>>> put foo after C >>>>>> >>>>>> but if I try to put foo after B, after line B or after item -1 of line >>> B, >>>>>> after Z (defined as item -1 of B) etc., and I get either no result or >>>>>> compilation errors. >>>>>> >>>>>> I?m clearly missing the magic words. >>>>>> >>>>>> Thanks in advance >>>>>> Keith.. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mark at sorcery-ltd.co.uk Wed Mar 18 06:23:28 2015 From: mark at sorcery-ltd.co.uk (Mark Wilcox) Date: Wed, 18 Mar 2015 10:23:28 +0000 Subject: [semi-OT] Distributing apps for iOs outside iTunes In-Reply-To: <2b3280d34b8450b1c0a9e290da79fab1.squirrel@continental.on-rev.com> References: <2b3280d34b8450b1c0a9e290da79fab1.squirrel@continental.on-rev.com> Message-ID: <1426674208.2135825.241938785.18E4764A@webmail.messagingengine.com> I've used Ad Hoc Distribution for this a few times before - it can become a bit of a pain because employees join and people get new devices - you have to manage updates to the provisioning profile manually - more often than you'd think. A better option is if you can get the client to join the iOS Developer Enterprise Program: https://developer.apple.com/programs/ios/enterprise/ It's $299/year but then you can get Enterprise distribution profiles/ certificates. These don't have any device restrictions at all, it's just part of Apple's rules that they're only allowed for internal use within an Enterprise. This removes all the issues with collecting UDIDs and keeping provisioning profiles updated. -- Mark Wilcox mark at sorcery-ltd.co.uk On Wed, Mar 18, 2015, at 06:36 AM, jbv at souslelogo.com wrote: > Hi list > One of my clients needs an app for his employees that will run > on their iphones or itabs. Those employees are very few (less than > 10) and no one else will be interested in the app because it's > related to a very specific activity, therefore using iTunes doesn't > seem relevant. > I took a look at Apple's distribution options, and the "Ad Hoc > Distribution" looks like the way to go, but I was wondering if > anyone had already use it, or if there was any better option... > > Thanks in advance > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Wed Mar 18 07:16:39 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Wed, 18 Mar 2015 07:16:39 -0400 Subject: [semi-OT] Distributing apps for iOs outside iTunes In-Reply-To: <1426674208.2135825.241938785.18E4764A@webmail.messagingengine.com> References: <2b3280d34b8450b1c0a9e290da79fab1.squirrel@continental.on-rev.com> <1426674208.2135825.241938785.18E4764A@webmail.messagingengine.com> Message-ID: <703E7D99-BB61-4E7E-85EB-7A1BE78644CF@gmail.com> I would do a mixed approach. Get your client to join at $99 per year, and to have you as a team member. They would include at least one of your devices in their list, so you can test installs, and you would be able to build for up to 100 devices. If they only need about 10, that would cover quite a few employee and device changes. > On Mar 18, 2015, at 6:23 AM, Mark Wilcox wrote: > > I've used Ad Hoc Distribution for this a few times before - it can become a > bit of a pain because employees join and people get new devices - you have > to manage updates to the provisioning profile manually - more often than > you'd think. > > > A better option is if you can get the client to join the iOS Developer > Enterprise Program: > > https://developer.apple.com/programs/ios/enterprise/ > > > It's $299/year but then you can get Enterprise distribution profiles/ > certificates. These don't have any device restrictions at all, it's just > part of Apple's rules that they're only allowed for internal use within an > Enterprise. This removes all the issues with collecting UDIDs and keeping > provisioning profiles updated. > > > -- > > Mark Wilcox > > mark at sorcery-ltd.co.uk > > > On Wed, Mar 18, 2015, at 06:36 AM, jbv at souslelogo.com wrote: > >> Hi list >> One of my clients needs an app for his employees that will run >> on their iphones or itabs. Those employees are very few (less than >> 10) and no one else will be interested in the app because it's >> related to a very specific activity, therefore using iTunes doesn't >> seem relevant. >> I took a look at Apple's distribution options, and the "Ad Hoc >> Distribution" looks like the way to go, but I was wondering if >> anyone had already use it, or if there was any better option... >> >> Thanks in advance >> jbv >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Mar 18 07:58:28 2015 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Wed, 18 Mar 2015 12:58:28 +0100 Subject: [semi-OT] Distributing apps for iOs outside iTunes In-Reply-To: <703E7D99-BB61-4E7E-85EB-7A1BE78644CF@gmail.com> References: <2b3280d34b8450b1c0a9e290da79fab1.squirrel@continental.on-rev.com> <1426674208.2135825.241938785.18E4764A@webmail.messagingengine.com> <703E7D99-BB61-4E7E-85EB-7A1BE78644CF@gmail.com> Message-ID: > Am 18.03.2015 um 12:16 schrieb Colin Holgate : > > I would do a mixed approach. Get your client to join at $99 per year, and to have you as a team member. They would include at least one of your devices in their list, so you can test installs, and you would be able to build for up to 100 devices. If they only need about 10, that would cover quite a few employee and device changes. > And if i remember right every year you can reset that list of devices. This would allow you to delete non active devices and it increases the number of possible test devices again. > >> On Mar 18, 2015, at 6:23 AM, Mark Wilcox wrote: >> >> I've used Ad Hoc Distribution for this a few times before - it can become a >> bit of a pain because employees join and people get new devices - you have >> to manage updates to the provisioning profile manually - more often than >> you'd think. >> >> >> A better option is if you can get the client to join the iOS Developer >> Enterprise Program: >> >> https://developer.apple.com/programs/ios/enterprise/ >> >> >> It's $299/year but then you can get Enterprise distribution profiles/ >> certificates. These don't have any device restrictions at all, it's just >> part of Apple's rules that they're only allowed for internal use within an >> Enterprise. This removes all the issues with collecting UDIDs and keeping >> provisioning profiles updated. >> >> >> -- >> >> Mark Wilcox >> >> mark at sorcery-ltd.co.uk >> >> >> On Wed, Mar 18, 2015, at 06:36 AM, jbv at souslelogo.com wrote: >> >>> Hi list >>> One of my clients needs an app for his employees that will run >>> on their iphones or itabs. Those employees are very few (less than >>> 10) and no one else will be interested in the app because it's >>> related to a very specific activity, therefore using iTunes doesn't >>> seem relevant. >>> I took a look at Apple's distribution options, and the "Ad Hoc >>> Distribution" looks like the way to go, but I was wondering if >>> anyone had already use it, or if there was any better option... >>> >>> Thanks in advance >>> jbv >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed Mar 18 08:06:54 2015 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 18 Mar 2015 08:06:54 -0400 Subject: [semi-OT] Distributing apps for iOs outside iTunes In-Reply-To: References: <2b3280d34b8450b1c0a9e290da79fab1.squirrel@continental.on-rev.com> <1426674208.2135825.241938785.18E4764A@webmail.messagingengine.com> <703E7D99-BB61-4E7E-85EB-7A1BE78644CF@gmail.com> Message-ID: I take this the other way: I want more control, not less. I take it personally when something I build isn't freaking awesome. I consider other enterprises' employees to be part of my team when I write something for them. I am their IT guy, so the last thing I want to do is take a chance on someone "over there" dropping the ball and making something break, that I then have to clean up, especially when they're under the gun. Spoiling them rotten is my privilege. They will be in one of my profiles. On Wed, Mar 18, 2015 at 7:58 AM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > > > > Am 18.03.2015 um 12:16 schrieb Colin Holgate : > > > > I would do a mixed approach. Get your client to join at $99 per year, > and to have you as a team member. They would include at least one of your > devices in their list, so you can test installs, and you would be able to > build for up to 100 devices. If they only need about 10, that would cover > quite a few employee and device changes. > > > And if i remember right every year you can reset that list of devices. > This would allow you to delete non active devices and it increases the > number of possible test devices again. > > > > > > > >> On Mar 18, 2015, at 6:23 AM, Mark Wilcox > wrote: > >> > >> I've used Ad Hoc Distribution for this a few times before - it can > become a > >> bit of a pain because employees join and people get new devices - you > have > >> to manage updates to the provisioning profile manually - more often than > >> you'd think. > >> > >> > >> A better option is if you can get the client to join the iOS Developer > >> Enterprise Program: > >> > >> https://developer.apple.com/programs/ios/enterprise/ > >> > >> > >> It's $299/year but then you can get Enterprise distribution profiles/ > >> certificates. These don't have any device restrictions at all, it's just > >> part of Apple's rules that they're only allowed for internal use within > an > >> Enterprise. This removes all the issues with collecting UDIDs and > keeping > >> provisioning profiles updated. > >> > >> > >> -- > >> > >> Mark Wilcox > >> > >> mark at sorcery-ltd.co.uk > >> > >> > >> On Wed, Mar 18, 2015, at 06:36 AM, jbv at souslelogo.com wrote: > >> > >>> Hi list > >>> One of my clients needs an app for his employees that will run > >>> on their iphones or itabs. Those employees are very few (less than > >>> 10) and no one else will be interested in the app because it's > >>> related to a very specific activity, therefore using iTunes doesn't > >>> seem relevant. > >>> I took a look at Apple's distribution options, and the "Ad Hoc > >>> Distribution" looks like the way to go, but I was wondering if > >>> anyone had already use it, or if there was any better option... > >>> > >>> Thanks in advance > >>> jbv > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From m.schonewille at economy-x-talk.com Wed Mar 18 09:19:30 2015 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 18 Mar 2015 14:19:30 +0100 Subject: [semi-OT] Distributing apps for iOs outside iTunes In-Reply-To: <703E7D99-BB61-4E7E-85EB-7A1BE78644CF@gmail.com> References: <2b3280d34b8450b1c0a9e290da79fab1.squirrel@continental.on-rev.com> <1426674208.2135825.241938785.18E4764A@webmail.messagingengine.com> <703E7D99-BB61-4E7E-85EB-7A1BE78644CF@gmail.com> Message-ID: <55097B62.3030408@economy-x-talk.com> Hi, Ad hoc distribution is only for beta testing. Using it for deployment would violate Apple's license conditions. It might be ok to do this, unless Apple decides to review your account and discovers that you're updating the list of devices every year without releasing new beta versions or even without ever releasing a final version. I really don't know how Apple would react to that, but I wouldn't risk it. I think that iTunes connect has a b2b option for regular dev accounts. If it is still there, you might want to check it out. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/18/2015 12:16, Colin Holgate wrote: > I would do a mixed approach. Get your client to join at $99 per year, and to have you as a team member. They would include at least one of your devices in their list, so you can test installs, and you would be able to build for up to 100 devices. If they only need about 10, that would cover quite a few employee and device changes. > > >> On Mar 18, 2015, at 6:23 AM, Mark Wilcox wrote: >> >> I've used Ad Hoc Distribution for this a few times before - it can become a >> bit of a pain because employees join and people get new devices - you have >> to manage updates to the provisioning profile manually - more often than >> you'd think. >> >> >> A better option is if you can get the client to join the iOS Developer >> Enterprise Program: >> >> https://developer.apple.com/programs/ios/enterprise/ >> >> >> It's $299/year but then you can get Enterprise distribution profiles/ >> certificates. These don't have any device restrictions at all, it's just >> part of Apple's rules that they're only allowed for internal use within an >> Enterprise. This removes all the issues with collecting UDIDs and keeping >> provisioning profiles updated. >> >> >> -- >> >> Mark Wilcox >> >> mark at sorcery-ltd.co.uk >> >> >> On Wed, Mar 18, 2015, at 06:36 AM, jbv at souslelogo.com wrote: >> >>> Hi list >>> One of my clients needs an app for his employees that will run >>> on their iphones or itabs. Those employees are very few (less than >>> 10) and no one else will be interested in the app because it's >>> related to a very specific activity, therefore using iTunes doesn't >>> seem relevant. >>> I took a look at Apple's distribution options, and the "Ad Hoc >>> Distribution" looks like the way to go, but I was wondering if >>> anyone had already use it, or if there was any better option... >>> >>> Thanks in advance >>> jbv >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From colinholgate at gmail.com Wed Mar 18 09:32:18 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Wed, 18 Mar 2015 09:32:18 -0400 Subject: [semi-OT] Distributing apps for iOs outside iTunes In-Reply-To: <55097B62.3030408@economy-x-talk.com> References: <2b3280d34b8450b1c0a9e290da79fab1.squirrel@continental.on-rev.com> <1426674208.2135825.241938785.18E4764A@webmail.messagingengine.com> <703E7D99-BB61-4E7E-85EB-7A1BE78644CF@gmail.com> <55097B62.3030408@economy-x-talk.com> Message-ID: <4A799B41-400E-4B0F-94F1-420FC3B67565@gmail.com> In all the time I?ve had a personal iPhone developer account I haven?t submitted an app under my own account. All the apps I?ve done have been under other accounts. But I have used, and updated, my list of 100 devices quite a bit. Apple have never complained. > On Mar 18, 2015, at 9:19 AM, Mark Schonewille wrote: > > Ad hoc distribution is only for beta testing. Using it for deployment would violate Apple's license conditions. It might be ok to do this, unless Apple decides to review your account and discovers that you're updating the list of devices every year without releasing new beta versions or even without ever releasing a final version. I really don't know how Apple would react to that, but I wouldn't risk it. From matthias_livecode_150811 at m-r-d.de Wed Mar 18 09:46:54 2015 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Wed, 18 Mar 2015 14:46:54 +0100 Subject: OT Wordpress installation on On-Rev server Diesel fails In-Reply-To: <188340696948.20150317191713@ahsoftware.net> References: <0FFB3D63-6066-460A-99C5-88E68E003F85@m-r-d.de> <188340696948.20150317191713@ahsoftware.net> Message-ID: <263BCDE0-8F8F-4E52-9F53-AC3D9740F97A@m-r-d.de> Mark, thanks for that info. Was not aware of that. In the meantime the customer was able to install the ?custom? version of Wordpress. Installation was denied, because i had installed an account wide .htaccess firewall some months ago. This firewall protects against "evil exploits, bad requests, and other nefarious garbage?. http://perishablepress.com/5g-blacklist-2013/ I had to disable it for the installation process and enabled it after installation. Matthias > Am 18.03.2015 um 03:17 schrieb Mark Wieder : > > Matthias- > > Tuesday, March 17, 2015, 3:59:54 PM, you wrote: > >> one of my customers has a On-Rev account on Diesel. He?s trying >> to install Wordpress into it and is getting the following error > > Not sure. Diesel has an up-to-date WP installed already. It can be > added via the control panel. Shouldn't have to install anything. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Wed Mar 18 09:53:39 2015 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 18 Mar 2015 14:53:39 +0100 Subject: [semi-OT] Distributing apps for iOs outside iTunes In-Reply-To: <4A799B41-400E-4B0F-94F1-420FC3B67565@gmail.com> References: <2b3280d34b8450b1c0a9e290da79fab1.squirrel@continental.on-rev.com> <1426674208.2135825.241938785.18E4764A@webmail.messagingengine.com> <703E7D99-BB61-4E7E-85EB-7A1BE78644CF@gmail.com> <55097B62.3030408@economy-x-talk.com> <4A799B41-400E-4B0F-94F1-420FC3B67565@gmail.com> Message-ID: <55098363.1020002@economy-x-talk.com> That's what I tried to make clear. It would be a violation of the license conditions, but I don't know if Apple would ever find out. Personally, I would recommend the customer to pay a little extra. However, they may be other options. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/18/2015 14:32, Colin Holgate wrote: > In all the time I?ve had a personal iPhone developer account I haven?t submitted an app under my own account. All the apps I?ve done have been under other accounts. But I have used, and updated, my list of 100 devices quite a bit. Apple have never complained. > > >> On Mar 18, 2015, at 9:19 AM, Mark Schonewille wrote: >> >> Ad hoc distribution is only for beta testing. Using it for deployment would violate Apple's license conditions. It might be ok to do this, unless Apple decides to review your account and discovers that you're updating the list of devices every year without releasing new beta versions or even without ever releasing a final version. I really don't know how Apple would react to that, but I wouldn't risk it. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From livfoss at mac.com Wed Mar 18 09:59:23 2015 From: livfoss at mac.com (Graham Samuel) Date: Wed, 18 Mar 2015 14:59:23 +0100 Subject: Help needed with ConvertXMLToArray Message-ID: <7BF48337-14D7-4838-A144-A9C9A16391C8@mac.com> Hi The very useful function ?ConvertXMLToArray? was written by Trevor deVore and included in Mike Doub?s MasterLibrary. So if you don't know this function or aren't willing to look at it, please skip this question and sorry for the waste of bandwidth. My problem is that I?m using it, but I can?t understand it. I?m getting elements of an array with numeric labels attached to them, looking like myNode[1003] The relevant bit of the documentation of this function is this: > Node names will retain the sequence information (i.e. node[1], node[2], etc.). > This information is necessary to determine order that keys should be > processed in. for example: > set the itemDelimiter to "[" > put the keys of theArray into theKeys > sort theKeys numeric by the last item of each There's a problem with this, in that the number in square brackets in my example is just a decimal number of variable length, so that for example [9] will occur in the sequence and so will [1000]. If you do a numeric sort by these numbers, 1000 will come before 9. So the format ought to be [0009] for a data set with a maximum of 9999 nodes. Without this, an XML file with child nodes in a certain order will end up in a different order when converted to an array - and an order that isn't that easy to modify at this point. Quite frankly I have no idea how to cause this function to produce the data in the correct sort order, because I still find both XML and arrays very tricky topics. I see that it's something to do with child nodes, but how do these nodes get their numbers and how can they be formatted in a different way? If anyone can see the solution easily and has the time to look at the function in the MasterLibrary, I'd be grateful. Meanwhile, it's back to chunk expressions. Graham From ambassador at fourthworld.com Wed Mar 18 10:32:01 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 18 Mar 2015 07:32:01 -0700 Subject: Help needed with ConvertXMLToArray In-Reply-To: <7BF48337-14D7-4838-A144-A9C9A16391C8@mac.com> References: <7BF48337-14D7-4838-A144-A9C9A16391C8@mac.com> Message-ID: <55098C61.6040807@fourthworld.com> Graham Samuel wrote: > If you do a numeric sort by these numbers, 1000 will come before 9. If a numeric sort produces that outcome either the data isn't purely numeric or you've found a bug. > Without this, an XML file with child nodes in a certain order will > end up in a different order when converted to an array - and an order > that isn't that easy to modify at this point. LiveCode's arrays are associative arrays, in which elements have no inherent order relative to one another. Keys are associated with values by a hash that determines the memory location of the value, and like most hashes the result maintains no metadata which describes either insertion order or order relative to other key values. We can access array elements with a sense of order by first obtaining the keys and sorting those in whatever way is needed for the task at hand (numeric, alphanumeric, dateTime, etc.; provided of course the sort command works as questioned above). -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mark at sorcery-ltd.co.uk Wed Mar 18 11:02:27 2015 From: mark at sorcery-ltd.co.uk (Mark Wilcox) Date: Wed, 18 Mar 2015 15:02:27 +0000 Subject: [semi-OT] Distributing apps for iOs outside iTunes In-Reply-To: References: <2b3280d34b8450b1c0a9e290da79fab1.squirrel@continental.on-rev.com> <1426674208.2135825.241938785.18E4764A@webmail.messagingengine.com> <703E7D99-BB61-4E7E-85EB-7A1BE78644CF@gmail.com> Message-ID: <1426690947.2210551.242046477.3AACA70D@webmail.messagingengine.com> I have some points to consider here having done it both ways a few times: 1) I'd definitely have them give you sufficient permissions to manage the certificates, keys and profiles yourself in their account. You still do everything apart from sign-up, pay and sign (click through) contracts with Apple, the account is just in their name. 2) The enterprise account's extra $200/year should be saved in the cost of your time not managing profile updates and issuing new builds when devices change (maybe not for a lot less than 10 people, but still the difference must be almost nothing in the total development cost). 3) It also removes any delay for a new employee/device - the enterprise signed build can be installed automatically without going through the whole UDID collection, provisioning profile update and rebuild process. This is what enterprise accounts are for. Not having to explain why it doesn't work on new devices (which is after all rather technical and all down to Apple) is also of value. Overall a better customer experience. 4) If you build up a decent sized client base over time you will struggle with the 100 device limit, even in multiple standard developer accounts (I have access to 4 accounts at the moment, 2 of them are almost at the limit). I've mostly used ad-hoc builds for demos for potential new clients - even that can fill up your device slots over time. 5) In theory you can remove old devices but do you want your clients to have to tell you when they retire old ones? Will they remember anyway? Analytics can no longer tell you which UDIDs are still in use, since developer access got cut off some time ago. Technically ad-hoc distribution shouldn't be used to deliver to clients for internal builds but I can confirm that Apple shows no signs of caring about enforcing that. -- Mark Wilcox mark at sorcery-ltd.co.uk On Wed, Mar 18, 2015, at 12:06 PM, Mike Kerner wrote: > I take this the other way: I want more control, not less. I take it > personally when something I build isn't freaking awesome. I consider > other > enterprises' employees to be part of my team when I write something for > them. I am their IT guy, so the last thing I want to do is take a chance > on someone "over there" dropping the ball and making something break, > that > I then have to clean up, especially when they're under the gun. Spoiling > them rotten is my privilege. They will be in one of my profiles. > > On Wed, Mar 18, 2015 at 7:58 AM, Matthias Rebbe | M-R-D < > matthias_livecode_150811 at m-r-d.de> wrote: > > > > > > > > Am 18.03.2015 um 12:16 schrieb Colin Holgate : > > > > > > I would do a mixed approach. Get your client to join at $99 per year, > > and to have you as a team member. They would include at least one of your > > devices in their list, so you can test installs, and you would be able to > > build for up to 100 devices. If they only need about 10, that would cover > > quite a few employee and device changes. > > > > > And if i remember right every year you can reset that list of devices. > > This would allow you to delete non active devices and it increases the > > number of possible test devices again. > > > > > > > > > > > > > >> On Mar 18, 2015, at 6:23 AM, Mark Wilcox > > wrote: > > >> > > >> I've used Ad Hoc Distribution for this a few times before - it can > > become a > > >> bit of a pain because employees join and people get new devices - you > > have > > >> to manage updates to the provisioning profile manually - more often than > > >> you'd think. > > >> > > >> > > >> A better option is if you can get the client to join the iOS Developer > > >> Enterprise Program: > > >> > > >> https://developer.apple.com/programs/ios/enterprise/ > > >> > > >> > > >> It's $299/year but then you can get Enterprise distribution profiles/ > > >> certificates. These don't have any device restrictions at all, it's just > > >> part of Apple's rules that they're only allowed for internal use within > > an > > >> Enterprise. This removes all the issues with collecting UDIDs and > > keeping > > >> provisioning profiles updated. > > >> > > >> > > >> -- > > >> > > >> Mark Wilcox > > >> > > >> mark at sorcery-ltd.co.uk > > >> > > >> > > >> On Wed, Mar 18, 2015, at 06:36 AM, jbv at souslelogo.com wrote: > > >> > > >>> Hi list > > >>> One of my clients needs an app for his employees that will run > > >>> on their iphones or itabs. Those employees are very few (less than > > >>> 10) and no one else will be interested in the app because it's > > >>> related to a very specific activity, therefore using iTunes doesn't > > >>> seem relevant. > > >>> I took a look at Apple's distribution options, and the "Ad Hoc > > >>> Distribution" looks like the way to go, but I was wondering if > > >>> anyone had already use it, or if there was any better option... > > >>> > > >>> Thanks in advance > > >>> jbv > > >>> > > >>> > > >>> _______________________________________________ > > >>> use-livecode mailing list > > >>> use-livecode at lists.runrev.com > > >>> Please visit this url to subscribe, unsubscribe and manage your > > >>> subscription preferences: > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Wed Mar 18 11:10:00 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 18 Mar 2015 08:10:00 -0700 Subject: OT Wordpress installation on On-Rev server Diesel fails In-Reply-To: <263BCDE0-8F8F-4E52-9F53-AC3D9740F97A@m-r-d.de> References: <0FFB3D63-6066-460A-99C5-88E68E003F85@m-r-d.de> <188340696948.20150317191713@ahsoftware.net> <263BCDE0-8F8F-4E52-9F53-AC3D9740F97A@m-r-d.de> Message-ID: <186387064002.20150318081000@ahsoftware.net> Matthias- Wednesday, March 18, 2015, 6:46:54 AM, you wrote: > Mark, > thanks for that info. Was not aware of that. > In the meantime the customer was able to install the ?custom? version of Wordpress. Well, I'd be *very* wary of doing that. I believe the the on-rev servers have the latest version of WP installed, with the latest security patches in place. WordPress is notoriously insecure, so you could be letting yourself and other users on that same server (me, for instance) in for a lot of trouble by installing a different "custom" version. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From MikeKerner at roadrunner.com Wed Mar 18 12:24:46 2015 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 18 Mar 2015 12:24:46 -0400 Subject: [semi-OT] Distributing apps for iOs outside iTunes In-Reply-To: <1426690947.2210551.242046477.3AACA70D@webmail.messagingengine.com> References: <2b3280d34b8450b1c0a9e290da79fab1.squirrel@continental.on-rev.com> <1426674208.2135825.241938785.18E4764A@webmail.messagingengine.com> <703E7D99-BB61-4E7E-85EB-7A1BE78644CF@gmail.com> <1426690947.2210551.242046477.3AACA70D@webmail.messagingengine.com> Message-ID: The reason for explicitly provisioning (and therefore multiple developer ID's), and banning a device is that you get an extra layer of protection for your corporate clients from having just anyone with their random device get access to the corporate app. That also means when someone leaves you have the ability to explicitly cut them off from updates. Sure, you can hope that the corporate IT department locks them out, as well, but this way you have an incentive to communicate with them at least once per year about who has access. On Wed, Mar 18, 2015 at 11:02 AM, Mark Wilcox wrote: > I have some points to consider here having done it both ways a few > times: > 1) I'd definitely have them give you sufficient permissions to manage > the certificates, keys and profiles yourself in their account. You still > do everything apart from sign-up, pay and sign (click through) contracts > with Apple, the account is just in their name. > 2) The enterprise account's extra $200/year should be saved in the cost > of your time not managing profile updates and issuing new builds when > devices change (maybe not for a lot less than 10 people, but still the > difference must be almost nothing in the total development cost). > 3) It also removes any delay for a new employee/device - the enterprise > signed build can be installed automatically without going through the > whole UDID collection, provisioning profile update and rebuild process. > This is what enterprise accounts are for. Not having to explain why it > doesn't work on new devices (which is after all rather technical and all > down to Apple) is also of value. Overall a better customer experience. > 4) If you build up a decent sized client base over time you will > struggle with the 100 device limit, even in multiple standard developer > accounts (I have access to 4 accounts at the moment, 2 of them are > almost at the limit). I've mostly used ad-hoc builds for demos for > potential new clients - even that can fill up your device slots over > time. > 5) In theory you can remove old devices but do you want your clients to > have to tell you when they retire old ones? Will they remember anyway? > Analytics can no longer tell you which UDIDs are still in use, since > developer access got cut off some time ago. > > Technically ad-hoc distribution shouldn't be used to deliver to clients > for internal builds but I can confirm that Apple shows no signs of > caring about enforcing that. > > -- > Mark Wilcox > mark at sorcery-ltd.co.uk > > On Wed, Mar 18, 2015, at 12:06 PM, Mike Kerner wrote: > > I take this the other way: I want more control, not less. I take it > > personally when something I build isn't freaking awesome. I consider > > other > > enterprises' employees to be part of my team when I write something for > > them. I am their IT guy, so the last thing I want to do is take a chance > > on someone "over there" dropping the ball and making something break, > > that > > I then have to clean up, especially when they're under the gun. Spoiling > > them rotten is my privilege. They will be in one of my profiles. > > > > On Wed, Mar 18, 2015 at 7:58 AM, Matthias Rebbe | M-R-D < > > matthias_livecode_150811 at m-r-d.de> wrote: > > > > > > > > > > > > Am 18.03.2015 um 12:16 schrieb Colin Holgate >: > > > > > > > > I would do a mixed approach. Get your client to join at $99 per year, > > > and to have you as a team member. They would include at least one of > your > > > devices in their list, so you can test installs, and you would be able > to > > > build for up to 100 devices. If they only need about 10, that would > cover > > > quite a few employee and device changes. > > > > > > > And if i remember right every year you can reset that list of devices. > > > This would allow you to delete non active devices and it increases the > > > number of possible test devices again. > > > > > > > > > > > > > > > > > > > >> On Mar 18, 2015, at 6:23 AM, Mark Wilcox > > > wrote: > > > >> > > > >> I've used Ad Hoc Distribution for this a few times before - it can > > > become a > > > >> bit of a pain because employees join and people get new devices - > you > > > have > > > >> to manage updates to the provisioning profile manually - more often > than > > > >> you'd think. > > > >> > > > >> > > > >> A better option is if you can get the client to join the iOS > Developer > > > >> Enterprise Program: > > > >> > > > >> https://developer.apple.com/programs/ios/enterprise/ > > > >> > > > >> > > > >> It's $299/year but then you can get Enterprise distribution > profiles/ > > > >> certificates. These don't have any device restrictions at all, it's > just > > > >> part of Apple's rules that they're only allowed for internal use > within > > > an > > > >> Enterprise. This removes all the issues with collecting UDIDs and > > > keeping > > > >> provisioning profiles updated. > > > >> > > > >> > > > >> -- > > > >> > > > >> Mark Wilcox > > > >> > > > >> mark at sorcery-ltd.co.uk > > > >> > > > >> > > > >> On Wed, Mar 18, 2015, at 06:36 AM, jbv at souslelogo.com wrote: > > > >> > > > >>> Hi list > > > >>> One of my clients needs an app for his employees that will run > > > >>> on their iphones or itabs. Those employees are very few (less than > > > >>> 10) and no one else will be interested in the app because it's > > > >>> related to a very specific activity, therefore using iTunes doesn't > > > >>> seem relevant. > > > >>> I took a look at Apple's distribution options, and the "Ad Hoc > > > >>> Distribution" looks like the way to go, but I was wondering if > > > >>> anyone had already use it, or if there was any better option... > > > >>> > > > >>> Thanks in advance > > > >>> jbv > > > >>> > > > >>> > > > >>> _______________________________________________ > > > >>> use-livecode mailing list > > > >>> use-livecode at lists.runrev.com > > > >>> Please visit this url to subscribe, unsubscribe and manage your > > > >>> subscription preferences: > > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >> > > > >> _______________________________________________ > > > >> use-livecode mailing list > > > >> use-livecode at lists.runrev.com > > > >> Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From m.schonewille at economy-x-talk.com Wed Mar 18 12:57:25 2015 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 18 Mar 2015 17:57:25 +0100 Subject: "Open in" for Android In-Reply-To: <57B9F2E3-F5ED-4CBC-BE4F-8A8009244F71@laposte.net> References: <449448B4-285A-4ADA-8918-F91BC38C503C@laposte.net> <5506ED52.6000407@economy-x-talk.com> <57B9F2E3-F5ED-4CBC-BE4F-8A8009244F71@laposte.net> Message-ID: <5509AE75.5040801@economy-x-talk.com> Hi Ludovic, You need to add intent filters to the manifest. More info at http://stackoverflow.com/questions/3760276/android-intent-filter-associate-app-with-file-extension You need to find a way to change the manifest before the standalone is built or to unpack the apk, change the manifest and repack it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/16/2015 18:57, Ludovic THEBAULT wrote: > >> Le 16 mars 2015 ? 15:48, Mark Schonewille a ?crit : >> >> Hi Ludovic, >> >> You can now enter the custom URL scheme in the standalone builder (or isn't that what you're looking for?) >> > > > Hello, thanks. > > I want to save a file on the documents folder of my app from an email to avoid using iTunes. > From matthias_livecode_150811 at m-r-d.de Wed Mar 18 14:14:25 2015 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Wed, 18 Mar 2015 19:14:25 +0100 Subject: OT Wordpress installation on On-Rev server Diesel fails In-Reply-To: <186387064002.20150318081000@ahsoftware.net> References: <0FFB3D63-6066-460A-99C5-88E68E003F85@m-r-d.de> <188340696948.20150317191713@ahsoftware.net> <263BCDE0-8F8F-4E52-9F53-AC3D9740F97A@m-r-d.de> <186387064002.20150318081000@ahsoftware.net> Message-ID: <90EC77C6-CB33-4619-B62F-CA0A2BACABA4@m-r-d.de> I just checked his installation. And can assure you it?s version 4.1.1. With custom i meant, Wordpress and other needed files. The customer has hired a professional Wordpress developer with several years of experience. This guy wanted to upload/install by his own to be sure all needed files are there. So i am confident that there is no security risk except the ones which might be in 4.1.1. Regards, Matthias > Am 18.03.2015 um 16:10 schrieb Mark Wieder : > > Matthias- > > Wednesday, March 18, 2015, 6:46:54 AM, you wrote: > >> Mark, > >> thanks for that info. Was not aware of that. > >> In the meantime the customer was able to install the ?custom? version of Wordpress. > > Well, I'd be *very* wary of doing that. > I believe the the on-rev servers have the latest version of WP > installed, with the latest security patches in place. WordPress is > notoriously insecure, so you could be letting yourself and other users > on that same server (me, for instance) in for a lot of trouble by > installing a different "custom" version. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Wed Mar 18 14:30:37 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 18 Mar 2015 18:30:37 +0000 (UTC) Subject: OT Wordpress installation on On-Rev server Diesel fails References: <0FFB3D63-6066-460A-99C5-88E68E003F85@m-r-d.de> <188340696948.20150317191713@ahsoftware.net> <263BCDE0-8F8F-4E52-9F53-AC3D9740F97A@m-r-d.de> <186387064002.20150318081000@ahsoftware.net> <90EC77C6-CB33-4619-B62F-CA0A2BACABA4@m-r-d.de> Message-ID: Matthias Rebbe | M-R-D writes: > I just checked his installation. And can assure you it?s version 4.1.1. OK. Sounds like you've got this under control. But I think if you've installed your own WordPress copy then you're responsible for keeping it updated, as opposed to running the version on-rev supplies. -- Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Wed Mar 18 14:38:59 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 18 Mar 2015 11:38:59 -0700 Subject: Curious listserve issue Message-ID: <5509C643.6030905@fourthworld.com> Why isn't this: ...here?: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From matthias_livecode_150811 at m-r-d.de Wed Mar 18 14:54:22 2015 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Wed, 18 Mar 2015 19:54:22 +0100 Subject: OT Wordpress installation on On-Rev server Diesel fails In-Reply-To: References: <0FFB3D63-6066-460A-99C5-88E68E003F85@m-r-d.de> <188340696948.20150317191713@ahsoftware.net> <263BCDE0-8F8F-4E52-9F53-AC3D9740F97A@m-r-d.de> <186387064002.20150318081000@ahsoftware.net> <90EC77C6-CB33-4619-B62F-CA0A2BACABA4@m-r-d.de> Message-ID: <54275015-DE8E-4244-8E79-7CB3FCAA49DD@m-r-d.de> > Am 18.03.2015 um 19:30 schrieb Mark Wieder >: > > Matthias Rebbe | M-R-D writes: > >> I just checked his installation. And can assure you it?s version 4.1.1. > > OK. Sounds like you've got this under control. > But I think if you've installed your own WordPress copy then you're responsible > for keeping it updated, as opposed to running the version on-rev supplies. > The On-Rev integrated one is updated automatically? Only security patches or also version upgrades? I would have no problem with security updates, but automatically upgrading to newer versions is not what i would want. Matthias > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Mar 18 14:54:30 2015 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Wed, 18 Mar 2015 19:54:30 +0100 Subject: OT Wordpress installation on On-Rev server Diesel fails In-Reply-To: References: <0FFB3D63-6066-460A-99C5-88E68E003F85@m-r-d.de> <188340696948.20150317191713@ahsoftware.net> <263BCDE0-8F8F-4E52-9F53-AC3D9740F97A@m-r-d.de> <186387064002.20150318081000@ahsoftware.net> <90EC77C6-CB33-4619-B62F-CA0A2BACABA4@m-r-d.de> Message-ID: <6F9D08EE-8591-4956-A7C9-AFB14DD4CC1C@m-r-d.de> > Am 18.03.2015 um 19:30 schrieb Mark Wieder >: > > Matthias Rebbe | M-R-D writes: > >> I just checked his installation. And can assure you it?s version 4.1.1. > > OK. Sounds like you've got this under control. > But I think if you've installed your own WordPress copy then you're responsible > for keeping it updated, as opposed to running the version on-rev supplies. > The On-Rev integrated one is updated automatically? Only security patches or also version upgrades? I would have no problem with security updates, but automatically upgrading to newer versions is not what i would want. Matthias > -- > Mark Wieder > ahsoftware at gmail.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at ctech.me Wed Mar 18 16:46:55 2015 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 18 Mar 2015 15:46:55 -0500 Subject: OT Wordpress installation on On-Rev server Diesel fails In-Reply-To: <0FFB3D63-6066-460A-99C5-88E68E003F85@m-r-d.de> References: <0FFB3D63-6066-460A-99C5-88E68E003F85@m-r-d.de> Message-ID: Sounds like a file permissions issue to me. Either on the WWW2 directory or any of the dirs on the way down to install.php That's where I'd start to look. Maybe it's even got permissions right, but just owned by another user other than the one running the web server. On Tue, Mar 17, 2015 at 5:59 PM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > Hi, > > one of my customers has a On-Rev account on Diesel. He?s trying to install > Wordpress into it and is getting the following error > > "Forbidden > You don't have permission to access /wp-admin/install.php on this server. > Additionally, a 404 Not Found error was encountered while trying to use an > ErrorDocument to handle the request.? > > when he tries to open the wp installer script. > He added a addon domain which root is ~/public_html/www2. Into the www2 > folder he has copied the complete wordpress stuff. > > Btw: A info.php file which is in the same folder than the installer script > is executed w/o error. > > Does anyone have a clue what might be wrong? > > Regards, > > Matthias > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Regards, Andrew Kluthe andrew at ctech.me From andrew at ctech.me Wed Mar 18 16:49:17 2015 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 18 Mar 2015 15:49:17 -0500 Subject: OT Wordpress installation on On-Rev server Diesel fails In-Reply-To: References: <0FFB3D63-6066-460A-99C5-88E68E003F85@m-r-d.de> Message-ID: Oh, I missed the message about the htaccess. That would explain it. ;) It's trying to protect you from yourself by blocking access to certain kinds of files (install.php in this case) that might be left over erroneously post-install. On Wed, Mar 18, 2015 at 3:46 PM, Andrew Kluthe wrote: > Sounds like a file permissions issue to me. Either on the WWW2 directory > or any of the dirs on the way down to install.php > > That's where I'd start to look. Maybe it's even got permissions right, but > just owned by another user other than the one running the web server. > > > > On Tue, Mar 17, 2015 at 5:59 PM, Matthias Rebbe | M-R-D < > matthias_livecode_150811 at m-r-d.de> wrote: > >> Hi, >> >> one of my customers has a On-Rev account on Diesel. He?s trying to >> install Wordpress into it and is getting the following error >> >> "Forbidden >> You don't have permission to access /wp-admin/install.php on this server. >> Additionally, a 404 Not Found error was encountered while trying to use >> an ErrorDocument to handle the request.? >> >> when he tries to open the wp installer script. >> He added a addon domain which root is ~/public_html/www2. Into the www2 >> folder he has copied the complete wordpress stuff. >> >> Btw: A info.php file which is in the same folder than the installer >> script is executed w/o error. >> >> Does anyone have a clue what might be wrong? >> >> Regards, >> >> Matthias >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > -- Regards, Andrew Kluthe andrew at ctech.me From hello at simonsmith.co Wed Mar 18 17:09:31 2015 From: hello at simonsmith.co (Simon Smith) Date: Wed, 18 Mar 2015 23:09:31 +0200 Subject: OT Wordpress installation on On-Rev server Diesel fails In-Reply-To: <6F9D08EE-8591-4956-A7C9-AFB14DD4CC1C@m-r-d.de> References: <0FFB3D63-6066-460A-99C5-88E68E003F85@m-r-d.de> <188340696948.20150317191713@ahsoftware.net> <263BCDE0-8F8F-4E52-9F53-AC3D9740F97A@m-r-d.de> <186387064002.20150318081000@ahsoftware.net> <90EC77C6-CB33-4619-B62F-CA0A2BACABA4@m-r-d.de> <6F9D08EE-8591-4956-A7C9-AFB14DD4CC1C@m-r-d.de> Message-ID: All versions of WordPress after 3.7 auto update (only minor and security updates) On Wed, Mar 18, 2015 at 8:54 PM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > > > Am 18.03.2015 um 19:30 schrieb Mark Wieder >: > > > > Matthias Rebbe | M-R-D writes: > > > >> I just checked his installation. And can assure you it?s version 4.1.1. > > > > OK. Sounds like you've got this under control. > > But I think if you've installed your own WordPress copy then you're > responsible > > for keeping it updated, as opposed to running the version on-rev > supplies. > > > > The On-Rev integrated one is updated automatically? > Only security patches or also version upgrades? > I would have no problem with security updates, > but automatically upgrading to newer versions is not what i would want. > > Matthias > > > -- > > Mark Wieder > > ahsoftware at gmail.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode < > http://lists.runrev.com/mailman/listinfo/use-livecode> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- *Simon Smith* *seo, online marketing, web development* w. http://www.simonsmith.co m. +27 83 306 7862 From simon at asato-media.com Wed Mar 18 19:02:35 2015 From: simon at asato-media.com (Simon) Date: Wed, 18 Mar 2015 16:02:35 -0700 (PDT) Subject: [semi-OT] Distributing apps for iOs outside iTunes In-Reply-To: <2b3280d34b8450b1c0a9e290da79fab1.squirrel@continental.on-rev.com> References: <2b3280d34b8450b1c0a9e290da79fab1.squirrel@continental.on-rev.com> Message-ID: <1426719755446-4690344.post@n4.nabble.com> Here is my write up for distribution http://forums.livecode.com/viewtopic.php?f=49&t=22832 I get reports from the iOS device so I know when to take the link down. One thing I didn't include in the app was a method of auto updating... next time. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/semi-OT-Distributing-apps-for-iOs-outside-iTunes-tp4690319p4690344.html Sent from the Revolution - User mailing list archive at Nabble.com. From mark at sorcery-ltd.co.uk Wed Mar 18 19:17:02 2015 From: mark at sorcery-ltd.co.uk (Mark Wilcox) Date: Wed, 18 Mar 2015 23:17:02 +0000 Subject: [semi-OT] Distributing apps for iOs outside iTunes In-Reply-To: References: <2b3280d34b8450b1c0a9e290da79fab1.squirrel@continental.on-rev.com> <1426674208.2135825.241938785.18E4764A@webmail.messagingengine.com> <703E7D99-BB61-4E7E-85EB-7A1BE78644CF@gmail.com> <1426690947.2210551.242046477.3AACA70D@webmail.messagingengine.com> Message-ID: I've used ad-hoc provisioning as a free and simple per device licensing mechanism before but it doesn't offer any protection. Devices get lost and stolen and you can't remote kill the app via the provisioning mechanism. Anything with a real data security requirement has to have a user authentication system. Whether you or the client manages that is up to them and their IT capabilities. Too easy to disagree while talking in generalities though. Every client app is different. My main point for this thread is that the enterprise developer account is a major convenience and worth considering. I once had a large client that got one just for internal test builds, the app was for consumers and releases were on the App Store. Even then it saved a lot of time and hassle. Sent from my iPhone > On 18 Mar 2015, at 16:24, Mike Kerner wrote: > > The reason for explicitly provisioning (and therefore multiple developer > ID's), and banning a device is that you get an extra layer of protection > for your corporate clients from having just anyone with their random device > get access to the corporate app. That also means when someone leaves you > have the ability to explicitly cut them off from updates. Sure, you can > hope that the corporate IT department locks them out, as well, but this way > you have an incentive to communicate with them at least once per year about > who has access. > > On Wed, Mar 18, 2015 at 11:02 AM, Mark Wilcox > wrote: > >> I have some points to consider here having done it both ways a few >> times: >> 1) I'd definitely have them give you sufficient permissions to manage >> the certificates, keys and profiles yourself in their account. You still >> do everything apart from sign-up, pay and sign (click through) contracts >> with Apple, the account is just in their name. >> 2) The enterprise account's extra $200/year should be saved in the cost >> of your time not managing profile updates and issuing new builds when >> devices change (maybe not for a lot less than 10 people, but still the >> difference must be almost nothing in the total development cost). >> 3) It also removes any delay for a new employee/device - the enterprise >> signed build can be installed automatically without going through the >> whole UDID collection, provisioning profile update and rebuild process. >> This is what enterprise accounts are for. Not having to explain why it >> doesn't work on new devices (which is after all rather technical and all >> down to Apple) is also of value. Overall a better customer experience. >> 4) If you build up a decent sized client base over time you will >> struggle with the 100 device limit, even in multiple standard developer >> accounts (I have access to 4 accounts at the moment, 2 of them are >> almost at the limit). I've mostly used ad-hoc builds for demos for >> potential new clients - even that can fill up your device slots over >> time. >> 5) In theory you can remove old devices but do you want your clients to >> have to tell you when they retire old ones? Will they remember anyway? >> Analytics can no longer tell you which UDIDs are still in use, since >> developer access got cut off some time ago. >> >> Technically ad-hoc distribution shouldn't be used to deliver to clients >> for internal builds but I can confirm that Apple shows no signs of >> caring about enforcing that. >> >> -- >> Mark Wilcox >> mark at sorcery-ltd.co.uk >> >>> On Wed, Mar 18, 2015, at 12:06 PM, Mike Kerner wrote: >>> I take this the other way: I want more control, not less. I take it >>> personally when something I build isn't freaking awesome. I consider >>> other >>> enterprises' employees to be part of my team when I write something for >>> them. I am their IT guy, so the last thing I want to do is take a chance >>> on someone "over there" dropping the ball and making something break, >>> that >>> I then have to clean up, especially when they're under the gun. Spoiling >>> them rotten is my privilege. They will be in one of my profiles. >>> >>> On Wed, Mar 18, 2015 at 7:58 AM, Matthias Rebbe | M-R-D < >>> matthias_livecode_150811 at m-r-d.de> wrote: >>> >>>> >>>> >>>>> Am 18.03.2015 um 12:16 schrieb Colin Holgate >> : >>>>> >>>>> I would do a mixed approach. Get your client to join at $99 per year, >>>> and to have you as a team member. They would include at least one of >> your >>>> devices in their list, so you can test installs, and you would be able >> to >>>> build for up to 100 devices. If they only need about 10, that would >> cover >>>> quite a few employee and device changes. >>>> And if i remember right every year you can reset that list of devices. >>>> This would allow you to delete non active devices and it increases the >>>> number of possible test devices again. >>>> >>>> >>>> >>>> >>>>> >>>>>> On Mar 18, 2015, at 6:23 AM, Mark Wilcox >>>> wrote: >>>>>> >>>>>> I've used Ad Hoc Distribution for this a few times before - it can >>>> become a >>>>>> bit of a pain because employees join and people get new devices - >> you >>>> have >>>>>> to manage updates to the provisioning profile manually - more often >> than >>>>>> you'd think. >>>>>> >>>>>> >>>>>> A better option is if you can get the client to join the iOS >> Developer >>>>>> Enterprise Program: >>>>>> >>>>>> https://developer.apple.com/programs/ios/enterprise/ >>>>>> >>>>>> >>>>>> It's $299/year but then you can get Enterprise distribution >> profiles/ >>>>>> certificates. These don't have any device restrictions at all, it's >> just >>>>>> part of Apple's rules that they're only allowed for internal use >> within >>>> an >>>>>> Enterprise. This removes all the issues with collecting UDIDs and >>>> keeping >>>>>> provisioning profiles updated. >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> Mark Wilcox >>>>>> >>>>>> mark at sorcery-ltd.co.uk >>>>>> >>>>>> >>>>>>> On Wed, Mar 18, 2015, at 06:36 AM, jbv at souslelogo.com wrote: >>>>>>> >>>>>>> Hi list >>>>>>> One of my clients needs an app for his employees that will run >>>>>>> on their iphones or itabs. Those employees are very few (less than >>>>>>> 10) and no one else will be interested in the app because it's >>>>>>> related to a very specific activity, therefore using iTunes doesn't >>>>>>> seem relevant. >>>>>>> I took a look at Apple's distribution options, and the "Ad Hoc >>>>>>> Distribution" looks like the way to go, but I was wondering if >>>>>>> anyone had already use it, or if there was any better option... >>>>>>> >>>>>>> Thanks in advance >>>>>>> jbv >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> -- >>> On the first day, God created the heavens and the Earth >>> On the second day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Wed Mar 18 20:48:08 2015 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 18 Mar 2015 17:48:08 -0700 (PDT) Subject: Curious listserve issue In-Reply-To: <5509C643.6030905@fourthworld.com> References: <5509C643.6030905@fourthworld.com> Message-ID: <1426726088898-4690346.post@n4.nabble.com> Hi Richard, It's not LiveCode listserver fault. Autor posted a new thread from: http://runtime-revolution.278305.n4.nabble.com/ He must have use: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html I have made this same error before. Have to post again to see the message in LC maillist. Alejandro -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Curious-listserve-issue-tp4690338p4690346.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Wed Mar 18 21:21:12 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 18 Mar 2015 18:21:12 -0700 Subject: Curious listserve issue In-Reply-To: <1426726088898-4690346.post@n4.nabble.com> References: <1426726088898-4690346.post@n4.nabble.com> Message-ID: <550A2488.9050202@fourthworld.com> Alejandro wrote: > Hi Richard, > > It's not LiveCode listserver fault. > > Autor posted a new thread from: > http://runtime-revolution.278305.n4.nabble.com/ > He must have use: > http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html > > I have made this same error before. Have to post > again to see the message in LC maillist. That Nabble page says: "Messages posted here will be sent to this mailing list." Maybe we should file a bug report with Nabble? :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rdimola at evergreeninfo.net Wed Mar 18 21:50:10 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 18 Mar 2015 21:50:10 -0400 Subject: [semi-OT] Distributing apps for iOS outside iTunes In-Reply-To: <1426719755446-4690344.post@n4.nabble.com> References: <2b3280d34b8450b1c0a9e290da79fab1.squirrel@continental.on-rev.com> <1426719755446-4690344.post@n4.nabble.com> Message-ID: <004001d061e7$08f79f90$1ae6deb0$@net> Simon, You the Man! Worked first... well second time. I needed to add the mime types in IIS. Sweet. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Simon Sent: Wednesday, March 18, 2015 7:03 PM To: use-revolution at lists.runrev.com Subject: Re: [semi-OT] Distributing apps for iOs outside iTunes Here is my write up for distribution http://forums.livecode.com/viewtopic.php?f=49&t=22832 I get reports from the iOS device so I know when to take the link down. One thing I didn't include in the app was a method of auto updating... next time. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/semi-OT-Distributing-apps-for -iOs-outside-iTunes-tp4690319p4690344.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Wed Mar 18 21:50:10 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 18 Mar 2015 21:50:10 -0400 Subject: [semi-OT] Distributing apps for iOS outside iTunes In-Reply-To: <1426719755446-4690344.post@n4.nabble.com> References: <2b3280d34b8450b1c0a9e290da79fab1.squirrel@continental.on-rev.com> <1426719755446-4690344.post@n4.nabble.com> Message-ID: <004001d061e7$08f79f90$1ae6deb0$@net> Simon, You the Man! Worked first... well second time. I needed to add the mime types in IIS. Sweet. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Simon Sent: Wednesday, March 18, 2015 7:03 PM To: use-revolution at lists.runrev.com Subject: Re: [semi-OT] Distributing apps for iOs outside iTunes Here is my write up for distribution http://forums.livecode.com/viewtopic.php?f=49&t=22832 I get reports from the iOS device so I know when to take the link down. One thing I didn't include in the app was a method of auto updating... next time. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/semi-OT-Distributing-apps-for -iOs-outside-iTunes-tp4690319p4690344.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Wed Mar 18 21:44:16 2015 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 18 Mar 2015 18:44:16 -0700 (PDT) Subject: Curious listserve issue In-Reply-To: <550A2488.9050202@fourthworld.com> References: <5509C643.6030905@fourthworld.com> <1426726088898-4690346.post@n4.nabble.com> <550A2488.9050202@fourthworld.com> Message-ID: <1426729456659-4690349.post@n4.nabble.com> There are many Livecode sub-forums in Nabble: http://runtime-revolution.278305.n4.nabble.com/Runtime-Revolution-f278305.subapps.html Probably, this is why the original message do not get posted to the Use-Livecode Mail List. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Curious-listserve-issue-tp4690338p4690349.html Sent from the Revolution - User mailing list archive at Nabble.com. From simon at asato-media.com Wed Mar 18 21:51:33 2015 From: simon at asato-media.com (Simon) Date: Wed, 18 Mar 2015 18:51:33 -0700 (PDT) Subject: [semi-OT] Distributing apps for iOS outside iTunes In-Reply-To: <004001d061e7$08f79f90$1ae6deb0$@net> References: <2b3280d34b8450b1c0a9e290da79fab1.squirrel@continental.on-rev.com> <1426719755446-4690344.post@n4.nabble.com> <004001d061e7$08f79f90$1ae6deb0$@net> Message-ID: <1426729893193-4690350.post@n4.nabble.com> Glad it helped! Simon Ralph DiMola wrote > Simon, > > You the Man! Worked first... well second time. I needed to add the mime > types in IIS. Sweet. > > Ralph DiMola > IT Director -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/semi-OT-Distributing-apps-for-iOs-outside-iTunes-tp4690319p4690350.html Sent from the Revolution - User mailing list archive at Nabble.com. From prothero at earthednet.org Thu Mar 19 01:17:32 2015 From: prothero at earthednet.org (William Prothero) Date: Wed, 18 Mar 2015 22:17:32 -0700 Subject: Long KML text file with no return chars Message-ID: <8305444F-D26B-47F3-BA74-173B79D51F39@earthednet.org> Folks: Just wondering. I am reading in a very long text file (2.6Mb and 2.6 million chars) and it has no carriage returns. The ?read file until end? statement hangs and goes into the spinning pizza of death on Mac OS Yosemite and LC 7,0,4 and 7.0.3. I used textWrangler to insert hard line breaks, which seemed to work fine, but when I then added a ?replace cr with empty in theData?, it hung the system. I suspect the long text file overwrote something and then the replace function hung it up. So, am I trying to do something out of the range of what Livecode can do? I?m wondering whether I should start editing the file into smaller files. My overall goal is to convert the KML (a specific xml format) to an array, using Trevor Devore?s convertXMLToArray, for processing, then save it back to a friendlier format for normal use. So, do I just start editing the file into smaller files, or is there another strategy that would be more efficient. I?ll have to recreate headers, etc, for each file, but it can?t be too bad. Best, Bill William A. Prothero http://es.earthednet.org/ From terry.judd at unimelb.edu.au Thu Mar 19 01:29:45 2015 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Thu, 19 Mar 2015 05:29:45 +0000 Subject: Long KML text file with no return chars In-Reply-To: <8305444F-D26B-47F3-BA74-173B79D51F39@earthednet.org> References: <8305444F-D26B-47F3-BA74-173B79D51F39@earthednet.org> Message-ID: Hi William - you should be able to read a text file of that size into LC no worries. Have you tried the 'put url (?file:?&tPath) into tVar? method rather than using the ?read file? approach. I only ever use the latter if I have to deal with really big files (10s to 100s of MB or more). Terry... On 19/03/2015 4:17 pm, "William Prothero" wrote: >Folks: >Just wondering. I am reading in a very long text file (2.6Mb and 2.6 >million chars) and it has no carriage returns. The ?read file until end? >statement hangs and goes into the spinning pizza of death on Mac OS >Yosemite and LC 7,0,4 and 7.0.3. I used textWrangler to insert hard line >breaks, which seemed to work fine, but when I then added a ?replace cr >with empty in theData?, it hung the system. > >I suspect the long text file overwrote something and then the replace >function hung it up. > >So, am I trying to do something out of the range of what Livecode can do? >I?m wondering whether I should start editing the file into smaller files. > >My overall goal is to convert the KML (a specific xml format) to an >array, using Trevor Devore?s convertXMLToArray, for processing, then save >it back to a friendlier format for normal use. > >So, do I just start editing the file into smaller files, or is there >another strategy that would be more efficient. I?ll have to recreate >headers, etc, for each file, but it can?t be too bad. > >Best, >Bill > >William A. Prothero >http://es.earthednet.org/ > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Thu Mar 19 01:40:35 2015 From: prothero at earthednet.org (Earthednet-wp) Date: Wed, 18 Mar 2015 22:40:35 -0700 Subject: Long KML text file with no return chars In-Reply-To: References: <8305444F-D26B-47F3-BA74-173B79D51F39@earthednet.org> Message-ID: <039C9CF7-8D43-4FDB-AD39-294071102011@earthednet.org> Terry, Thanks. I'll try that method. Best, Bill William Prothero http://es.earthednet.org > On Mar 18, 2015, at 10:29 PM, Terry Judd wrote: > > Hi William - you should be able to read a text file of that size into LC > no worries. Have you tried the 'put url (?file:?&tPath) into tVar? method > rather than using the ?read file? approach. I only ever use the latter if > I have to deal with really big files (10s to 100s of MB or more). > > Terry... > >> On 19/03/2015 4:17 pm, "William Prothero" wrote: >> >> Folks: >> Just wondering. I am reading in a very long text file (2.6Mb and 2.6 >> million chars) and it has no carriage returns. The ?read file until end? >> statement hangs and goes into the spinning pizza of death on Mac OS >> Yosemite and LC 7,0,4 and 7.0.3. I used textWrangler to insert hard line >> breaks, which seemed to work fine, but when I then added a ?replace cr >> with empty in theData?, it hung the system. >> >> I suspect the long text file overwrote something and then the replace >> function hung it up. >> >> So, am I trying to do something out of the range of what Livecode can do? >> I?m wondering whether I should start editing the file into smaller files. >> >> My overall goal is to convert the KML (a specific xml format) to an >> array, using Trevor Devore?s convertXMLToArray, for processing, then save >> it back to a friendlier format for normal use. >> >> So, do I just start editing the file into smaller files, or is there >> another strategy that would be more efficient. I?ll have to recreate >> headers, etc, for each file, but it can?t be too bad. >> >> Best, >> Bill >> >> William A. Prothero >> http://es.earthednet.org/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Mar 19 01:44:25 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 18 Mar 2015 22:44:25 -0700 Subject: Long KML text file with no return chars In-Reply-To: <8305444F-D26B-47F3-BA74-173B79D51F39@earthednet.org> References: <8305444F-D26B-47F3-BA74-173B79D51F39@earthednet.org> Message-ID: <550A6239.7020800@fourthworld.com> William Prothero wrote: > Just wondering. I am reading in a very long text file (2.6Mb and > 2.6 million chars) and it has no carriage returns. The ?read > file until end? statement hangs and goes into the spinning pizza > of death on Mac OS Yosemite and LC 7,0,4 and 7.0.3. I used > textWrangler to insert hard line breaks, which seemed to work > fine, but when I then added a ?replace cr with empty in theData?, > it hung the system. > > I suspect the long text file overwrote something and then the replace > function hung it up. > > So, am I trying to do something out of the range of what Livecode can > do? I?m wondering whether I should start editing the file into > smaller files. The file size isn't the issue; I work on files a hundred times that size all the time. Are you doing everything in a variable, or trying to display the contents in a field? With that much data there's not much to see anyway. If you can work with it in RAM you should find LC is more than up to the task. If you're not using a field please post the stack and the data file if you can so we can poke around and figure out what needs to be done. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jbv at souslelogo.com Thu Mar 19 03:07:31 2015 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Thu, 19 Mar 2015 09:07:31 +0200 Subject: Long KML text file with no return chars In-Reply-To: <8305444F-D26B-47F3-BA74-173B79D51F39@earthednet.org> References: <8305444F-D26B-47F3-BA74-173B79D51F39@earthednet.org> Message-ID: Hi list, SImilar question : how would you proceed if you had to process a 16 Gb xml file (with no return chars) with LC on a Mac with only 4 Gb of RAM ? I managed to process the file in sections, but I always fear the script would miss some nodes here and there... Thanks in advance jbv From mikedoub at gmail.com Thu Mar 19 09:25:48 2015 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 19 Mar 2015 09:25:48 -0400 Subject: Long KML text file with no return chars In-Reply-To: References: <8305444F-D26B-47F3-BA74-173B79D51F39@earthednet.org> Message-ID: <550ACE5C.5020801@gmail.com> The OS manages virtual memory and will move pages in and out of physical memory for you. There is no need to worry about the system loosing data. However you should be aware of this and try to control the way your code accesses memory. if your code randomly accesses the data, you can cause the system to spend a lot time moving pages in and out of memory. So processing in sections would help manage the performance. -= Mike On 3/19/15 3:07 AM, jbv at souslelogo.com wrote: > Hi list, > SImilar question : how would you proceed if you > had to process a 16 Gb xml file (with no return chars) > with LC on a Mac with only 4 Gb of RAM ? > I managed to process the file in sections, but I always > fear the script would miss some nodes here and there... > > Thanks in advance > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From th.douez at gmail.com Thu Mar 19 09:33:37 2015 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 19 Mar 2015 14:33:37 +0100 Subject: ssh external for Windows7 or 8 Message-ID: Hi, Is the external DLL livessh.dll (binary) that Trevor offers to the community via his SSH external github account works on windows7 or windows 8? I'm not able to activate it via a simple LC code. (no errors but no access to the external functions) I have a similar environment with sunnYpdf which works great so I'm sure my LC script is fine. By the way, it works on Ubuntu 12-04 with LC 6.7 or 7. Thanks for any pointer, Regards, Thierry From skip at magicgate.com Thu Mar 19 09:43:57 2015 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Thu, 19 Mar 2015 09:43:57 -0400 Subject: Having issue installing Android SDK with Windows 8 Message-ID: Am I missing something? Having issues installing Android SDK and getting LC to recognize it. Something changed or am I just not doing something right? Thank you, SKIP From sebastien.nouat at livecode.com Thu Mar 19 11:45:56 2015 From: sebastien.nouat at livecode.com (sebastien) Date: Thu, 19 Mar 2015 15:45:56 +0000 Subject: Release 6.7.4 RC 2 / 7.0.4 RC 2 Message-ID: <550AEF34.50109@livecode.com> Dear List Members, We're pleased to announce the release of LiveCode 6.7.4 RC 2 and 7.0.4 RC 2. This release is a maintenance release that contains bug fixes for both versions, and the support for Xcode 6.2 and iOS 8.2. The list of bug fixed can be found in the Release Notes. *Getting the Release* To get the release please select "check for updates" from the "help" menu in the product or download the installer directly at: http://downloads.livecode.com *6.7.4 GM / 7.0.4 GM * The next stable builds of these releases will be made public early next week. Unless critical issues appear related to the update to iOS 8.2, no further bugs will be fixed in the stable release, as the GMs will be a promotion of the RC 2. Warm regards, The LiveCode Team From ludovic.thebault at laposte.net Thu Mar 19 04:48:04 2015 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Thu, 19 Mar 2015 09:48:04 +0100 Subject: "Open in" for Android In-Reply-To: <5509AE75.5040801@economy-x-talk.com> References: <449448B4-285A-4ADA-8918-F91BC38C503C@laposte.net> <5506ED52.6000407@economy-x-talk.com> <57B9F2E3-F5ED-4CBC-BE4F-8A8009244F71@laposte.net> <5509AE75.5040801@economy-x-talk.com> Message-ID: <488050B0-EB8C-4DB2-ADE7-5D5A3DD211D6@laposte.net> Le 18 mars 2015 ? 17:57, Mark Schonewille a ?crit : > Hi Ludovic, > > You need to add intent filters to the manifest. More info at > http://stackoverflow.com/questions/3760276/android-intent-filter-associate-app-with-file-extension > > You need to find a way to change the manifest before the standalone is built or to unpack the apk, change the manifest and repack it. > Thanks ! It is not recommended to modify the "Manifest.xml" directly on the livecode folder app ? How modify it during the standalone saving ? With the savingMobileStandalone handler but how intercept the "Manifest" file ? Note (OT) : there is a big bug when you have accentued chars in the names of files (or folders) you want to add to the standalone (with the "copy files" section of the Standalone Settings). There is always a "APK preparation failed" : Bug 12406 From t.heaford at icloud.com Thu Mar 19 14:49:23 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Thu, 19 Mar 2015 18:49:23 +0000 Subject: Release 6.7.4 RC 2 / 7.0.4 RC 2 In-Reply-To: <550AEF34.50109@livecode.com> References: <550AEF34.50109@livecode.com> Message-ID: > On 19 Mar 2015, at 15:45, sebastien wrote: > > We're pleased to announce the release of LiveCode 6.7.4 RC 2 and 7.0.4 RC 2. This release is a maintenance release that contains bug fixes for both versions, and the support for Xcode 6.2 and iOS 8.2. The list of bug fixed can be found in the Release Notes. I have had a look through the release notes for 6.7.4 RC 2 and there is no mention of any bug fixes. Is that correct? All the best Terry From t.heaford at icloud.com Thu Mar 19 14:58:55 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Thu, 19 Mar 2015 18:58:55 +0000 Subject: Release 6.7.4 RC 2 / 7.0.4 RC 2 In-Reply-To: <550AEF34.50109@livecode.com> References: <550AEF34.50109@livecode.com> Message-ID: > On 19 Mar 2015, at 15:45, sebastien wrote: > > We're pleased to announce the release of LiveCode 6.7.4 RC 2 and 7.0.4 RC 2. This release is a maintenance release that contains bug fixes for both versions, and the support for Xcode 6.2 and iOS 8.2. The list of bug fixed can be found in the Release Notes. I had the distinct impression this bug was going to be resolved in this release. http://quality.runrev.com/show_bug.cgi?id=14814 All the best Terry From richmondmathewson at gmail.com Thu Mar 19 15:03:28 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 19 Mar 2015 21:03:28 +0200 Subject: Release 6.7.4 RC 2 / 7.0.4 RC 2 In-Reply-To: References: <550AEF34.50109@livecode.com> Message-ID: <550B1D80.5010204@gmail.com> On 19/03/15 20:58, Terence Heaford wrote: >> On 19 Mar 2015, at 15:45, sebastien wrote: >> >> We're pleased to announce the release of LiveCode 6.7.4 RC 2 and 7.0.4 RC 2. This release is a maintenance release that contains bug fixes for both versions, and the support for Xcode 6.2 and iOS 8.2. The list of bug fixed can be found in the Release Notes. > > I had the distinct impression this bug was going to be resolved in this release. > > > http://quality.runrev.com/show_bug.cgi?id=14814 > > > All the best > > Terry > > > An awful lot of us are suffering from distinct impressions: but, then, Runtime Revolution suffer from the distinct impression that they are completely open with their user-base . . . Richmond. From richmondmathewson at gmail.com Thu Mar 19 15:04:24 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 19 Mar 2015 21:04:24 +0200 Subject: Release 6.7.4 RC 2 / 7.0.4 RC 2 In-Reply-To: <550AEF34.50109@livecode.com> References: <550AEF34.50109@livecode.com> Message-ID: <550B1DB8.7070004@gmail.com> On 19/03/15 17:45, sebastien wrote: > Dear List Members, > > We're pleased to announce the release of LiveCode 6.7.4 RC 2 and 7.0.4 > RC 2. This release is a maintenance release that contains bug fixes > for both versions, and the support for Xcode 6.2 and iOS 8.2. The list > of bug fixed can be found in the Release Notes. > > *Getting the Release* > To get the release please select "check for updates" from the "help" > menu in the product or download the installer directly at: > http://downloads.livecode.com > > *6.7.4 GM / 7.0.4 GM That "GM" seems a bit confusing just when we've all got used to RC, DP and STABLE. Richmond. > * > The next stable builds of these releases will be made public early > next week. Unless critical issues appear related to the update to iOS > 8.2, no further bugs will be fixed in the stable release, as the GMs > will be a promotion of the RC 2. > Warm regards, > > The LiveCode Team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at icloud.com Thu Mar 19 15:05:30 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Thu, 19 Mar 2015 19:05:30 +0000 Subject: Release 6.7.4 RC 2 / 7.0.4 RC 2 In-Reply-To: <550B1D80.5010204@gmail.com> References: <550AEF34.50109@livecode.com> <550B1D80.5010204@gmail.com> Message-ID: > On 19 Mar 2015, at 19:03, Richmond wrote: > > An awful lot of us are suffering from distinct impressions: but, then, Runtime Revolution suffer from the > distinct impression that they are completely open with their user-base . . . What is the purpose of your post? From richmondmathewson at gmail.com Thu Mar 19 15:14:43 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 19 Mar 2015 21:14:43 +0200 Subject: Release 6.7.4 RC 2 / 7.0.4 RC 2 In-Reply-To: References: <550AEF34.50109@livecode.com> <550B1D80.5010204@gmail.com> Message-ID: <550B2023.5030006@gmail.com> On 19/03/15 21:05, Terence Heaford wrote: >> On 19 Mar 2015, at 19:03, Richmond wrote: >> >> An awful lot of us are suffering from distinct impressions: but, then, Runtime Revolution suffer from the >> distinct impression that they are completely open with their user-base . . . > > What is the purpose of your post? > > To point out that while many of us have distinct impressions that various things will be sorted out they are not, and that we may be developing these distinct impressions because RunRev are not really keeping us as informed as perhaps they should. When I invested in the Open Sourcing of Livecode it was on the understanding that RunRev would be considerably better at keeping their use-base informed about what they were doing, when they were aiming to sort out bugs and so forth . . . I don't feel they have completely lived up to that promise, have let several things they mentioned in their money-raising thing for Open Source fall by the wayside without actually checking how those who donated feel about that, and have not entirely woken up to the moral duty they have towards those who donated towards the Open Sourcing effort. Why I stated that RunRev suffer from a distinct impression is because I don't think there is any case of malice afore thought, just a slight misreading of things through no real fault as such of their own. Richmond. From t.heaford at icloud.com Thu Mar 19 15:29:34 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Thu, 19 Mar 2015 19:29:34 +0000 Subject: Release 6.7.4 RC 2 / 7.0.4 RC 2 In-Reply-To: References: <550AEF34.50109@livecode.com> Message-ID: > On 19 Mar 2015, at 18:58, Terence Heaford wrote: > > > I had the distinct impression this bug was going to be resolved in this release. > > > http://quality.runrev.com/show_bug.cgi?id=14814 > Comment from Richard Gaskin on the 11 March 2015: "The report's status is "awaiting merge", and that was just yesterday. Given the time required for both the merge and build processes, it may be that this item is outside the scope of this morning's 7.0.4rc1, likely in the build after. ? It still says ?awaiting merge? Terry From richmondmathewson at gmail.com Thu Mar 19 15:32:36 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 19 Mar 2015 21:32:36 +0200 Subject: Release 6.7.4 RC 2 / 7.0.4 RC 2 In-Reply-To: References: <550AEF34.50109@livecode.com> Message-ID: <550B2454.5050005@gmail.com> On 19/03/15 21:29, Terence Heaford wrote: >> On 19 Mar 2015, at 18:58, Terence Heaford wrote: >> >> >> I had the distinct impression this bug was going to be resolved in this release. >> >> >> http://quality.runrev.com/show_bug.cgi?id=14814 > > > Comment from Richard Gaskin on the 11 March 2015: > > "The report's status is "awaiting merge", and that was just yesterday. > Given the time required for both the merge and build processes, it may > be that this item is outside the scope of this morning's 7.0.4rc1, > likely in the build after. ? > > > > It still says ?awaiting merge? > > > Terry > _______________________________________________ > That's good to know; although that makes me wonder slightly how they can say that the next release will be "GM" [ presumably that means 'STABLE' ??? ] Richmond. From ludovic.thebault at laposte.net Thu Mar 19 15:39:22 2015 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Thu, 19 Mar 2015 20:39:22 +0100 Subject: "Open in" for Android In-Reply-To: <5509AE75.5040801@economy-x-talk.com> References: <449448B4-285A-4ADA-8918-F91BC38C503C@laposte.net> <5506ED52.6000407@economy-x-talk.com> <57B9F2E3-F5ED-4CBC-BE4F-8A8009244F71@laposte.net> <5509AE75.5040801@economy-x-talk.com> Message-ID: <27E566D2-33AE-4B9C-B262-4F40E6D93B8D@laposte.net> Le 18 mars 2015 ? 17:57, Mark Schonewille > a ?crit : > Hi Ludovic, > > You need to add intent filters to the manifest. More info at > http://stackoverflow.com/questions/3760276/android-intent-filter-associate-app-with-file-extension > > You need to find a way to change the manifest before the standalone is built or to unpack the apk, change the manifest and repack it. > Thanks ! It is not recommended to modify the "Manifest.xml" directly on the livecode folder app ? How modify it during the standalone saving ? With the savingMobileStandalone handler but how intercept the "Manifest" file ? Note (OT) : there is a big bug when you have accentued chars in the names of files (or folders) you want to add to the standalone (with the "copy files" section of the Standalone Settings). There is always a "APK preparation failed" : Bug?12406 From dochawk at gmail.com Thu Mar 19 15:57:59 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 19 Mar 2015 12:57:59 -0700 Subject: Release 6.7.4 RC 2 / 7.0.4 RC 2 In-Reply-To: <550B2454.5050005@gmail.com> References: <550AEF34.50109@livecode.com> <550B2454.5050005@gmail.com> Message-ID: On Thu, Mar 19, 2015 at 12:32 PM, Richmond wrote: > That's good to know; although that makes me wonder slightly how they can > say that the next release > will be "GM" [ presumably that means 'STABLE' ??? ] > Definitely outside of what the words used mean . . . and that bug is killing me; I will be filing fuzzy forms until it is fixed. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Thu Mar 19 16:08:51 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 19 Mar 2015 22:08:51 +0200 Subject: Laughing my socks off again. Message-ID: <550B2CD3.6000001@gmail.com> BUG 1855: Nothing in 10 years BUG 6380: Nothing in 6 years Why is there a bug/request system if bugs/requests like this are COMPLETELY ignored? These both refer to USB connectivity . . . I see that Jacque Landman Gay was chasing the first one. Richmond. From ambassador at fourthworld.com Thu Mar 19 17:24:51 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 19 Mar 2015 14:24:51 -0700 Subject: Release 6.7.4 RC 2 / 7.0.4 RC 2 In-Reply-To: References: Message-ID: <550B3EA3.1010902@fourthworld.com> Terence Heaford wrote: > Comment from Richard Gaskin on the 11 March 2015: >> "The report's status is "awaiting merge", and that was just >> yesterday. >> Given the time required for both the merge and build processes, >> it may be that this item is outside the scope of this morning's >> 7.0.4rc1, likely in the build after. ? > > It still says ?awaiting merge? While I do volunteer some of my time helping to steward issues like yours through the bug system, it turns out that I don't actually run their company. :) More relevant might be a comment from someone who works there, such as this note posted shortly after mine from S?bastien: Hi Terence, LiveCode 7.0.4 RC 1 was already built, and under test, at the time the bug fix for the printing issue was made. It will be in 7.0.4 RC 2, which should come soon, next week. Regard, S?bastien Nouat LiveCode Development Team I haven't read the Release Notes for the RC2 build so I don't know why it was released with a merge of smaller scope than originally anticipated. Perhaps S?bastien or someone else who works there may be able to provide more insight on that. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Thu Mar 19 17:55:35 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 Mar 2015 16:55:35 -0500 Subject: Laughing my socks off again. In-Reply-To: <550B2CD3.6000001@gmail.com> References: <550B2CD3.6000001@gmail.com> Message-ID: <550B45D7.6070801@hyperactivesw.com> On 3/19/2015 3:08 PM, Richmond wrote: > BUG 1855: Nothing in 10 years > > BUG 6380: Nothing in 6 years > > Why is there a bug/request system if bugs/requests like this are > COMPLETELY ignored? > > These both refer to USB connectivity . . . > > I see that Jacque Landman Gay was chasing the first one. If I had been the author of the report I would have closed it by now. That was then. I now understand how difficult it is to write drivers, and the effort isn't something I want the team to focus on right now. It would be nice to have USB support, but I except for that one time 10 years ago I haven't had any need for it since. Others may have different needs, and from the amount of postings you've been generating about it lately, I suspect you're one of those. If you can find someone who has the necessary level of expertise and skill, grab them and convince them to contribute to the engine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at livecode.org Thu Mar 19 19:31:23 2015 From: paul at livecode.org (Paul Hibbert) Date: Thu, 19 Mar 2015 16:31:23 -0700 Subject: Release 6.7.4 RC 2 / 7.0.4 RC 2 In-Reply-To: <550B3EA3.1010902@fourthworld.com> References: <550B3EA3.1010902@fourthworld.com> Message-ID: Mark Waddingham has just added his name to the CC list, seeing that I would imagine there must have been some problem fixing the bug in time for this release, now he's involved I'm sure it will be fixed soon, although not in time for the next release as they have already stated. The target milestone for this fix is now 7.0.5-rc-1, it's current status is still 'Awaiting Merge' so I guess it must have missed the deadline for the 7.0.4 GM build. If you need/want an update on the progress of this bug just add your email to the CC list on the bug report? http://quality.runrev.com/show_bug.cgi?id=14814 Paul From mwieder at ahsoftware.net Thu Mar 19 19:35:33 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 19 Mar 2015 23:35:33 +0000 (UTC) Subject: Completely OT: What gets lost when you compress music Message-ID: Absolutely no relevance to anything here, but I found it fascinating: -- Mark Wieder ahsoftware at gmail.com From terry.judd at unimelb.edu.au Thu Mar 19 20:02:32 2015 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 20 Mar 2015 00:02:32 +0000 Subject: copying an object from one card to another in iOS - possible? Message-ID: So, I can create new objects or clone existing groups on the current card, but not create a copy of an object on another card and put it onto the current card (no clipboard). Is there any way around this or is the only way to have the group already placed on the card and create clones of it if I want to create multiple copies of it (I?m building an interactive form). Terry? Dr Terry Judd Senior Lecturer Department of Medical Education The University of Melbourne From monte at sweattechnologies.com Thu Mar 19 20:07:19 2015 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 20 Mar 2015 11:07:19 +1100 Subject: copying an object from one card to another in iOS - possible? In-Reply-To: References: Message-ID: On 20 Mar 2015, at 11:02 am, Terry Judd wrote: > So, I can create new objects or clone existing groups on the current card, but not create a copy of an object on another card and put it onto the current card (no clipboard). Is there any way around this or is the only way to have the group already placed on the card and create clones of it if I want to create multiple copies of it (I?m building an interactive form). I'm not sure I understand the problem. Why can't you copy to that you want? Cheers Monte From terry.judd at unimelb.edu.au Thu Mar 19 21:15:40 2015 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 20 Mar 2015 01:15:40 +0000 Subject: copying an object from one card to another in iOS - possible? In-Reply-To: References: Message-ID: On 20/03/2015 11:07 am, "Monte Goulding" wrote: > >On 20 Mar 2015, at 11:02 am, Terry Judd wrote: > >> So, I can create new objects or clone existing groups on the current >>card, but not create a copy of an object on another card and put it onto >>the current card (no clipboard). Is there any way around this or is the >>only way to have the group already placed on the card and create clones >>of it if I want to create multiple copies of it (I?m building an >>interactive form). > >I'm not sure I understand the problem. Why can't you copy another card/stack> to that you want? > >Cheers > >Monte Doh! I guess it pays to actually read the dictionary entry. I?ve been so used to copying stuff to the clipboard and doing stuff to it then pasting it that I completely ignored the copy from to method. I think my brain needs a rest. Better put the laptop away and go out and do some gardening. Thanks Monte. Terry... >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at icloud.com Fri Mar 20 03:30:42 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Fri, 20 Mar 2015 07:30:42 +0000 Subject: Laughing my socks off again. In-Reply-To: <550B2CD3.6000001@gmail.com> References: <550B2CD3.6000001@gmail.com> Message-ID: > On 19 Mar 2015, at 20:08, Richmond wrote: > > BUG 1855: Nothing in 10 years > > BUG 6380: Nothing in 6 years > > Why is there a bug/request system if bugs/requests like this are COMPLETELY ignored? > > These both refer to USB connectivity . . . > > I see that Jacque Landman Gay was chasing the first one. > > Richmond. This what I was on about a couple of weeks ago, not these bugs in particular because there are many in this category. In my opinion LC should remove all these bugs from the database, arbitrarily back to a date(?) and start again. Pick a date, say 1 January 2014 or some other date and delete all bugs earlier than this. Post notices advising everyone of this and away we go again. Simple really. Terry From t.heaford at icloud.com Fri Mar 20 03:43:48 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Fri, 20 Mar 2015 07:43:48 +0000 Subject: Release 6.7.4 RC 2 / 7.0.4 RC 2 In-Reply-To: <550B3EA3.1010902@fourthworld.com> References: <550B3EA3.1010902@fourthworld.com> Message-ID: <110EC4F2-78EC-4CEA-A421-3ED3B4BDBC47@icloud.com> > On 19 Mar 2015, at 21:24, Richard Gaskin wrote: > > While I do volunteer some of my time helping to steward issues like yours through the bug system, it turns out that I don't actually run their company. :) > > More relevant might be a comment from someone who works there, such as this note posted shortly after mine from S?bastien: > > Hi Terence, > > LiveCode 7.0.4 RC 1 was already built, and under test, at > the time the bug fix for the printing issue was made. > > It will be in 7.0.4 RC 2, which should come soon, next week. > > Regard, > > S?bastien Nouat > LiveCode Development Team > > > I haven't read the Release Notes for the RC2 build so I don't know why it was released with a merge of smaller scope than originally anticipated. > > Perhaps S?bastien or someone else who works there may be able to provide more insight on that. I am not sure how anyone requiring to print a portion of a card and running a Mac on Yosemite (not sure if any other systems are affected) can even consider migrating to LC 7 when such a fundamental feature is unavailable. I wouldn?t call this a bug, I would call it that LC 7 is not fit for purpose. You certainly cannot call LC 7.0.0 and LC 7.0.1 and LC 7.0.3 stable. If stable mean it doesn?t crash because printing part of a card is missing then that?s OK. Perhaps the next release there will be no fields and because it doesn?t crash it?s OK to call it stable and the release after it will only have three wheels instead of four, it doesn?t crash so it is stable. Terry From toolbook at kestner.de Fri Mar 20 06:50:32 2015 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 20 Mar 2015 11:50:32 +0100 Subject: How to disable single menu items of a pull down menu? Message-ID: <001b01d062fb$b160aa40$1421fec0$@kestner.de> Hello, I am using a pulldown menu button and I would like to disable single menu items. Is there a straight forward approach to change the color of a single menu Item and disable it? Like "set the textcolor of line 2 of the text of btn "myPullDownMenu" to grey" (what doesn't work) Thanks Tiemo From benr_mc at cogapp.com Fri Mar 20 06:58:02 2015 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Fri, 20 Mar 2015 10:58:02 +0000 Subject: Long KML text file with no return chars In-Reply-To: <550ACE5C.5020801@gmail.com> References: <8305444F-D26B-47F3-BA74-173B79D51F39@earthednet.org> <550ACE5C.5020801@gmail.com> Message-ID: <550BFD3A.8000506@cogapp.com> The general solution for processing an arbitrarily large file is to use read from file xx for yy chars in a loop until you don't get that many chars back, indicating that you've reached the end. Of course, you then need some way to process the data in chunks (not necessarily the same size as you're ready, e.g. you can build up your own buffer). If it's a natural chunked datafile, where the chunks just don't happen to include return chars, that's fine; if it's arbitrary XML, that's trickier. If it's XML that you understand the format of (e.g. KML) then you're probably OK, albeit you have to work a little harder. (In modern LC maybe you can use bytes or something else for the chunk type instead of chars, but the principle is the same.) Ben On 19/03/2015 13:25, Michael Doub wrote: > The OS manages virtual memory and will move pages in and out of physical > memory for you. There is no need to worry about the system loosing data. > However you should be aware of this and try to control the way your code > accesses memory. if your code randomly accesses the data, you can cause the > system to spend a lot time moving pages in and out of memory. So processing > in sections would help manage the performance. > > -= Mike > > > On 3/19/15 3:07 AM, jbv at souslelogo.com wrote: >> Hi list, >> SImilar question : how would you proceed if you >> had to process a 16 Gb xml file (with no return chars) >> with LC on a Mac with only 4 Gb of RAM ? >> I managed to process the file in sections, but I always >> fear the script would miss some nodes here and there... >> >> Thanks in advance >> jbv From ray at linkit.com Fri Mar 20 10:18:46 2015 From: ray at linkit.com (Ray) Date: Fri, 20 Mar 2015 10:18:46 -0400 Subject: Modals Blown Away In-Reply-To: References: <5487386D.4080803@gmail.com> <54DABC1F.3000303@LinkIt.Com> <54DB5694.1080608@LinkIt.Com> <54FDED62.5000004@LinkIt.Com> Message-ID: <550C2C46.7080708@LinkIt.Com> Is there something wrong in 7.0.2 with this? /modal stack [stackName]/ It's a substack, but even if I use /modal stack [subStackName] or stack [mainStackName]/ Livecode simply blows right by it. I get nothing in the result and nothing in a try-catch. This is super finicky, working sometimes, not working others, and then suddenly working when I did nothing different. Anybody know anything about this? From dunbarx at aol.com Fri Mar 20 09:19:46 2015 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 20 Mar 2015 09:19:46 -0400 Subject: How to disable single menu items of a pull down menu? In-Reply-To: <001b01d062fb$b160aa40$1421fec0$@kestner.de> References: <001b01d062fb$b160aa40$1421fec0$@kestner.de> Message-ID: <14c3756efab-26e1-10131@webprd-a58.mail.aol.com> Tiemo. There is a "disable menuItem" command. Check the dictionary. Craig Newman -----Original Message----- From: Tiemo Hollmann TB To: LiveCode User Liste senden Sent: Fri, Mar 20, 2015 6:50 am Subject: How to disable single menu items of a pull down menu? Hello, I am using a pulldown menu button and I would like to disable single menu items. Is there a straight forward approach to change the color of a single menu Item and disable it? Like "set the textcolor of line 2 of the text of btn "myPullDownMenu" to grey" (what doesn't work) Thanks Tiemo _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Mar 20 09:27:23 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 20 Mar 2015 06:27:23 -0700 Subject: Laughing my socks off again. In-Reply-To: References: Message-ID: <550C203B.7050609@fourthworld.com> Terence Heaford wrote: > In my opinion LC should remove all these bugs from the database, > arbitrarily back to a date(?) and start again. > > Pick a date, say 1 January 2014 or some other date and delete all > bugs earlier than this. Post notices advising everyone of this and > away we go again. > > Simple really. Agreed: many things in life would be much simpler if there were only one opinion about them. But it seems the members of the community have many different opinions on this. While you might prefer to ignore older reports and never see another word about them, others find them interesting enough to hunt down some of the oldest ones and write repetitive posts about them, while others are content to leave them in place perhaps to implement them themselves once we get access to OS APIs in Builder (some of mine fall into this latter category). Faced with such a wide range of opinions, LiveCode Ltd. has taken a middle path hopefully less dismissive of older requests, as I explained here on the 5th: Trimming the bug DB has been a huge effort over 2014 and continues to this day. Newly-submitted bugs are usually confirmed within a day or two at most, sometimes within hours, as Paul Hibbert noted with his report this afternoon. Older issues have been worked through with two large-scope initiatives last year: - Nearly 2,000 outstanding bugs and feature requests were completed, closed as "Fixed". Not a small effort. - The remaining items were less clear to the team in terms of their relevance and/or quality of the submitted recipes, so in October Ben took the initiative to send everyone who had outstanding bug reports in the DB a list of those reports with a request that we please review them in the most recent build of LC, and note whether the issue remains or should be closed. It would be nice if everyone who received Ben's email had jumped on it immediately to update or close their reports, but I can't blame them if they're simply busy with other priorities. In the meantime, if you prefer that older reports be ignored the solution seems simple enough: you can ignore them. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Fri Mar 20 09:32:23 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 20 Mar 2015 06:32:23 -0700 Subject: Modals Blown Away In-Reply-To: <550C2C46.7080708@LinkIt.Com> References: <550C2C46.7080708@LinkIt.Com> Message-ID: <550C2167.301@fourthworld.com> Ray wrote: > Is there something wrong in 7.0.2 with this? > > /modal stack [stackName]/ > > It's a substack, but even if I use > > /modal stack [subStackName] or stack [mainStackName]/ > > Livecode simply blows right by it. I get nothing in the result and > nothing in a try-catch. > > This is super finicky, working sometimes, not working others, and > then suddenly working when I did nothing different. > > Anybody know anything about this? I use modals extensively and haven't seen this, but I haven't used v7.0.2 in weeks and only briefly when I did, so I have no input on that specific version. Is this evident in the current stable version, 7.0.3? Also, does it work if you remove the "of stack [mainStackName]"? That clause shouldn't be needed, because once a stack file is loaded into memory all stacks within it are identifiable by their short name. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From toolbook at kestner.de Fri Mar 20 09:33:53 2015 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 20 Mar 2015 14:33:53 +0100 Subject: AW: How to disable single menu items of a pull down menu? In-Reply-To: <14c3756efab-26e1-10131@webprd-a58.mail.aol.com> References: <001b01d062fb$b160aa40$1421fec0$@kestner.de> <14c3756efab-26e1-10131@webprd-a58.mail.aol.com> Message-ID: <003501d06312$823ad800$86b08800$@kestner.de> Hi Craig, Oh shi... I thought this command was only for menues. Next time I will read the dictionary more carefully Thanks Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von dunbarx at aol.com Gesendet: Freitag, 20. M?rz 2015 14:20 An: use-livecode at lists.runrev.com Betreff: Re: How to disable single menu items of a pull down menu? Tiemo. There is a "disable menuItem" command. Check the dictionary. Craig Newman -----Original Message----- From: Tiemo Hollmann TB To: LiveCode User Liste senden Sent: Fri, Mar 20, 2015 6:50 am Subject: How to disable single menu items of a pull down menu? Hello, I am using a pulldown menu button and I would like to disable single menu items. Is there a straight forward approach to change the color of a single menu Item and disable it? Like "set the textcolor of line 2 of the text of btn "myPullDownMenu" to grey" (what doesn't work) Thanks Tiemo _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Fri Mar 20 10:05:48 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 20 Mar 2015 07:05:48 -0700 Subject: Modals Blown Away In-Reply-To: <550C2167.301@fourthworld.com> References: <550C2C46.7080708@LinkIt.Com> <550C2167.301@fourthworld.com> Message-ID: On Fri, Mar 20, 2015 at 6:32 AM, Richard Gaskin wrote: > I use modals extensively and haven't seen this, but I haven't used v7.0.2 > in weeks and only briefly when I did, so I have no input on that specific > version. > I've used pretty much every version and subrelease since around 7.0.1, I think. I use the product in my daily practice. The only problem I've had with modals (and one is used every time I open a client file, and another was used to launch form generation until a week or two ago) is that hitting a red pirate code dot that actually causes a break while a modal is opening frequently means having to force-kill livecode (sometimes shift-cmd-> will set it running again, sometimes not). I've never had one not open. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Mar 20 10:07:26 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 20 Mar 2015 07:07:26 -0700 Subject: Laughing my socks off again. In-Reply-To: References: <550B2CD3.6000001@gmail.com> Message-ID: On Fri, Mar 20, 2015 at 12:30 AM, Terence Heaford wrote: > In my opinion LC should remove all these bugs from the database, > arbitrarily back to a date(?) and start again. > > This is effectively being done: messages go out that unless the reporter takes the time to confirm with a newer version, the bug will be deleted. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From rdimola at evergreeninfo.net Fri Mar 20 10:10:47 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 20 Mar 2015 10:10:47 -0400 Subject: Completely OT: What gets lost when you compress music In-Reply-To: References: Message-ID: <00df01d06317$a9eeedf0$fdccc9d0$@net> I do and always have had a hard time listening to mp3s. If any of these kids today ever heard original German pressings of Beethoven's 5th Symphony or Beatles Revolver on reference system, I think they would be more than amazed. Just try to hear the little hi-hat nuance in Steely Dan's Peg from the Aja album in a mp3. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Wieder Sent: Thursday, March 19, 2015 7:36 PM To: use-livecode at lists.runrev.com Subject: Completely OT: What gets lost when you compress music Absolutely no relevance to anything here, but I found it fascinating: -- Mark Wieder ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Fri Mar 20 10:12:28 2015 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 20 Mar 2015 15:12:28 +0100 Subject: AW: Completely OT: What gets lost when you compress music In-Reply-To: <00df01d06317$a9eeedf0$fdccc9d0$@net> References: <00df01d06317$a9eeedf0$fdccc9d0$@net> Message-ID: <003601d06317$e60f1490$b22d3db0$@kestner.de> Agree :) -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von Ralph DiMola Gesendet: Freitag, 20. M?rz 2015 15:11 An: 'How to use LiveCode' Betreff: RE: Completely OT: What gets lost when you compress music I do and always have had a hard time listening to mp3s. If any of these kids today ever heard original German pressings of Beethoven's 5th Symphony or Beatles Revolver on reference system, I think they would be more than amazed. Just try to hear the little hi-hat nuance in Steely Dan's Peg from the Aja album in a mp3. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Wieder Sent: Thursday, March 19, 2015 7:36 PM To: use-livecode at lists.runrev.com Subject: Completely OT: What gets lost when you compress music Absolutely no relevance to anything here, but I found it fascinating: -- Mark Wieder ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Mar 20 10:14:09 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 20 Mar 2015 07:14:09 -0700 Subject: Release 6.7.4 RC 2 / 7.0.4 RC 2 In-Reply-To: <110EC4F2-78EC-4CEA-A421-3ED3B4BDBC47@icloud.com> References: <110EC4F2-78EC-4CEA-A421-3ED3B4BDBC47@icloud.com> Message-ID: <550C2B31.5080606@fourthworld.com> Terence Heaford wrote: > I am not sure how anyone requiring to print a portion of a card and > running a Mac on Yosemite (not sure if any other systems are > affected) can even consider migrating to LC 7 when such a fundamental > feature is unavailable. I might agree if that were the case, but the actual circumstance is quite different. The issue at hand is here: The specific syntax reported to be non-working is: print card from into The problem is limited to the dest rect only; specifying a portion of the card to print with the source rect is working fine. If the dest rect is a different size, setting the printScale can be used: set the printScale to 0.8 print card from 20,20 to 500,500 If the dest rect is the same size, that clause isn't needed at all and this will do the same thing without error: print card from 20,20 to 500,500 So we can: - print the full card - print a specified portion of the card - print the whole card at a specified scale - print a specified portion of the card at a specified scale What we can't do with that version is to print a portion of a card at a scale while also altering its proportions. Even though it's evidently enough of an edge case that the number of people posting about is about three, the team recognized the value of it, confirmed it under an hour, and fixed it within a couple days, with delivery anticipated for the next build. Why the merge wasn't included in v7.0.4rc1 is something I can't answer. We'll have to wait for someone from LiveCode Ltd. to advise on that. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ray at linkit.com Fri Mar 20 11:17:54 2015 From: ray at linkit.com (Ray) Date: Fri, 20 Mar 2015 11:17:54 -0400 Subject: Modals Blown Away In-Reply-To: References: <550C2C46.7080708@LinkIt.Com> <550C2167.301@fourthworld.com> Message-ID: <550C3A22.2090205@LinkIt.Com> Dr. Hawkins, Richard, As I continue to wrestle with this I'm discovering there seems to be some incompatibility between stack versions. The main stack I have was created long ago in 6.5.2. It runs fine in 7.0.2. If I make a new main stack in 7.0.2 modals run fine in the new stack. But then, if I try to make the new stack a substack of the original main stack created in 6.5.2 Livecode won't accept it. The "Main Stack" pull down in the stack properties simply flips it back when I try to save it. Ideas? On 3/20/2015 10:05 AM, Dr. Hawkins wrote: > On Fri, Mar 20, 2015 at 6:32 AM, Richard Gaskin > wrote: > >> I use modals extensively and haven't seen this, but I haven't used v7.0.2 >> in weeks and only briefly when I did, so I have no input on that specific >> version. >> > I've used pretty much every version and subrelease since around 7.0.1, I > think. I use the product in my daily practice. > > The only problem I've had with modals (and one is used every time I open a > client file, and another was used to launch form generation until a week or > two ago) is that hitting a red pirate code dot that actually causes a break > while a modal is opening frequently means having to force-kill livecode > (sometimes shift-cmd-> will set it running again, sometimes not). > > I've never had one not open. > > From jacque at hyperactivesw.com Fri Mar 20 10:49:42 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 20 Mar 2015 09:49:42 -0500 Subject: Modals Blown Away In-Reply-To: <550C3A22.2090205@LinkIt.Com> References: <550C2C46.7080708@LinkIt.Com> <550C2167.301@fourthworld.com> <550C3A22.2090205@LinkIt.Com> Message-ID: Are there two stacks with the same name? On March 20, 2015 10:17:54 AM CDT, Ray wrote: >Dr. Hawkins, Richard, > >As I continue to wrestle with this I'm discovering there seems to be >some incompatibility between stack versions. The main stack I have was > >created long ago in 6.5.2. It runs fine in 7.0.2. If I make a new >main >stack in 7.0.2 modals run fine in the new stack. But then, if I try to > >make the new stack a substack of the original main stack created in >6.5.2 Livecode won't accept it. The "Main Stack" pull down in the >stack >properties simply flips it back when I try to save it. > >Ideas? > >On 3/20/2015 10:05 AM, Dr. Hawkins wrote: >> On Fri, Mar 20, 2015 at 6:32 AM, Richard Gaskin > >> wrote: >> >>> I use modals extensively and haven't seen this, but I haven't used >v7.0.2 >>> in weeks and only briefly when I did, so I have no input on that >specific >>> version. >>> >> I've used pretty much every version and subrelease since around >7.0.1, I >> think. I use the product in my daily practice. >> >> The only problem I've had with modals (and one is used every time I >open a >> client file, and another was used to launch form generation until a >week or >> two ago) is that hitting a red pirate code dot that actually causes a >break >> while a modal is opening frequently means having to force-kill >livecode >> (sometimes shift-cmd-> will set it running again, sometimes not). >> >> I've never had one not open. >> >> > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ray at linkit.com Fri Mar 20 11:53:03 2015 From: ray at linkit.com (Ray) Date: Fri, 20 Mar 2015 11:53:03 -0400 Subject: Modals Blown Away In-Reply-To: References: <550C2C46.7080708@LinkIt.Com> <550C2167.301@fourthworld.com> <550C3A22.2090205@LinkIt.Com> Message-ID: <550C425F.4090308@LinkIt.Com> Jackie - thanks for jumping in here. No, that's no it. What I'm finding though is that things start working again when I "stop using" a certain stack. I would think locking messages before issuing the modal command would eliminate any conflicts with stacks that are being used, but evidently that's not the case. On 3/20/2015 10:49 AM, J. Landman Gay wrote: > Are there two stacks with the same name? > > On March 20, 2015 10:17:54 AM CDT, Ray wrote: >> Dr. Hawkins, Richard, >> >> As I continue to wrestle with this I'm discovering there seems to be >> some incompatibility between stack versions. The main stack I have was >> >> created long ago in 6.5.2. It runs fine in 7.0.2. If I make a new >> main >> stack in 7.0.2 modals run fine in the new stack. But then, if I try to >> >> make the new stack a substack of the original main stack created in >> 6.5.2 Livecode won't accept it. The "Main Stack" pull down in the >> stack >> properties simply flips it back when I try to save it. >> >> Ideas? >> >> On 3/20/2015 10:05 AM, Dr. Hawkins wrote: >>> On Fri, Mar 20, 2015 at 6:32 AM, Richard Gaskin >> >>> wrote: >>> >>>> I use modals extensively and haven't seen this, but I haven't used >> v7.0.2 >>>> in weeks and only briefly when I did, so I have no input on that >> specific >>>> version. >>>> >>> I've used pretty much every version and subrelease since around >> 7.0.1, I >>> think. I use the product in my daily practice. >>> >>> The only problem I've had with modals (and one is used every time I >> open a >>> client file, and another was used to launch form generation until a >> week or >>> two ago) is that hitting a red pirate code dot that actually causes a >> break >>> while a modal is opening frequently means having to force-kill >> livecode >>> (sometimes shift-cmd-> will set it running again, sometimes not). >>> >>> I've never had one not open. >>> >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Fri Mar 20 12:29:35 2015 From: ray at linkit.com (Ray) Date: Fri, 20 Mar 2015 12:29:35 -0400 Subject: Limitations on stacks which are not resizable In-Reply-To: References: <550C2C46.7080708@LinkIt.Com> <550C2167.301@fourthworld.com> <550C3A22.2090205@LinkIt.Com> Message-ID: <550C4AEF.5010602@LinkIt.Com> Setting the resizable of a stack to false automatically changes its height and width. Any attempts I make to change these dimensions later are ignored by Livecode. Is this a bug in7.0.2? From ambassador at fourthworld.com Fri Mar 20 11:41:00 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 20 Mar 2015 08:41:00 -0700 Subject: Limitations on stacks which are not resizable In-Reply-To: <550C4AEF.5010602@LinkIt.Com> References: <550C4AEF.5010602@LinkIt.Com> Message-ID: <550C3F8C.6010103@fourthworld.com> Ray wrote: > Setting the resizable of a stack to false automatically changes its > height and width. > > Any attempts I make to change these dimensions later are ignored by > Livecode. > > Is this a bug in7.0.2? I'm unable to reproduce this on Mac or Ubuntu in 7.0.4rc1 using this script: on mouseUp put the rect of this stack into r set the resizable of this stack to false put r &cr& the rect of this stack end mouseUp Do you see this problem in the current version? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ray at linkit.com Fri Mar 20 12:51:45 2015 From: ray at linkit.com (Ray) Date: Fri, 20 Mar 2015 12:51:45 -0400 Subject: Limitations on stacks which are not resizable In-Reply-To: <550C3F8C.6010103@fourthworld.com> References: <550C4AEF.5010602@LinkIt.Com> <550C3F8C.6010103@fourthworld.com> Message-ID: <550C5021.1010600@LinkIt.Com> I'm using Windows 8.1, but basically what I'm doing is this: 1) Launch Livecode 7.0.2 (rc 2) 2) Choose New Mainstack under the File menu 3) Resize it to a smaller rect 4) Under the Object menu choose Stack Inspector 5) Choose Size & Position and uncheck Resizable At this point the stack balloons out to a much larger size. On 3/20/2015 11:41 AM, Richard Gaskin wrote: > Ray wrote: > > > Setting the resizable of a stack to false automatically changes its > > height and width. > > > > Any attempts I make to change these dimensions later are ignored by > > Livecode. > > > > Is this a bug in7.0.2? > > I'm unable to reproduce this on Mac or Ubuntu in 7.0.4rc1 using this > script: > > on mouseUp > put the rect of this stack into r > set the resizable of this stack to false > put r &cr& the rect of this stack > end mouseUp > > Do you see this problem in the current version? > From stephenREVOLUTION2 at barncard.com Fri Mar 20 12:29:10 2015 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 20 Mar 2015 09:29:10 -0700 Subject: Completely OT: What gets lost when you compress music In-Reply-To: <00df01d06317$a9eeedf0$fdccc9d0$@net> References: <00df01d06317$a9eeedf0$fdccc9d0$@net> Message-ID: That's a pretty broad brush dismissing 'MP3s', as there are a lot of ways to data compress audio today. Granted there have been many instances where bad encoding or slow rates have diminished the aural experience, but newer compression techniques and better algorithms get the audio to a point where even 'golden ears' can't tell the difference vs 'CD resolution' in blind tests. I've gotten great results with the 'mastered for iTunes' setting on my Fraunhofer-Sonnex encoder ( 256kbit VBR m4a with 'clip safe' ). Certainly the original article proves nothing, as reducing any bandwidth reducing technique to its worst level is going to sound/look bad. The science of perception and music is an interesting area, and I've recently befriended an expert, one of the people behind the science of music data compression. Here's an entertaining and lively lecture given by James D. (JJ) Johnston for the Audio Engineering Society has opened my eyes to how subjective the process is and how external things influence one's opinion about a particular method of transmission - be it tubes / transistors , compression types, etc. , 'masking' and how we perceive sound. https://www.youtube.com/watch?v=X_LN7qUiTpo On Fri, Mar 20, 2015 at 7:10 AM, Ralph DiMola wrote: > I do and always have had a hard time listening to mp3s. If any of these > kids > today ever heard original German pressings of Beethoven's 5th Symphony or > Beatles Revolver on reference system, I think they would be more than > amazed. Just try to hear the little hi-hat nuance in Steely Dan's Peg from > the Aja album in a mp3. > -- Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words From ambassador at fourthworld.com Fri Mar 20 12:33:27 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 20 Mar 2015 09:33:27 -0700 Subject: Limitations on stacks which are not resizable In-Reply-To: <550C5021.1010600@LinkIt.Com> References: <550C5021.1010600@LinkIt.Com> Message-ID: <550C4BD7.6040203@fourthworld.com> Ray - > I'm using Windows 8.1, but basically what I'm doing is this: > 1) Launch Livecode 7.0.2 (rc 2) > 2) Choose New Mainstack under the File menu > 3) Resize it to a smaller rect > 4) Under the Object menu choose Stack Inspector > 5) Choose Size & Position and uncheck Resizable > At this point the stack balloons out to a much larger size. I'm still not seeing it, but I'm using a more recent version. I could download older versions, but historical issues are less interesting than current ones. So the question is: is this historical or current? Or more specifically: do you see this in the current version? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From t.heaford at icloud.com Fri Mar 20 12:34:52 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Fri, 20 Mar 2015 16:34:52 +0000 Subject: Release 6.7.4 RC 2 / 7.0.4 RC 2 In-Reply-To: <550C2B31.5080606@fourthworld.com> References: <110EC4F2-78EC-4CEA-A421-3ED3B4BDBC47@icloud.com> <550C2B31.5080606@fourthworld.com> Message-ID: <86EBC718-A007-4C37-9A66-417F66B6AFFE@icloud.com> > On 20 Mar 2015, at 14:14, Richard Gaskin wrote: > > If the dest rect is a different size, setting the printScale can be used: > > set the printScale to 0.8 > print card from 20,20 to 500,500 I understand you are trying to help and I thank you for that. I am trying to print a group that contains objects forming a chart and it is working well in 6.7.3 scaling to fit the centre of the paper. I looked for a simple solution that would centre & scale it automatically but if there is I could not find it so I have investigated the suggestion you made above. 1. I obtain the paper size printPaperRectangle. 2. decide the margins I require. 3. Work out the scale of the group to fit the printPaperRectangle - the margins required. 4. Apply the scale to obtain the final size of the group when printed. 5. From the final size of the group and the paper width/height work out the final margins. 6. Set those using printMargins. After all this the border of the group is not centred in the paper. Is there another setting I am missing? or something less involved? Thanks Terry From colinholgate at gmail.com Fri Mar 20 12:36:14 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Fri, 20 Mar 2015 12:36:14 -0400 Subject: Completely OT: What gets lost when you compress music In-Reply-To: References: <00df01d06317$a9eeedf0$fdccc9d0$@net> Message-ID: Isn?t the article about MP3 in particular? An m4a file is most like using AAC, which is a lot better quality for the same data rate as MP3. >That's a pretty broad brush dismissing 'MP3s', as there are a lot of ways to data compress audio today. From ray at linkit.com Fri Mar 20 13:56:42 2015 From: ray at linkit.com (Ray) Date: Fri, 20 Mar 2015 13:56:42 -0400 Subject: Limitations on stacks which are not resizable In-Reply-To: <550C4BD7.6040203@fourthworld.com> References: <550C5021.1010600@LinkIt.Com> <550C4BD7.6040203@fourthworld.com> Message-ID: <550C5F5A.3030006@LinkIt.Com> Richard - I just installed the latest stable version, 7.0.3, and I'm getting the same problem. Which version/platform are you using? On 3/20/2015 12:33 PM, Richard Gaskin wrote: > Ray - > > > I'm using Windows 8.1, but basically what I'm doing is this: > > 1) Launch Livecode 7.0.2 (rc 2) > > 2) Choose New Mainstack under the File menu > > 3) Resize it to a smaller rect > > 4) Under the Object menu choose Stack Inspector > > 5) Choose Size & Position and uncheck Resizable > > At this point the stack balloons out to a much larger size. > > I'm still not seeing it, but I'm using a more recent version. I could > download older versions, but historical issues are less interesting > than current ones. > > So the question is: is this historical or current? > > Or more specifically: do you see this in the current version? > From gcanyon at gmail.com Fri Mar 20 13:32:04 2015 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 20 Mar 2015 13:32:04 -0400 Subject: Laughing my socks off again. In-Reply-To: References: <550B2CD3.6000001@gmail.com> Message-ID: Close, not delete. The bugs should still be in the system for reference. On Fri, Mar 20, 2015 at 10:07 AM, Dr. Hawkins wrote: > On Fri, Mar 20, 2015 at 12:30 AM, Terence Heaford > wrote: > > > In my opinion LC should remove all these bugs from the database, > > arbitrarily back to a date(?) and start again. > > > > > This is effectively being done: messages go out that unless the reporter > takes the time to confirm with a newer version, the bug will be deleted. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stgoldberg at aol.com Fri Mar 20 13:56:44 2015 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Fri, 20 Mar 2015 13:56:44 -0400 Subject: Problems with movies in latest LiveCode versions Message-ID: <14c38547f23-595f-10539@webprd-a86.mail.aol.com> Since I use a lot of movies in my stacks, I have gone back to LiveCode 5.5.3. I?ve tried LiveCode versions 6.7 through 7.04 and they do not display movies properly. For one thing, when I try to set a file path to a relative path, the later LiveCode versions do not allow me to save the relative path, but instead immediately convert the relative path back to an absolute path. Moreover, the movies only appear unpredictably. In LiveCode 5.5.3 and beyond, the movieClip does not function correctly. While the movieClip Property Inspector has a Size and Position section for setting the location of the movieClip, this does not work. I?m using Mac system 10.9.5. While I appreciate the efforts of the LiveCode team for upgrading the abilities of LiveCode, I think that when it comes to a basic control like a Player object not functioning, this affects LiveCode?s reputation for reliability, and the problem needs to be addressed. Stephen Goldberg, President Medmaster Publishing Co. www.medmaster.net From dochawk at gmail.com Fri Mar 20 14:12:35 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 20 Mar 2015 11:12:35 -0700 Subject: Modals Blown Away In-Reply-To: <550C425F.4090308@LinkIt.Com> References: <550C2C46.7080708@LinkIt.Com> <550C2167.301@fourthworld.com> <550C3A22.2090205@LinkIt.Com> <550C425F.4090308@LinkIt.Com> Message-ID: On Fri, Mar 20, 2015 at 8:53 AM, Ray wrote: > Jackie - thanks for jumping in here. No, that's no it. What I'm finding > though is that things start working again when I "stop using" a certain > stack. I would think locking messages before issuing the modal command > would eliminate any conflicts with stacks that are being used, but > evidently that's not the case. > Try opening the old stack, saving in new 7.x format, leaving livecode, and then opening both. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ray at linkit.com Fri Mar 20 15:14:54 2015 From: ray at linkit.com (Ray) Date: Fri, 20 Mar 2015 15:14:54 -0400 Subject: Modals Blown Away In-Reply-To: References: <550C2C46.7080708@LinkIt.Com> <550C2167.301@fourthworld.com> <550C3A22.2090205@LinkIt.Com> <550C425F.4090308@LinkIt.Com> Message-ID: <550C71AE.7080306@LinkIt.Com> Thanks Dr. Hawkins but I believe I've resolved this by stopping the use of another stack right before issuing the modal command. On 3/20/2015 2:12 PM, Dr. Hawkins wrote: > On Fri, Mar 20, 2015 at 8:53 AM, Ray wrote: > >> Jackie - thanks for jumping in here. No, that's no it. What I'm finding >> though is that things start working again when I "stop using" a certain >> stack. I would think locking messages before issuing the modal command >> would eliminate any conflicts with stacks that are being used, but >> evidently that's not the case. >> > Try opening the old stack, saving in new 7.x format, leaving livecode, and > then opening both. > > > > From bobsneidar at iotecdigital.com Fri Mar 20 15:51:32 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 20 Mar 2015 19:51:32 +0000 Subject: Beyond PowerStatus: Concurrency options In-Reply-To: <54FB375F.6050206@fourthworld.com> References: <54FB375F.6050206@fourthworld.com> Message-ID: <35A17AF0-9AF8-4A45-A88E-A3F852D02A07@iotecdigital.com> I say yes. At the very least, progress indicators really REALLY need concurrency, if for nothing else than the animation. Plus, concurrency can be used to *queue* complex time consuming operations with databases and such. Data grids for example could queue up ?pages? of data in the background without having to intercept the data grid routines that load the data into the DG. So as a user scrolls through the data, the data grid could ?page ahead? (or behind) instead of load all the data at once, or else have code that loads each page as the user scrolls. I could think of a few other things off the top of my head, but yes. Bob S On Mar 7, 2015, at 09:37 , Richard Gaskin > wrote: Is concurrency something we want to pursue for LiveCode? From paul at livecode.org Fri Mar 20 16:21:47 2015 From: paul at livecode.org (Paul Hibbert) Date: Fri, 20 Mar 2015 13:21:47 -0700 Subject: Problems with movies in latest LiveCode versions In-Reply-To: <14c38547f23-595f-10539@webprd-a86.mail.aol.com> References: <14c38547f23-595f-10539@webprd-a86.mail.aol.com> Message-ID: <996C53F0-775D-4D35-B048-D47E8104226E@livecode.org> > Since I use a lot of movies in my stacks, I have gone back to LiveCode 5.5.3. I?ve tried LiveCode versions 6.7 through 7.04 and they do not display movies properly. For one thing, when I try to set a file path to a relative path, the later LiveCode versions do not allow me to save the relative path, but instead immediately convert the relative path back to an absolute path. Moreover, the movies only appear unpredictably. Not sure if this will help you, but I found this is easy to workaround, just add something like? set fileName of player "myPlayer" to "./movies/myMovie.mov" ?to the openCard handler of the card that holds the movie, or the control that loads the movie, obviously the path will need to be the correct relative path. LC will still convert it to the absolute path, but at least it will be correct, especially if the stack and movies are moved to a different location before being opened. I would expect this should also improve the unpredictably too. > In LiveCode 5.5.3 and beyond, the movieClip does not function correctly. While the movieClip Property Inspector has a Size and Position section for setting the location of the movieClip, this does not work. > > I?m using Mac system 10.9.5. I tried, but can't re-create this problem, the Property Inspector - Size and Position work fine as far as I can see, I am on OS X 10.10.2, but I doubt that would be a platform version issue. Hopefully somebody else could try this on 10.9.5 to confirm. > While I appreciate the efforts of the LiveCode team for upgrading the abilities of LiveCode, I think that when it comes to a basic control like a Player object not functioning, this affects LiveCode?s reputation for reliability, and the problem needs to be addressed. Have you reported the problem via the LC Quality Control centre? http://quality.runrev.com In my experience it's well worth trying. Paul From bobsneidar at iotecdigital.com Fri Mar 20 16:33:52 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 20 Mar 2015 20:33:52 +0000 Subject: Speaking of modals... Message-ID: <28A5EB94-DF8B-4F75-9A43-25E64E86F9D3@iotecdigital.com> Is there a way to un-modalize a stack that is already open? I suppose I could lock messages then close and reopen the stack, but it would have to be done in a script outside the affected stack or it won?t close. If so then I could make a debug menu that would allow me to get into my script editor after having already opened a stack modally. Bob S From ray at linkit.com Fri Mar 20 17:44:48 2015 From: ray at linkit.com (Ray) Date: Fri, 20 Mar 2015 17:44:48 -0400 Subject: Speaking of modals... In-Reply-To: <28A5EB94-DF8B-4F75-9A43-25E64E86F9D3@iotecdigital.com> References: <28A5EB94-DF8B-4F75-9A43-25E64E86F9D3@iotecdigital.com> Message-ID: <550C94D0.6000204@LinkIt.Com> I'm not sure how you could do this. My work around (for your goal here) is to insert lines of script which answer variable values and such. On 3/20/2015 4:33 PM, Bob Sneidar wrote: > Is there a way to un-modalize a stack that is already open? I suppose I could lock messages then close and reopen the stack, but it would have to be done in a script outside the affected stack or it won?t close. If so then I could make a debug menu that would allow me to get into my script editor after having already opened a stack modally. > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Mar 20 16:50:07 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 20 Mar 2015 20:50:07 +0000 Subject: Speaking of modals... In-Reply-To: <28A5EB94-DF8B-4F75-9A43-25E64E86F9D3@iotecdigital.com> References: <28A5EB94-DF8B-4F75-9A43-25E64E86F9D3@iotecdigital.com> Message-ID: <2972F869-C936-41B6-9B99-CB76B83FF6CC@iotecdigital.com> To answer my own question, don?t try to close a stack then reopen it while opened modally. It will hard lock Livecode. I?m wondering if there is a property of a stack that can be set then. Bob S On Mar 20, 2015, at 13:33 , Bob Sneidar > wrote: Is there a way to un-modalize a stack that is already open? I suppose I could lock messages then close and reopen the stack, but it would have to be done in a script outside the affected stack or it won?t close. If so then I could make a debug menu that would allow me to get into my script editor after having already opened a stack modally. Bob S From bobsneidar at iotecdigital.com Fri Mar 20 16:56:23 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 20 Mar 2015 20:56:23 +0000 Subject: Speaking of modals... In-Reply-To: <2972F869-C936-41B6-9B99-CB76B83FF6CC@iotecdigital.com> References: <28A5EB94-DF8B-4F75-9A43-25E64E86F9D3@iotecdigital.com> <2972F869-C936-41B6-9B99-CB76B83FF6CC@iotecdigital.com> Message-ID: I take this back. I had a bug in my unModal handler. Turns out this works a peach! I have a front script with this handler in it: on unModal theStack lock messages save stack theStack close stack theStack open stack theStack unlock messages end unModal I then have a Debug menu in the moralized stack which has this in the menuPick: on menuPick pWhich switch pWhich case "Demodalize" put the short name of this stack into thisStack unmodal thisStack break end switch end menuPick Bob S > On Mar 20, 2015, at 13:50 , Bob Sneidar wrote: > > To answer my own question, don?t try to close a stack then reopen it while opened modally. It will hard lock Livecode. I?m wondering if there is a property of a stack that can be set then. > > Bob S From dochawk at gmail.com Fri Mar 20 16:59:20 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 20 Mar 2015 13:59:20 -0700 Subject: Speaking of modals... In-Reply-To: <28A5EB94-DF8B-4F75-9A43-25E64E86F9D3@iotecdigital.com> References: <28A5EB94-DF8B-4F75-9A43-25E64E86F9D3@iotecdigital.com> Message-ID: On Fri, Mar 20, 2015 at 1:33 PM, Bob Sneidar wrote: > Is there a way to un-modalize a stack that is already open? I suppose I > could lock messages then close and reopen the stack, but it would have to > be done in a script outside the affected stack or it won?t close. I read the dictionary as saying that you would have to close and reopen--but you *can* go the other direction. Or maybe it just doesn't call close & openStack. If so then I could make a debug menu that would allow me to get into my > script editor after having already opened a stack modally. I set a stack property at various points in the script to see what is happening when. Or, write to the message box to see where it gets before hanigng. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bobsneidar at iotecdigital.com Fri Mar 20 17:01:25 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 20 Mar 2015 21:01:25 +0000 Subject: Speaking of modals... In-Reply-To: References: <28A5EB94-DF8B-4F75-9A43-25E64E86F9D3@iotecdigital.com> <2972F869-C936-41B6-9B99-CB76B83FF6CC@iotecdigital.com> Message-ID: One caveat however is that if the script that opened the modal stack has more commands pending, they will execute as soon as the stack is re-opened non-modally. Bob S > On Mar 20, 2015, at 13:56 , Bob Sneidar wrote: > > I take this back. I had a bug in my unModal handler. Turns out this works a peach! I have a front script with this handler in it: > > on unModal theStack > lock messages > save stack theStack > close stack theStack > open stack theStack > unlock messages > end unModal > > I then have a Debug menu in the moralized stack which has this in the menuPick: > > on menuPick pWhich > switch pWhich > case "Demodalize" > put the short name of this stack into thisStack > unmodal thisStack > break > end switch > end menuPick > > Bob S > > >> On Mar 20, 2015, at 13:50 , Bob Sneidar wrote: >> >> To answer my own question, don?t try to close a stack then reopen it while opened modally. It will hard lock Livecode. I?m wondering if there is a property of a stack that can be set then. >> >> Bob S > From jacque at hyperactivesw.com Fri Mar 20 17:20:17 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 20 Mar 2015 16:20:17 -0500 Subject: Speed on Android Message-ID: <550C8F11.8090701@hyperactivesw.com> I'm trying to build an Android app. It is taking about 5 seconds to respond to touches, card changes, etc. I started with 7.0.3, then tried in 6.6.7 thinking it might be faster but it's the same. Buttons and list fields are not autohiliting because it takes too long for the app to realize you're touching it. Sometimes updating a card takes long enough for Android to put up its "not responding" warning. There are no real moving parts in the app so there is nothing that particularly applies to the layermode. It reads fields and database records. There is one card where it creates a number of groups dynamically and I'm quite sure that's one cause of the problem. Any speedup tricks? Would the database inclusions cause a slowdown? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Fri Mar 20 17:29:44 2015 From: pete at lcsql.com (Peter Haworth) Date: Fri, 20 Mar 2015 21:29:44 +0000 Subject: Speaking of modals... In-Reply-To: References: <28A5EB94-DF8B-4F75-9A43-25E64E86F9D3@iotecdigital.com> <2972F869-C936-41B6-9B99-CB76B83FF6CC@iotecdigital.com> Message-ID: My trick for debugging a modal stack is to open it as a palette instead of modal and stick a breakpoint right after the code that opens it. The stack opens up and execution stops at the breakpoint so you can easily go through whatever functions the stack performs and find any problems. On Fri, Mar 20, 2015 at 2:01 PM Bob Sneidar wrote: > One caveat however is that if the script that opened the modal stack has > more commands pending, they will execute as soon as the stack is re-opened > non-modally. > > Bob S > > > > On Mar 20, 2015, at 13:56 , Bob Sneidar > wrote: > > > > I take this back. I had a bug in my unModal handler. Turns out this > works a peach! I have a front script with this handler in it: > > > > on unModal theStack > > lock messages > > save stack theStack > > close stack theStack > > open stack theStack > > unlock messages > > end unModal > > > > I then have a Debug menu in the moralized stack which has this in the > menuPick: > > > > on menuPick pWhich > > switch pWhich > > case "Demodalize" > > put the short name of this stack into thisStack > > unmodal thisStack > > break > > end switch > > end menuPick > > > > Bob S > > > > > >> On Mar 20, 2015, at 13:50 , Bob Sneidar > wrote: > >> > >> To answer my own question, don?t try to close a stack then reopen it > while opened modally. It will hard lock Livecode. I?m wondering if there is > a property of a stack that can be set then. > >> > >> Bob S > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Fri Mar 20 17:35:04 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 20 Mar 2015 17:35:04 -0400 Subject: Speed on Android In-Reply-To: <550C8F11.8090701@hyperactivesw.com> References: <550C8F11.8090701@hyperactivesw.com> Message-ID: <003501d06355$bb0d10b0$31273210$@net> > J. Landman Gay wrote: >Buttons and list fields are not autohiliting because it takes too long for the app to realize you're touching it. I've noticed mobile getting slower and slower since v6. 5.5.4 was much faster in both in the IDE and Mobile. Did you try Casey's Solitaire in 6.7.3? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Friday, March 20, 2015 5:20 PM To: LiveCode Mailing List Subject: Speed on Android I'm trying to build an Android app. It is taking about 5 seconds to respond to touches, card changes, etc. I started with 7.0.3, then tried in 6.6.7 thinking it might be faster but it's the same. Buttons and list fields are not autohiliting because it takes too long for the app to realize you're touching it. Sometimes updating a card takes long enough for Android to put up its "not responding" warning. There are no real moving parts in the app so there is nothing that particularly applies to the layermode. It reads fields and database records. There is one card where it creates a number of groups dynamically and I'm quite sure that's one cause of the problem. Any speedup tricks? Would the database inclusions cause a slowdown? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Fri Mar 20 17:52:12 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Fri, 20 Mar 2015 17:52:12 -0400 Subject: Speed on Android In-Reply-To: <550C8F11.8090701@hyperactivesw.com> References: <550C8F11.8090701@hyperactivesw.com> Message-ID: Is there a very simple test stack you can make that shows the delay? Does it make a difference if you use touch events instead of mouse events? From jacque at hyperactivesw.com Fri Mar 20 17:56:57 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 20 Mar 2015 16:56:57 -0500 Subject: Speed on Android In-Reply-To: <550C8F11.8090701@hyperactivesw.com> References: <550C8F11.8090701@hyperactivesw.com> Message-ID: <550C97A9.7080102@hyperactivesw.com> On 3/20/2015 4:20 PM, J. Landman Gay wrote: > Any speedup tricks? An addition: the main problem seems to be that it is taking 5-8 seconds to respond to a touch event. After that, scripts run at only slightly slower speeds than desktop. I'm using mouseUp rather than touchEnd. Would that matter? In the past they were equivalent. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From prothero at earthednet.org Fri Mar 20 18:38:00 2015 From: prothero at earthednet.org (William Prothero) Date: Fri, 20 Mar 2015 15:38:00 -0700 Subject: Long KML text file with no return chars In-Reply-To: <550BFD3A.8000506@cogapp.com> References: <8305444F-D26B-47F3-BA74-173B79D51F39@earthednet.org> <550ACE5C.5020801@gmail.com> <550BFD3A.8000506@cogapp.com> Message-ID: <2E259D49-8FC1-4CCF-9436-5DB3043B4D0E@earthednet.org> Thanks for the ideas, folks. It seems that the problem was getting breakpoints and the IDE mixed up in this. Without any breakpoints, it reads in the file and processes it into an array using Trevor?s code, in a couple of seconds. It works equally well with both of the ways of reading, the the open,read, and close, and with the URL method. But, with a breakpoint in that code, it gets enormously slow and appears to hang. Anyway, this will be a one-time conversion. I use ArrayEncode and arrayDecode to store the file, then will use arrayDecode to use it. FYI: there are quite a lot of KML files available for those who want to draw various features onto a map. Thanks, Bill William A. Prothero http://es.earthednet.org/ From stgoldberg at aol.com Fri Mar 20 19:06:25 2015 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Fri, 20 Mar 2015 19:06:25 -0400 Subject: Problems with movies in latest LiveCode versions Message-ID: <14c397007f3-620f-12e66@webprd-a81.mail.aol.com> The problem is the same regardless of whether the script mentioned below is applied. Namely, I can't get a player object to remember a relative path to a movie. As soon as I try to put a relative path into the player control LiveCode immediately changes it to an absolute path when using LiveCode versions in the 6-7 series. I don't have this problem with the Image Area control. It may help to see if other users are having the same problem. I ask users who are using LiveCode in the 6-7 series to see what happens if they place a player on a card and then try to put a relative path to a movie into the player's property inspector. Does LiveCode immediately change it to an absolute path? If other users do not have this problem, I'll have to look for some other problem at my end. I have not had this problem with Livecode 5.5.3. Stephen Goldberg, pres Medmaster Publishing Co. www.medmaster.net > Since I use a lot of movies in my stacks, I have gone back to LiveCode 5.5.3. I?ve tried LiveCode versions 6.7 through 7.04 and they do not display movies properly. For one thing, when I try to set a file path to a relative path, the later LiveCode versions do not allow me to save the relative path, but instead immediately convert the relative path back to an absolute path. Moreover, the movies only appear unpredictably. Not sure if this will help you, but I found this is easy to workaround, just add something like? set fileName of player "myPlayer" to "./movies/myMovie.mov" ?to the openCard handler of the card that holds the movie, or the control that loads the movie, obviously the path will need to be the correct relative path. LC will still convert it to the absolute path, but at least it will be correct, especially if the stack and movies are moved to a different location before being opened. I would expect this should also improve the unpredictably too. > In LiveCode 5.5.3 and beyond, the movieClip does not function correctly. While the movieClip Property Inspector has a Size and Position section for setting the location of the movieClip, this does not work. > > I?m using Mac system 10.9.5. I tried, but can't re-create this problem, the Property Inspector - Size and Position work fine as far as I can see, I am on OS X 10.10.2, but I doubt that would be a platform version issue. Hopefully somebody else could try this on 10.9.5 to confirm. > While I appreciate the efforts of the LiveCode team for upgrading the abilities of LiveCode, I think that when it comes to a basic control like a Player object not functioning, this affects LiveCode?s reputation for reliability, and the problem needs to be addressed. From jacque at hyperactivesw.com Fri Mar 20 20:39:40 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 20 Mar 2015 19:39:40 -0500 Subject: Speed on Android In-Reply-To: References: <550C8F11.8090701@hyperactivesw.com> Message-ID: <550CBDCC.9050501@hyperactivesw.com> On 3/20/2015 4:52 PM, Colin Holgate wrote: > Is there a very simple test stack you can make that shows the delay? > Does it make a difference if you use touch events instead of mouse > events? Okay, I've narrowed it down to the database drivers or libraries. If I create an apk without any database inclusions, everything is snappy and runs great. I get some database connection errors in my scripts which is to be expected, but reaction to touch events is instant and card changes are fast. Then I recompile with the database driver (mySQL) and database library and bam. By the clock, 14 seconds from a mouseDown to script execution. What has me puzzled is that this happens on every button, every touch, every card, regardless of whether or not it uses database calls. For example, a button with only a single line of script "go card xxx" has the same delay. On a card with nothing but a list field, a tapped line takes 15 seconds to recognize the tap and hilite. So something about the database is blocking everything else. I haven't worked with it before so I don't know what. Are there some techniques I should be using, like closing connections at a certain time or something else? The stack works fine on desktop, btw. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Fri Mar 20 21:08:00 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 20 Mar 2015 18:08:00 -0700 Subject: Speed on Android In-Reply-To: <550CBDCC.9050501@hyperactivesw.com> References: <550CBDCC.9050501@hyperactivesw.com> Message-ID: <550CC470.2010307@fourthworld.com> J. Landman Gay wrote: > Okay, I've narrowed it down to the database drivers or libraries. ... > Then I recompile with the database driver (mySQL).... Que a post from Mark Wieder about the benefits of web APIs for DB connectivity in three...two...one... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Fri Mar 20 23:59:29 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 20 Mar 2015 22:59:29 -0500 Subject: Speed on Android In-Reply-To: <550CC470.2010307@fourthworld.com> References: <550CBDCC.9050501@hyperactivesw.com> <550CC470.2010307@fourthworld.com> Message-ID: <550CECA1.3090604@hyperactivesw.com> On 3/20/2015 8:08 PM, Richard Gaskin wrote: > > Que a post from Mark Wieder about the benefits of web APIs for DB > connectivity in three...two...one... Before I consider this approach, how is the performance of LC Server with a MySQL database? Will it have the same problems my stack does? Is it fast enough? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Sat Mar 21 00:07:04 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 21 Mar 2015 00:07:04 -0400 Subject: Speed on Android In-Reply-To: <550CBDCC.9050501@hyperactivesw.com> References: <550C8F11.8090701@hyperactivesw.com> <550CBDCC.9050501@hyperactivesw.com> Message-ID: <004201d0638c$7dc18470$79448d50$@net> J, Geez... I was talking about a much more subtle slowdown. From sub .5 second to sub-second performance. I use both SQLite and MySQL in Android apps. There are background images, resizing going on and local SQLite DB access to build scrolling lists of hundreds of lines in sub-second card changes after touching a button. Even orientation changes with resizing are sub-second. Must be something in your dev environment. I just build one today using this Dev Environment: Testing on a Galaxy S4 Win XP SP3 LC 6.7.3 JDK 1.6.0_31 Android: SDK Tools 23.0.5 Platform-tools 21 Build-tools 22.1.1 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Friday, March 20, 2015 8:40 PM To: How to use LiveCode Subject: Re: Speed on Android On 3/20/2015 4:52 PM, Colin Holgate wrote: > Is there a very simple test stack you can make that shows the delay? > Does it make a difference if you use touch events instead of mouse > events? Okay, I've narrowed it down to the database drivers or libraries. If I create an apk without any database inclusions, everything is snappy and runs great. I get some database connection errors in my scripts which is to be expected, but reaction to touch events is instant and card changes are fast. Then I recompile with the database driver (mySQL) and database library and bam. By the clock, 14 seconds from a mouseDown to script execution. What has me puzzled is that this happens on every button, every touch, every card, regardless of whether or not it uses database calls. For example, a button with only a single line of script "go card xxx" has the same delay. On a card with nothing but a list field, a tapped line takes 15 seconds to recognize the tap and hilite. So something about the database is blocking everything else. I haven't worked with it before so I don't know what. Are there some techniques I should be using, like closing connections at a certain time or something else? The stack works fine on desktop, btw. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Sat Mar 21 00:51:45 2015 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 21 Mar 2015 12:51:45 +0800 Subject: How to disable single menu items of a pull down menu? In-Reply-To: <003501d06312$823ad800$86b08800$@kestner.de> References: <001b01d062fb$b160aa40$1421fec0$@kestner.de> <14c3756efab-26e1-10131@webprd-a58.mail.aol.com> <003501d06312$823ad800$86b08800$@kestner.de> Message-ID: Please note Dr Hawkin's recent post that this command is stackable, so if you accidentally disable the menuitem twice if you then issue a single enable command the menuitem will remain disabled. Don't know who to link to old posts but the Subject was "menuitems accujmulating extra ( in them?" On Fri, Mar 20, 2015 at 9:33 PM, Tiemo Hollmann TB wrote: > Hi Craig, > Oh shi... I thought this command was only for menues. Next time I will read > the dictionary more carefully > Thanks > Tiemo > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag > von dunbarx at aol.com > Gesendet: Freitag, 20. M?rz 2015 14:20 > An: use-livecode at lists.runrev.com > Betreff: Re: How to disable single menu items of a pull down menu? > > Tiemo. > > > There is a "disable menuItem" command. Check the dictionary. > > > Craig Newman > > > > -----Original Message----- > From: Tiemo Hollmann TB > To: LiveCode User Liste senden > Sent: Fri, Mar 20, 2015 6:50 am > Subject: How to disable single menu items of a pull down menu? > > > Hello, > > I am using a pulldown menu button and I would like to disable single menu > items. > > Is there a straight forward approach to change the color of a single menu > Item and disable it? > > Like "set the textcolor of line 2 of the text of btn "myPullDownMenu" to > grey" (what doesn't > work) > > Thanks > > Tiemo > > > > > > > > > _______________________________________________ > use-livecode mailing > list > use-livecode at lists.runrev.com > Please visit this url to subscribe, > unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sat Mar 21 01:40:31 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Mar 2015 00:40:31 -0500 Subject: Speed on Android In-Reply-To: <004201d0638c$7dc18470$79448d50$@net> References: <550C8F11.8090701@hyperactivesw.com> <550CBDCC.9050501@hyperactivesw.com> <004201d0638c$7dc18470$79448d50$@net> Message-ID: <550D044F.4000004@hyperactivesw.com> On 3/20/2015 11:07 PM, Ralph DiMola wrote: > I use both SQLite and MySQL in Android apps. > There are background images, resizing going on and local SQLite DB access to > build scrolling lists of hundreds of lines in sub-second card changes after > touching a button. Even orientation changes with resizing are sub-second. > Must be something in your dev environment. I think that's the difference -- I'm trying to access a remote server. I expected some small transmission delay but nothing like this. It isn't timing out I don't think; at least, I do eventually get data back. Maybe the connection is hanging? I tried closing the database connection after every retrieval but it didn't help. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimolad at evergreeninfo.net Sat Mar 21 01:58:27 2015 From: rdimolad at evergreeninfo.net (Ralph DiMola) Date: Sat, 21 Mar 2015 01:58:27 -0400 Subject: Speed on Android Message-ID: I access a remote MySQL db(diesel) when the app starts up. It takes a couple of seconds to do a few reads and writes. I will put a db write inbetween cards and see how long it takes. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net
-------- Original message --------
From: "J. Landman Gay"
Date:03/21/2015 01:40 (GMT-05:00)
To: How to use LiveCode
Subject: Re: Speed on Android
On 3/20/2015 11:07 PM, Ralph DiMola wrote: > I use both SQLite and MySQL in Android apps. > There are background images, resizing going on and local SQLite DB access to > build scrolling lists of hundreds of lines in sub-second card changes after > touching a button. Even orientation changes with resizing are sub-second. > Must be something in your dev environment. I think that's the difference -- I'm trying to access a remote server. I expected some small transmission delay but nothing like this. It isn't timing out I don't think; at least, I do eventually get data back. Maybe the connection is hanging? I tried closing the database connection after every retrieval but it didn't help. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Mar 21 03:02:23 2015 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 21 Mar 2015 09:02:23 +0200 Subject: Automated Drawing Message-ID: <550D177F.10609@gmail.com> I set up a little stack with THIS in a button: on mouseUp choose pencil tool drag from 100,100 to 200,200 end mouseUp and it drew me a jolly diagonal line . . . super! HOWEVER I wonder if it is possible to do something like THIS: drag for 100 pixels at 60 degrees probably not, BUT ?????? Richmond. From t.heaford at icloud.com Sat Mar 21 04:38:25 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Sat, 21 Mar 2015 08:38:25 +0000 Subject: printPaperRectangle & LC7 Message-ID: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> I have been trying to overcome the issue of printing/scaling part of a card to a print rect by using printScale with print card and have come across this issue. I have placed various ?put? statements in my code to obtain the data before it prints. Here is the data: chart width = 814 ****This is the width of a group I am printing calculated by me using a ratio eventually passed to printScale**** printPaperRectangle = 8,8,834,587 ****returned by LC**** printMargins = 10,10,10,10 ****the print margins I previously set.**** The relationship between the chart width calculation (814) and the printpaperRectangle width (834) seems correct when you add the left and right margins to the 834. However, I have no idea where the 8,8 has come from in the printPaperRectangle as the documentation in LC suggests that these should always be 0,0. The docs state "The four numbers represent the left, top, right and bottom of the rectangle being printed to. The rectangle is relative to the top-left of the page, and the left and top will currently always be 0. Comments: The printPaperRectangle property is read-only and cannot be set. Changing the printMargins ? I think this might confirm why my chart does not print centrally in the horizontal. Is this another printing bug or is this now expected and the docs are incorrect? Thanks Terry From t.heaford at icloud.com Sat Mar 21 06:27:53 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Sat, 21 Mar 2015 10:27:53 +0000 Subject: printPaperRectangle & LC7 In-Reply-To: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> References: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> Message-ID: <34F9341F-A95C-4415-9EA5-2B208AC26D25@icloud.com> Here?s an image on DropBox that demonstrates the problem. The left margin is clearly less than the right margin. I don?t know why? https://dl.dropboxusercontent.com/u/98788898/LiveCode/printing.png Thanks Terry From jhurley0305 at sbcglobal.net Sat Mar 21 07:57:10 2015 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sat, 21 Mar 2015 04:57:10 -0700 Subject: Automated Drawing In-Reply-To: References: Message-ID: > > Message: 21 > Date: Sat, 21 Mar 2015 09:02:23 +0200 > From: Richmond > > To: How to use LiveCode > > Subject: Automated Drawing > Message-ID: <550D177F.10609 at gmail.com > > Content-Type: text/plain; charset=utf-8; format=flowed > > I set up a little stack with THIS in a button: > > on mouseUp > choose pencil tool > drag from 100,100 to 200,200 > end mouseUp > > and it drew me a jolly diagonal line . . . super! > > HOWEVER > > I wonder if it is possible to do something like THIS: > > drag for 100 pixels at 60 degrees > > probably not, BUT ?????? > > Richmond. > Of course: on mouseUp startTurtle setHeading 60 forward 100 end mouseUp From devin_asay at byu.edu Sat Mar 21 10:31:12 2015 From: devin_asay at byu.edu (Devin Asay) Date: Sat, 21 Mar 2015 14:31:12 +0000 Subject: Problems with movies in latest LiveCode versions In-Reply-To: <14c397007f3-620f-12e66@webprd-a81.mail.aol.com> References: <14c397007f3-620f-12e66@webprd-a81.mail.aol.com> Message-ID: <6603D9CD-17D6-4DA0-9613-E50D9312DA7A@byu.edu> On Mar 20, 2015, at 5:06 PM, stgoldberg at aol.com wrote: > > The problem is the same regardless of whether the script mentioned below is applied. Namely, I can't get a > player object to remember a relative path to a movie. As soon as I try to put a relative path into the player control > LiveCode immediately changes it to an absolute path when using LiveCode versions in the 6-7 series. I don't have this problem with > the Image Area control. > It may help to see if other users are having the same problem. I ask users who are using LiveCode in the 6-7 series to see > what happens if they place a player on a card and then try to put a relative path to a movie into the player's property > inspector. Does LiveCode immediately change it to an absolute path? If other users do not have this problem, > I'll have to look for some other problem at my end. I have not had this problem with Livecode 5.5.3. Stephen, I?ve noticed this, too, and reported it. See bug #14435 at http://quality.runrev.com/show_bug.cgi?id=14435. The last status update from the engineering team indicated that it is ?AWAITING_BUILD?. It may help for you to add your comments to this bug. I think the reason that it doesn?t crop up more may be that most people tend set the filepath of a player object as an absolute, rather than a relative, filepath. That is what I do most of the time, but on occasion I?ll just set the defaultFolder then set the filepath of the player to a relative path. The latter thing is what stopped working in 6.7 and later. I haven?t seen the fix come through yet, although I admit I have yet to download and test the latest 6.7.4 and 7.0.4 RC releases. Regards, Devin Devin Asay Learn to code with LiveCode University https://livecode.com/store/education/ From dochawk at gmail.com Sat Mar 21 11:05:06 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 21 Mar 2015 08:05:06 -0700 Subject: unsetting defaultMenuBar Message-ID: Once the defaultMenubar is set, is there any way to unset it? Particularly, when in the IDE, I want to set it to empty while editing my "source" graphical stacks that the user never sees -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sat Mar 21 11:09:34 2015 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 21 Mar 2015 17:09:34 +0200 Subject: Automated Drawing In-Reply-To: References: Message-ID: <550D89AE.9000900@gmail.com> On 21/03/15 13:57, Jim Hurley wrote: >> Message: 21 >> Date: Sat, 21 Mar 2015 09:02:23 +0200 >> From: Richmond > >> To: How to use LiveCode > >> Subject: Automated Drawing >> Message-ID: <550D177F.10609 at gmail.com > >> Content-Type: text/plain; charset=utf-8; format=flowed >> >> I set up a little stack with THIS in a button: >> >> on mouseUp >> choose pencil tool >> drag from 100,100 to 200,200 >> end mouseUp >> >> and it drew me a jolly diagonal line . . . super! >> >> HOWEVER >> >> I wonder if it is possible to do something like THIS: >> >> drag for 100 pixels at 60 degrees >> >> probably not, BUT ?????? >> >> Richmond. >> > > Of course: > > on mouseUp > startTurtle > setHeading 60 > forward 100 > end mouseUp > > You have in a matter of seconds made me feel totally stupid as my whole question is geared towards an interface I am designing to control a USB-tethered turtle. Thank you for the great help. Richmond. From richmondmathewson at gmail.com Sat Mar 21 11:12:16 2015 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 21 Mar 2015 17:12:16 +0200 Subject: Automated Drawing In-Reply-To: <550D89AE.9000900@gmail.com> References: <550D89AE.9000900@gmail.com> Message-ID: <550D8A50.20300@gmail.com> On 21/03/15 17:09, Richmond wrote: > On 21/03/15 13:57, Jim Hurley wrote: >>> Message: 21 >>> Date: Sat, 21 Mar 2015 09:02:23 +0200 >>> From: Richmond >> > >>> To: How to use LiveCode >> > >>> Subject: Automated Drawing >>> Message-ID: <550D177F.10609 at gmail.com >>> > >>> Content-Type: text/plain; charset=utf-8; format=flowed >>> >>> I set up a little stack with THIS in a button: >>> >>> on mouseUp >>> choose pencil tool >>> drag from 100,100 to 200,200 >>> end mouseUp >>> >>> and it drew me a jolly diagonal line . . . super! >>> >>> HOWEVER >>> >>> I wonder if it is possible to do something like THIS: >>> >>> drag for 100 pixels at 60 degrees >>> >>> probably not, BUT ?????? >>> >>> Richmond. >>> >> >> Of course: >> >> on mouseUp >> startTurtle >> setHeading 60 >> forward 100 >> end mouseUp >> >> > > You have in a matter of seconds made me feel totally stupid as my > whole question is geared > towards an interface I am designing to control a USB-tethered turtle. > > Thank you for the great help. > > Richmond. Possibly NOT as stupid as all that: "button "Button": execution error at line 2 (Handler: can't find handler) near "startTurtle", char 1" Richmond. From mikedoub at gmail.com Sat Mar 21 11:25:59 2015 From: mikedoub at gmail.com (Michael Doub) Date: Sat, 21 Mar 2015 11:25:59 -0400 Subject: Automated Drawing In-Reply-To: <550D8A50.20300@gmail.com> References: <550D89AE.9000900@gmail.com> <550D8A50.20300@gmail.com> Message-ID: <550D8D87.3080501@gmail.com> Richmond, Check out the xyAD routine from the masterlibrary: Calculate point x1,y1 that is distance dis and angle ang from point x,y You will have to do the actual drawing. -= Mike On 3/21/15 11:12 AM, Richmond wrote: > On 21/03/15 17:09, Richmond wrote: >> On 21/03/15 13:57, Jim Hurley wrote: >>>> Message: 21 >>>> Date: Sat, 21 Mar 2015 09:02:23 +0200 >>>> From: Richmond >>> > >>>> To: How to use LiveCode >>> > >>>> Subject: Automated Drawing >>>> Message-ID: <550D177F.10609 at gmail.com >>>> > >>>> Content-Type: text/plain; charset=utf-8; format=flowed >>>> >>>> I set up a little stack with THIS in a button: >>>> >>>> on mouseUp >>>> choose pencil tool >>>> drag from 100,100 to 200,200 >>>> end mouseUp >>>> >>>> and it drew me a jolly diagonal line . . . super! >>>> >>>> HOWEVER >>>> >>>> I wonder if it is possible to do something like THIS: >>>> >>>> drag for 100 pixels at 60 degrees >>>> >>>> probably not, BUT ?????? >>>> >>>> Richmond. >>>> >>> >>> Of course: >>> >>> on mouseUp >>> startTurtle >>> setHeading 60 >>> forward 100 >>> end mouseUp >>> >>> >> >> You have in a matter of seconds made me feel totally stupid as my >> whole question is geared >> towards an interface I am designing to control a USB-tethered turtle. >> >> Thank you for the great help. >> >> Richmond. > > Possibly NOT as stupid as all that: > > "button "Button": execution error at line 2 (Handler: can't find > handler) near "startTurtle", char 1" > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jhurley0305 at sbcglobal.net Sat Mar 21 11:35:21 2015 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sat, 21 Mar 2015 08:35:21 -0700 Subject: Automated Drawing In-Reply-To: References: Message-ID: >> Automated Drawing >> >> Richmond richmondmathewson at gmail.com? >> Sat Mar 21 16:12:16 CET 2015 >> >> Previous message: Automated Drawing >> Next message: Automated Drawing >> Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] > On 21/03/15 17:09, Richmond wrote: > > On 21/03/15 13:57, Jim Hurley wrote: > >>> Message: 21 > >>> Date: Sat, 21 Mar 2015 09:02:23 +0200 > >>> From: Richmond > >>> >> > >>> To: How to use LiveCode > >>> >> > >>> Subject: Automated Drawing > >>> Message-ID: <550D177F.10609 at gmail.com > >>> >> > >>> Content-Type: text/plain; charset=utf-8; format=flowed > >>> > >>> I set up a little stack with THIS in a button: > >>> > >>> on mouseUp > >>> choose pencil tool > >>> drag from 100,100 to 200,200 > >>> end mouseUp > >>> > >>> and it drew me a jolly diagonal line . . . super! > >>> > >>> HOWEVER > >>> > >>> I wonder if it is possible to do something like THIS: > >>> > >>> drag for 100 pixels at 60 degrees > >>> > >>> probably not, BUT ?????? > >>> > >>> Richmond. > >>> > >> > >> Of course: > >> > >> on mouseUp > >> startTurtle > >> setHeading 60 > >> forward 100 > >> end mouseUp > >> > >> > > > > You have in a matter of seconds made me feel totally stupid as my > > whole question is geared > > towards an interface I am designing to control a USB-tethered turtle. > > > > Thank you for the great help. > > > > Richmond. > > Possibly NOT as stupid as all that: > > "button "Button": execution error at line 2 (Handler: can't find > handler) near "startTurtle", char 1" > > Richmond. You need the Turtle Graphics library: http://jamesphurley.com/Revolution.html Jim Previous message: Automated Drawing Next message: Automated Drawing Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the use-livecode mailing list From jhurley0305 at sbcglobal.net Sat Mar 21 12:17:39 2015 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sat, 21 Mar 2015 09:17:39 -0700 Subject: Automated Drawing In-Reply-To: References: Message-ID: Richmond, I wrote this Turtle Graphics library in the dark ages of RR, before ?sum? became a reserved word. So, comment out the ?sum? handler in the stack script. Jim >> Automated Drawing >> >> Richmond richmondmathewson at gmail.com? >> Sat Mar 21 16:12:16 CET 2015 >> >> Previous message: Automated Drawing >> Next message: Automated Drawing >> Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] > On 21/03/15 17:09, Richmond wrote: > > On 21/03/15 13:57, Jim Hurley wrote: > >>> Message: 21 > >>> Date: Sat, 21 Mar 2015 09:02:23 +0200 > >>> From: Richmond > >>> >> > >>> To: How to use LiveCode > >>> >> > >>> Subject: Automated Drawing > >>> Message-ID: <550D177F.10609 at gmail.com > >>> >> > >>> Content-Type: text/plain; charset=utf-8; format=flowed > >>> > >>> I set up a little stack with THIS in a button: > >>> > >>> on mouseUp > >>> choose pencil tool > >>> drag from 100,100 to 200,200 > >>> end mouseUp > >>> > >>> and it drew me a jolly diagonal line . . . super! > >>> > >>> HOWEVER > >>> > >>> I wonder if it is possible to do something like THIS: > >>> > >>> drag for 100 pixels at 60 degrees > >>> > >>> probably not, BUT ?????? > >>> > >>> Richmond. > >>> > >> > >> Of course: > >> > >> on mouseUp > >> startTurtle > >> setHeading 60 > >> forward 100 > >> end mouseUp > >> > >> > > > > You have in a matter of seconds made me feel totally stupid as my > > whole question is geared > > towards an interface I am designing to control a USB-tethered turtle. > > > > Thank you for the great help. > > > > Richmond. > > Possibly NOT as stupid as all that: > > "button "Button": execution error at line 2 (Handler: can't find > handler) near "startTurtle", char 1" > > Richmond. You need the Turtle Graphics library: http://jamesphurley.com/Revolution.html Jim Previous message: Automated Drawing Next message: Automated Drawing Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the use-livecode mailing list From ludovic.thebault at laposte.net Sat Mar 21 12:26:00 2015 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Sat, 21 Mar 2015 17:26:00 +0100 Subject: How get my file from attachment under Android ? In-Reply-To: <27E566D2-33AE-4B9C-B262-4F40E6D93B8D@laposte.net> References: <449448B4-285A-4ADA-8918-F91BC38C503C@laposte.net> <5506ED52.6000407@economy-x-talk.com> <57B9F2E3-F5ED-4CBC-BE4F-8A8009244F71@laposte.net> <5509AE75.5040801@economy-x-talk.com> <27E566D2-33AE-4B9C-B262-4F40E6D93B8D@laposte.net> Message-ID: <779AFBA5-F9BF-4268-9191-520433B3CCC9@laposte.net> > Le 19 mars 2015 ? 20:39, Ludovic THEBAULT a ?crit : > > > Le 18 mars 2015 ? 17:57, Mark Schonewille > a ?crit : > >> Hi Ludovic, >> >> You need to add intent filters to the manifest. More info at >> http://stackoverflow.com/questions/3760276/android-intent-filter-associate-app-with-file-extension >> >> You need to find a way to change the manifest before the standalone is built or to unpack the apk, change the manifest and repack it. >> > > Thanks ! > > It is not recommended to modify the "Manifest.xml" directly on the livecode folder app ? > How modify it during the standalone saving ? With the savingMobileStandalone handler but how intercept the "Manifest" file ? > > Note (OT) : there is a big bug when you have accentued chars in the names of files (or folders) you want to add to the standalone (with the "copy files" section of the Standalone Settings). There is always a "APK preparation failed" : Bug?12406 So, i added these lines into the manifest.xml file : where .ext is the extension of my file. If i open the file as attachment my app is launched as excepted but the url passed to the urlwakeup handler is like that : content://gmail-ls/my.email at gmail.com/messages/18/attachments/0.0/BEST/false from gmail or content://com.android.email.attachmentprovider/2/20/RAW from an another mail. i cannot read the content of this URI How do that ? Thanks again. From mikedoub at gmail.com Sat Mar 21 12:30:22 2015 From: mikedoub at gmail.com (Michael Doub) Date: Sat, 21 Mar 2015 12:30:22 -0400 Subject: A bit of a Mystery Message-ID: <550D9C9E.4060306@gmail.com> Yesterday, I ported a number of geo routines in to the MasterLibrary that contained greek characters. I left them in place as I thought it improved readability of the code as it was a lot of math. I had no problems at all during the port or testing. Today, however I started up and noticed that all of the greek characters were showing up as "?". This was now the case in both the code viewer and in the IDE editor tabs. Can anyone explain this to me? I am using livecode 7.0.4 (rc2). I have now gone back into the library and replaced all of the greek characters with normal variable names and retested. The new library is available. https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 Thanks, Mike From m.schonewille at economy-x-talk.com Sat Mar 21 13:03:33 2015 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 21 Mar 2015 18:03:33 +0100 Subject: unsetting defaultMenuBar In-Reply-To: References: Message-ID: <550DA465.1000004@economy-x-talk.com> Hi Richard, It looks like setting the defaultMenubar to empty doesn't work (I'm using LC 7 today). Instead, you could set the menubar to the long id of grp "revMenuBar" of stack "revMenubar". This will restore the original situation in the IDE. Since setting the defaultMenubar to empty seems impossible, I don't think you have ever worked with an empty defaultMenubar in the LiveCode IDE. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/21/2015 16:05, Dr. Hawkins wrote: > Once the defaultMenubar is set, is there any way to unset it? > > Particularly, when in the IDE, I want to set it to empty while editing my > "source" graphical stacks that the user never sees > From david at viral.academy Sat Mar 21 13:16:50 2015 From: david at viral.academy (David Bovill) Date: Sat, 21 Mar 2015 17:16:50 +0000 Subject: LiveCode 8 Library Component: MLT Video Editing Framework Message-ID: This framework is great and written in C - http://www.mltframework.org/bin/view/MLT/Framework It's the basis for most of the best cross platform video editors. On OSX I can recommend http://www.shotcut.org/ Does that look like a good candidate for a new LiveCode 8 library component? From bonnmike at gmail.com Sat Mar 21 14:12:36 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 21 Mar 2015 12:12:36 -0600 Subject: Automated Drawing In-Reply-To: References: Message-ID: Here: function getLineByLen pX,pY,pLen,pAngle put pi * pAngle / 180 into tRadians -- sin and cos require radians, so convert from degrees put pX + pLen * cos(tRadians) into pX2 -- get the end x point put pY + pLen * sin(tRadians) into pY2 -- get the end y point return px2,py2 -- return the end coords end getLineByLen Just hand it the starting points for x and y, give it a length and angle and it will return the x,y for the end point for that length of line. Since partial pixel positioning works now, you don't necessarily have to worry about rounding or truncating either. On Sat, Mar 21, 2015 at 10:17 AM, Jim Hurley wrote: > Richmond, > > I wrote this Turtle Graphics library in the dark ages of RR, before ?sum? > became a reserved word. > > So, comment out the ?sum? handler in the stack script. > > Jim > >> Automated Drawing > >> > >> Richmond richmondmathewson at gmail.com use-livecode%40lists.runrev.com > ?Subject=Re%3A%20Automated%20Drawing&In-Reply-To=%3C550D8A50.20300% > 40gmail.com%3E> > >> Sat Mar 21 16:12:16 CET 2015 > >> > >> Previous message: Automated Drawing < > http://lists.runrev.com/pipermail/use-livecode/2015-March/212900.html> > >> Next message: Automated Drawing < > http://lists.runrev.com/pipermail/use-livecode/2015-March/212902.html> > >> Messages sorted by: [ date ] < > http://lists.runrev.com/pipermail/use-livecode/2015-March/date.html#212901> > [ thread ] < > http://lists.runrev.com/pipermail/use-livecode/2015-March/thread.html#212901> > [ subject ] < > http://lists.runrev.com/pipermail/use-livecode/2015-March/subject.html#212901> > [ author ] < > http://lists.runrev.com/pipermail/use-livecode/2015-March/author.html#212901 > > > > On 21/03/15 17:09, Richmond wrote: > > > On 21/03/15 13:57, Jim Hurley wrote: > > >>> Message: 21 > > >>> Date: Sat, 21 Mar 2015 09:02:23 +0200 > > >>> From: Richmond http://lists.runrev.com/mailman/listinfo/use-livecode> > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode>>> > > >>> To: How to use LiveCode http://lists.runrev.com/mailman/listinfo/use-livecode> > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode>>> > > >>> Subject: Automated Drawing > > >>> Message-ID: <550D177F.10609 at gmail.com < > http://lists.runrev.com/mailman/listinfo/use-livecode> > > >>> http://lists.runrev.com/mailman/listinfo/use-livecode>>> > > >>> Content-Type: text/plain; charset=utf-8; format=flowed > > >>> > > >>> I set up a little stack with THIS in a button: > > >>> > > >>> on mouseUp > > >>> choose pencil tool > > >>> drag from 100,100 to 200,200 > > >>> end mouseUp > > >>> > > >>> and it drew me a jolly diagonal line . . . super! > > >>> > > >>> HOWEVER > > >>> > > >>> I wonder if it is possible to do something like THIS: > > >>> > > >>> drag for 100 pixels at 60 degrees > > >>> > > >>> probably not, BUT ?????? > > >>> > > >>> Richmond. > > >>> > > >> > > >> Of course: > > >> > > >> on mouseUp > > >> startTurtle > > >> setHeading 60 > > >> forward 100 > > >> end mouseUp > > >> > > >> > > > > > > You have in a matter of seconds made me feel totally stupid as my > > > whole question is geared > > > towards an interface I am designing to control a USB-tethered turtle. > > > > > > Thank you for the great help. > > > > > > Richmond. > > > > Possibly NOT as stupid as all that: > > > > "button "Button": execution error at line 2 (Handler: can't find > > handler) near "startTurtle", char 1" > > > > Richmond. > > You need the Turtle Graphics library: > http://jamesphurley.com/Revolution.html < > http://jamesphurley.com/Revolution.html> > > Jim > > Previous message: Automated Drawing < > http://lists.runrev.com/pipermail/use-livecode/2015-March/212900.html> > Next message: Automated Drawing < > http://lists.runrev.com/pipermail/use-livecode/2015-March/212902.html> > Messages sorted by: [ date ] < > http://lists.runrev.com/pipermail/use-livecode/2015-March/date.html#212901> > [ thread ] < > http://lists.runrev.com/pipermail/use-livecode/2015-March/thread.html#212901> > [ subject ] < > http://lists.runrev.com/pipermail/use-livecode/2015-March/subject.html#212901> > [ author ] < > http://lists.runrev.com/pipermail/use-livecode/2015-March/author.html#212901 > > > More information about the use-livecode mailing list < > http://lists.runrev.com/mailman/listinfo/use-livecode> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sat Mar 21 14:13:37 2015 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 21 Mar 2015 20:13:37 +0200 Subject: Automated Drawing In-Reply-To: References: Message-ID: <550DB4D1.4050309@gmail.com> On 21/03/15 17:35, Jim Hurley wrote: >>> Automated Drawing >>> >>> Richmond richmondmathewson at gmail.com >>> Sat Mar 21 16:12:16 CET 2015 >>> >>> Previous message: Automated Drawing >>> Next message: Automated Drawing >>> Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] >> On 21/03/15 17:09, Richmond wrote: >>> On 21/03/15 13:57, Jim Hurley wrote: >>>>> Message: 21 >>>>> Date: Sat, 21 Mar 2015 09:02:23 +0200 >>>>> From: Richmond >>>>> >> >>>>> To: How to use LiveCode >>>>> >> >>>>> Subject: Automated Drawing >>>>> Message-ID: <550D177F.10609 at gmail.com >>>>> >> >>>>> Content-Type: text/plain; charset=utf-8; format=flowed >>>>> >>>>> I set up a little stack with THIS in a button: >>>>> >>>>> on mouseUp >>>>> choose pencil tool >>>>> drag from 100,100 to 200,200 >>>>> end mouseUp >>>>> >>>>> and it drew me a jolly diagonal line . . . super! >>>>> >>>>> HOWEVER >>>>> >>>>> I wonder if it is possible to do something like THIS: >>>>> >>>>> drag for 100 pixels at 60 degrees >>>>> >>>>> probably not, BUT ?????? >>>>> >>>>> Richmond. >>>>> >>>> Of course: >>>> >>>> on mouseUp >>>> startTurtle >>>> setHeading 60 >>>> forward 100 >>>> end mouseUp >>>> >>>> >>> You have in a matter of seconds made me feel totally stupid as my >>> whole question is geared >>> towards an interface I am designing to control a USB-tethered turtle. >>> >>> Thank you for the great help. >>> >>> Richmond. >> Possibly NOT as stupid as all that: >> >> "button "Button": execution error at line 2 (Handler: can't find >> handler) near "startTurtle", char 1" >> >> Richmond. > You need the Turtle Graphics library: http://jamesphurley.com/Revolution.html > > Jim > > > Aaaaah, Thank you very much. AND, should I decided to roll your library into a standalone what do I have to do re attribution, licensing, and so on? Richmond. From jacque at hyperactivesw.com Sat Mar 21 14:17:12 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Mar 2015 13:17:12 -0500 Subject: printPaperRectangle & LC7 In-Reply-To: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> References: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> Message-ID: <550DB5A8.7040301@hyperactivesw.com> On 3/21/2015 3:38 AM, Terence Heaford wrote: > The docs state > > "The four numbers represent the left, top, right and bottom of the > rectangle being printed to. The rectangle is relative to the top-left > of the page, and the left and top will currently always be 0. This isn't very well written. What it really means is: "The four numbers represent the left, top, right and bottom of the printing area the printer supports. The rectangle is relative to the top-left of the paper, which is 0,0." So your printer has a print area of 8,8,834,587. The printmargins you set will be offset by that area. If you set the left print margin to 10, on the actual paper it will be 18 (10 for your margin + 8 from the printer.) What I usually do is ignore the right and bottom margins and set them to zero if I'm sure the whole printout will fit on a page. If my top and left calculations are correct, it doesn't matter what those are. Then I calculate the amount of inset I need for the top and left, set those printmargins (minus the printer offsets) and print the page. So if you want your printout to begin at 20 pixels from the left of the physical paper, the left printmargin would be 12. The right side should just fall into place by itself if you've scaled the image correctly. I should warn that printing is voodoo and while you can get very close, it may never be perfect on all printers and in all cases. Printers are independent with minds of their own. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Mar 21 14:18:03 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Mar 2015 13:18:03 -0500 Subject: unsetting defaultMenuBar In-Reply-To: References: Message-ID: <550DB5DB.3080109@hyperactivesw.com> On 3/21/2015 10:05 AM, Dr. Hawkins wrote: > Once the defaultMenubar is set, is there any way to unset it? > > Particularly, when in the IDE, I want to set it to empty while editing my > "source" graphical stacks that the user never sees > That's when I usually turn on editmenus. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Mar 21 14:26:05 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Mar 2015 13:26:05 -0500 Subject: Speed on Android In-Reply-To: References: Message-ID: <550DB7BD.5060001@hyperactivesw.com> On 3/21/2015 12:58 AM, Ralph DiMola wrote: > I access a remote MySQL db(diesel) when the app starts up. It takes a > couple of seconds to do a few reads and writes. I will put a db write > inbetween cards and see how long it takes. Here's my new theory. Mobile doesn't support libURL, which is what handles the connections on desktop. When I ask for a remote connection to a database, something takes over that seems to repeatedly try to connect and times out (10+ secs or so.) In between timeouts I have a window where touches are processed, then I have to wait for the next timeout. In the meantime, the app is in a continual state of sending and waiting for a response from the server. Closing the database connection isn't enough to stop the process. This is my completely unknowlegeable theory based only on observation. But the conclusion is: remote database connections are not supported. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sat Mar 21 14:44:02 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 21 Mar 2015 11:44:02 -0700 Subject: Speed on Android In-Reply-To: <550DB7BD.5060001@hyperactivesw.com> References: <550DB7BD.5060001@hyperactivesw.com> Message-ID: <550DBBF2.4020507@fourthworld.com> J. Landman Gay wrote: > Richard Gaskin wrote: >> Que a post from Mark Wieder about the benefits of web APIs >> for DB connectivity in three...two...one... ... > ...the conclusion is: remote database connections are not supported. But GET and PUT are. :) Snappy, and more secure than exposing the DB to the Internet. LC Server will perform well under reasonable loads. If high traffic is anticipated you'll want a FastCGI option, such as PHP can provide. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rdimola at evergreeninfo.net Sat Mar 21 14:51:43 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 21 Mar 2015 14:51:43 -0400 Subject: Speed on Android In-Reply-To: <550DB7BD.5060001@hyperactivesw.com> References: <550DB7BD.5060001@hyperactivesw.com> Message-ID: <000d01d06408$13f51850$3bdf48f0$@net> Jacqueline Landman Gay wrote: >Here's my new theory. Mobile doesn't support libURL, which is what handles the connections on desktop. When I ask for a remote connection to a database, >something takes over that seems to repeatedly try to connect and times out (10+ secs or so.) In between timeouts I have a window where touches are >processed, then I have to wait for the next timeout. In the meantime, the app is in a continual state of sending and waiting for a response from the >server. Closing the database connection isn't enough to stop the process. > >This is my completely unknowlegeable theory based only on observation. >But the conclusion is: remote database connections are not supported. I see what libURL is all about but I don't see what it has to do with opening a MySQL db from an app. All I do is open the dB with a: put revOpenDatabase("mysql", tDatabasePath, DBName ,"username" ,"Password" ,,,,true) into DBID The DB remains open during app execution. I don't see any reconnecting hangs. DB access performance is only limited by the speed of the internet connection. Has been working well for me since LC 4 thru 7 for mobile. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From rdimola at evergreeninfo.net Sat Mar 21 14:54:09 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 21 Mar 2015 14:54:09 -0400 Subject: Speed on Android In-Reply-To: <550DBBF2.4020507@fourthworld.com> References: <550DB7BD.5060001@hyperactivesw.com> <550DBBF2.4020507@fourthworld.com> Message-ID: <000e01d06408$6a4f4400$3eedcc00$@net> >> Que a post from Mark Wieder about the benefits of web APIs >> for DB connectivity in three...two...one... I agree. I am actively changing all my mobile DB access to a web service. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin Sent: Saturday, March 21, 2015 2:44 PM To: use-livecode at lists.runrev.com Subject: Re: Speed on Android J. Landman Gay wrote: > Richard Gaskin wrote: >> Que a post from Mark Wieder about the benefits of web APIs >> for DB connectivity in three...two...one... ... > ...the conclusion is: remote database connections are not supported. But GET and PUT are. :) Snappy, and more secure than exposing the DB to the Internet. LC Server will perform well under reasonable loads. If high traffic is anticipated you'll want a FastCGI option, such as PHP can provide. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sat Mar 21 14:52:47 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 21 Mar 2015 11:52:47 -0700 Subject: Speed on Android In-Reply-To: <000d01d06408$13f51850$3bdf48f0$@net> References: <000d01d06408$13f51850$3bdf48f0$@net> Message-ID: <550DBDFF.6000600@fourthworld.com> Ralph DiMola wrote: > I see what libURL is all about but I don't see what it has to do with > opening a MySQL db from an app. All I do is open the dB with a: > > put revOpenDatabase("mysql", tDatabasePath, DBName ,"username" ,"Password" > ,,,,true) into DBID > > The DB remains open during app execution. I don't see any reconnecting > hangs. DB access performance is only limited by the speed of the > internet connection. Has been working well for me since LC 4 thru 7 > for mobile. How does LC connect to the database socket on platforms where it provides no socket support? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rdimola at evergreeninfo.net Sat Mar 21 14:57:56 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 21 Mar 2015 14:57:56 -0400 Subject: Speed on Android In-Reply-To: <550DBDFF.6000600@fourthworld.com> References: <000d01d06408$13f51850$3bdf48f0$@net> <550DBDFF.6000600@fourthworld.com> Message-ID: <001501d06408$f1f02eb0$d5d08c10$@net> Richard Gaskin wrote: >How does LC connect to the database socket on platforms where it provides no socket support? Magic. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From ambassador at fourthworld.com Sat Mar 21 15:01:20 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 21 Mar 2015 12:01:20 -0700 Subject: Speed on Android In-Reply-To: <001501d06408$f1f02eb0$d5d08c10$@net> References: <001501d06408$f1f02eb0$d5d08c10$@net> Message-ID: <550DC000.5060107@fourthworld.com> Ralph DiMola wrote: > Richard Gaskin wrote: > >>How does LC connect to the database socket on platforms where it >> provides no socket support? > > Magic. I'm intrigued. Does this magic work on Android as well? I wonder if we can leverage this for other socket comms... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rdimola at evergreeninfo.net Sat Mar 21 15:07:59 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 21 Mar 2015 15:07:59 -0400 Subject: Speed on Android In-Reply-To: <550DC000.5060107@fourthworld.com> References: <001501d06408$f1f02eb0$d5d08c10$@net> <550DC000.5060107@fourthworld.com> Message-ID: <001901d0640a$5955f340$0c01d9c0$@net> >>Ralph DiMola wrote: >> Richard Gaskin wrote: >> >>>How does LC connect to the database socket on platforms where it >> provides no socket support? >> >> Magic. >Richard Gaskin wrote: >I'm intrigued. Does this magic work on Android as well? >I wonder if we can leverage this for other socket comms... This magic works transparently on both iOS and Android. Use it every day. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From t.heaford at icloud.com Sat Mar 21 15:57:25 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Sat, 21 Mar 2015 19:57:25 +0000 Subject: printPaperRectangle & LC7 In-Reply-To: <550DB5A8.7040301@hyperactivesw.com> References: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> <550DB5A8.7040301@hyperactivesw.com> Message-ID: <1BE94150-5954-4E9B-8BB8-1EA125FA682F@icloud.com> > On 21 Mar 2015, at 18:17, J. Landman Gay wrote: > > So your printer has a print area of 8,8,834,587. The printmargins you set will be offset by that area. If you set the left print margin to 10, on the actual paper it will be 18 (10 for your margin + 8 from the printer.) Yes, the docs are poorly worded if this is the case. I experimented to come to the conclusion the docs are poorly worded and this, from visual inspection, seems to work put the printPaperRectangle into tPaperRect put item 1 of tPaperRect into tPaperLeft put item 2 of tPaperRect into tPaperTop put item 3 of tPaperRect into tPaperWidth put item 4 of tPaperRect into tPaperHeight put tPaperLeft/2 into tOffsetH put tPaperTop/2 into tOffsetV set the printMargins to tMargin + tOffsetH, tMargin + tOffsetV, tMargin - tOffsetH, tMargin - tOffsetV All the best Terry From t.heaford at icloud.com Sat Mar 21 16:44:30 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Sat, 21 Mar 2015 20:44:30 +0000 Subject: printPaperRectangle & LC7 In-Reply-To: <550DB5A8.7040301@hyperactivesw.com> References: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> <550DB5A8.7040301@hyperactivesw.com> Message-ID: <94CAD82E-048D-4436-83E8-FD06A9650BF1@icloud.com> > On 21 Mar 2015, at 18:17, J. Landman Gay wrote: > > So your printer has a print area of 8,8,834,587 I have just identified an issue. On my first pass through the routines the printPaperRectangle = 18,18,801,577 and the chart is offset to the left. On my second and subsequent passes through the routines printPaperRectangle = 8,8,834,587 and the chart is entered correctly. Why would printPaperRectangle not be 8,8,834,587 after I set the pagesetup to landscape on the first pass? Firstly from a button I do this: answer page setup as sheet if the result = "cancel" then exit mouseUp end if answer printer as sheet if the result = "cancel" then exit mouseUp end if send "printChart" to group ?generalChart" Then my print routine: on printChart put 10 into tLeftMargin put 10 into tRightMargin put 10 into tTopMargin put 10 into tBottomMargin put the printPaperRectangle into tPaperRect put tPaperRect put item 1 of tPaperRect into tPaperLeft put item 2 of tPaperRect into tPaperTop put item 3 of tPaperRect into tPaperWidth put item 4 of tPaperRect into tPaperHeight put tPaperWidth - tLeftMargin - tRightMargin into tAvailWidth put tPaperHeight - tTopMargin - tBottomMargin into tAvailHeight put the width of me into tChartWidth put the height of me into tChartHeight put tAvailWidth/tChartWidth into tWidthRatio put tAvailHeight/tChartHeight into tHeightRatio put min(tWidthRatio,tHeightRatio) into tRatio put tRatio * tChartWidth into tActualWidth put tRatio * tChartHeight into tActualHeight put (tPaperWidth - tActualWidth)/2 into tLM --put (tPaperHeight - tActualHeight)/2 into tTM -- this centres chart vertically on the page put tTopMargin into tTM -- this keeps the chart at the top of the page put tPaperLeft/2 into tOffsetH put tPaperTop/2 into tOffsetV set the printMargins to tLM + tOffsetH,tTM + tOffsetV,tLM - tOffsetH,tTM - tOffsetV set the printScale to tRatio --put "chart width = " & tW & return & "printPaperRectangle = " & tPaperRect & return & "printMargins = " & the printMargins put the topLeft of me into tTopLeft put the bottomRight of me into tBottomRight print card from tTopLeft to tBottomRight end printChart From dochawk at gmail.com Sat Mar 21 17:28:55 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 21 Mar 2015 14:28:55 -0700 Subject: unsetting defaultMenuBar In-Reply-To: <550DA465.1000004@economy-x-talk.com> References: <550DA465.1000004@economy-x-talk.com> Message-ID: On Sat, Mar 21, 2015 at 10:03 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > It looks like setting the defaultMenubar to empty doesn't work (I'm using > LC 7 today). Instead, you could set the menubar to the long id of grp > "revMenuBar" of stack "revMenubar". This will restore the original > situation in the IDE. Since setting the defaultMenubar to empty seems > impossible, I don't think you have ever worked with an empty defaultMenubar > in the LiveCode IDE. Thanks. I'm not looking for empty, but for the IDE menus and keystrokes, rather than the programs. This is exactly what I needed. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Mar 21 17:30:27 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 21 Mar 2015 14:30:27 -0700 Subject: unsetting defaultMenuBar In-Reply-To: <550DB5DB.3080109@hyperactivesw.com> References: <550DB5DB.3080109@hyperactivesw.com> Message-ID: On Sat, Mar 21, 2015 at 11:18 AM, J. Landman Gay wrote: > > That's when I usually turn on editmenus. That would be going the other direction :) I just want the plain old IDE. If these stacks are open, it's bec ause the user is me, and I am editing them. At which point I have various traps & overrides so that openfield and my field sliding handlers don't work. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Mar 21 17:43:05 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 21 Mar 2015 14:43:05 -0700 Subject: 7.0 just let me paste from a PDF! Message-ID: OSX/Yosemite. I apparently selected the entire page by accident while selecting text to cut and paste. I ended up with the entire page as an image when pasting into livecode. But I can't replicate it. This would be *really* useful . . . Even better would be converting it to fields, but . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Sat Mar 21 18:03:40 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Mar 2015 17:03:40 -0500 Subject: Speed on Android In-Reply-To: <000d01d06408$13f51850$3bdf48f0$@net> References: <550DB7BD.5060001@hyperactivesw.com> <000d01d06408$13f51850$3bdf48f0$@net> Message-ID: <550DEABC.7060009@hyperactivesw.com> On 3/21/2015 1:51 PM, Ralph DiMola wrote: > I see what libURL is all about but I don't see what it has to do with > opening a MySQL db from an app. The database is on a remote server, so it uses an http URL rather than a file path and requires some method of internet communication. That's usually handled by libURL on the desktop, but it isn't available on mobile. Are you connecting to a database on a server remotely? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Mar 21 18:05:47 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Mar 2015 17:05:47 -0500 Subject: Speed on Android In-Reply-To: <001901d0640a$5955f340$0c01d9c0$@net> References: <001501d06408$f1f02eb0$d5d08c10$@net> <550DC000.5060107@fourthworld.com> <001901d0640a$5955f340$0c01d9c0$@net> Message-ID: <550DEB3B.4040808@hyperactivesw.com> On 3/21/2015 2:07 PM, Ralph DiMola wrote: >>> Ralph DiMola wrote: > > >> Richard Gaskin wrote: > >> > >>>How does LC connect to the database socket on platforms where it > >> provides no socket support? > >> > >> Magic. > >> Richard Gaskin wrote: >> I'm intrigued. Does this magic work on Android as well? > >> I wonder if we can leverage this for other socket comms... > > This magic works transparently on both iOS and Android. Use it every day. Well, it isn't working here and I wish I knew why. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Sat Mar 21 18:05:53 2015 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 21 Mar 2015 18:05:53 -0400 Subject: How to disable single menu items of a pull down menu? In-Reply-To: Message-ID: <14c3e5ef94f-5f0-15143@webprd-a36.mail.aol.com> Hmmm.. I make a pullDown, and in another button: on mouseUp disable menuitem 2 of btn "pulldown" end mouseUp Click that button a bunch of times. Now if I make yet another button with; on mouseUp enable menuitem 2 of btn "pulldown" end mouseUp And click it once, the menuItem becomes selectable. Craig -----Original Message----- From: Kay C Lan To: How to use LiveCode Sent: Sat, Mar 21, 2015 12:52 am Subject: Re: How to disable single menu items of a pull down menu? Please note Dr Hawkin's recent post that this command is stackable, so if you accidentally disable the menuitem twice if you then issue a single enable command the menuitem will remain disabled. Don't know who to link to old posts but the Subject was "menuitems accujmulating extra ( in them?" On Fri, Mar 20, 2015 at 9:33 PM, Tiemo Hollmann TB wrote: > Hi Craig, > Oh shi... I thought this command was only for menues. Next time I will read > the dictionary more carefully > Thanks > Tiemo > > > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag > von dunbarx at aol.com > Gesendet: Freitag, 20. M?rz 2015 14:20 > An: use-livecode at lists.runrev.com > Betreff: Re: How to disable single menu items of a pull down menu? > > Tiemo. > > > There is a "disable menuItem" command. Check the dictionary. > > > Craig Newman > > > > -----Original Message----- > From: Tiemo Hollmann TB > To: LiveCode User Liste senden > Sent: Fri, Mar 20, 2015 6:50 am > Subject: How to disable single menu items of a pull down menu? > > > Hello, > > I am using a pulldown menu button and I would like to disable single menu > items. > > Is there a straight forward approach to change the color of a single menu > Item and disable it? > > Like "set the textcolor of line 2 of the text of btn "myPullDownMenu" to > grey" (what doesn't > work) > > Thanks > > Tiemo > > > > > > > > > _______________________________________________ > use-livecode mailing > list > use-livecode at lists.runrev.com > Please visit this url to subscribe, > unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Sat Mar 21 18:13:21 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 21 Mar 2015 16:13:21 -0600 Subject: 7.0 just let me paste from a PDF! In-Reply-To: References: Message-ID: Some pdf's are just that. An image of a page, so it would probably only work for some pdfs. However, if you can get an entire page showing on screen appearing as you like it, you might be able to set up a hotkey for "import snapshot" with no other arguments, at which point you get a crosshair cursor and can drag around the pdf page and end up with an image that way. Probably not the best method but it does work. On Sat, Mar 21, 2015 at 3:43 PM, Dr. Hawkins wrote: > OSX/Yosemite. > > I apparently selected the entire page by accident while selecting text to > cut and paste. > > I ended up with the entire page as an image when pasting into livecode. > > But I can't replicate it. This would be *really* useful . . . > > Even better would be converting it to fields, but . . .) > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sat Mar 21 18:20:47 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Mar 2015 17:20:47 -0500 Subject: Speed on Android In-Reply-To: <550DBBF2.4020507@fourthworld.com> References: <550DB7BD.5060001@hyperactivesw.com> <550DBBF2.4020507@fourthworld.com> Message-ID: <550DEEBF.7040308@hyperactivesw.com> On 3/21/2015 1:44 PM, Richard Gaskin wrote: > J. Landman Gay wrote: > > > Richard Gaskin wrote: > >> Que a post from Mark Wieder about the benefits of web APIs > >> for DB connectivity in three...two...one... > ... > > ...the conclusion is: remote database connections are not supported. > > But GET and PUT are. :) > > Snappy, and more secure than exposing the DB to the Internet. > > LC Server will perform well under reasonable loads. If high traffic is > anticipated you'll want a FastCGI option, such as PHP can provide. > I'm changing over out of necessity but none of this should be necessary. The database is not particularly sensitive, security is not an issue, the database isn't visible to the public but if someone hacks it there's no harm done, and the load is going to be so light as to be almost non-existent. Meanwhile this is taking longer and is more trouble than it should have been. I had a nice, compact all-in-one solution bundled up into a single app file. Now I need server scripts and dispatcher code and files in multiple locations. Not to mention maintenance for a non-techie client. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Sat Mar 21 18:24:31 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 21 Mar 2015 18:24:31 -0400 Subject: Speed on Android In-Reply-To: <550DEABC.7060009@hyperactivesw.com> References: <550DB7BD.5060001@hyperactivesw.com> <000d01d06408$13f51850$3bdf48f0$@net> <550DEABC.7060009@hyperactivesw.com> Message-ID: <002901d06425$cdd99260$698cb720$@net> I just open the remote database like this==> put revOpenDatabase("mysql", "YourDomain.on-rev.com", "DatabaseName" ,"Username" ,"Password" ,,,,true) into DBID Note there is no "http://" Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Saturday, March 21, 2015 6:04 PM To: How to use LiveCode Subject: Re: Speed on Android On 3/21/2015 1:51 PM, Ralph DiMola wrote: > I see what libURL is all about but I don't see what it has to do with > opening a MySQL db from an app. The database is on a remote server, so it uses an http URL rather than a file path and requires some method of internet communication. That's usually handled by libURL on the desktop, but it isn't available on mobile. Are you connecting to a database on a server remotely? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Sat Mar 21 18:21:54 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 21 Mar 2015 16:21:54 -0600 Subject: Speed on Android In-Reply-To: <550DEB3B.4040808@hyperactivesw.com> References: <001501d06408$f1f02eb0$d5d08c10$@net> <550DC000.5060107@fourthworld.com> <001901d0640a$5955f340$0c01d9c0$@net> <550DEB3B.4040808@hyperactivesw.com> Message-ID: Hmm. I thought you could still get URL "blah blah" on mobile and it would work. In fact, though the functionality differs slightly, you can use the load command on mobile too. Perhaps this would be useful? If you're using http urls, the only real difference in load between desktop and mobile, is that desktop caches. On mobile, you use the "with message" form and the contents of the load are sent as a parameter to the handling message. I don't think you need to worry about "unload" on mobile either. The nice thing about load is that, even if it takes a while for the load to complete, you don't lose functionality in your app while its waiting. Load is non-blocking. When it completes, the designated message fires, and you can deal with it. It has been a while since I've used load on mobile though, so it might now cache, so, ymmv. Yep, just checked the dictionary for load, and it says this: The iOS and Android engines do not support 'libUrl' but allows you to use load in the background. So my guess is that load still does not cache, but even so, it may work well for your needs. On Sat, Mar 21, 2015 at 4:05 PM, J. Landman Gay wrote: > On 3/21/2015 2:07 PM, Ralph DiMola wrote: > >> Ralph DiMola wrote: >>>> >>> >> >> Richard Gaskin wrote: >> >> >> >>>How does LC connect to the database socket on platforms where it >> >> provides no socket support? >> >> >> >> Magic. >> >> Richard Gaskin wrote: >>> I'm intrigued. Does this magic work on Android as well? >>> >> >> I wonder if we can leverage this for other socket comms... >>> >> >> This magic works transparently on both iOS and Android. Use it every day. >> > > Well, it isn't working here and I wish I knew why. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Sat Mar 21 18:24:15 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 21 Mar 2015 16:24:15 -0600 Subject: Speed on Android In-Reply-To: <002901d06425$cdd99260$698cb720$@net> References: <550DB7BD.5060001@hyperactivesw.com> <000d01d06408$13f51850$3bdf48f0$@net> <550DEABC.7060009@hyperactivesw.com> <002901d06425$cdd99260$698cb720$@net> Message-ID: Oh. DOH, never mind, you aren't using an intermediate layer, so yeah. what ralph said. On Sat, Mar 21, 2015 at 4:24 PM, Ralph DiMola wrote: > I just open the remote database like this==> put revOpenDatabase("mysql", > "YourDomain.on-rev.com", "DatabaseName" ,"Username" ,"Password" ,,,,true) > into DBID > > Note there is no "http://" > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of J. Landman Gay > Sent: Saturday, March 21, 2015 6:04 PM > To: How to use LiveCode > Subject: Re: Speed on Android > > On 3/21/2015 1:51 PM, Ralph DiMola wrote: > > I see what libURL is all about but I don't see what it has to do with > > opening a MySQL db from an app. > > The database is on a remote server, so it uses an http URL rather than a > file path and requires some method of internet communication. That's > usually > handled by libURL on the desktop, but it isn't available on mobile. > > Are you connecting to a database on a server remotely? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sat Mar 21 18:26:27 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Mar 2015 17:26:27 -0500 Subject: unsetting defaultMenuBar In-Reply-To: References: <550DB5DB.3080109@hyperactivesw.com> Message-ID: <550DF013.7040306@hyperactivesw.com> On 3/21/2015 4:30 PM, Dr. Hawkins wrote: > I just want the plain old IDE. If these stacks are open, it's bec ause the > user is me, and I am editing them. At which point I have various traps & > overrides so that openfield and my field sliding handlers don't work. If you click on any IDE stack (tool palette, inspector, etc.) the IDE menus come back. Then if you choose the Edit tool they stick. Setting the default to LC's menus is okay too, I just usually don't want to bother. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Mar 21 18:41:18 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Mar 2015 17:41:18 -0500 Subject: Speed on Android In-Reply-To: <002901d06425$cdd99260$698cb720$@net> References: <550DB7BD.5060001@hyperactivesw.com> <000d01d06408$13f51850$3bdf48f0$@net> <550DEABC.7060009@hyperactivesw.com> <002901d06425$cdd99260$698cb720$@net> Message-ID: <550DF38E.80702@hyperactivesw.com> On 3/21/2015 5:24 PM, Ralph DiMola wrote: > I just open the remote database like this==> put revOpenDatabase("mysql", > "YourDomain.on-rev.com", "DatabaseName" ,"Username" ,"Password" ,,,,true) > into DBID > > Note there is no"http://" Yes, I misspoke. There's no "http" in the database path, it's like yours: put "accountname.on-rev.com" into tDatabaseAddress put "xxx" into tDatabaseName put "yyyy" into tDatabaseUser put "passwdxx" into tDatabasePassword put revOpenDatabase("MySQL", tDatabaseAddress, tDatabaseName, tDatabaseUser, tDatabasePassword) into tID I get an ID back. When I issue commands, I also get database data back. Then I have to wait 10-15 seconds until the app unfreezes. Every database call in the scripts is surrounded by a command to open the database, get data, close the database. It used to not always close the connection, but I added all the closures to see if it would help. Neither way makes any difference. I shouldn't have said "http", I should have said "sockets". I think what's happening is a socket timeout. Even though LC says there is no socket support on mobile, there must be something under the hood if it is communicating with a server. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From prothero at earthednet.org Sat Mar 21 18:57:01 2015 From: prothero at earthednet.org (William Prothero) Date: Sat, 21 Mar 2015 15:57:01 -0700 Subject: A bit of a Mystery In-Reply-To: <550D9C9E.4060306@gmail.com> References: <550D9C9E.4060306@gmail.com> Message-ID: <3CEFAD94-D06A-4449-8E6A-70E2D652E4E9@earthednet.org> Michael: This looks like a REALLY useful set of handlers. Thanks, Bill > On Mar 21, 2015, at 9:30 AM, Michael Doub wrote: > > Yesterday, I ported a number of geo routines in to the MasterLibrary that contained greek characters. I left them in place as I thought it improved readability of the code as it was a lot of math. I had no problems at all during the port or testing. > > Today, however I started up and noticed that all of the greek characters were showing up as "?". This was now the case in both the code viewer and in the IDE editor tabs. > > Can anyone explain this to me? I am using livecode 7.0.4 (rc2). > > I have now gone back into the library and replaced all of the greek characters with normal variable names and retested. The new library is available. https://www.dropbox.com/s/3wpwn3hfbmpl7sk/MasterLibrary.livecode?dl=0 > > Thanks, > Mike > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Sat Mar 21 20:34:02 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 21 Mar 2015 20:34:02 -0400 Subject: Speed on Android In-Reply-To: <550DF38E.80702@hyperactivesw.com> References: <550DB7BD.5060001@hyperactivesw.com> <000d01d06408$13f51850$3bdf48f0$@net> <550DEABC.7060009@hyperactivesw.com> <002901d06425$cdd99260$698cb720$@net> <550DF38E.80702@hyperactivesw.com> Message-ID: <002a01d06437$e5cd24b0$b1676e10$@net> This is perplexing. I just put in a front script for preopencard and log the current card name to the remote MySQL db(diesel). I just tested it on my Galaxy S4 and still have sub-second card changes. Highlighting of the buttons work. The app is still snappy. I checked the db and the log entries are there. There has to be something we're overlooking here. Brain storm..... How about the ",,,,true" I put in the revOpenDatabase after the password, Could this be it? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Saturday, March 21, 2015 6:41 PM To: How to use LiveCode Subject: Re: Speed on Android On 3/21/2015 5:24 PM, Ralph DiMola wrote: > I just open the remote database like this==> put > revOpenDatabase("mysql", "YourDomain.on-rev.com", "DatabaseName" > ,"Username" ,"Password" ,,,,true) into DBID > > Note there is no"http://" Yes, I misspoke. There's no "http" in the database path, it's like yours: put "accountname.on-rev.com" into tDatabaseAddress put "xxx" into tDatabaseName put "yyyy" into tDatabaseUser put "passwdxx" into tDatabasePassword put revOpenDatabase("MySQL", tDatabaseAddress, tDatabaseName, tDatabaseUser, tDatabasePassword) into tID I get an ID back. When I issue commands, I also get database data back. Then I have to wait 10-15 seconds until the app unfreezes. Every database call in the scripts is surrounded by a command to open the database, get data, close the database. It used to not always close the connection, but I added all the closures to see if it would help. Neither way makes any difference. I shouldn't have said "http", I should have said "sockets". I think what's happening is a socket timeout. Even though LC says there is no socket support on mobile, there must be something under the hood if it is communicating with a server. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Sat Mar 21 20:39:50 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sat, 21 Mar 2015 20:39:50 -0400 Subject: Speed on Android In-Reply-To: <550DF38E.80702@hyperactivesw.com> References: <550DB7BD.5060001@hyperactivesw.com> <000d01d06408$13f51850$3bdf48f0$@net> <550DEABC.7060009@hyperactivesw.com> <002901d06425$cdd99260$698cb720$@net> <550DF38E.80702@hyperactivesw.com> Message-ID: <002b01d06438$b4d812b0$1e883810$@net> Another thing. Could it be your router/firewall? Did you try over the cellular network? I also open the DB once and let the socket close when the app exits I never issue an explicit close. ==>Image of Ralph grasping at straws. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Saturday, March 21, 2015 6:41 PM To: How to use LiveCode Subject: Re: Speed on Android On 3/21/2015 5:24 PM, Ralph DiMola wrote: > I just open the remote database like this==> put > revOpenDatabase("mysql", "YourDomain.on-rev.com", "DatabaseName" > ,"Username" ,"Password" ,,,,true) into DBID > > Note there is no"http://" Yes, I misspoke. There's no "http" in the database path, it's like yours: put "accountname.on-rev.com" into tDatabaseAddress put "xxx" into tDatabaseName put "yyyy" into tDatabaseUser put "passwdxx" into tDatabasePassword put revOpenDatabase("MySQL", tDatabaseAddress, tDatabaseName, tDatabaseUser, tDatabasePassword) into tID I get an ID back. When I issue commands, I also get database data back. Then I have to wait 10-15 seconds until the app unfreezes. Every database call in the scripts is surrounded by a command to open the database, get data, close the database. It used to not always close the connection, but I added all the closures to see if it would help. Neither way makes any difference. I shouldn't have said "http", I should have said "sockets". I think what's happening is a socket timeout. Even though LC says there is no socket support on mobile, there must be something under the hood if it is communicating with a server. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Mar 21 21:05:45 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Mar 2015 20:05:45 -0500 Subject: Speed on Android In-Reply-To: <002b01d06438$b4d812b0$1e883810$@net> References: <550DB7BD.5060001@hyperactivesw.com> <000d01d06408$13f51850$3bdf48f0$@net> <550DEABC.7060009@hyperactivesw.com> <002901d06425$cdd99260$698cb720$@net> <550DF38E.80702@hyperactivesw.com> <002b01d06438$b4d812b0$1e883810$@net> Message-ID: <550E1569.8050408@hyperactivesw.com> On 3/21/2015 7:39 PM, Ralph DiMola wrote: > Another thing. Could it be your router/firewall? Did you try over the > cellular network? If it were my router I think it would fail on my Mac and it works fine there. I can try on a different network though. > How about the ",,,,true" I put in the revOpenDatabase after the password, > Could this be it? I wondered about that. I'll see. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Mar 21 21:21:49 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Mar 2015 20:21:49 -0500 Subject: Speed on Android In-Reply-To: <002a01d06437$e5cd24b0$b1676e10$@net> References: <550DB7BD.5060001@hyperactivesw.com> <000d01d06408$13f51850$3bdf48f0$@net> <550DEABC.7060009@hyperactivesw.com> <002901d06425$cdd99260$698cb720$@net> <550DF38E.80702@hyperactivesw.com> <002a01d06437$e5cd24b0$b1676e10$@net> Message-ID: <550E192D.6070806@hyperactivesw.com> On 3/21/2015 7:34 PM, Ralph DiMola wrote: > Brain storm..... > How about the ",,,,true" I put in the revOpenDatabase after the password, > Could this be it? Oh man. That was it. I think I love you. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at livecode.org Sat Mar 21 21:28:13 2015 From: paul at livecode.org (Paul Hibbert) Date: Sat, 21 Mar 2015 18:28:13 -0700 Subject: printPaperRectangle & LC7 In-Reply-To: <94CAD82E-048D-4436-83E8-FD06A9650BF1@icloud.com> References: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> <550DB5A8.7040301@hyperactivesw.com> <94CAD82E-048D-4436-83E8-FD06A9650BF1@icloud.com> Message-ID: <95BD033E-C008-450A-8B87-F29CDE8530FB@livecode.org> > On Mar 21, 2015, at 1:44 PM, Terence Heaford wrote: > > Why would printPaperRectangle not be 8,8,834,587 after I set the pagesetup to landscape on the first pass? Long answer to a short question, skip this if you're not interested in printing on a Mac? If you changed the printer settings in the Page setup dialogue or just assume that what you saw there was correct, then I suspect you may be hitting a bug that AFAIK is an old Apple bug and I seem to remember that LC has no control over it. It is possible to have the print sizes mixed up from page setup to the print command, I just found this still exists. If you change the printer in the Page Setup dialogue it doesn't reflect the change in the Print dialogue, but it does the other way around. This happens in Apple's Pages too along with some other apps that still use Page Setup, whereas apps like Preview have the Page Setup combined with the Print dialogue, much more sensible. My conclusion is that the only *reliable* way to choose a print size is to set the correct printer first in the Print Dialogue (don't hit Cancel as the choice will not stick), then go back to Page Setup to choose the correct paper size, orientation etc., now you can print to that size with more confidence. I haven't found an easy answer to this issue so far, but under certain circumstances this can cause the printPaperRect to be different to what you expect. Of course, if you use the same printer and page setup all the time, then this really shouldn't happen. One odd unintuitive workaround is to call the Answer Page Setup after calling the Answer Print dialogue, then everything lines up correctly e.g. case "Print" answer printer if the result is "Cancel" then exit to top answer page Setup if the result is "Cancel" then exit to top print card break This is fine for personal stuff, but not so much for published apps. Below is a test script I used in a menu button, you will need 2 printers connected with different margins to test this, usually from different manufacturers or maybe laser vs inkjet then try printing to alternate printers: case "Print" answer the printerName && the printPaperRect -- Returns the name of the last used printer & the last used printPaperRect answer page Setup -- ** Causes a problem if you don't have the correct printer selected here ** if the result is "Cancel" then exit to top answer the printerName && the printPaperRect -- Returns the name of the last used printer & the printPaperRect of the page/paper chosen answer printer -- Note previous printer shown, now switch to the desired printer if the result is "Cancel" then exit to top answer the printerName && the printPaperRect -- Returns the name of the new printer chosen & the printPaperRect of the page/paper chosen in Page Setup -- print card -- Disabled to save paper! break case "Print Fix" answer the printerName && the printPaperRect -- Returns the name of the last used printer & the last used printPaperRect answer printer -- You need to switch printers here to ensure correct output if the result is "Cancel" then exit to top answer the printerName && the printPaperRect -- Returns the name of the new printer chosen & the last used printPaperRect answer page Setup -- The correct printer displays in the dialogue box - no confusion! if the result is "Cancel" then exit to top answer the printerName && the printPaperRect -- Returns the name of the new printer chosen & the correct printPaperRect of the page/paper chosen -- print card -- Disabled to save paper! break In the first case "Print", if the previously used printer is a laser printer with margins of say 18 and in the Page Setup dialogue you choose the paper size of letter, but overlook setting the printer, then in the Print dialogue, you set the printer to an inkjet printer that has margins of say 8, the new margins will not be applied to the printPaperRectangle, they will be 18. In the second case "Print Fix", choosing the printer in the Print dialogue will update the printer choice in the Page Setup dialogue so when you choose a page size, the margins will be correct for the printer chosen. Of course this should all go away if/when LC has access to the new style print dialogue like the one used for Apple's Preview app. I notice that Adobe has rolled their own for Photoshop. Paul From jhurley0305 at sbcglobal.net Sun Mar 22 01:06:49 2015 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sat, 21 Mar 2015 22:06:49 -0700 Subject: Automated Drawing In-Reply-To: References: Message-ID: > > Message: 14 > Date: Sat, 21 Mar 2015 20:13:37 +0200 > From: Richmond > To: How to use LiveCode > Subject: Re: Automated Drawing > Message-ID: <550DB4D1.4050309 at gmail.com> > Content-Type: text/plain; charset=utf-8; format=flowed > > On 21/03/15 17:35, Jim Hurley wrote: >>>> Automated Drawing >>>> >>>> Richmond richmondmathewson at gmail.com >>>> Sat Mar 21 16:12:16 CET 2015 >>>> >>>> Previous message: Automated Drawing >>>> Next message: Automated Drawing >>>> Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] >>> On 21/03/15 17:09, Richmond wrote: >>>> On 21/03/15 13:57, Jim Hurley wrote: >>>>>> Message: 21 >>>>>> Date: Sat, 21 Mar 2015 09:02:23 +0200 >>>>>> From: Richmond >>>>>> >> >>>>>> To: How to use LiveCode >>>>>> >> >>>>>> Subject: Automated Drawing >>>>>> Message-ID: <550D177F.10609 at gmail.com >>>>>> >> >>>>>> Content-Type: text/plain; charset=utf-8; format=flowed >>>>>> >>>>>> I set up a little stack with THIS in a button: >>>>>> >>>>>> on mouseUp >>>>>> choose pencil tool >>>>>> drag from 100,100 to 200,200 >>>>>> end mouseUp >>>>>> >>>>>> and it drew me a jolly diagonal line . . . super! >>>>>> >>>>>> HOWEVER >>>>>> >>>>>> I wonder if it is possible to do something like THIS: >>>>>> >>>>>> drag for 100 pixels at 60 degrees >>>>>> >>>>>> probably not, BUT ?????? >>>>>> >>>>>> Richmond. >>>>>> >>>>> Of course: >>>>> >>>>> on mouseUp >>>>> startTurtle >>>>> setHeading 60 >>>>> forward 100 >>>>> end mouseUp >>>>> >>>>> >>>> You have in a matter of seconds made me feel totally stupid as my >>>> whole question is geared >>>> towards an interface I am designing to control a USB-tethered turtle. >>>> >>>> Thank you for the great help. >>>> >>>> Richmond. >>> Possibly NOT as stupid as all that: >>> >>> "button "Button": execution error at line 2 (Handler: can't find >>> handler) near "startTurtle", char 1" >>> >>> Richmond. >> You need the Turtle Graphics library: http://jamesphurley.com/Revolution.html >> >> Jim >> >> >> > > Aaaaah, Thank you very much. > > AND, should I decided to roll your library into a standalone what do I > have to do re attribution, > licensing, and so on? > > Richmond. > No need. Enjoy. Jim From jacque at hyperactivesw.com Sun Mar 22 01:51:17 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 22 Mar 2015 00:51:17 -0500 Subject: Mobile notifications Message-ID: <550E5855.8030303@hyperactivesw.com> Now that the database is working on Android... After the app is first launched, I need to send notifications at regular intervals. The notifications should repeat whether or not the user responds to them. It sounds like the app won't receive any messages if the user ignores a notification. I'm using localNotificationReceived to queue up a few at a time, but I can't queue up an infinite amount. Am I correct that no message is sent when no user action occurs? If so, is there any way to keep notifications going? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark at sorcery-ltd.co.uk Sun Mar 22 02:40:05 2015 From: mark at sorcery-ltd.co.uk (Mark Wilcox) Date: Sun, 22 Mar 2015 06:40:05 +0000 Subject: LiveCode 8 Library Component: MLT Video Editing Framework In-Reply-To: References: Message-ID: <6B8FFFF9-DE31-474C-B82D-4C861F0467D3@sorcery-ltd.co.uk> The framework is free of dependencies and probably quite easy to wrap as a component for LiveCode 8. However, on it's own it doesn't do anything. There are lots of modules that make it incredibly powerful but they do have dependencies, some of them huge, like Qt. The video rendering is via SDL, so it's not immediately clear how you'd integrate that with the rest of your LiveCode app. It might be necessary to replace that module. If you wanted to write video editing tools in LiveCode this might be a good place to start. For other AV related functionality it'd probably be better to go for simpler single purpose libraries. Mark Sent from my iPhone > On 21 Mar 2015, at 17:16, David Bovill wrote: > > This framework is great and written in C - > http://www.mltframework.org/bin/view/MLT/Framework > > It's the basis for most of the best cross platform video editors. On OSX I > can recommend http://www.shotcut.org/ > > Does that look like a good candidate for a new LiveCode 8 library component? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From david at viral.academy Sun Mar 22 03:58:37 2015 From: david at viral.academy (David Bovill) Date: Sun, 22 Mar 2015 07:58:37 +0000 Subject: LiveCode 8 Library Component: MLT Video Editing Framework In-Reply-To: <6B8FFFF9-DE31-474C-B82D-4C861F0467D3@sorcery-ltd.co.uk> References: <6B8FFFF9-DE31-474C-B82D-4C861F0467D3@sorcery-ltd.co.uk> Message-ID: Thanks so much for the reply Mark. I would like to understand the difference between module and dependent code sufficiently to be able to look at C code and its documentation and understand this issue. When a package manager (like brew) lists a bunch of things it is going to install is there a way to know what sort of dependency is being fetched? Other questions (related to the one above) I'd like to get a handle on - specifically in this area of wrap-able command line tools: what are the advantages to wrapping a library in a widget over creating a library in livescript that makes shell calls? * is there a speed advantage (its usually only one shell call out per library handler) Taking MLT as an example - it uses / depends on FFMPEG. My assumption is that this is a module, and that if it were installed on my machine with an appropriate package manager then would my MLT widget library would be able to use FFMPEG? Any pointers on reading / how to gain this level of knowledge would be greatly appreciated. On Sun, 22 Mar 2015 at 06:40, Mark Wilcox wrote: > The framework is free of dependencies and probably quite easy to wrap as a > component for LiveCode 8. However, on it's own it doesn't do anything. > There are lots of modules that make it incredibly powerful but they do have > dependencies, some of them huge, like Qt. The video rendering is via SDL, > so it's not immediately clear how you'd integrate that with the rest of > your LiveCode app. It might be necessary to replace that module. > > If you wanted to write video editing tools in LiveCode this might be a > good place to start. For other AV related functionality it'd probably be > better to go for simpler single purpose libraries. > > Mark > > Sent from my iPhone > > > On 21 Mar 2015, at 17:16, David Bovill wrote: > > > > This framework is great and written in C - > > http://www.mltframework.org/bin/view/MLT/Framework > > > > It's the basis for most of the best cross platform video editors. On OSX > I > > can recommend http://www.shotcut.org/ > > > > Does that look like a good candidate for a new LiveCode 8 library > component? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Mar 22 04:14:09 2015 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 22 Mar 2015 10:14:09 +0200 Subject: 7.0 just let me paste from a PDF! In-Reply-To: References: Message-ID: <550E79D1.3050209@gmail.com> On 21/03/15 23:43, Dr. Hawkins wrote: > OSX/Yosemite. > > I apparently selected the entire page by accident while selecting text to > cut and paste. > > I ended up with the entire page as an image when pasting into livecode. > > But I can't replicate it. This would be *really* useful . . . > > Even better would be converting it to fields, but . . .) > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > What's wrong? Dr. Hawkins wrote something positive about Livecode! If one could copy-paste from a PDF into Livecode that would be super. ---------------------------------------------------------------------------------------------- While I'm here . . . When I want to paste something from the script editor into either my e-mail client (Thunderbird) or a comment box on the Forums (Firefox) I have to do this, err, "merry dance": select-and-copy from the Livecode script editor to a text editor (on Linux: Gedit or Leafpad), then select-and-copy what I have just pasted into the text editor and paste into the e-mail client or Firefox. I wonder why copy-paste does NOT work directly? Richmond. From richmondmathewson at gmail.com Sun Mar 22 04:20:59 2015 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 22 Mar 2015 10:20:59 +0200 Subject: 7.0 just let me paste from a PDF! In-Reply-To: References: Message-ID: <550E7B6B.10507@gmail.com> On 22/03/15 00:13, Mike Bonner wrote: > Some pdf's are just that. An image of a page, so it would probably only > work for some pdfs. However, if you can get an entire page showing on > screen appearing as you like it, you might be able to set up a hotkey for > "import snapshot" with no other arguments, at which point you get a > crosshair cursor and can drag around the pdf page and end up with an image > that way. > > Probably not the best method but it does work. > > Yup! This will ONLY work if the PDF has an embedded text layer. ----------- Tedious personal story starts now ------------- I found a PDF of a nascent PhD thesis of my wife's (she got her PhD on the basis of an entirely different thesis at a different University to the first attempt) lurking on a ZIP disk. So I thought "Yippee" . . . I could not have been more wrong. While the document was a PDF it had been prepared on Mac OS 8.1 and did not contain an embedded text layer. In the end I had to install Mac OS 9.2 on my G3 iMac, crack open the original ClarisWorks document and copy-paste into a Microsoft Word 6 document to port it to LibreOffice 4.3 on my wife's Linux box. ----------- Finished my burble ------------ If you want to extract text from a PDF which does not contain an embedded text layer you have to mess around with OCR and so on; and, frankly, that is more trouble than it is worth in 90% of situations. ------------------------------------------------ What would be jolly nice would be if Livecode could import embedded text from PDF documents that have a text layer directly into a field. Richmond. From t.heaford at icloud.com Sun Mar 22 04:29:12 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Sun, 22 Mar 2015 08:29:12 +0000 Subject: printPaperRectangle & LC7 In-Reply-To: <95BD033E-C008-450A-8B87-F29CDE8530FB@livecode.org> References: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> <550DB5A8.7040301@hyperactivesw.com> <94CAD82E-048D-4436-83E8-FD06A9650BF1@icloud.com> <95BD033E-C008-450A-8B87-F29CDE8530FB@livecode.org> Message-ID: <845CDBBA-5769-403B-9C24-3A05252D7FD5@icloud.com> > On 22 Mar 2015, at 01:28, Paul Hibbert wrote: > > Long answer to a short question, skip this if you're not interested in printing on a Mac? Paul, Thanks for the feedback. So, I was exploring this method of printing to overcome the fact that "print card [from topLeft to rightBottom] [into pageRect]" does not work in LC 7. I was using it to centre the printing of a group. Is there really no way to do this in LC7 or do I have another option? If the answer is no then it really is imperative that LC get "print card [from topLeft to rightBottom] [into pageRect]? working. If a solution is not available then it?s back to LC 6.7.3. All the best Terry From mark at sorcery-ltd.co.uk Sun Mar 22 04:48:25 2015 From: mark at sorcery-ltd.co.uk (Mark Wilcox) Date: Sun, 22 Mar 2015 08:48:25 +0000 Subject: LiveCode 8 Library Component: MLT Video Editing Framework In-Reply-To: References: <6B8FFFF9-DE31-474C-B82D-4C861F0467D3@sorcery-ltd.co.uk> Message-ID: <2FDDB2E9-0C6A-445E-9938-3D6E88F53834@sorcery-ltd.co.uk> Hi David, Module is a generic term with a specific meaning in MLT (and slightly different meanings in lots of other projects). Dependencies and how they're resolved tends to be platform specific. C code is just code and can be packaged up to be linked in a static or dynamic way. You have to research each platform (and in some cases project) separately to understand how things are managed. I'd love to give some high level article pointers but I've never read any (although some probably exist). I think most people learn the details by trying to build these things for themselves, or port them to new platforms. LiveCode widget vs. shell command - a widget will be much more integrated. It depends what the library does as to whether this just adds convenience and performance, or makes the previously impossible possible. Sorry those are very generic answers but you're opening up a very big topic and I'm typing on a phone. :) Mark Sent from my iPhone > On 22 Mar 2015, at 07:58, David Bovill wrote: > > Thanks so much for the reply Mark. I would like to understand the > difference between module and dependent code sufficiently to be able to > look at C code and its documentation and understand this issue. > > When a package manager (like brew) lists a bunch of things it is going to > install is there a way to know what sort of dependency is being fetched? > > Other questions (related to the one above) I'd like to get a handle on - > specifically in this area of wrap-able command line tools: what are the > advantages to wrapping a library in a widget over creating a library in > livescript that makes shell calls? > > * is there a speed advantage (its usually only one shell call out per > library handler) > > Taking MLT as an example - it uses / depends on FFMPEG. My assumption is > that this is a module, and that if it were installed on my machine with an > appropriate package manager then would my MLT widget library would be able > to use FFMPEG? > > Any pointers on reading / how to gain this level of knowledge would be > greatly appreciated. >> On Sun, 22 Mar 2015 at 06:40, Mark Wilcox wrote: >> >> The framework is free of dependencies and probably quite easy to wrap as a >> component for LiveCode 8. However, on it's own it doesn't do anything. >> There are lots of modules that make it incredibly powerful but they do have >> dependencies, some of them huge, like Qt. The video rendering is via SDL, >> so it's not immediately clear how you'd integrate that with the rest of >> your LiveCode app. It might be necessary to replace that module. >> >> If you wanted to write video editing tools in LiveCode this might be a >> good place to start. For other AV related functionality it'd probably be >> better to go for simpler single purpose libraries. >> >> Mark >> >> Sent from my iPhone >> >>> On 21 Mar 2015, at 17:16, David Bovill wrote: >>> >>> This framework is great and written in C - >>> http://www.mltframework.org/bin/view/MLT/Framework >>> >>> It's the basis for most of the best cross platform video editors. On OSX >> I >>> can recommend http://www.shotcut.org/ >>> >>> Does that look like a good candidate for a new LiveCode 8 library >> component? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at icloud.com Sun Mar 22 04:57:53 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Sun, 22 Mar 2015 08:57:53 +0000 Subject: printPaperRectangle & LC7 In-Reply-To: <95BD033E-C008-450A-8B87-F29CDE8530FB@livecode.org> References: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> <550DB5A8.7040301@hyperactivesw.com> <94CAD82E-048D-4436-83E8-FD06A9650BF1@icloud.com> <95BD033E-C008-450A-8B87-F29CDE8530FB@livecode.org> Message-ID: <4C614698-58AB-4307-A5C5-A030FB2D86B1@icloud.com> > On 22 Mar 2015, at 01:28, Paul Hibbert wrote: > > Long answer to a short question, skip this if you're not interested in printing on a Mac? The mystery is growing: printPaperRect LC 7.0.3 First pass = 18,18,801,577 Subsequent passes = 8,8,834,587 LC 6.7.3 First pass = 0,0,842,596 Subsequent passes = 0,0,842,596 Can someone explain this please? All the best Terry From t.heaford at icloud.com Sun Mar 22 07:06:16 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Sun, 22 Mar 2015 11:06:16 +0000 Subject: printPaperRectangle & LC7 In-Reply-To: <95BD033E-C008-450A-8B87-F29CDE8530FB@livecode.org> References: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> <550DB5A8.7040301@hyperactivesw.com> <94CAD82E-048D-4436-83E8-FD06A9650BF1@icloud.com> <95BD033E-C008-450A-8B87-F29CDE8530FB@livecode.org> Message-ID: <57D58B0C-94EF-426C-8110-A10559DEA342@icloud.com> > On 22 Mar 2015, at 01:28, Paul Hibbert wrote: > > Long answer to a short question, skip this if you're not interested in printing on a Mac? The issue for me seems to be that the first time I open the page setup dialog box my default printer is not selected, ?Any Printer? is selected. This seems to throw the dimensions and hence calculations. On the first pass if I select the printer actually connected to my computer the printout is correct. So, the question is: How can I ensure that the default printer is showing in the Page Setup Dialog Box? My default printer is selected correctly in the System Preferences. All the best Terry From lan.kc.macmail at gmail.com Sun Mar 22 07:11:53 2015 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 22 Mar 2015 19:11:53 +0800 Subject: 7.0 just let me paste from a PDF! In-Reply-To: References: Message-ID: On Sun, Mar 22, 2015 at 5:43 AM, Dr. Hawkins wrote: > OSX/Yosemite. > > I apparently selected the entire page by accident while selecting text to > cut and paste. > > I ended up with the entire page as an image when pasting into livecode. > > But I can't replicate it. This would be *really* useful . . . > > Even better would be converting it to fields, but . . .) > This has 'sorta' worked since RR 2.x 1) Select some text in a pdf and select Copy. 2) Go to LC and in an appropriate place* : put the clipboardData["text'] into fld 1 * an appropriate place might be a btn that has the above script in it or it could be in the field's script within a mouseEnter handler or whatever. I've just checked again and it still 'sorta' works in 7.0.3 and Mavericks. The 'sorta' is a problem with OS X not LC. Prior to Snow Leopard you could 'option select' text in a pdf and if there were columns of data they would be pasted into LC in the same column format. This was perfect. Unfortunately since Snow Leopard, and including every OS X / Preview / Reader combination ever since, the 'option select' no longer works. What happens is if there is any multi-column text it is reproduced sequentially - just find any two column pdf, select all, Copy and Paste it into TextEdit and you'll see the problem. HTH From t.heaford at icloud.com Sun Mar 22 07:20:42 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Sun, 22 Mar 2015 11:20:42 +0000 Subject: printPaperRectangle & LC7 In-Reply-To: <57D58B0C-94EF-426C-8110-A10559DEA342@icloud.com> References: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> <550DB5A8.7040301@hyperactivesw.com> <94CAD82E-048D-4436-83E8-FD06A9650BF1@icloud.com> <95BD033E-C008-450A-8B87-F29CDE8530FB@livecode.org> <57D58B0C-94EF-426C-8110-A10559DEA342@icloud.com> Message-ID: > On 22 Mar 2015, at 11:06, Terence Heaford wrote: > > How can I ensure that the default printer is showing in the Page Setup Dialog Box? There appears to be a bug in LC 7?s implementation of the Page Setup Dialogue Box. On LC 6.7.3 if you select a printer in the Page Setup Dialogue Box that selection is retained the next time you open it. On LC 7.0.3 if you select a printer in the Page Setup Dialogue Box the selection is not retained as next time you visit it it says ?Any Printer? This may only apply to Mac, as I have no means of testing on other systems. All the best Terry From pmbrig at gmail.com Sun Mar 22 09:11:12 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 22 Mar 2015 09:11:12 -0400 Subject: Speed on Android In-Reply-To: <001501d06408$f1f02eb0$d5d08c10$@net> References: <000d01d06408$13f51850$3bdf48f0$@net> <550DBDFF.6000600@fourthworld.com> <001501d06408$f1f02eb0$d5d08c10$@net> Message-ID: <425DCAF7-EC4D-4FCE-805C-219DF992CC5E@gmail.com> On Mar 21, 2015, at 2:57 PM, Ralph DiMola wrote: > Richard Gaskin wrote: > >> How does LC connect to the database socket on platforms where it provides > no socket support? > > Magic. "Any sufficiently advanced technology is indistinguishable from magic." -- Arthur C. Clark -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From sc at sahores-conseil.com Sun Mar 22 09:45:01 2015 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sun, 22 Mar 2015 14:45:01 +0100 Subject: Speed on Android In-Reply-To: <550DC000.5060107@fourthworld.com> References: <001501d06408$f1f02eb0$d5d08c10$@net> <550DC000.5060107@fourthworld.com> Message-ID: <6E358F40-BF8A-446A-AB04-9DF3CB4E289C@sahores-conseil.com> Jacque, GET and POST are perfectly supported on both iOS and Android. If you send them to an LC server script (connected to the DB in localhost mode), you will no more have to compose with any latency anymore. working example : on the iOS/Android mobile client app side : set the socketTimeoutInterval to 60000 set httpHeaders to "Content-type: application/x-www-form-urlencoded" & return post URLEncode(gAppVars["MobileAppID"] & "=" & hexDigest("publicmclt") & "&" & prevSession & "&stock_decrement=-1") to URL MIAS put it into tResponse on the server side, each DB opened connexion (PostgreSQL 8.4 on Pancake in my case) need to be closed before the request is returned to the mobile app. This kind of procedure respond in just some ticks (+ network latency itself witch is < 100-300 ms from pancake witch is, in my case, hosted at less than 600 miles from my office) Pierre > Le 21 mars 2015 ? 20:01, Richard Gaskin a ?crit : > > Ralph DiMola wrote: > > > Richard Gaskin wrote: > > > >>How does LC connect to the database socket on platforms where it > >> provides no socket support? > > > > Magic. > > I'm intrigued. Does this magic work on Android as well? > > I wonder if we can leverage this for other socket comms... > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From richmondmathewson at gmail.com Sun Mar 22 10:57:43 2015 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 22 Mar 2015 16:57:43 +0200 Subject: API Message-ID: <550ED867.7020001@gmail.com> Richard Gaskin stated elsewhere; "LiveCode Builder is providing OS API access to us within our LiveCode scripts." Where is the documentation pertaining to this? The inbuilt Documentation in LC 8 for the Livecode Builder comes up with nothing after a search for 'API', the online Documentation is currently taking a holiday. Richmond. From rdimola at evergreeninfo.net Sun Mar 22 11:37:40 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 22 Mar 2015 11:37:40 -0400 Subject: Speed on Android In-Reply-To: <550E192D.6070806@hyperactivesw.com> References: <550DB7BD.5060001@hyperactivesw.com> <000d01d06408$13f51850$3bdf48f0$@net> <550DEABC.7060009@hyperactivesw.com> <002901d06425$cdd99260$698cb720$@net> <550DF38E.80702@hyperactivesw.com> <002a01d06437$e5cd24b0$b1676e10$@net> <550E192D.6070806@hyperactivesw.com> Message-ID: <000c01d064b6$22310dd0$66932970$@net> Glad it worked out for you! It was bugging me. I wasn't going to let it go. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Saturday, March 21, 2015 9:22 PM To: How to use LiveCode Subject: Re: Speed on Android On 3/21/2015 7:34 PM, Ralph DiMola wrote: > Brain storm..... > How about the ",,,,true" I put in the revOpenDatabase after the > password, Could this be it? Oh man. That was it. I think I love you. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Mar 22 12:02:34 2015 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 22 Mar 2015 18:02:34 +0200 Subject: Android on Speed Message-ID: <550EE79A.9060908@gmail.com> http://images.huffingtonpost.com/2015-02-19-2015021914.30.38.jpg Richmond. From jacque at hyperactivesw.com Sun Mar 22 12:53:07 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 22 Mar 2015 11:53:07 -0500 Subject: Speed on Android In-Reply-To: <6E358F40-BF8A-446A-AB04-9DF3CB4E289C@sahores-conseil.com> References: <001501d06408$f1f02eb0$d5d08c10$@net> <550DC000.5060107@fourthworld.com> <6E358F40-BF8A-446A-AB04-9DF3CB4E289C@sahores-conseil.com> Message-ID: <550EF373.3090903@hyperactivesw.com> On 3/22/2015 8:45 AM, Pierre Sahores wrote: > GET and POST are perfectly supported on both iOS and Android. If you > send them to an LC server script (connected to the DB in localhost > mode), you will no more have to compose with any latency anymore. Thanks Pierre. I'm actually doing that with another project and it works great. For this project I wanted to keep everything in the app if possible. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 22 12:57:23 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 22 Mar 2015 11:57:23 -0500 Subject: Speed on Android In-Reply-To: <000c01d064b6$22310dd0$66932970$@net> References: <550DB7BD.5060001@hyperactivesw.com> <000d01d06408$13f51850$3bdf48f0$@net> <550DEABC.7060009@hyperactivesw.com> <002901d06425$cdd99260$698cb720$@net> <550DF38E.80702@hyperactivesw.com> <002a01d06437$e5cd24b0$b1676e10$@net> <550E192D.6070806@hyperactivesw.com> <000c01d064b6$22310dd0$66932970$@net> Message-ID: <550EF473.8070208@hyperactivesw.com> On 3/22/2015 10:37 AM, Ralph DiMola wrote: > It was bugging me. I wasn't going to let it go. For which I am grateful. Thank you for being stubborn. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Mar 22 12:58:16 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 22 Mar 2015 11:58:16 -0500 Subject: Android on Speed In-Reply-To: <550EE79A.9060908@gmail.com> References: <550EE79A.9060908@gmail.com> Message-ID: <550EF4A8.2040406@hyperactivesw.com> On 3/22/2015 11:02 AM, Richmond wrote: > http://images.huffingtonpost.com/2015-02-19-2015021914.30.38.jpg Cool. :) I like the credit card. But what's it drawing? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From prothero at earthednet.org Sun Mar 22 13:06:06 2015 From: prothero at earthednet.org (Earthednet-wp) Date: Sun, 22 Mar 2015 10:06:06 -0700 Subject: Android on Speed In-Reply-To: <550EF4A8.2040406@hyperactivesw.com> References: <550EE79A.9060908@gmail.com> <550EF4A8.2040406@hyperactivesw.com> Message-ID: Snorting a couple lines of coke?? Bill William Prothero http://es.earthednet.org > On Mar 22, 2015, at 9:58 AM, "J. Landman Gay" wrote: > >> On 3/22/2015 11:02 AM, Richmond wrote: >> http://images.huffingtonpost.com/2015-02-19-2015021914.30.38.jpg > > Cool. :) I like the credit card. But what's it drawing? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Mar 22 13:10:03 2015 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 22 Mar 2015 19:10:03 +0200 Subject: Android on Speed In-Reply-To: References: <550EE79A.9060908@gmail.com> <550EF4A8.2040406@hyperactivesw.com> Message-ID: <550EF76B.7000603@gmail.com> On 22/03/15 19:06, Earthednet-wp wrote: > Snorting a couple lines of coke?? > Bill > > William Prothero > http://es.earthednet.org > > Snorting a couple of lines of code? Richmond. From paul at livecode.org Sun Mar 22 15:47:27 2015 From: paul at livecode.org (Paul Hibbert) Date: Sun, 22 Mar 2015 12:47:27 -0700 Subject: printPaperRectangle & LC7 In-Reply-To: References: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> <550DB5A8.7040301@hyperactivesw.com> <94CAD82E-048D-4436-83E8-FD06A9650BF1@icloud.com> <95BD033E-C008-450A-8B87-F29CDE8530FB@livecode.org> <57D58B0C-94EF-426C-8110-A10559DEA342@icloud.com> Message-ID: <10A1A3EA-F6EB-497B-9264-D72414BF80B4@livecode.org> You are just slowly coming to the same conclusions I did, apart from the fact that this is an Apple bug, not a LC bug, I'm sure if you continue with LC6.7.3 you will see the same problems occur, I just tested it again and saw the same problem, and in LC 5.5.5 too. It also happens in Apple's own Pages app. In my long reply I did explain one reliable way to use the print system by reversing the order that the dialogue boxes are shown, try it and I'm sure you will find it works fine, but it's just not so intuitive! Although at least in LC you can do it that way. on mouseUp answer printer as sheet if the result is "Cancel" then exit to top answer page Setup as sheet if the result is "Cancel" then exit to top print card end mouseUp I'm also quite confident the print "into rect" will be working in the next release, so that should overcome your original problem, but I'm also equally confident the issue you are seeing right now can't be fixed by LiveCode, however, I couldn't find a bug report to cover this issue, so I'll submit one just to see what LiveCode's answer is, and to see if there is any chance of a fix. As a point of interest, take a look at Apple's latest Preview app, the Page Setup is combined with the Print dialogue, I hope LC will have the option go the same way soon. Happy LiveCoding :) Paul > On Mar 22, 2015, at 4:20 AM, Terence Heaford wrote: > > >> On 22 Mar 2015, at 11:06, Terence Heaford wrote: >> >> How can I ensure that the default printer is showing in the Page Setup Dialog Box? > > > There appears to be a bug in LC 7?s implementation of the Page Setup Dialogue Box. > > > On LC 6.7.3 if you select a printer in the Page Setup Dialogue Box that selection is retained the next time you open it. > > > On LC 7.0.3 if you select a printer in the Page Setup Dialogue Box the selection is not retained as next time you visit it it says ?Any Printer? > > > This may only apply to Mac, as I have no means of testing on other systems. > > > All the best > > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at icloud.com Sun Mar 22 16:16:47 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Sun, 22 Mar 2015 20:16:47 +0000 Subject: printPaperRectangle & LC7 In-Reply-To: <10A1A3EA-F6EB-497B-9264-D72414BF80B4@livecode.org> References: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> <550DB5A8.7040301@hyperactivesw.com> <94CAD82E-048D-4436-83E8-FD06A9650BF1@icloud.com> <95BD033E-C008-450A-8B87-F29CDE8530FB@livecode.org> <57D58B0C-94EF-426C-8110-A10559DEA342@icloud.com> <10A1A3EA-F6EB-497B-9264-D72414BF80B4@livecode.org> Message-ID: > On 22 Mar 2015, at 19:47, Paul Hibbert wrote: > > You are just slowly coming to the same conclusions I did, apart from the fact that this is an Apple bug, not a LC bug, I'm sure if you continue with LC6.7.3 you will see the same problems occur, I just tested it again and saw the same problem, and in LC 5.5.5 too. It also happens in Apple's own Pages app. I am not convinced there is a bug at all (LC or Apple). My workflow: 1. Open PageSetup 2. Note in the PageSetup Format For: - On first run this says ?Any Printer? 3. I press OK to continue. 4. Continue with Answer Printer etc. 5. Printout is offset I think because printPaperRect picks up a set of default dimensions associated with ?Any Printer? Close down LiveCode and open my project again. Using the same workflow except for 2. 1. Open PageSetup 2. Select my default printer from the popup menu. 3 & 4. As before 5. Printout is correct I think because printPaperRect has now picked up the dimensions associated with my printer selection. I have done a little Cocoa programming before and think this is the way Apple intends it to work. If you want to read more, see this link. https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Printing/osxp_aboutprinting/osxp_aboutprt.html#//apple_ref/doc/uid/10000083-SW1 > As a point of interest, take a look at Apple's latest Preview app, the Page Setup is combined with the Print dialogue, I hope LC will have the option go the same way soon. Yes, that would solve the page setup all together. There is an image of the dialogue in the link above. All the best Terry From jacque at hyperactivesw.com Sun Mar 22 17:00:35 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 22 Mar 2015 16:00:35 -0500 Subject: printPaperRectangle & LC7 In-Reply-To: <10A1A3EA-F6EB-497B-9264-D72414BF80B4@livecode.org> References: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> <550DB5A8.7040301@hyperactivesw.com> <94CAD82E-048D-4436-83E8-FD06A9650BF1@icloud.com> <95BD033E-C008-450A-8B87-F29CDE8530FB@livecode.org> <57D58B0C-94EF-426C-8110-A10559DEA342@icloud.com> <10A1A3EA-F6EB-497B-9264-D72414BF80B4@livecode.org> Message-ID: <550F2D73.2070903@hyperactivesw.com> On 3/22/2015 2:47 PM, Paul Hibbert wrote: > I couldn't find a bug report to cover this issue, so I'll submit one > just to see what LiveCode's answer is, and to see if there is any > chance of a fix. It might be related to this one: Marked as "closed", probably because the cause couldn't be fixed but the documentation could. It isn't quite what you're describing but it's close. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From t.heaford at icloud.com Sun Mar 22 17:03:54 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Sun, 22 Mar 2015 21:03:54 +0000 Subject: printPaperRectangle & LC7 In-Reply-To: References: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> <550DB5A8.7040301@hyperactivesw.com> <94CAD82E-048D-4436-83E8-FD06A9650BF1@icloud.com> <95BD033E-C008-450A-8B87-F29CDE8530FB@livecode.org> <57D58B0C-94EF-426C-8110-A10559DEA342@icloud.com> <10A1A3EA-F6EB-497B-9264-D72414BF80B4@livecode.org> Message-ID: <10968362-5DCD-42AF-B195-847173638011@icloud.com> Paul & any others interested, Here is a snippet from the thread below that may help: > Particularly: "It?s important to keep in mind that the formatting printer does not specify the destination printer?that is, the printer to which the document is printed. The destination printer is specified in the Print dialog, which by default is the default printer in Print Center. The user can change the destination printer in the Print dialog, but changing the formatting printer in the Page Setup dialog does not change the destination printer.? http://www.cocoabuilder.com/archive/cocoa/179023-detecting-printer-changes-in-nspagelayout-question.html All the best Terry From dochawk at gmail.com Sun Mar 22 17:30:08 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 22 Mar 2015 14:30:08 -0700 Subject: 7.0 just let me paste from a PDF! In-Reply-To: References: Message-ID: On Sat, Mar 21, 2015 at 3:13 PM, Mike Bonner wrote: > Some pdf's are just that. An image of a page, so it would probably only > work for some pdfs. However, if you can get an entire page showing on > screen appearing as you like it, you might be able to set up a hotkey for > "import snapshot" with no other arguments, at which point you get a > crosshair cursor and can drag around the pdf page and end up with an image > that way. > This was *definitely *not a bitmapped image. Pure text/box/lines, and some code that copies single fields to others. You can see it at http://www.uscourts.gov/uscourts/FormsAndFees/Forms/Bankruptcy/B_22C2.pdf I got an image that was the full form, formatted and with the lines. I couldn't do anything with it in livecode, though. And I haven't managed to do it again :( -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From peterwawood at gmail.com Sun Mar 22 17:59:58 2015 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 23 Mar 2015 05:59:58 +0800 Subject: API In-Reply-To: <550ED867.7020001@gmail.com> References: <550ED867.7020001@gmail.com> Message-ID: <9A8437BA-B08D-436C-B4C9-04136D7C6BAA@gmail.com> Richmond I believe that Richard?s ?providing OS API access? is a simplification, probably an over simplification, of ?providing the ability to access the OS API?. As I understand, LiveCode Builder will allow us to write code which can directly call an OS API but, of course, we will need to define the OS API function in LiveCode Builder. I had a quick scan of the LiveCode Builder files in Github but didn?t see any examples so the facility may not even be in the current release . Regards Peter > On 22 Mar 2015, at 22:57, Richmond wrote: > > Richard Gaskin stated elsewhere; > > "LiveCode Builder is providing OS API access to us within our LiveCode scripts." > > Where is the documentation pertaining to this? > > The inbuilt Documentation in LC 8 for the Livecode Builder comes up with nothing after a search for 'API', > > the online Documentation is currently taking a holiday. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at livecode.org Sun Mar 22 18:08:40 2015 From: paul at livecode.org (Paul Hibbert) Date: Sun, 22 Mar 2015 15:08:40 -0700 Subject: printPaperRectangle & LC7 In-Reply-To: <10968362-5DCD-42AF-B195-847173638011@icloud.com> References: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> <550DB5A8.7040301@hyperactivesw.com> <94CAD82E-048D-4436-83E8-FD06A9650BF1@icloud.com> <95BD033E-C008-450A-8B87-F29CDE8530FB@livecode.org> <57D58B0C-94EF-426C-8110-A10559DEA342@icloud.com> <10A1A3EA-F6EB-497B-9264-D72414BF80B4@livecode.org> <10968362-5DCD-42AF-B195-847173638011@icloud.com> Message-ID: > Particularly: > > "It?s important to keep in mind that the formatting printer does not > specify the destination printer?that is, the printer to which the > document is printed. The destination printer is specified in the > Print dialog, which by default is the default printer in Print > Center. The user can change the destination printer in the Print > dialog, but changing the formatting printer in the Page Setup dialog > does not change the destination printer.? I guess that's where Apple and I don't agree, to my mind, setting the printer in Page Setup is a conscious choice and it should update the destination printer and therefore, the printerName, the printSettings in LC, but it does none of this, however it does update the printPaperRect. So in the case of an app that can display the Page Setup, to ensure the printPaperRect is as you expect, you would need to set the formatting printer in Page Setup, along with the paper size/options and orientation to match the destination printer that you are going to choose in the Print dialogue. Not doing any of this, as stated here? https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Printing/osxp_flexible/osxp_flexible.html#//apple_ref/doc/uid/10000083i-CH1-SW6 > "Some apps also provide users with the option to setup the page through the Page Setup pane as shown in Figure 1-5. Most of the time users shouldn?t need to perform any setup through this panel. So if your app doesn?t need it, make the user experience simpler by not providing a Page Setup command. ?Can cause unexpected results, as you found out. I guess the clue is in "if your app doesn?t need it"! I really can't see why anybody would want the formatting printer to be different from the destination printer, but that's probably just me. At least I guess there's no need for a bug report. :) Paul From rdimola at evergreeninfo.net Sun Mar 22 19:03:25 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 22 Mar 2015 19:03:25 -0400 Subject: Android on Speed In-Reply-To: References: <550EE79A.9060908@gmail.com> <550EF4A8.2040406@hyperactivesw.com> Message-ID: <001301d064f4$67494fc0$35dbef40$@net> Ok.... I get it now. The Academy Awards Oscar on the red carpet snorting coke. A metaphor for the Hollywood mindset. Shows you where my head is at. I was thinking some paint or something. I'm not that artistically creative, I'll stick to music and coding. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Earthednet-wp Sent: Sunday, March 22, 2015 1:06 PM To: How to use LiveCode Subject: Re: Android on Speed Snorting a couple lines of coke?? Bill William Prothero http://es.earthednet.org > On Mar 22, 2015, at 9:58 AM, "J. Landman Gay" wrote: > >> On 3/22/2015 11:02 AM, Richmond wrote: >> http://images.huffingtonpost.com/2015-02-19-2015021914.30.38.jpg > > Cool. :) I like the credit card. But what's it drawing? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sun Mar 22 21:34:19 2015 From: pete at lcsql.com (Peter Haworth) Date: Mon, 23 Mar 2015 01:34:19 +0000 Subject: [OT} Why Computer Color Is Broken Message-ID: http://digg.com/video/why-computer-color-is-broken?utm_source=digg&utm_medium=email From t.heaford at icloud.com Mon Mar 23 03:30:29 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Mon, 23 Mar 2015 07:30:29 +0000 Subject: printPaperRectangle & LC7 In-Reply-To: References: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> <550DB5A8.7040301@hyperactivesw.com> <94CAD82E-048D-4436-83E8-FD06A9650BF1@icloud.com> <95BD033E-C008-450A-8B87-F29CDE8530FB@livecode.org> <57D58B0C-94EF-426C-8110-A10559DEA342@icloud.com> <10A1A3EA-F6EB-497B-9264-D72414BF80B4@livecode.org> <10968362-5DCD-42AF-B195-847173638011@icloud.com> Message-ID: <21AE51A1-7983-46DD-96B2-8DCED1BEB1AC@icloud.com> > On 22 Mar 2015, at 22:08, Paul Hibbert wrote: > > I really can't see why anybody would want the formatting printer to be different from the destination printer, but that's probably just me. What seems to happen is that when you select a printer via. the print dialogue box subsequent visits to the page setup dialogue box now has the same printer selected. A lot of apps only provide access to the Page Setup in the menu. Those apps that provide access to printing from a Toolbar only seem to provide access to the Print Dialogue box from the Toolbar and not the Page Setup Dialogue box. I agree that it would be better if LC provided access to the new style Print Dialogue Box which also provides the Page Setup. Have you requested LC provide this? All the best Terry From toolbook at kestner.de Mon Mar 23 06:11:13 2015 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 23 Mar 2015 11:11:13 +0100 Subject: xmlerr, can't parse xml, Extra content at the end of the document Message-ID: <002501d06551$b20ae840$1620b8c0$@kestner.de> Hello, I am using since some time successfully XML files with LC 6.5.2. Now I wanted to allow the user to enter spaces in their names like ?Tiemo Hollmann?, which I am using as tag names in my xml file. Because spaces are not allowed characters in XML tag name I replace the spaces by ?$? before creating and saving the xml file and vice versa after reading the xml file. When trying to read such a xml file I get the error: ?xmlerr, can't parse xml, Extra content at the end of the document? though ?$? is a valid character for tag names in the xml spec. I tried the same with other chars like ??? or ?%? with the same error. The xml file looks like this: ... The LC line is: put revXMLCreateTreeFromFile(tXMLFile,true,true,true) into tID When deleting the ?$? signs from the tag names, I can import the file without error. I also tried it without encoding="UTF-8", but with the same error. There is no trailing char after the last tag name. Any idea what I am doing wrong? Thanks Tiemo From peter.brett at livecode.com Mon Mar 23 06:30:45 2015 From: peter.brett at livecode.com (Peter TB Brett) Date: Mon, 23 Mar 2015 11:30:45 +0100 Subject: API In-Reply-To: <9A8437BA-B08D-436C-B4C9-04136D7C6BAA@gmail.com> References: <550ED867.7020001@gmail.com> <9A8437BA-B08D-436C-B4C9-04136D7C6BAA@gmail.com> Message-ID: On 2015-03-22 22:59, Peter W A Wood wrote: > Richmond > > I believe that Richard?s ?providing OS API access? is a > simplification, probably an over simplification, of ?providing the > ability to access the OS API?. As I understand, LiveCode Builder will > allow us to write code which can directly call an OS API but, of > course, we will need to define the OS API function in LiveCode > Builder. > > I had a quick scan of the LiveCode Builder files in Github but didn?t > see any examples so the facility may not even be in the current > release . https://github.com/runrev/livecode/blob/develop/tests/lcb/_testrunner.lcb#L44 It's in there. Peter -- Dr Peter Brett LiveCode Engine Development Team From stgoldberg at aol.com Mon Mar 23 07:09:53 2015 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Mon, 23 Mar 2015 07:09:53 -0400 Subject: Movie problems in LiveCode Message-ID: <14c465318d0-4bd7-1bd0a@webprd-m97.mail.aol.com> I confirm bug 14435 reported by Devin Asay regarding the current problem with creating movies on Macintosh using LiveCode versions in the LC6-7 series. This is a significant problem since it appears impossible at this point to create standalones on the Mac that will display player movies on Windows. This is because in the LC 6-7 versions for Mac (preliminary version 8, too) once a relative path is placed in the Property Inspector filename window of a movie player on Mac it immediately reverts to the absolute path on closing the Inspector. I could not assign a relative path by script either. This makes it impossible with LC 6-7 versions to create a standalone on a Macintosh for Windows that contains a functioning player movie, since there is no relative path in the player Property Inspector, and Windows therefore doesn?t recognize the movie. There an additional problem: The later Mac versions of LC apparently will not display a Quicktime VR movie on the Mac. Can anyone display a Quicktime VR movie in the Mac LC 6-7 series? I use a lot of movies, and therefore have stayed with Mac LC version 5.5.3, which works fine. Interestingly, these problems do not exist with LiveCode for Windows. The movie player in Windows (Vista) with LC 7.0 remembers the relative path. Also in the Windows version there is no difficulty in displaying a Quicktime VR movie. And yet another movie problem: Trying to change the loc of a movieClip in its Property Inspector does not work (for me) on Mac or Windows in Mac versions 5.5.3 or later or in Windows 7.0 (the only Windows version I have tested); the movieClip always appears in the same location on the screen regardless of where the loc is set in the movieClip inspector. There is thus a triple whammy regarding movies, involving Quicktime player movies, Quicktime VR movies, and videoClips. I hope these problems are corrected soon, as movies are an important feature of LiveCode, particularly for educators. Stephen Goldberg, President Medmaster Publishing Co. Professor Emeritus Univ of Miami Miller School of Medicine www.medmaster.net stgoldberg at aol.com From peterwawood at gmail.com Mon Mar 23 07:21:45 2015 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 23 Mar 2015 19:21:45 +0800 Subject: API In-Reply-To: References: <550ED867.7020001@gmail.com> <9A8437BA-B08D-436C-B4C9-04136D7C6BAA@gmail.com> Message-ID: Thanks, Peter > On 23 Mar 2015, at 18:30, Peter TB Brett wrote: > > On 2015-03-22 22:59, Peter W A Wood wrote: >> Richmond >> I believe that Richard?s ?providing OS API access? is a >> simplification, probably an over simplification, of ?providing the >> ability to access the OS API?. As I understand, LiveCode Builder will >> allow us to write code which can directly call an OS API but, of >> course, we will need to define the OS API function in LiveCode >> Builder. >> I had a quick scan of the LiveCode Builder files in Github but didn?t >> see any examples so the facility may not even be in the current >> release . > > https://github.com/runrev/livecode/blob/develop/tests/lcb/_testrunner.lcb#L44 > > It's in there. > > Peter > > -- > Dr Peter Brett > LiveCode Engine Development Team > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From walter.h.brown at gmail.com Mon Mar 23 08:14:52 2015 From: walter.h.brown at gmail.com (Walt Brown) Date: Mon, 23 Mar 2015 08:14:52 -0400 Subject: [OT} Why Computer Color Is Broken In-Reply-To: References: Message-ID: Interesting, thank you. Walt On Sun, Mar 22, 2015 at 9:34 PM, Peter Haworth wrote: > > http://digg.com/video/why-computer-color-is-broken?utm_source=digg&utm_medium=email > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Mon Mar 23 10:32:22 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 23 Mar 2015 14:32:22 +0000 Subject: Data Grid graphics & buttons In-Reply-To: <81582A08-A824-4D39-94A2-F3D2DE794FE3@pacifier.com> References: <4BC19FE0-02CE-4D21-AAAF-D08B73C92065@pacifier.com> <99B33E4C-D866-4B45-9667-EA0B3838CF2C@pacifier.com> <81582A08-A824-4D39-94A2-F3D2DE794FE3@pacifier.com> Message-ID: <5BFA5DBE-1C06-423A-9C45-2461DEE53276@iotecdigital.com> It?s my understanding that if you want to do anything fancy with a data grid, forms are the way to go. A simple checkbox is one thing. Displaying different results depending on content is another. Bob S On Mar 8, 2015, at 23:06 , JB > wrote: Maybe I need to leant the Forms example first. Is that required to work on tables or am I just doing something really stupid? John Balgenorth On Mar 8, 2015, at 8:39 PM, JB > wrote: Thanks for the link, Mike! John Balgenorth On Mar 8, 2015, at 8:27 AM, Mike Bonner > wrote: Look here: http://lessons.runrev.com/m/datagrid/l/7311-how-do-i-customize-a-table-s-columns On Sat, Mar 7, 2015 at 10:54 PM, JB wrote: Is there a way to set a graphic or button in a data grid table column using a script? So if I want line 12 of column name to be a graphic can I change the behavior like I can with Haken?s script that modifies the number format and instead of displaying a different value for the number display either a graphic or button instead? John Balgenorth _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Mar 23 10:35:58 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 23 Mar 2015 14:35:58 +0000 Subject: Toggling a Single Radio Button In-Reply-To: References: <5487386D.4080803@gmail.com> <54DABC1F.3000303@LinkIt.Com> <54DB5694.1080608@LinkIt.Com> <54FDED62.5000004@LinkIt.Com> Message-ID: I?ve seen radio buttons set up to work like checkboxes before, mostly in web browser built into appliances, and thought what an odd way to use a checkbox! I agree that single on/off choices should be checkboxes, and multiple choice should be a group of radio buttons. Bob S > On Mar 9, 2015, at 12:02 , Klaus major-k wrote: > > Hi Ray, > >> Am 09.03.2015 um 19:58 schrieb Ray : >> >> Does anybody know how to toggle a single radio button so it behaves like a check box? That is, if it's highlighted when you click it the button becomes dehighlighted and vice versa? >> This does not work: >> on mouseUp >> if the hilite of me = true then >> set the hilite of me to false >> else set the hilite of me to true >> end mouseUp >> >> Any ideas for this simple task? > > yep :-) > > 1. UNCHECK "autohilite" for your lonesome radio button! > 2. Now your script should work, or just use this one-liner: > > on mouseUp > set the hilite of me to NOT (the hilite of me) > end mouseUp > :-) > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Mon Mar 23 11:07:21 2015 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 23 Mar 2015 17:07:21 +0200 Subject: [OT} Why Computer Color Is Broken In-Reply-To: References: Message-ID: I love the last sentence : "shouldn't beauty just be the default ?" > http://digg.com/video/why-computer-color-is-broken?utm_source=digg&utm_medium=email > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Mar 23 13:02:06 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 23 Mar 2015 12:02:06 -0500 Subject: Movie problems in LiveCode In-Reply-To: <14c465318d0-4bd7-1bd0a@webprd-m97.mail.aol.com> References: <14c465318d0-4bd7-1bd0a@webprd-m97.mail.aol.com> Message-ID: <5510470E.30009@hyperactivesw.com> On 3/23/2015 6:09 AM, stgoldberg at aol.com wrote: > This is because in the LC 6-7 versions for Mac (preliminary version > 8, too) once a relative path is placed in the Property Inspector > filename window of a movie player on Mac it immediately reverts to > the absolute path on closing the Inspector. Check the preferences setting in the Files and Memory pane. If you have set the preference to "always use absolute file paths for images" it may apply to movies too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Mon Mar 23 15:19:23 2015 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Mar 2015 21:19:23 +0200 Subject: API In-Reply-To: References: <550ED867.7020001@gmail.com> <9A8437BA-B08D-436C-B4C9-04136D7C6BAA@gmail.com> Message-ID: <5510673B.4030903@gmail.com> On 23/03/15 12:30, Peter TB Brett wrote: > On 2015-03-22 22:59, Peter W A Wood wrote: >> Richmond >> >> I believe that Richard?s ?providing OS API access? is a >> simplification, probably an over simplification, of ?providing the >> ability to access the OS API?. As I understand, LiveCode Builder will >> allow us to write code which can directly call an OS API but, of >> course, we will need to define the OS API function in LiveCode >> Builder. >> >> I had a quick scan of the LiveCode Builder files in Github but didn?t >> see any examples so the facility may not even be in the current >> release . > > https://github.com/runrev/livecode/blob/develop/tests/lcb/_testrunner.lcb#L44 > > > It's in there. > > Peter > Obviously there is a socking great hole in my education as I cannot for the life of me see how I can use that information: "foreign handler __system(in Command as ZStringNative) returns CInt binds to "system" handler Shell(in pCommand as String) returns Number variable tExitStatus as Number put __system(pCommand) into tExitStatus if tExitStatus is in [0, -1] then return tExitStatus end if if the operating system is "linux" then -- Basically the WEXITSTATUS macro from C... return tExitStatus shifted right by 8 bitwise else return tExitStatus end if end handler" to hook onto an API . . . Richmond. From richmondmathewson at gmail.com Mon Mar 23 15:22:09 2015 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Mar 2015 21:22:09 +0200 Subject: [OT] Pixar's Renderman Message-ID: <551067E1.8080101@gmail.com> http://renderman.pixar.com/view/non-commercial-renderman Free. Richmond. From ambassador at fourthworld.com Mon Mar 23 15:30:21 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 23 Mar 2015 12:30:21 -0700 Subject: [ANN]SoCal LUG Mtg - NEW LOCATION - Apr 2, Pasadena In-Reply-To: <5510470E.30009@hyperactivesw.com> References: <5510470E.30009@hyperactivesw.com> Message-ID: <551069CD.8000702@fourthworld.com> The next meeting of the SoCal LiveCode User Group is coming up on Thursday, April 2 in Pasadena at 7PM. IMPORTANT: The meeting is being held at a new location, Du-par's Restaurant, on S. Lake Avenue near Cordova Street: Du-par's Pasadena 214 S. Lake Ave. Pasadena, CA 91101 Du-par's management is giving us the back room for our meeting. Meeting details in the forum: Hope to see you there - -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From colinholgate at gmail.com Mon Mar 23 16:08:05 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 23 Mar 2015 16:08:05 -0400 Subject: [OT] Pixar's Renderman In-Reply-To: <551067E1.8080101@gmail.com> References: <551067E1.8080101@gmail.com> Message-ID: <2BDA7F86-025F-4AEA-AE2A-BC44C090A02A@gmail.com> Way OT, but of great interest. Thanks! > On Mar 23, 2015, at 3:22 PM, Richmond wrote: > > http://renderman.pixar.com/view/non-commercial-renderman > > Free. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at icloud.com Mon Mar 23 16:39:37 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Mon, 23 Mar 2015 20:39:37 +0000 Subject: printPaperRectangle & LC7 In-Reply-To: <21AE51A1-7983-46DD-96B2-8DCED1BEB1AC@icloud.com> References: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> <550DB5A8.7040301@hyperactivesw.com> <94CAD82E-048D-4436-83E8-FD06A9650BF1@icloud.com> <95BD033E-C008-450A-8B87-F29CDE8530FB@livecode.org> <57D58B0C-94EF-426C-8110-A10559DEA342@icloud.com> <10A1A3EA-F6EB-497B-9264-D72414BF80B4@livecode.org> <10968362-5DCD-42AF-B195-847173638011@icloud.com> <21AE51A1-7983-46DD-96B2-8DCED1BEB1AC@icloud.com> Message-ID: Paul, I think I?ve figured out how to make the settings stick and with the correct dimensions: There is some poor dialogue box design from Apple involved so please be patient while I try to explain. Firstly open a Page Setup Dialogue Box. There is a pop up menu at the top titled Settings which has 2 items in it. 1. Page Attributes 2. Save as Default Select all the settings you require: Orientation Paper Size Scale and choose your printer in Format For: DO NOT PRESS OK YET Now go to the popup menu titled Settings and select ?Save as Default? Now Press OK. You can now quit LiveCode. Reopen LiveCode and print using something like: on mouseUp answer printer as sheet if the result = "cancel" then exit mouseUp end if send "printChart" to group "generalChart" end mouseUp I have found that LC/Printer has maintained it?s settings from the previous session. I suspect that using the Page Setup Dialogue Box to apply settings to different printers will result in those being applied if you select a different printer in the answer printer dialogue box. Hope this helps Terry From mikedoub at gmail.com Mon Mar 23 16:41:46 2015 From: mikedoub at gmail.com (Michael Doub) Date: Mon, 23 Mar 2015 16:41:46 -0400 Subject: API In-Reply-To: <5510673B.4030903@gmail.com> References: <550ED867.7020001@gmail.com> <9A8437BA-B08D-436C-B4C9-04136D7C6BAA@gmail.com> <5510673B.4030903@gmail.com> Message-ID: <55107A8A.9010106@gmail.com> Richmond, This maybe the blind leading the blind, but here is my take. Hopefully someone will correct me. Take a look at ~/livecode/libscript/src/foreign.mlc. Here is where foreign types are defined. Now take a look at ~/livecode/libscript/src/math.mlc Note that "use com.livecode.foreign" pulls in the type definitions Just after the "use com.livecode.foreign" statement you can see where the foreign handlers are being defined and their arguments are being associated with data types. I have not quite figured out the details of the bind directive, but I think it is providing direction to the compiler as to where to find the foreign code. So line 38 sets up the arguments and data types for MCMathEvalSinNumber. Now look at line 123. This looks like where the sin operator syntax is being defined for the LCB compiler. Line 129 looks like where the _LCS_ interface for the sin function is being defined. 131 is where the native binding is happening between LCS and the native function MCMathEvalSinNumber. Between all of these pieces is where the magic happen. So if you assume that i am even remotely close to being correct, let's go look at ~/livecode/tests/lcb/_testrunner.lcb line 20 is pulling in the type definitions line 44 is defining the mapping of the parameter for the __system function. Note that the binding is different. line 46 is defining the Shell command for LCS line 48 is where the magic is taking place. I am still trying to figure out how the "bind to ... " works. Some where there has to be a linkage between this "bind" step and the OS level library, So at run time, the library is loaded into memory and the final address resolution takes place. I hope that someone will confirm/correct/ or otherwise educate. Regards, Mike On 3/23/15 3:19 PM, Richmond wrote: > On 23/03/15 12:30, Peter TB Brett wrote: >> On 2015-03-22 22:59, Peter W A Wood wrote: >>> Richmond >>> >>> I believe that Richard?s ?providing OS API access? is a >>> simplification, probably an over simplification, of ?providing the >>> ability to access the OS API?. As I understand, LiveCode Builder will >>> allow us to write code which can directly call an OS API but, of >>> course, we will need to define the OS API function in LiveCode >>> Builder. >>> >>> I had a quick scan of the LiveCode Builder files in Github but didn?t >>> see any examples so the facility may not even be in the current >>> release . >> >> https://github.com/runrev/livecode/blob/develop/tests/lcb/_testrunner.lcb#L44 >> >> >> It's in there. >> >> Peter >> > > Obviously there is a socking great hole in my education as I cannot > for the life of me > see how I can use that information: > > "foreign handler __system(in Command as ZStringNative) returns CInt > binds to "system" > handler Shell(in pCommand as String) returns Number > variable tExitStatus as Number > put __system(pCommand) into tExitStatus > if tExitStatus is in [0, -1] then > return tExitStatus > end if > if the operating system is "linux" then > -- Basically the WEXITSTATUS macro from C... > return tExitStatus shifted right by 8 bitwise > else > return tExitStatus > end if > end handler" > > to hook onto an API . . . > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From admin at FlexibleLearning.com Mon Mar 23 17:11:23 2015 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Mon, 23 Mar 2015 21:11:23 -0000 Subject: [JOB] SetupBuilder Message-ID: <005d01d065ad$ec318400$c4948c00$@FlexibleLearning.com> If anyone has experience of setupBuilder installer software or similar, please contact me off-list... I have an on-going job for you! Best regards Hugh Senior FLCo From kee at kagi.com Mon Mar 23 17:29:52 2015 From: kee at kagi.com (kee nethery) Date: Mon, 23 Mar 2015 14:29:52 -0700 Subject: xmlerr, can't parse xml, Extra content at the end of the document In-Reply-To: <002501d06551$b20ae840$1620b8c0$@kestner.de> References: <002501d06551$b20ae840$1620b8c0$@kestner.de> Message-ID: <72264A73-14C8-431C-814A-F79488D65F4E@kagi.com> Are you confusing data with labels? kee Normally you?d do something like this where the data is not part of the labels (the indents are just for readability): Tiemo Hollmann toolbook at kestner.de Kee Nethery kee at ieee.org > On Mar 23, 2015, at 3:11 AM, Tiemo Hollmann TB wrote: > > Hello, > > I am using since some time successfully XML files with LC 6.5.2. Now I > wanted to allow the user to enter spaces in their names like ?Tiemo > Hollmann?, which I am using as tag names in my xml file. Because spaces are > not allowed characters in XML tag name I replace the spaces by ?$? before > creating and saving the xml file and vice versa after reading the xml file. > When trying to read such a xml file I get the error: ?xmlerr, can't parse > xml, Extra content at the end of the document? though ?$? is a valid > character for tag names in the xml spec. I tried the same with other chars > like ??? or ?%? with the same error. The xml file looks like this: > > > > > > ... > > > > The LC line is: put revXMLCreateTreeFromFile(tXMLFile,true,true,true) into > tID > > When deleting the ?$? signs from the tag names, I can import the file > without error. I also tried it without encoding="UTF-8", but with the same > error. There is no trailing char after the last tag name. > > Any idea what I am doing wrong? > > Thanks > > Tiemo > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Mon Mar 23 20:01:59 2015 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 23 Mar 2015 17:01:59 -0700 Subject: [OT] Pixar's Renderman In-Reply-To: <2BDA7F86-025F-4AEA-AE2A-BC44C090A02A@gmail.com> References: <551067E1.8080101@gmail.com> <2BDA7F86-025F-4AEA-AE2A-BC44C090A02A@gmail.com> Message-ID: Colin, I?m guessing you?ve already seen this other OT news, but for those that haven?t: Unreal Engine 4 is now available to everyone for free https://www.unrealengine.com/blog/ue4-is-free Corona SDK is now completely free https://coronalabs.com/ Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/23/15, 1:08 PM, "Colin Holgate" wrote: >Way OT, but of great interest. Thanks! > > >> On Mar 23, 2015, at 3:22 PM, Richmond >>wrote: >> >> http://renderman.pixar.com/view/non-commercial-renderman >> >> Free. >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From colinholgate at gmail.com Mon Mar 23 20:23:44 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Mon, 23 Mar 2015 20:23:44 -0400 Subject: [OT] Pixar's Renderman In-Reply-To: References: <551067E1.8080101@gmail.com> <2BDA7F86-025F-4AEA-AE2A-BC44C090A02A@gmail.com> Message-ID: Yes, Unreal is free, but you owe them 5% of your royalties if you make over $3k. Unity 5 is free if you make less than $100k. > On Mar 23, 2015, at 8:01 PM, Scott Rossi wrote: > > Colin, I?m guessing you?ve already seen this other OT news, but for those > that haven?t: > > Unreal Engine 4 is now available to everyone for free > > https://www.unrealengine.com/blog/ue4-is-free > > > Corona SDK is now completely free > > https://coronalabs.com/ > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 3/23/15, 1:08 PM, "Colin Holgate" wrote: > >> Way OT, but of great interest. Thanks! >> >> >>> On Mar 23, 2015, at 3:22 PM, Richmond >>> wrote: >>> >>> http://renderman.pixar.com/view/non-commercial-renderman >>> >>> Free. >>> >>> Richmond. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Mon Mar 23 20:32:30 2015 From: prothero at earthednet.org (William Prothero) Date: Mon, 23 Mar 2015 17:32:30 -0700 Subject: Question re large project organization Message-ID: <6A5A8296-2744-46B7-94B0-9F652856EBEE@earthednet.org> I have a bunch of stacks that make up a larger application that I?m setting up to be easily expandable. There is a splash stack that loads an index stack, which then loads various other stacks as needed. When I make the standalone, it only encrypts the splash stack. The other stacks are in raw livecode unprotected format. Do I have to encrypt each of these separately? This is starting to look very cumbersome. Any advice would be appreciated. Best, Bill William A. Prothero http://es.earthednet.org/ From paul at livecode.org Mon Mar 23 22:52:39 2015 From: paul at livecode.org (Paul Hibbert) Date: Mon, 23 Mar 2015 19:52:39 -0700 Subject: printPaperRectangle & LC7 In-Reply-To: References: <96C8D803-EB34-4915-835D-329CA6513283@icloud.com> <550DB5A8.7040301@hyperactivesw.com> <94CAD82E-048D-4436-83E8-FD06A9650BF1@icloud.com> <95BD033E-C008-450A-8B87-F29CDE8530FB@livecode.org> <57D58B0C-94EF-426C-8110-A10559DEA342@icloud.com> <10A1A3EA-F6EB-497B-9264-D72414BF80B4@livecode.org> <10968362-5DCD-42AF-B195-847173638011@icloud.com> <21AE51A1-7983-46DD-96B2-8DCED1BEB1AC@icloud.com> Message-ID: <1944BF3B-CD51-46CA-B537-4E86800B52E7@livecode.org> Thank you for the notes, I have tried setting the defaults, but unfortunately it still can't do what I need, I have 5 different printers and all but two have very different paper margins. I realise now that it's not LC's fault when things go awry, but at least I found an odd workaround for the current problem by calling the Page Setup after the Print dialogue, it's a bit klunky, but at least everything lines up correctly that way. I've had notice today that the print card? 'into pageRect' should be fixed in LC7.0.4-rc-3 which is currently awaiting build. Paul > On Mar 23, 2015, at 1:39 PM, Terence Heaford wrote: > > Paul, > > I think I?ve figured out how to make the settings stick and with the correct dimensions: > > There is some poor dialogue box design from Apple involved so please be patient while I try to explain. > > Firstly open a Page Setup Dialogue Box. > > There is a pop up menu at the top titled Settings which has 2 items in it. > > 1. Page Attributes > 2. Save as Default > > Select all the settings you require: > > Orientation > Paper Size > Scale > > and choose your printer in Format For: > > DO NOT PRESS OK YET > > Now go to the popup menu titled Settings and select ?Save as Default? > > Now Press OK. > > You can now quit LiveCode. > > Reopen LiveCode and print using something like: > > on mouseUp > > answer printer as sheet > if the result = "cancel" then > exit mouseUp > end if > > send "printChart" to group "generalChart" > > end mouseUp > > I have found that LC/Printer has maintained it?s settings from the previous session. > > I suspect that using the Page Setup Dialogue Box to apply settings to different printers will result in those being applied if you select a different printer in the answer printer dialogue box. > > > Hope this helps > > > Terry > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Tue Mar 24 00:16:12 2015 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 24 Mar 2015 15:16:12 +1100 Subject: mergExt iOS 8.2 support, mergAV update, new free externals Message-ID: <787D455F-4126-40F4-965E-B0DBB49D360D@sweattechnologies.com> Hi LiveCoders Today I have updated all my externals to support building against the iOS 8.2 SDK in Xcode 6.2. mergAV has a few new features - the ability to list and choose other audio and video inputs rather than just the front and rear camera - mergAVPick will now save the image metadata if you are picking an image. This is something you can't do with the command in the engine for picking a photo. - mergAVPick now has an extra parameter so you can get the original file data. This uses the Photos framework so is iOS 8+ - There's a new command for saving an image to the image library so that it retains it's metadata. Also not possible with the command in the engine. There is also to new externals in the free section: - mergDevice - just one function to get the device name - mergScreen - get and set the screen brightness Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From lfredricks at proactive-intl.com Tue Mar 24 02:06:04 2015 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 23 Mar 2015 23:06:04 -0700 Subject: [OT] Pixar's Renderman In-Reply-To: References: <551067E1.8080101@gmail.com><2BDA7F86-025F-4AEA-AE2A-BC44C090A02A@gmail.com> Message-ID: <60AB6E4B95FF4A3986E27BC91E51EE5A@GATEWAY> > Yes, Unreal is free, but you owe them 5% of your royalties if > you make over $3k. Unity 5 is free if you make less than $100k. Unity really kicked this off; I think Unreal's license is probably the least complex, but most of the other companies who are doing this sort of thing have some kind of limitation that will motivate you to buying a paid for commercial version. I am not sure about 5, but previous versions of Unity you needed to pay a fairly steep fee to distribute mobile games. We've been giving away free versions of Valentina Studio, and (limited license) free versions of Valentina Server for quite some time now. It is a very effective strategy as long as you have a way to get people to want to give you money for something more. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From revdev at pdslabs.net Tue Mar 24 02:17:46 2015 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 23 Mar 2015 23:17:46 -0700 Subject: Question re large project organization In-Reply-To: <6A5A8296-2744-46B7-94B0-9F652856EBEE@earthednet.org> References: <6A5A8296-2744-46B7-94B0-9F652856EBEE@earthednet.org> Message-ID: <5511018A.7000006@pdslabs.net> Hi Bill, In the IDE, the 'Stacks' panel of the 'Standalone Application Settings' window lets you include them as stacks in your standalone. You would of course do this in the settings for your splash app. As you add stacks to the list, you will see (bottom right) they can be password protected at build time. It makes life easier! That's what I usually do. Phil Davis On 3/23/15 5:32 PM, William Prothero wrote: > I have a bunch of stacks that make up a larger application that I?m setting up to be easily expandable. There is a splash stack that loads an index stack, which then loads various other stacks as needed. > > When I make the standalone, it only encrypts the splash stack. The other stacks are in raw livecode unprotected format. Do I have to encrypt each of these separately? This is starting to look very cumbersome. > > Any advice would be appreciated. > Best, > Bill > > William A. Prothero > http://es.earthednet.org/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis From colinholgate at gmail.com Tue Mar 24 02:25:12 2015 From: colinholgate at gmail.com (Colin Holgate) Date: Tue, 24 Mar 2015 02:25:12 -0400 Subject: [OT] Pixar's Renderman In-Reply-To: <60AB6E4B95FF4A3986E27BC91E51EE5A@GATEWAY> References: <551067E1.8080101@gmail.com> <2BDA7F86-025F-4AEA-AE2A-BC44C090A02A@gmail.com> <60AB6E4B95FF4A3986E27BC91E51EE5A@GATEWAY> Message-ID: It changed with 5. Now there is no royalty payment at all. Also, for console games you don?t have to pay Unity, if you have a deal with the console maker, that?s good enough. > On Mar 24, 2015, at 2:06 AM, Lynn Fredricks wrote: > > I am not sure about 5, but previous versions of Unity > you needed to pay a fairly steep fee to distribute mobile games. From toolbook at kestner.de Tue Mar 24 03:35:08 2015 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 24 Mar 2015 08:35:08 +0100 Subject: AW: xmlerr, can't parse xml, Extra content at the end of the document In-Reply-To: <72264A73-14C8-431C-814A-F79488D65F4E@kagi.com> References: <002501d06551$b20ae840$1620b8c0$@kestner.de> <72264A73-14C8-431C-814A-F79488D65F4E@kagi.com> Message-ID: <002501d06605$0e6739a0$2b35ace0$@kestner.de> Hi Kee, yes, I once thought it would be easier to access the data, with creating "named" nodes, but you are right, obviously that wasn't a good idea and I will probably restructure my xml as you pointed it out. Thank you for bringing me back on track again Tiemo -----Urspr?ngliche Nachricht----- Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag von kee nethery Gesendet: Montag, 23. M?rz 2015 22:30 An: How to use LiveCode Betreff: Re: xmlerr, can't parse xml, Extra content at the end of the document Are you confusing data with labels? kee Normally you?d do something like this where the data is not part of the labels (the indents are just for readability): Tiemo Hollmann toolbook at kestner.de Kee Nethery kee at ieee.org > On Mar 23, 2015, at 3:11 AM, Tiemo Hollmann TB wrote: > > Hello, > > I am using since some time successfully XML files with LC 6.5.2. Now I > wanted to allow the user to enter spaces in their names like ?Tiemo > Hollmann?, which I am using as tag names in my xml file. Because > spaces are not allowed characters in XML tag name I replace the spaces > by ?$? before creating and saving the xml file and vice versa after reading the xml file. > When trying to read such a xml file I get the error: ?xmlerr, can't > parse xml, Extra content at the end of the document? though ?$? is a > valid character for tag names in the xml spec. I tried the same with > other chars like ??? or ?%? with the same error. The xml file looks like this: > > > > > > ... > > > > The LC line is: put revXMLCreateTreeFromFile(tXMLFile,true,true,true) > into tID > > When deleting the ?$? signs from the tag names, I can import the file > without error. I also tried it without encoding="UTF-8", but with the > same error. There is no trailing char after the last tag name. > > Any idea what I am doing wrong? > > Thanks > > Tiemo > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From peter.brett at livecode.com Tue Mar 24 05:11:01 2015 From: peter.brett at livecode.com (Peter TB Brett) Date: Tue, 24 Mar 2015 09:11:01 +0000 Subject: API In-Reply-To: <55107A8A.9010106@gmail.com> References: "\"<550ED867.7020001@gmail.com>" <9A8437BA-B08D-436C-B4C9-04136D7C6BAA@gmail.com>" <5510673B.4030903@gmail.com> <55107A8A.9010106@gmail.com> Message-ID: <5dd3a93db1a13d139e748ceaaaadc07f@livecode.com> On 2015-03-23 20:41, Michael Doub wrote: > I am still trying to figure out how the "bind to ... " works. Some > where there has to be a linkage between this "bind" step and the OS > level library, So at run time, the library is loaded into memory and > the final address resolution takes place. This is more-or-less correct. > I hope that someone will confirm/correct/ or otherwise educate. In LiveCode 8 DP 1: 1. Open the dictionary 2. Select the small "Guides" tab at the top of the window. 3. Select "Extending LiveCode" from the drop-down menu at the top left. 4. Select "Specifications" from the menu on the left. 5. Scroll down, and you'll eventually find a "Foreign Handlers" section. This section explains the current foreign function interface (FFI) available to LiveCode Builder developers. From a brief glance, the language reference manual in DP 1 is slightly out-of-date (for example, most of the type names are now TitleCase rather than lowercase). Please file bugs if you find any other ways that the documentation doesn't match the behaviour. Peter -- Dr Peter Brett LiveCode Engine Development Team From t.heaford at icloud.com Tue Mar 24 05:38:05 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Tue, 24 Mar 2015 09:38:05 +0000 Subject: Bug in LC Page Setup Dialogue Box in LC 6.7.3 and 7.0.3 OSX Message-ID: <208C505F-1F28-4B49-BAD9-098A87C0F7DB@icloud.com> When you call on myPageSetup answer page setup as sheet if the result = "cancel" then exit myPageSetup end if end myPageSetup and select ?Save As Default? from the ?Settings? popup menu the selection does not stick and immediately reverts back to ?Page Attributes?. Having checked the correct function of this in Apples Pages which does stick when selecting ?Save As Default? I have concluded this is a Bug. All the best Terry From dunbarx at aol.com Tue Mar 24 09:13:54 2015 From: dunbarx at aol.com (dunbarx) Date: Tue, 24 Mar 2015 06:13:54 -0700 (PDT) Subject: Bug in LC Page Setup Dialogue Box in LC 6.7.3 and 7.0.3 OSX In-Reply-To: <208C505F-1F28-4B49-BAD9-098A87C0F7DB@icloud.com> References: <208C505F-1F28-4B49-BAD9-098A87C0F7DB@icloud.com> Message-ID: <1427202834068-4690543.post@n4.nabble.com> I tried to make that option stick in several other apps, simply by using the "page setup..." menuItem, and none do. I would say it is a bug, but not particularly a LC bug. Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Bug-in-LC-Page-Setup-Dialogue-Box-in-LC-6-7-3-and-7-0-3-OSX-tp4690542p4690543.html Sent from the Revolution - User mailing list archive at Nabble.com. From t.heaford at icloud.com Tue Mar 24 09:35:42 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Tue, 24 Mar 2015 13:35:42 +0000 Subject: Bug in LC Page Setup Dialogue Box in LC 6.7.3 and 7.0.3 OSX In-Reply-To: <1427202834068-4690543.post@n4.nabble.com> References: <208C505F-1F28-4B49-BAD9-098A87C0F7DB@icloud.com> <1427202834068-4690543.post@n4.nabble.com> Message-ID: > On 24 Mar 2015, at 13:13, dunbarx wrote: > > I tried to make that option stick in several other apps, simply by using the > "page setup..." menuItem, and none do. I would say it is a bug, but not > particularly a LC bug. I agree, it may not be a LC bug but?.. Went back to Pages again and this time it did not stick either but?. That may be something to do with LC as the Page Setup dialogue is a system wide dialogue and who knows if LC has done something that may corrupt it. Needs LC to pass comment really. All the best Terry From stgoldberg at aol.com Tue Mar 24 10:54:39 2015 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Tue, 24 Mar 2015 10:54:39 -0400 Subject: Movie problems in LiveCode Message-ID: <14c4c4732cb-3aa7-1331@webprd-m80.mail.aol.com> Thanks for the suggestion Jacquie. Unfortunately, the problem with relative paths resetting to absolute remains even if ?always use absolute file paths for images? is unchecked. There appears to be a true problem with movies in the LC 6-7 series on Macintosh. It appears impossible to set a relative movie path on the Macintosh in the LC 6-7 series, and thus in Macintosh builds for Windows, the player movies will not play. As mentioned, I could not even get a Quicktime VR to play on the LC 6-7 series on Macintosh (Windows works well). Can anyone get a Quicktime VR movie to play on Macintosh in the LC 6-7 series? Everything worked fine in LC 5.5.3 for Macintosh. Also, videoClips appears to be broken, as the videoClips property inspector will not set the loc of the movie. Does anyone have an idea of how high on the priorities list the movie problem is? I would think that a basic control like the Player ought to be working. Stephen Goldberg www.medmaster.net >Date: Mon, 23 Mar 2015 12:02:06 -0500 >From: "J. Landman Gay" > >To: How to use LiveCode > >Subject: Re: Movie problems in >LiveCode >Message-ID: <5510470E.30009 at hyperactivesw.com> >Content-Type: >text/plain; charset=utf-8; format=flowed >Check the preferences >setting in the Files and Memory pane. If you have >set the preference to >?always use absolute file paths for images" it may .apply to movies too. >Jacqueline Landman Gay >HyperActiveSoftware | >http://www.hyperactivesw.com >Date: Mon, 23 Mar 2015 07:09:53 -0400 >From: "stgoldberg at aol.com" >To: use-livecode at lists.runrev.com >Subject: Movie problems >in LiveCode >Message-ID: <14c465318d0-4bd7-1bd0a at webprd-m97.mail.aol.com> >Content-Type: text/plain; >charset=utf-8 >I confirm bug 14435 reported by Devin Asay regarding the >current problem with creating movies on Macintosh using LiveCode versions in the >LC6-7 series. This is a significant problem since it appears impossible at this >point to create standalones on the Mac that will display player movies on >Windows. This is because in the LC 6-7 versions for Mac (preliminary version 8, >too) once a relative path is placed in the Property Inspector filename window of a movie player on Mac it immediately reverts to the absolute >path on closing the Inspector. I could not assign a relative path by >script either. This makes it >impossible with LC 6-7 versions to create a standalone on a Macintosh for >Windows that contains a functioning player movie, since there is no relative >path in the player Property Inspector, and Windows therefore doesn?t recognize >the movie. >There an additional problem: The later Mac versions of LC >apparently will not display a Quicktime VR movie on the Mac. Can anyone display >a Quicktime VR movie in the Mac LC 6-7 series? > I use a lot of movies, and >therefore have stayed with Mac LC version 5.5.3, which works >fine. >Interestingly, these problems do not exist with LiveCode for Windows. >The movie player in Windows (Vista) with LC 7.0 remembers the relative path. >Also in the Windows version there is no difficulty in displaying a Quicktime VR movie. And yet another movie problem: Trying to change the loc of a movieClip in its Property Inspector does not work (for me) on Mac or Windows in Mac versions 5.5.3 or later or in Windows 7.0 (the only Windows version I have tested); the movieClip always appears in the same location on the screen regardless of where the loc is set in the movieClip inspector. >There is thus >a triple whammy regarding movies, involving Quicktime player movies, Quicktime >VR movies, and videoClips. I hope these problems are corrected soon, as movies >are an important feature of LiveCode, particularly for educators. >Stephen >Goldberg, President >Medmaster Publishing Co. >Professor Emeritus >Univ of Miami >Miller School of >Medicine >www.medmaster.net >stgoldberg at aol.com From prothero at earthednet.org Tue Mar 24 10:55:42 2015 From: prothero at earthednet.org (William Prothero) Date: Tue, 24 Mar 2015 07:55:42 -0700 Subject: Question re large project organization In-Reply-To: <5511018A.7000006@pdslabs.net> References: <6A5A8296-2744-46B7-94B0-9F652856EBEE@earthednet.org> <5511018A.7000006@pdslabs.net> Message-ID: <51137558-7E9E-4CA7-A251-09DA33D3C586@earthednet.org> Phil: Tnx for the info. I did try the ?password protect? checkbox and put in a password, but there must be something I?m missing because after making a standalone, the password checkbox and entered password has been set back to blank in the ?Standalone Settings? ?stacks? panel, and the stacks that I specified have not been password protected. I can open the source stack and compare it to one generated for the app, and they are the same (in a text editor) and still have the ?.livecode? extension. Of course, the main ?splash? stack has been encrypted, as expected. Is there some other setting I need to make, to enable this? When I create the standalone, only the ?splash? stack is open, but ?. I?m using LiveCode 7.0.3, commercial version on Mac Yosemite. Regards, Bill > On Mar 23, 2015, at 11:17 PM, Phil Davis > wrote: > > Hi Bill, > > In the IDE, the 'Stacks' panel of the 'Standalone Application Settings' window lets you include them as stacks in your standalone. You would of course do this in the settings for your splash app. As you add stacks to the list, you will see (bottom right) they can be password protected at build time. It makes life easier! That's what I usually do. > > Phil Davis From dixonja at hotmail.co.uk Tue Mar 24 11:13:22 2015 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 24 Mar 2015 15:13:22 +0000 Subject: One of our scripts is missing !...:-) Message-ID: Well, I've read about it before but I guess I've always thought it will never happen to me... mmm, well today it has.. I open the script of a stack that had about 100+ lines in it and it is not there anymore ..:-( Close the script editor and try again, then maybe a few lines show but I am unable to scroll to the top of the script... Can someone please tell me where it might be hiding ?... and perhaps why it has decided to hide ?... and finally how to stop it hiding in the future ?..:-) LC 7.0.4 (rc 2), xCode 6.2, Yosemite 10.10.2 This is the second thing that is making me bad temered today... earlier I made two stacks, each consisted of one card and one button... nothing else... the first using LC 6.7.4 (rc 2) and second with LC 7.0.4 (rc 2)... I then made them into standalone applications for an iPhone... the first weighed in at 6.1 Mb, the second at 57.1 Mb... Why ? Dixie From ambassador at fourthworld.com Tue Mar 24 11:18:07 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 24 Mar 2015 08:18:07 -0700 Subject: Question re large project organization In-Reply-To: <51137558-7E9E-4CA7-A251-09DA33D3C586@earthednet.org> References: <51137558-7E9E-4CA7-A251-09DA33D3C586@earthednet.org> Message-ID: <5511802F.9060606@fourthworld.com> The IDE is written in LiveCode; everything it does can be done by our own scripts. See the password property in the Dictionary. You could write a handler for the StandaloneSaved message that copies your stacks to the dest folder, and sets their password property as it goes. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Mar 24 11:26:38 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 24 Mar 2015 08:26:38 -0700 Subject: Movie problems in LiveCode In-Reply-To: <14c4c4732cb-3aa7-1331@webprd-m80.mail.aol.com> References: <14c4c4732cb-3aa7-1331@webprd-m80.mail.aol.com> Message-ID: <5511822E.6000602@fourthworld.com> stgoldberg wrote: > Thanks for the suggestion Jacquie. Unfortunately, the problem with > relative paths resetting to absolute remains > even if ?always use absolute file paths for images? is unchecked. > There appears to be a true problem with movies in the LC 6-7 series > on Macintosh. It appears impossible to set a relative movie path on > the Macintosh in the LC 6-7 series, and thus in Macintosh builds for > Windows, the player movies will not play. What is the value of "the result" immediately after your "play" command? It may also help to add a call to sysError there, e.g.: play tSomeFile if the result is not empty then answer the result &" ("& sysError() &")" end if My hunch is that the result will say something about the media being non-initializable, and sysError will return 2, for "file not found". You could double-check that the default directory is correct at the moment that call is made, but it may be that the newer APIs simply don't allow partial file paths anymore, that the developer is expected to resolve those to full paths before calling the OS routines that play them. I don't know for sure, but I've always been wary of shipping things that rely on relative paths, since any other script can change the default directory out from under me at any time. In apps where the media I'm playing resides in a single folder, I often just have a central handler cover that to which I pass the file's short name only and it takes care of the rest, e.g.: on PlayMovie pFile put specialFolderPath("documents")&"/MyApp/media/"& pFile into tPath if there is not a file tPath then answer "Media file missing: "& tPath exit to top end if play tPath end PlayMovie -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From phil at liverpool.ac.uk Tue Mar 24 11:27:34 2015 From: phil at liverpool.ac.uk (Phil Jimmieson) Date: Tue, 24 Mar 2015 15:27:34 +0000 Subject: Movie problems in LiveCode In-Reply-To: <14c4c4732cb-3aa7-1331@webprd-m80.mail.aol.com> References: <14c4c4732cb-3aa7-1331@webprd-m80.mail.aol.com> Message-ID: Hi Stephen, I think Apple dropped support for QuickTime VR movies in AVKit - which is the current Movie framework for OS X. Apple deprecated QuickTime and QTKit in OS X 10.9 and you can't now sell apps in the app store that link against QuickTime. You're supposed to move to AVKit and AV Foundation. If you look at the Release Notes for the latest versions of LiveCode it gets a mention on the section on Cocoa Support. On 24 Mar 2015, at 14:54, "stgoldberg at aol.com" wrote: > Thanks for the suggestion Jacquie. Unfortunately, the problem with relative paths resetting to absolute remains > even if ?always use absolute file paths for images? is unchecked. There appears to > be a true problem with movies in the LC 6-7 series on Macintosh. It appears impossible to > set a relative movie path on the Macintosh in the LC 6-7 series, and thus in Macintosh builds for Windows, the player movies will not play. > > As mentioned, I could not even get a Quicktime VR to play on the LC 6-7 series on Macintosh (Windows works well). Can anyone get a Quicktime VR movie to play on Macintosh in the LC 6-7 series? Everything worked fine in > LC 5.5.3 for Macintosh. > > Also, videoClips appears to be broken, as the videoClips property inspector > will not set the loc of the movie. > > Does anyone have an idea of how high on the priorities list the movie problem is? > I would think that a basic control like the Player ought to be working. > > Stephen Goldberg > www.medmaster.net > >> Date: Mon, 23 Mar 2015 12:02:06 -0500 >> From: "J. Landman Gay" >> >> To: How to use LiveCode >> >> Subject: Re: Movie problems in >> LiveCode >> Message-ID: <5510470E.30009 at hyperactivesw.com> >> Content-Type: >> text/plain; charset=utf-8; format=flowed > >> Check the preferences >> setting in the Files and Memory pane. If you have >> set the preference to >> ?always use absolute file paths for images" it may > .apply to movies too. > >> Jacqueline Landman Gay >> HyperActiveSoftware | >> http://www.hyperactivesw.com > >> Date: Mon, 23 Mar 2015 07:09:53 -0400 >> From: "stgoldberg at aol.com" > >> To: use-livecode at lists.runrev.com >> Subject: Movie problems >> in LiveCode >> Message-ID: > <14c465318d0-4bd7-1bd0a at webprd-m97.mail.aol.com> >> Content-Type: text/plain; >> charset=utf-8 > >> I confirm bug 14435 reported by Devin Asay regarding the >> current problem with creating movies on Macintosh using LiveCode versions in the >> LC6-7 series. This is a significant problem since it appears impossible at this >> point to create standalones on the Mac that will display player movies on >> Windows. This is because in the LC 6-7 versions for Mac (preliminary version 8, >> too) once a relative path is placed in the Property Inspector filename window of > a movie player on Mac it immediately reverts to the absolute >path on closing the Inspector. > I could not assign a relative path by >script either. This makes it >> impossible with LC 6-7 versions to create a standalone on a Macintosh for >> Windows that contains a functioning player movie, since there is no relative >> path in the player Property Inspector, and Windows therefore doesn?t recognize >> the movie. > >> There an additional problem: The later Mac versions of LC >> apparently will not display a Quicktime VR movie on the Mac. Can anyone display >> a Quicktime VR movie in the Mac LC 6-7 series? > >> I use a lot of movies, and >> therefore have stayed with Mac LC version 5.5.3, which works >> fine. > >> Interestingly, these problems do not exist with LiveCode for Windows. >> The movie player in Windows (Vista) with LC 7.0 remembers the relative path. >> Also in the Windows version there is no difficulty in displaying a Quicktime VR > movie. > > And yet another movie problem: Trying to change the loc of a > movieClip in its Property Inspector does not work (for me) on Mac or Windows in > Mac versions 5.5.3 or later or in Windows 7.0 (the only Windows version I have > tested); the movieClip always appears in the same location on the screen > regardless of where the loc is set in the movieClip inspector. > >> There is thus >> a triple whammy regarding movies, involving Quicktime player movies, Quicktime >> VR movies, and videoClips. I hope these problems are corrected soon, as movies >> are an important feature of LiveCode, particularly for educators. > >> Stephen >> Goldberg, President >> Medmaster Publishing Co. >> Professor Emeritus >> Univ of Miami >> Miller School of >> Medicine >> www.medmaster.net >> stgoldberg at aol.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From prothero at earthednet.org Tue Mar 24 11:31:38 2015 From: prothero at earthednet.org (William Prothero) Date: Tue, 24 Mar 2015 08:31:38 -0700 Subject: Question re large project organization In-Reply-To: <5511802F.9060606@fourthworld.com> References: <51137558-7E9E-4CA7-A251-09DA33D3C586@earthednet.org> <5511802F.9060606@fourthworld.com> Message-ID: Richard: Fair enough. I did find the ?password? entry in the dictionary. BUT, I wonder if the fact that this doesn?t work (for me) in the standalone builder code mean there is a bug in the IDE? Also, I?m exploring the ramifications of this approach and considering whether the apple store will not accept my standalones built this way, for desktop. This structure seems a very nice way of adding to a project as I build capability. But, I?d hate to find myself in a situation where Apple only accepts substacks and then I have to rebuild things to get it in the store. It is my understanding that substacks can be separated from mainstacks, but you can?t put a stack back as a substack once it?s out. TRUE? I know this kind of issue has been discussed at length on this list, so sorry if I?m being repetitive. Best, Bill > On Mar 24, 2015, at 8:18 AM, Richard Gaskin wrote: > > The IDE is written in LiveCode; everything it does can be done by our own scripts. > > See the password property in the Dictionary. You could write a handler for the StandaloneSaved message that copies your stacks to the dest folder, and sets their password property as it goes. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Mar 24 11:38:20 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 24 Mar 2015 08:38:20 -0700 Subject: Question re large project organization In-Reply-To: References: Message-ID: <551184EC.8070703@fourthworld.com> William Prothero wrote: > Fair enough. I did find the ?password? entry in the dictionary. BUT, > I wonder if the fact that this doesn?t work (for me) in the > standalone builder code mean there is a bug in the IDE? Possibly. Are you finding you can access the scripts of objects in your standalone after building them with the password option? If so, I would suggest filing a bug report on that. > Also, I?m exploring the ramifications of this approach and > considering whether the apple store will not accept my standalones > built this way, for desktop. Many apps have binary object files stored outside of the executable. I can't imagine Apple wouldn't single out LiveCode for prohibition on this. The only prohibition I'm aware of is against any app that downloads executable code not present with the app bundle when reviewed. The concern there seems legitimate, and not at all specific to LiveCode: they just want to make sure they don't review an app that claims to do one thing and later find its downloading code to do something entirely different. > It is my understanding that substacks can be separated from > mainstacks, but you can?t put a stack back as a substack once > it?s out. TRUE? Stacks can be moved in both directions: set a stack's mainstack to the name of some other stack and it becomes a substack of that other stack. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From t.heaford at icloud.com Tue Mar 24 11:40:31 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Tue, 24 Mar 2015 15:40:31 +0000 Subject: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X? Message-ID: I noticed this when moving Page Setup to the MenuBar of my project but it also applies to any other window that is attached as a sheet and opened from the MenuBar. When you select say the ?File? menu from the menubar then it is highlighted in blue. If you then select say ?Page Setup?? or any other window that will open as a sheet then once the sheet window is opened the ?File? menu remains highlighted in blue. I believe that is incorrect, in that the menu should not be highlighted when the sheet window is displayed. Is their some other action I should take or is this indeed a bug as I suspect? All the best Terry From ambassador at fourthworld.com Tue Mar 24 11:48:29 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 24 Mar 2015 08:48:29 -0700 Subject: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X? In-Reply-To: References: Message-ID: <5511874D.2080202@fourthworld.com> Terence Heaford > When you select say the ?File? menu from the menubar then it is > highlighted in blue. > > If you then select say ?Page Setup?? or any other window that will > open as a sheet then once the sheet window is opened the ?File? menu > remains highlighted in blue. > > I believe that is incorrect, in that the menu should not be > highlighted when the sheet window is displayed. I first noticed this in LiveCode, which isn't surprising given how much time I spend in it. But lately I've also noticed it in Firefox and other apps. A little Google foo turned up this Mozilla bug report in which Comment #15 confirms it's an Apple bug, with the rest of the discussion there focused on ways of trying to work around it (with sadly limited success): https://bugzilla.mozilla.org/show_bug.cgi?id=722676 -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From t.heaford at icloud.com Tue Mar 24 12:06:13 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Tue, 24 Mar 2015 16:06:13 +0000 Subject: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X? In-Reply-To: <5511874D.2080202@fourthworld.com> References: <5511874D.2080202@fourthworld.com> Message-ID: > On 24 Mar 2015, at 15:48, Richard Gaskin > wrote: > > A little Google foo turned up this Mozilla bug report in which Comment #15 confirms it's an Apple bug, with the rest of the discussion there focused on ways of trying to work around it (with sadly limited success): Perhaps LC should have a word with Apple then because it works OK in: 1. Pages 2. Preview 3. Numbers 4. Safari 5. Font Book 6. Keynote 7. Mail 8. Notes 9. Reminders 10. TextEdit I?ve stopped at 10. Do LC have any contacts at Apple they can speak to so they can be instructed how to code it? All the best Terry From bobsneidar at iotecdigital.com Tue Mar 24 12:16:38 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 24 Mar 2015 16:16:38 +0000 Subject: v8 and Widgets In-Reply-To: References: Message-ID: <94F6B84C-85B9-4443-9F0B-036F93BBFCF9@iotecdigital.com> I wasn?t able to see the webinar. Is there a link to it? Hopefully someone posted it. Bob S > On Mar 12, 2015, at 11:14 , Andrew Kluthe wrote: > > For the first time in a while, I'm pretty enthusiastic about what I'll be > able to do with livecode in the future. The performance of the rotation > demo on that clock was impressive. > > I've already started going through all of the .lcb files up on github. > > Previously, I wasn't getting my hopes up due to the lack of many details > about its limitations, syntax, etc. After seeing today's webinar, I think > this is exactly what defines "next-generation" livecode for me. > > Livecode builder compile directly to JS in the future? Meeee-oooow! > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Mar 24 12:18:35 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 24 Mar 2015 16:18:35 +0000 Subject: No tools on Tools Palette (was Re: Release: LiveCode 8.0.0 DP 1) In-Reply-To: References: Message-ID: Right. Exactly. :-) Bob S On Mar 12, 2015, at 20:12 , James Hale > wrote: As for being talked about a lot, that's one downside with only getting the digest of the list. By the time you get it and reply there could be oodles of other replies you have yet to see as you have to wait for the next digest. James From bobsneidar at iotecdigital.com Tue Mar 24 12:21:02 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 24 Mar 2015 16:21:02 +0000 Subject: [Semi-OT] Execute Javascript for Acrobat In-Reply-To: <00c901d05dd1$a80740a0$f815c1e0$@net> References: <13BC3529-A69E-4A32-866A-E828E59A880B@iotecdigital.com> <0B49AC90-9B1A-402F-8316-E7D9F3A7AC66@iotecdigital.com> <00c901d05dd1$a80740a0$f815c1e0$@net> Message-ID: Thanks Ralph. Bob S > On Mar 13, 2015, at 14:07 , Ralph DiMola wrote: > > Bob, > > At RR 14 Mark and I tried to do this through VBS. As I recall we had some > success connecting to the JSO but could talk to Acrobat after the connection > was established. My hour with him was up and I have not revisited it since. > I will look for the VBS we were working on and see if I can get it to work. > When I find it I will send it to you and see if you can get any further. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Bob Sneidar > Sent: Friday, March 13, 2015 4:36 PM > To: How to use LiveCode > Subject: Re: [Semi-OT] Execute Javascript for Acrobat > > As it turns out, there is no way in Windows to send commands to Adobe > Acrobat, telling it to run a Javascript. And while there are tools for > development systems like Java and C++ to do so, there is no shell method to > do so. So apparently I will be stuck creating FDF files for the Windows > environment. It would have been nice if Livecode had a way to directly > communicate Javascript to other applications using the methods available, as > it can with Applescript, but now that the widget architecture is on the way, > perhaps someone will develop one. > > Bob S > > >> On Mar 4, 2015, at 08:56 , Bob Sneidar > wrote: >> >> Hi all. >> >> I know there are people on the list who know if this can even be done, and > if so, how to do it. Presently to have a PDF fillable form open and > auto-fill with data, I must first set the PDF form up to import an FDF file > upon opening, and secondly I must create an FDF file for it to import, > populated with the values I want. >> >> All this I have working, but I have developed a method for doing this > directly from within my LC app without resorting to FDF files, but *only* > for the Mac. I want to also develop a method for use in Windows. But since > Windows has no built in equivalent to Inter-Application Communications (IAC > otherwise known as Applescript) I am wondering if there is a way to do this > via a shell command. I can execute Javascript alright by using wscript.exe, > but how to get the message to Acrobat or Reader? >> >> Bob S >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Mar 24 12:25:22 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 24 Mar 2015 16:25:22 +0000 Subject: XML Tutorial In-Reply-To: <550328B8.5010909@gmail.com> References: <808FC3E6-FCB5-483A-83E2-4ECEC6265B7A@mac.com> <5503257C.3060909@gmail.com> <2902A99B-C0C7-41E3-9A6C-606FD7DC2003@gmail.com> <550328B8.5010909@gmail.com> Message-ID: Haven?t heard from Trevor for a while now. I wonder what the boy genius is up to these days? Bob S On Mar 13, 2015, at 11:13 , Michael Doub > wrote: These were contributed by Trever Devore. Many thanks! From bobsneidar at iotecdigital.com Tue Mar 24 12:28:30 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 24 Mar 2015 16:28:30 +0000 Subject: SQLite Problem In-Reply-To: References: Message-ID: <00354ED3-8712-48E4-A80A-4D19B03906F3@iotecdigital.com> For Sqlite, you can query the sqlite_master table: select tbl_name from sqlite_master where type = ?table? Bob S On Mar 14, 2015, at 09:47 , Dr. Hawkins > wrote: I have found relying on revDatabaseColumnaNames() and revDatabaseTableNames() unreliable--tablenames so much so that I've written my own function twice for postgres, as livecode's misses tables sporadically. From jacque at hyperactivesw.com Tue Mar 24 12:34:32 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 24 Mar 2015 11:34:32 -0500 Subject: Question re large project organization In-Reply-To: References: <51137558-7E9E-4CA7-A251-09DA33D3C586@earthednet.org> <5511802F.9060606@fourthworld.com> Message-ID: <75011B3E-2E52-4161-AC57-66E8B250DCCD@hyperactivesw.com> On March 24, 2015 10:31:38 AM CDT, William Prothero wrote: >Fair enough. I did find the ?password? entry in the dictionary. BUT, I >wonder if the fact that this doesn?t work (for me) in the standalone >builder code mean there is a bug in the IDE? Each included stack can have its own password, so it isn't enough to just fill out the password field in that dialog. You need to select each stack individually and put its password in, then repeat that with the next stack in the list. This gives you the freedom to protect only some of the included stacks if you want. Did you assign passwords individually that way? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Tue Mar 24 12:42:28 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 24 Mar 2015 16:42:28 +0000 Subject: Speaking of modals... In-Reply-To: References: <28A5EB94-DF8B-4F75-9A43-25E64E86F9D3@iotecdigital.com> <2972F869-C936-41B6-9B99-CB76B83FF6CC@iotecdigital.com> Message-ID: Ooohh? Bob S On Mar 20, 2015, at 14:29 , Peter Haworth > wrote: My trick for debugging a modal stack is to open it as a palette instead of modal and stick a breakpoint right after the code that opens it. The stack opens up and execution stops at the breakpoint so you can easily go through whatever functions the stack performs and find any problems. From prothero at earthednet.org Tue Mar 24 13:25:27 2015 From: prothero at earthednet.org (William Prothero) Date: Tue, 24 Mar 2015 10:25:27 -0700 Subject: Question re large project organization In-Reply-To: <551184EC.8070703@fourthworld.com> References: <551184EC.8070703@fourthworld.com> Message-ID: <2014F11A-E031-48DA-83EC-49727F7B438E@earthednet.org> Richard: Thank you, thank you! Very pertinent info. I?m glad I can get a stack back into substack. Best, Bill > On Mar 24, 2015, at 8:38 AM, Richard Gaskin wrote: > > William Prothero wrote: > > Fair enough. I did find the ?password? entry in the dictionary. BUT, > > I wonder if the fact that this doesn?t work (for me) in the > > standalone builder code mean there is a bug in the IDE? > > Possibly. Are you finding you can access the scripts of objects in your standalone after building them with the password option? > > If so, I would suggest filing a bug report on that. > > > > Also, I?m exploring the ramifications of this approach and > > considering whether the apple store will not accept my standalones > > built this way, for desktop. > > Many apps have binary object files stored outside of the executable. I can't imagine Apple wouldn't single out LiveCode for prohibition on this. > > The only prohibition I'm aware of is against any app that downloads executable code not present with the app bundle when reviewed. The concern there seems legitimate, and not at all specific to LiveCode: they just want to make sure they don't review an app that claims to do one thing and later find its downloading code to do something entirely different. > > > > It is my understanding that substacks can be separated from > > mainstacks, but you can?t put a stack back as a substack once > > it?s out. TRUE? > > Stacks can be moved in both directions: set a stack's mainstack to the name of some other stack and it becomes a substack of that other stack. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Tue Mar 24 13:28:02 2015 From: prothero at earthednet.org (William Prothero) Date: Tue, 24 Mar 2015 10:28:02 -0700 Subject: Question re large project organization In-Reply-To: <75011B3E-2E52-4161-AC57-66E8B250DCCD@hyperactivesw.com> References: <51137558-7E9E-4CA7-A251-09DA33D3C586@earthednet.org> <5511802F.9060606@fourthworld.com> <75011B3E-2E52-4161-AC57-66E8B250DCCD@hyperactivesw.com> Message-ID: <69DA922C-102E-4922-B657-5EA1DDC89C20@earthednet.org> Jackie: Yes. I selected each stack and put in a password for it. I?m going to make a test stack and submit a bug report, if it shows the same behavior. Best, Bill > On Mar 24, 2015, at 9:34 AM, J. Landman Gay wrote: > > On March 24, 2015 10:31:38 AM CDT, William Prothero wrote: > >> Fair enough. I did find the ?password? entry in the dictionary. BUT, I >> wonder if the fact that this doesn?t work (for me) in the standalone >> builder code mean there is a bug in the IDE? > > Each included stack can have its own password, so it isn't enough to just fill out the password field in that dialog. You need to select each stack individually and put its password in, then repeat that with the next stack in the list. This gives you the freedom to protect only some of the included stacks if you want. > > Did you assign passwords individually that way? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Tue Mar 24 13:48:41 2015 From: prothero at earthednet.org (William Prothero) Date: Tue, 24 Mar 2015 10:48:41 -0700 Subject: Question re large project organization In-Reply-To: <551184EC.8070703@fourthworld.com> References: <551184EC.8070703@fourthworld.com> Message-ID: I just submitted a bug report on this issue. Bill William A. Prothero http://es.earthednet.org/ From ambassador at fourthworld.com Tue Mar 24 13:49:59 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 24 Mar 2015 10:49:59 -0700 Subject: Question re large project organization In-Reply-To: <69DA922C-102E-4922-B657-5EA1DDC89C20@earthednet.org> References: <69DA922C-102E-4922-B657-5EA1DDC89C20@earthednet.org> Message-ID: <5511A3C7.3040206@fourthworld.com> William Prothero wrote: > Yes. I selected each stack and put in a password for it. I?m going > to make a test stack and submit a bug report, if it shows the same > behavior. If there is a bug here it seems limited to the IDE's interface for that. Setting the password of a stack here using the Message Box, then quitting, then re-launching and attempting to access the script prevents me from doing so, with the IDE noting that the stack is password-protected. If you file the report please note the number here so we can follow along. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From prothero at earthednet.org Tue Mar 24 14:13:05 2015 From: prothero at earthednet.org (William Prothero) Date: Tue, 24 Mar 2015 11:13:05 -0700 Subject: Question re large project organization In-Reply-To: <5511A3C7.3040206@fourthworld.com> References: <69DA922C-102E-4922-B657-5EA1DDC89C20@earthednet.org> <5511A3C7.3040206@fourthworld.com> Message-ID: <1A273C3A-BCEF-491E-B01D-E98E7425703F@earthednet.org> Richard: The bug is Bug?15079 Bill > On Mar 24, 2015, at 10:49 AM, Richard Gaskin wrote: > > William Prothero wrote: > > > Yes. I selected each stack and put in a password for it. I?m going > > to make a test stack and submit a bug report, if it shows the same > > behavior. > > If there is a bug here it seems limited to the IDE's interface for that. Setting the password of a stack here using the Message Box, then quitting, then re-launching and attempting to access the script prevents me from doing so, with the IDE noting that the stack is password-protected. > > If you file the report please note the number here so we can follow along. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at icloud.com Tue Mar 24 14:20:39 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Tue, 24 Mar 2015 18:20:39 +0000 Subject: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X? In-Reply-To: References: <5511874D.2080202@fourthworld.com> Message-ID: <14CD5A52-7326-46F7-9261-8049CE933C5C@icloud.com> Well, A solution. I also play around with Xojo and noticed that this has the same problem so I posted on their Forum and the reply was to use a timer. So, I implemented this in LC and it has worked. send "myPageSetup" to me in 100 milliseconds I wonder why LC have not implemented it in the IDE. Can anyone see a problem? All the best Terry > On 24 Mar 2015, at 16:06, Terence Heaford wrote: > > >> On 24 Mar 2015, at 15:48, Richard Gaskin > wrote: >> >> A little Google foo turned up this Mozilla bug report in which Comment #15 confirms it's an Apple bug, with the rest of the discussion there focused on ways of trying to work around it (with sadly limited success): > > > Perhaps LC should have a word with Apple then because it works OK in: > > 1. Pages > 2. Preview > 3. Numbers > 4. Safari > 5. Font Book > 6. Keynote > 7. Mail > 8. Notes > 9. Reminders > 10. TextEdit > > I?ve stopped at 10. > > Do LC have any contacts at Apple they can speak to so they can be instructed how to code it? > > > All the best > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Mar 24 14:28:08 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 24 Mar 2015 11:28:08 -0700 Subject: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X? In-Reply-To: <14CD5A52-7326-46F7-9261-8049CE933C5C@icloud.com> References: <14CD5A52-7326-46F7-9261-8049CE933C5C@icloud.com> Message-ID: <5511ACB8.9090608@fourthworld.com> Terence Heaford wrote: > A solution. > > I also play around with Xojo and noticed that this has the same > problem Thanks for confirming what I'd written earlier, that this isn't limited to LiveCode. > so I posted on their Forum and the reply was to use a timer. Yes, that's generally consistent with the workarounds discussed in the Mozilla bug DB thread I'd posted to earlier. > So, I implemented this in LC and it has worked. > > send "myPageSetup" to me in 100 milliseconds > > I wonder why LC have not implemented it in the IDE. > > Can anyone see a problem? I see no problem with your submitting a pull request on this. Thanks. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From t.heaford at icloud.com Tue Mar 24 14:39:10 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Tue, 24 Mar 2015 18:39:10 +0000 Subject: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X? In-Reply-To: <5511ACB8.9090608@fourthworld.com> References: <14CD5A52-7326-46F7-9261-8049CE933C5C@icloud.com> <5511ACB8.9090608@fourthworld.com> Message-ID: > On 24 Mar 2015, at 18:28, Richard Gaskin wrote: > > Thanks for confirming what I'd written earlier, that this isn't limited to LiveCode. I didn?t say it wasn?t in other apps, all I said was it?s not in any Apple apps I have found, so clearly there is an answer. Perhaps the timer answer is the answer perhaps it is not for other reasons I am not aware of. Perhaps LC engineers and these other Apps engineers do not know how to correctly implement Apple?s API on this. Perhaps, perhaps, perhaps?. Perhaps a LC engineer could elaborate on why it happens in the first place and wether or not the timer solution is reliable. All the best Terry From t.heaford at icloud.com Tue Mar 24 14:46:12 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Tue, 24 Mar 2015 18:46:12 +0000 Subject: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X? In-Reply-To: References: <14CD5A52-7326-46F7-9261-8049CE933C5C@icloud.com> <5511ACB8.9090608@fourthworld.com> Message-ID: > On 24 Mar 2015, at 18:39, Terence Heaford wrote: > > Perhaps the timer answer is the answer perhaps it is not for other reasons I am not aware of. There actually is an issue with using a timer. Here is an extract of my handler case "Page Setup..." send "myPageSetup" to me in 100 milliseconds --myPageSetup break If I uncomment myPageSetup it actually crashes LC, so if you intend to run something else you could end up in difficulty. So, it is likely a bug or poor implementation in the LC Code. All the best Terry From ambassador at fourthworld.com Tue Mar 24 14:56:48 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 24 Mar 2015 11:56:48 -0700 Subject: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X? In-Reply-To: References: Message-ID: <5511B370.5020506@fourthworld.com> Terence Heaford wrote: > I didn?t say it wasn?t in other apps, all I said was it?s not in any > Apple apps I have found, so clearly there is an answer. Because you haven't seen this doesn't necessarily mean others haven't either. Yes, there is an answer, detailed in Comment #15 in the Mozilla bug DB post I provided a link to. While I was looking for that it didn't take me long to find several examples of users experiencing this with Apple status icons, mostly audio but sometimes Bluetooth. I've seen this myself with one of Apple's Finder menus, at least twice. > Perhaps LC engineers and these other Apps engineers do not know how > to correctly implement Apple?s API on this. Perhaps, but there's a fair number of them, including Xojo, Mozilla, 4D, Qt, and others who've run into this as well. Perhaps OS X is the only software of its scope to be bug-free, and everyone else is just incompetent. Perhaps, perhaps, perhaps... > Perhaps a LC engineer could elaborate on why it happens in the first > place and wether or not the timer solution is reliable. I realize you're busy, but if you find the time to read Comment #15 at the link I'd taken the time to research for you the details there may be helpful. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From t.heaford at icloud.com Tue Mar 24 15:10:21 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Tue, 24 Mar 2015 19:10:21 +0000 Subject: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X? In-Reply-To: <5511B370.5020506@fourthworld.com> References: <5511B370.5020506@fourthworld.com> Message-ID: <5E5A08ED-0190-41A9-AFF0-8EA4405DE079@icloud.com> > On 24 Mar 2015, at 18:56, Richard Gaskin wrote: > > I realize you're busy, but if you find the time to read Comment #15 at the link I'd taken the time to research for you the details there may be helpful. I?ve read the whole thread but some of it goes back to 31/01/2012. I am not convinced they are talking about the same subject. From ambassador at fourthworld.com Tue Mar 24 15:25:41 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 24 Mar 2015 12:25:41 -0700 Subject: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X? In-Reply-To: <5E5A08ED-0190-41A9-AFF0-8EA4405DE079@icloud.com> References: <5E5A08ED-0190-41A9-AFF0-8EA4405DE079@icloud.com> Message-ID: <5511BA35.8030609@fourthworld.com> Terence Heaford wrote: >> On 24 Mar 2015, at 18:56, Richard Gaskin wrote: >> >> I realize you're busy, but if you find the time to read Comment >> #15 at the link I'd taken the time to research for you the details >> there may be helpful. > > I?ve read the whole thread but some of it goes back to 31/01/2012. > > I am not convinced they are talking about the same subject. FWIW the OS version I've seen this on with LiveCode, FireFox, Finder, and others is Lion, which predates that report. I look forward to hearing what you find. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Tue Mar 24 15:29:49 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 24 Mar 2015 14:29:49 -0500 Subject: Movie problems in LiveCode In-Reply-To: <5511822E.6000602@fourthworld.com> References: <14c4c4732cb-3aa7-1331@webprd-m80.mail.aol.com> <5511822E.6000602@fourthworld.com> Message-ID: <5511BB2D.6090803@hyperactivesw.com> On 3/24/2015 10:26 AM, Richard Gaskin wrote: > In apps where the media I'm playing resides in a single folder, I often > just have a central handler cover that to which I pass the file's short > name only and it takes care of the rest, e.g.: > > on PlayMovie pFile > put specialFolderPath("documents")&"/MyApp/media/"& pFile into tPath > if there is not a file tPath then > answer "Media file missing: "& tPath > exit to top > end if > play tPath > end PlayMovie That's exactly what I do too, I've never trusted relative paths. I use this method for all file types, not just movies, but I turn it into a function so I can call it for any kind of file: function pathToFile pName put specialFolderPath("documents")&"/MyApp/media/"& pName into tPath return tPath end pathToFile This works great and is portable everywhere. If there are several folders involved, I use a switch statement inside the function, or else pass the folder and file names both in the parameters. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Tue Mar 24 15:35:26 2015 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 24 Mar 2015 19:35:26 +0000 Subject: v8 and Widgets In-Reply-To: <94F6B84C-85B9-4443-9F0B-036F93BBFCF9@iotecdigital.com> References: <94F6B84C-85B9-4443-9F0B-036F93BBFCF9@iotecdigital.com> Message-ID: <4E079341-B148-451E-990F-36430B43C090@byu.edu> On Mar 24, 2015, at 10:16 AM, Bob Sneidar wrote: > I wasn?t able to see the webinar. Is there a link to it? Hopefully someone posted it. > It?s on the LiveCode blog: http://livecode.com/a-new-dawn/ Definitely worth a watch. It?s pretty exciting stuff. Devin Devin Asay Office of Digital Humanities Brigham Young University From t.heaford at icloud.com Tue Mar 24 15:43:00 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Tue, 24 Mar 2015 19:43:00 +0000 Subject: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X? In-Reply-To: <5511BA35.8030609@fourthworld.com> References: <5E5A08ED-0190-41A9-AFF0-8EA4405DE079@icloud.com> <5511BA35.8030609@fourthworld.com> Message-ID: <91F4DC8C-A99A-4F28-B16A-102ED662D32A@icloud.com> > On 24 Mar 2015, at 19:25, Richard Gaskin wrote: > > I look forward to hearing what you find. It?s not really for me to research this. I was purely raising what I believe is LC not following the user interface norms in OS X. If they can?t or won?t sort it then just say so or say nothing (this last option would be disappointing) I raised a valid point and I am still no clearer as to whether LC will/can sort it. All the best Terry From ambassador at fourthworld.com Tue Mar 24 15:56:51 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 24 Mar 2015 12:56:51 -0700 Subject: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X? In-Reply-To: <91F4DC8C-A99A-4F28-B16A-102ED662D32A@icloud.com> References: <91F4DC8C-A99A-4F28-B16A-102ED662D32A@icloud.com> Message-ID: <5511C183.70406@fourthworld.com> Terence Heaford wrote: > I was purely raising what I believe is LC not following the user > interface norms in OS X. > > If they can?t or won?t sort it then just say so or say nothing (this > last option would be disappointing) > > I raised a valid point and I am still no clearer as to whether LC > will/can sort it. You've found that this issue affects Xojo as well, and I've found that it affects many other apps as well. If you believe this may be something LiveCode may be able to work around have you considered filing a bug report? Please let us know the report number if you do. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Tue Mar 24 16:03:05 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 24 Mar 2015 15:03:05 -0500 Subject: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X? In-Reply-To: References: <14CD5A52-7326-46F7-9261-8049CE933C5C@icloud.com> <5511ACB8.9090608@fourthworld.com> Message-ID: <5511C2F9.9070702@hyperactivesw.com> On 3/24/2015 1:39 PM, Terence Heaford wrote: > Perhaps LC engineers and these other Apps engineers do not know how > to correctly implement Apple?s API on this. and: > Do LC have any contacts at Apple they can speak to so they can be > instructed how to code it? I wish you wouldn't do that. To you, the LC team is just a faceless group, but I've met them and talked to them and have a long association with some of them. If you had the same experience, you'd know that these engineers are some of the brightest and most talented people in the industry. LC has a careful and exacting hiring process that ensures only the top candidates get in; it's hard to get a job at LC, you have to be really good. The people writing the LC engine are some of the most capable programmers anywhere. I could tell you stories. Bugs are normal in software development, but that doesn't mean the engineers don't know what they're doing. I hope you will attend one of the conferences some time and see for yourself how dedicated and knowledgeable these people are. Your perceptions will change. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From t.heaford at icloud.com Tue Mar 24 16:57:53 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Tue, 24 Mar 2015 20:57:53 +0000 Subject: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X? In-Reply-To: <5511C2F9.9070702@hyperactivesw.com> References: <14CD5A52-7326-46F7-9261-8049CE933C5C@icloud.com> <5511ACB8.9090608@fourthworld.com> <5511C2F9.9070702@hyperactivesw.com> Message-ID: <15E64F61-DB8D-430F-A952-E5478EB77A98@icloud.com> > On 24 Mar 2015, at 20:03, J. Landman Gay wrote: > > I wish you wouldn't do that. -------------------------- Here is my initial post. "I noticed this when moving Page Setup to the MenuBar of my project but it also applies to any other window that is attached as a sheet and opened from the MenuBar. When you select say the ?File? menu from the menubar then it is highlighted in blue. If you then select say ?Page Setup?? or any other window that will open as a sheet then once the sheet window is opened the ?File? menu remains highlighted in blue. I believe that is incorrect, in that the menu should not be highlighted when the sheet window is displayed. Is their some other action I should take or is this indeed a bug as I suspect?? ????????????? All I wanted was a positive response and all I got was a debate about what someone may or may not have seen in other apps and something on Google that started 2 years ago. What I was hoping for was for someone in the know to say something along the lines of: 1. Yes, seen that, been raised before and there is nothing LC can do about it, don?t file a bug report. 2. Yes, seen that, been raised before and we are waiting for LC, don?t file a bug report. 2. Not seen it before suggest this?.. 3. Not seen it, suggest you raise a bug report 4. Here is a workaround while we wait for LC 5. Here is a workaround as LC can?t do anything Anyway after all the talk?. Posted a bug report to lengthen the list. Bug 15081 and... Despite my mentioning XOJO I can honestly say that although the OS X interface of LC is not as refined as XOJO I do prefer working in LC and I don?t want a debate about the interface differences between the two. All the best Terry Heaford From ambassador at fourthworld.com Tue Mar 24 17:15:03 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 24 Mar 2015 14:15:03 -0700 Subject: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X? In-Reply-To: <15E64F61-DB8D-430F-A952-E5478EB77A98@icloud.com> References: <15E64F61-DB8D-430F-A952-E5478EB77A98@icloud.com> Message-ID: <5511D3D7.20502@fourthworld.com> Terence Heaford wrote: > All I wanted was a positive response and all I got was a debate about > what someone may or may not have seen in other apps and something on > Google that started 2 years ago. One man's debate is another man's data point. So far the Mozilla engineer's comments I linked to are the most detailed explanation I've found that fits the symptoms. Thanks for filing the bug report. I've added the Mozilla link. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Tue Mar 24 17:19:56 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 24 Mar 2015 16:19:56 -0500 Subject: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X? In-Reply-To: <15E64F61-DB8D-430F-A952-E5478EB77A98@icloud.com> References: <14CD5A52-7326-46F7-9261-8049CE933C5C@icloud.com> <5511ACB8.9090608@fourthworld.com> <5511C2F9.9070702@hyperactivesw.com> <15E64F61-DB8D-430F-A952-E5478EB77A98@icloud.com> Message-ID: <5511D4FC.8010403@hyperactivesw.com> On 3/24/2015 3:57 PM, Terence Heaford wrote: > All I wanted was a positive response I know, and I can't speak to the replies you got. But it would be easier if you didn't imply the team was incompetent. The straight-on questions you asked earlier were good. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Tue Mar 24 17:21:19 2015 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 24 Mar 2015 14:21:19 -0700 Subject: Movie problems in LiveCode In-Reply-To: <14c4c4732cb-3aa7-1331@webprd-m80.mail.aol.com> References: <14c4c4732cb-3aa7-1331@webprd-m80.mail.aol.com> Message-ID: Hi Stephen: As others have mentioned, QuickTime was deprecated by Apple a while back. See ?Deprecated Frameworks? on this page: In some simple tests, it looks like QuickTime Player 10 (on Mavericks) won?t even open VR movies, but will hand them off to Player 7 if available. Doing a bit of searching, it seems some people have had success opening VR movies in VideoLan Player, but apparently without the interactivity (at least none occurs here). You?d probably do well to stop using QTVR and look for an alternative. I don?t know what types of VR movies you have, but there are some tools on this site that are able to output HTML5 panoramas and object movies (and possibly import QTVR): http://ggnome.com/ Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/24/15, 7:54 AM, "stgoldberg at aol.com" wrote: >Thanks for the suggestion Jacquie. Unfortunately, the problem with >relative paths resetting to absolute remains >even if ?always use absolute file paths for images? is unchecked. There >appears to >be a true problem with movies in the LC 6-7 series on Macintosh. It >appears impossible to >set a relative movie path on the Macintosh in the LC 6-7 series, and thus >in Macintosh builds for Windows, the player movies will not play. > >As mentioned, I could not even get a Quicktime VR to play on the LC 6-7 >series on Macintosh (Windows works well). Can anyone get a Quicktime VR >movie to play on Macintosh in the LC 6-7 series? Everything worked fine in >LC 5.5.3 for Macintosh. > >Also, videoClips appears to be broken, as the videoClips property >inspector >will not set the loc of the movie. > >Does anyone have an idea of how high on the priorities list the movie >problem is? >I would think that a basic control like the Player ought to be working. > >Stephen Goldberg >www.medmaster.net > >>Date: Mon, 23 Mar 2015 12:02:06 -0500 >>From: "J. Landman Gay" >> >>To: How to use LiveCode >> >>Subject: Re: Movie problems in >>LiveCode >>Message-ID: <5510470E.30009 at hyperactivesw.com> >>Content-Type: >>text/plain; charset=utf-8; format=flowed > >>Check the preferences >>setting in the Files and Memory pane. If you have >>set the preference to >>?always use absolute file paths for images" it may >.apply to movies too. > >>Jacqueline Landman Gay >>HyperActiveSoftware | >>http://www.hyperactivesw.com > >>Date: Mon, 23 Mar 2015 07:09:53 -0400 >>From: "stgoldberg at aol.com" > >>To: use-livecode at lists.runrev.com >>Subject: Movie problems >>in LiveCode >>Message-ID: ><14c465318d0-4bd7-1bd0a at webprd-m97.mail.aol.com> >>Content-Type: text/plain; >>charset=utf-8 > >>I confirm bug 14435 reported by Devin Asay regarding the >>current problem with creating movies on Macintosh using LiveCode >>versions in the >>LC6-7 series. This is a significant problem since it appears impossible >>at this >>point to create standalones on the Mac that will display player movies on >>Windows. This is because in the LC 6-7 versions for Mac (preliminary >>version 8, >>too) once a relative path is placed in the Property Inspector filename >>window of >a movie player on Mac it immediately reverts to the absolute >path on >closing the Inspector. >I could not assign a relative path by >script either. This makes it >>impossible with LC 6-7 versions to create a standalone on a Macintosh for >>Windows that contains a functioning player movie, since there is no >>relative >>path in the player Property Inspector, and Windows therefore doesn?t >>recognize >>the movie. > >>There an additional problem: The later Mac versions of LC >>apparently will not display a Quicktime VR movie on the Mac. Can anyone >>display >>a Quicktime VR movie in the Mac LC 6-7 series? > >> I use a lot of movies, and >>therefore have stayed with Mac LC version 5.5.3, which works >>fine. > >>Interestingly, these problems do not exist with LiveCode for Windows. >>The movie player in Windows (Vista) with LC 7.0 remembers the relative >>path. >>Also in the Windows version there is no difficulty in displaying a >>Quicktime VR >movie. > >And yet another movie problem: Trying to change the loc of a >movieClip in its Property Inspector does not work (for me) on Mac or >Windows in >Mac versions 5.5.3 or later or in Windows 7.0 (the only Windows version I >have >tested); the movieClip always appears in the same location on the screen >regardless of where the loc is set in the movieClip inspector. > >>There is thus >>a triple whammy regarding movies, involving Quicktime player movies, >>Quicktime >>VR movies, and videoClips. I hope these problems are corrected soon, as >>movies >>are an important feature of LiveCode, particularly for educators. > >>Stephen >>Goldberg, President >>Medmaster Publishing Co. >>Professor Emeritus >>Univ of Miami >>Miller School of >>Medicine >>www.medmaster.net >>stgoldberg at aol.com > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Mar 24 18:20:29 2015 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 24 Mar 2015 23:20:29 +0100 Subject: Movie problems in LiveCode In-Reply-To: References: <14c4c4732cb-3aa7-1331@webprd-m80.mail.aol.com> Message-ID: > Am 24.03.2015 um 22:21 schrieb Scott Rossi : > > You?d probably do well to stop using QTVR and look for an alternative. I > don?t know what types of VR movies you have, but there are some tools on > this site that are able to output HTML5 panoramas and object movies (and > possibly import QTVR): > http://ggnome.com/ > I also can recommend Garden Gnome Software. For a project i needed to import a QuicktimeVR and convert it to HTMl5 to be used in an browser object in an Android app. GardenGnomes Object2VR solved this for me with ease. Regards, Matthias From prothero at earthednet.org Tue Mar 24 18:50:03 2015 From: prothero at earthednet.org (William Prothero) Date: Tue, 24 Mar 2015 15:50:03 -0700 Subject: Question re large project organization In-Reply-To: <1A273C3A-BCEF-491E-B01D-E98E7425703F@earthednet.org> References: <69DA922C-102E-4922-B657-5EA1DDC89C20@earthednet.org> <5511A3C7.3040206@fourthworld.com> <1A273C3A-BCEF-491E-B01D-E98E7425703F@earthednet.org> Message-ID: Folks: Just a gripe about the standalone builder. The bug I reported still stands, though. This is my fault, though and it leaves me wishing there was a clear explanation of the standalone builder and where files get put for various configurations. This one was the checkbox on the ?Copy Files? pane that said ?Copy referenced files?, and gave a location that didn?t sound too bad. Well, I did want to copy the files, so I checked it. But then some of the referenced text files disappeared into the ?great beyond?. Finally, after spending a couple of hours preparing a test file for a bug report, and I couldn?t get the problem to re-occur, I found that the checkbox ?Copy Referenced Files?, if unchecked, was the solution. File Paths: I assume I need to modify the file paths to various included stacks and data files to fit where the standalone builder puts them. This means getting the main stack file path, and creating new paths to locations like ?Content/Resources/_MacOS/?.? I remember something about the system taking care of file path changes between the dev environment and the standalone environment, but I haven?t made that work. Anyway, just venting. Best, Bill > On Mar 24, 2015, at 11:13 AM, William Prothero wrote: > > Richard: > The bug is Bug 15079 > Bill > >> On Mar 24, 2015, at 10:49 AM, Richard Gaskin wrote: >> >> William Prothero wrote: >> >>> Yes. I selected each stack and put in a password for it. I?m going >>> to make a test stack and submit a bug report, if it shows the same >>> behavior. >> >> If there is a bug here it seems limited to the IDE's interface for that. Setting the password of a stack here using the Message Box, then quitting, then re-launching and attempting to access the script prevents me from doing so, with the IDE noting that the stack is password-protected. >> >> If you file the report please note the number here so we can follow along. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Tue Mar 24 19:29:20 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 24 Mar 2015 16:29:20 -0700 Subject: outsmarted myself with menus? Message-ID: I've created menus and handlers, and use behaviors for them. But when I want to paste, the handler can't find where I was. If I'm in a field, "me" and "the target" both point to the menu button, not the field; the selectedObject contains nothing, and I can't find something like "menuSource". THis is obviously easy and long solved; what am I missing? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From sundown at pacifier.com Tue Mar 24 20:00:51 2015 From: sundown at pacifier.com (JB) Date: Tue, 24 Mar 2015 17:00:51 -0700 Subject: SQL lite adding records Message-ID: <6A4BB7FB-0F85-40AE-BF2C-BF29772F97CB@pacifier.com> I am using MySql on a local host and creating a database then adding records. After creating the table I was using the handler below to add records. I was not using the revCommitDatabase gConID statement after each record and some times my database would be missing one or two records. After including the revCommitDatabase gConID statement it appears to be including them all. Is this the proper and fastest way to add records in a sql lite database or should I be using something else like a query to update instead? on fAddFiles set the itemDelimiter to tab put fld id 5246 of cd id 5187 into tList repeat for each line tLine in tList put "INSERT INTO tFiles(recID,field2, field3, field4) VALUES(null," & tLine & ")" into sqTable revExecuteSQL gConID,sqTable revCommitDatabase gConID end repeat fRefresh gConIDClose end fAddFiles Any information or ideas are helpful. John Balgenorth From terry.judd at unimelb.edu.au Tue Mar 24 20:24:24 2015 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 25 Mar 2015 00:24:24 +0000 Subject: outsmarted myself with menus? In-Reply-To: References: Message-ID: Try one or more of focusedObject(), selectedField(), selectedChunk() Terry... On 25/03/2015 10:29 am, "Dr. Hawkins" wrote: >I've created menus and handlers, and use behaviors for them. > >But when I want to paste, the handler can't find where I was. > >If I'm in a field, "me" and "the target" both point to the menu button, >not >the field; the selectedObject contains nothing, and I can't find something >like "menuSource". > >THis is obviously easy and long solved; what am I missing? > >-- >Dr. Richard E. Hawkins, Esq. >(702) 508-8462 >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Tue Mar 24 20:26:52 2015 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 24 Mar 2015 17:26:52 -0700 Subject: Movie problems in LiveCode In-Reply-To: References: <14c4c4732cb-3aa7-1331@webprd-m80.mail.aol.com> Message-ID: Related to the software options at Garden Gnome Software below, Cubic Converter came up as a tool that can apparently be used to convert a source QTVR image back into a spherical (equirectangular) panorama: http://en.kioskea.net/download/download-18496-cubicconverter On 3/24/15, 2:21 PM, "Scott Rossi" wrote: >Hi Stephen: > >As others have mentioned, QuickTime was deprecated by Apple a while back. > >See ?Deprecated Frameworks? on this page: >/ >Articles/MacOSX10_9.html> > >In some simple tests, it looks like QuickTime Player 10 (on Mavericks) >won?t even open VR movies, but will hand them off to Player 7 if >available. > >Doing a bit of searching, it seems some people have had success opening >VR >movies in VideoLan Player, but apparently without the interactivity (at >least none occurs here). > > >You?d probably do well to stop using QTVR and look for an alternative. I >don?t know what types of VR movies you have, but there are some tools on >this site that are able to output HTML5 panoramas and object movies (and >possibly import QTVR): >http://ggnome.com/ > > >Regards, > >Scott Rossi >Creative Director >Tactile Media, UX/UI Design From pete at lcsql.com Tue Mar 24 21:52:38 2015 From: pete at lcsql.com (Peter Haworth) Date: Wed, 25 Mar 2015 01:52:38 +0000 Subject: SQL lite adding records In-Reply-To: <6A4BB7FB-0F85-40AE-BF2C-BF29772F97CB@pacifier.com> References: <6A4BB7FB-0F85-40AE-BF2C-BF29772F97CB@pacifier.com> Message-ID: Hi John, A few ideas for you. You should issue a BEGIN statement right before your repeat statement and move your revCommitDatabase to right after the end repeat. Better performance and guarantees db integrity. For some reason I don't understand, LC does not have a revxxx statement to issue a BEGIN so you will need to use revExecuteSQL gConID,"BEGIN" right before the repeat statement. Within the repeat, don't forget to check if revExecuteSQL resulted in any errors by checking "the result" right after it - it will be a numeric value if all worked OK, otherwise an error message. If an error occurs, issue a revRollBackDatabase command and exit the repeat. That will return your database to a consistent state before any of your INSERTs happened. I'm a little confused by your INSERT statement. You name 4 columns in the table but only supply 2 values, maybe tLine has comma separated values in it? If so, you will need to enclose each value in single quotes if they are not numeric. Also, if recID is the primary key, no need to include it in the list of columns to be updated or supply a value for it, SQL will take care of that for you. Hope that helps, On Tue, Mar 24, 2015 at 5:04 PM JB wrote: > I am using MySql on a local host and > creating a database then adding records. > After creating the table I was using the > handler below to add records. I was not > using the revCommitDatabase gConID > statement after each record and some > times my database would be missing > one or two records. After including the > revCommitDatabase gConID statement > it appears to be including them all. Is > this the proper and fastest way to add > records in a sql lite database or should > I be using something else like a query > to update instead? > > on fAddFiles > set the itemDelimiter to tab > put fld id 5246 of cd id 5187 into tList > repeat for each line tLine in tList > put "INSERT INTO tFiles(recID,field2, field3, field4) VALUES(null," > & tLine & ")" into sqTable > revExecuteSQL gConID,sqTable > revCommitDatabase gConID > end repeat > fRefresh > gConIDClose > end fAddFiles > > Any information or ideas are helpful. > > John Balgenorth > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Tue Mar 24 22:11:32 2015 From: sundown at pacifier.com (JB) Date: Tue, 24 Mar 2015 19:11:32 -0700 Subject: SQL lite adding records In-Reply-To: References: <6A4BB7FB-0F85-40AE-BF2C-BF29772F97CB@pacifier.com> Message-ID: <46948458-3FC0-47A0-8E6F-6B08D6037E2A@pacifier.com> Hi Peter, Thank you so much for the detailed info! Each value has single quotes now but it would be nice to do it without quotes as adding them takes more time. I will definitely use th BEGIN statement and thank you for explaining it. I tried to use revCommitDatabase after the repeat without the BEGIN and it was missing a file. Your way will be a lot better and I will include the error checking too. I really do not know that much about using a database so if things look weird it is due to me not knowing what I am doing. I tried to go to your site and look at the stack you have for sql database administration but I got a 404 error. Does it include code to sort and find with SQL? If so I am interested. Thanks again! John Balgenorth On Mar 24, 2015, at 6:52 PM, Peter Haworth wrote: > Hi John, > A few ideas for you. > > You should issue a BEGIN statement right before your repeat statement and > move your revCommitDatabase to right after the end repeat. Better > performance and guarantees db integrity. > > For some reason I don't understand, LC does not have a revxxx statement to > issue a BEGIN so you will need to use revExecuteSQL gConID,"BEGIN" right > before the repeat statement. > > Within the repeat, don't forget to check if revExecuteSQL resulted in any > errors by checking "the result" right after it - it will be a numeric value > if all worked OK, otherwise an error message. If an error occurs, issue a > revRollBackDatabase command and exit the repeat. That will return your > database to a consistent state before any of your INSERTs happened. > > I'm a little confused by your INSERT statement. You name 4 columns in the > table but only supply 2 values, maybe tLine has comma separated values in > it? If so, you will need to enclose each value in single quotes if they are > not numeric. > > Also, if recID is the primary key, no need to include it in the list of > columns to be updated or supply a value for it, SQL will take care of that > for you. > > Hope that helps, > > On Tue, Mar 24, 2015 at 5:04 PM JB wrote: > >> I am using MySql on a local host and >> creating a database then adding records. >> After creating the table I was using the >> handler below to add records. I was not >> using the revCommitDatabase gConID >> statement after each record and some >> times my database would be missing >> one or two records. After including the >> revCommitDatabase gConID statement >> it appears to be including them all. Is >> this the proper and fastest way to add >> records in a sql lite database or should >> I be using something else like a query >> to update instead? >> >> on fAddFiles >> set the itemDelimiter to tab >> put fld id 5246 of cd id 5187 into tList >> repeat for each line tLine in tList >> put "INSERT INTO tFiles(recID,field2, field3, field4) VALUES(null," >> & tLine & ")" into sqTable >> revExecuteSQL gConID,sqTable >> revCommitDatabase gConID >> end repeat >> fRefresh >> gConIDClose >> end fAddFiles >> >> Any information or ideas are helpful. >> >> John Balgenorth >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Tue Mar 24 22:26:25 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 24 Mar 2015 21:26:25 -0500 Subject: outsmarted myself with menus? In-Reply-To: References: Message-ID: <55121CD1.2090401@hyperactivesw.com> On 3/24/2015 6:29 PM, Dr. Hawkins wrote: > I've created menus and handlers, and use behaviors for them. > > But when I want to paste, the handler can't find where I was. > > If I'm in a field, "me" and "the target" both point to the menu button, not > the field; the selectedObject contains nothing, and I can't find something > like "menuSource". > > THis is obviously easy and long solved; what am I missing? I've never used behaviors in menus. The Edit menu is the easiest to script, the engine keeps track of everything for you. You only need a single word for each switch item to cover the basic stuff. Here's my standard Edit menu: on menuPick which switch which case "Cut" cut break case "Copy" copy break case "Paste" paste break case "Undo" undo break case "select all" if the selectedfield <> "" then select text of the selectedfield break end switch end menuPick This works with anything: text, images, objects, etc. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Mar 24 22:37:24 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 24 Mar 2015 21:37:24 -0500 Subject: Question re large project organization In-Reply-To: References: <69DA922C-102E-4922-B657-5EA1DDC89C20@earthednet.org> <5511A3C7.3040206@fourthworld.com> <1A273C3A-BCEF-491E-B01D-E98E7425703F@earthednet.org> Message-ID: <55121F64.7030704@hyperactivesw.com> On 3/24/2015 5:50 PM, William Prothero wrote: > it leaves me wishing there was a clear explanation of the standalone > builder and where files get put for various configurations. There's an overview in the User Guide, starting at page 295. It could use more detail, but it's a start. This one > was the checkbox on the ?Copy Files? pane that said ?Copy referenced > files?, and gave a location that didn?t sound too bad. Well, I did > want to copy the files, so I checked it. But then some of the > referenced text files disappeared into the ?great beyond?. That checkbox is explained as, "Loops over all image and player objects in stacks and copies any files referenced in the fileName property of these objects into the standalone. Then automatically sets the fileName property to reference these files in the standalone using referenced file paths." I never use it, but it doesn't sound like it should affect other types of files. Even if it does copy stacks, the originals should still be where they were before. Copied files would be inside the app bundle on a Mac, or in a folder on other OSs. You can designate a folder name just under that checkbox, or let it used the default name "Referenced Files". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sundown at pacifier.com Tue Mar 24 22:35:10 2015 From: sundown at pacifier.com (JB) Date: Tue, 24 Mar 2015 19:35:10 -0700 Subject: SQL lite adding records In-Reply-To: <46948458-3FC0-47A0-8E6F-6B08D6037E2A@pacifier.com> References: <6A4BB7FB-0F85-40AE-BF2C-BF29772F97CB@pacifier.com> <46948458-3FC0-47A0-8E6F-6B08D6037E2A@pacifier.com> Message-ID: <055FE158-3564-4782-A39B-9AFCD76A0929@pacifier.com> I should mention when I said sort and find I mean in a single table. I did the Sample database and can do the inner and outer joins. I also have Valentina and can do just about everything they offer including sort and find but I want to use SQL also. John Balgenorth On Mar 24, 2015, at 7:11 PM, JB wrote: > Hi Peter, > > Thank you so much for the detailed info! > > Each value has single quotes now but it > would be nice to do it without quotes as > adding them takes more time. > > I will definitely use th BEGIN statement > and thank you for explaining it. I tried to > use revCommitDatabase after the repeat > without the BEGIN and it was missing a > file. Your way will be a lot better and I > will include the error checking too. > > I really do not know that much about using > a database so if things look weird it is due > to me not knowing what I am doing. > > I tried to go to your site and look at the stack > you have for sql database administration but > I got a 404 error. Does it include code to sort > and find with SQL? If so I am interested. > > Thanks again! > > John Balgenorth > > > On Mar 24, 2015, at 6:52 PM, Peter Haworth wrote: > >> Hi John, >> A few ideas for you. >> >> You should issue a BEGIN statement right before your repeat statement and >> move your revCommitDatabase to right after the end repeat. Better >> performance and guarantees db integrity. >> >> For some reason I don't understand, LC does not have a revxxx statement to >> issue a BEGIN so you will need to use revExecuteSQL gConID,"BEGIN" right >> before the repeat statement. >> >> Within the repeat, don't forget to check if revExecuteSQL resulted in any >> errors by checking "the result" right after it - it will be a numeric value >> if all worked OK, otherwise an error message. If an error occurs, issue a >> revRollBackDatabase command and exit the repeat. That will return your >> database to a consistent state before any of your INSERTs happened. >> >> I'm a little confused by your INSERT statement. You name 4 columns in the >> table but only supply 2 values, maybe tLine has comma separated values in >> it? If so, you will need to enclose each value in single quotes if they are >> not numeric. >> >> Also, if recID is the primary key, no need to include it in the list of >> columns to be updated or supply a value for it, SQL will take care of that >> for you. >> >> Hope that helps, >> >> On Tue, Mar 24, 2015 at 5:04 PM JB wrote: >> >>> I am using MySql on a local host and >>> creating a database then adding records. >>> After creating the table I was using the >>> handler below to add records. I was not >>> using the revCommitDatabase gConID >>> statement after each record and some >>> times my database would be missing >>> one or two records. After including the >>> revCommitDatabase gConID statement >>> it appears to be including them all. Is >>> this the proper and fastest way to add >>> records in a sql lite database or should >>> I be using something else like a query >>> to update instead? >>> >>> on fAddFiles >>> set the itemDelimiter to tab >>> put fld id 5246 of cd id 5187 into tList >>> repeat for each line tLine in tList >>> put "INSERT INTO tFiles(recID,field2, field3, field4) VALUES(null," >>> & tLine & ")" into sqTable >>> revExecuteSQL gConID,sqTable >>> revCommitDatabase gConID >>> end repeat >>> fRefresh >>> gConIDClose >>> end fAddFiles >>> >>> Any information or ideas are helpful. >>> >>> John Balgenorth >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Tue Mar 24 23:13:54 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 24 Mar 2015 20:13:54 -0700 Subject: SQL lite adding records In-Reply-To: References: <6A4BB7FB-0F85-40AE-BF2C-BF29772F97CB@pacifier.com> Message-ID: On Tue, Mar 24, 2015 at 6:52 PM, Peter Haworth wrote: > You should issue a BEGIN statement right before your repeat statement and > move your revCommitDatabase to right after the end repeat. Better > performance and guarantees db integrity. > Also, you can build a large statement for a single transactoin put "BEGIN TRANSACTION;" & cr into dcmd repeat in some way or another put "SOME COMMAND;" & cr after dcmd end repeat put "END TRANSACTION;" & cr after dcmd revExecuteSQL -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From sundown at pacifier.com Tue Mar 24 23:19:50 2015 From: sundown at pacifier.com (JB) Date: Tue, 24 Mar 2015 20:19:50 -0700 Subject: SQL lite adding records In-Reply-To: References: <6A4BB7FB-0F85-40AE-BF2C-BF29772F97CB@pacifier.com> Message-ID: <2E371506-AD96-4C19-8804-5ACE53A40E5E@pacifier.com> Thank you, Dr. Hawkins! I have not heard of BEGIN TRANSACTION but I will give it a try. John Balgenorth John On Mar 24, 2015, at 8:13 PM, Dr. Hawkins wrote: > On Tue, Mar 24, 2015 at 6:52 PM, Peter Haworth wrote: > >> You should issue a BEGIN statement right before your repeat statement and >> move your revCommitDatabase to right after the end repeat. Better >> performance and guarantees db integrity. >> > > Also, you can build a large statement for a single transactoin > > put "BEGIN TRANSACTION;" & cr into dcmd > > repeat in some way or another > put "SOME COMMAND;" & cr after dcmd > end repeat > > put "END TRANSACTION;" & cr after dcmd > > revExecuteSQL > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Tue Mar 24 23:30:44 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 24 Mar 2015 20:30:44 -0700 Subject: SQL lite adding records In-Reply-To: <2E371506-AD96-4C19-8804-5ACE53A40E5E@pacifier.com> References: <6A4BB7FB-0F85-40AE-BF2C-BF29772F97CB@pacifier.com> <2E371506-AD96-4C19-8804-5ACE53A40E5E@pacifier.com> Message-ID: On Tue, Mar 24, 2015 at 8:19 PM, JB wrote: > I have not heard of BEGIN TRANSACTION > but I will give it a try. > At least assuming a disk stored db, it is likely also faster. In my case, I pull several hundred records from a remote postgres db, and stash them into a memory sqlite db. My enemy isn't local performance, but lag on each transaction; combining tehm makes my application possible. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From sundown at pacifier.com Tue Mar 24 23:36:35 2015 From: sundown at pacifier.com (JB) Date: Tue, 24 Mar 2015 20:36:35 -0700 Subject: SQL lite adding records In-Reply-To: References: <6A4BB7FB-0F85-40AE-BF2C-BF29772F97CB@pacifier.com> <2E371506-AD96-4C19-8804-5ACE53A40E5E@pacifier.com> Message-ID: <7010BA20-0F9E-478D-9E61-A088B0F2C6CA@pacifier.com> It is a disk stored db, and I will be adding a lot of records at one time every so often. Speeding it up will be great! thanks again, John Balgenorth On Mar 24, 2015, at 8:30 PM, Dr. Hawkins wrote: > On Tue, Mar 24, 2015 at 8:19 PM, JB wrote: > >> I have not heard of BEGIN TRANSACTION >> but I will give it a try. >> > > At least assuming a disk stored db, it is likely also faster. > > In my case, I pull several hundred records from a remote postgres db, and > stash them into a memory sqlite db. > > My enemy isn't local performance, but lag on each transaction; combining > tehm makes my application possible. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at whitefeather.com Wed Mar 25 00:48:01 2015 From: paul at whitefeather.com (Paul Foraker) Date: Tue, 24 Mar 2015 21:48:01 -0700 Subject: [OT] Problem with MySQL Insert Message-ID: In a table in a MySQL database, I need a field displaying a time period corresponding to the half hour period during which a record was posted. The period is in the form "HH:MM-HH:MM AM|PM". I have set the field type to VARCHAR(10) and LiveCode is passing the string to the query handler. MySQL is interpreting the incoming text as a date and converting it to my local offset from server time. In the Variable Watcher, before the revExecuteSQL, the pPeriod has the correct time period; e.g., 11:00-11:30 PM. In the database, Sequel Pro shows the period field with a value of 6:00-6:30 PM when Jacque in Minnesota posts the record at 11:00 PM Minnesota time, and 4:00-4:30 PM when I do it in California. I'm surprised that MySQL is doing this interpretation of a character string to a time value. How do I prevent that from happening? In Sequel Pro, I entered this command: INSERT INTO report (`shortdate`,`period`,`dsp_id`, `dsp_name`, `client_id`,`client_name`, `behavior_label`, `behavior_desc`, `observed`) VALUES ("3/15/2014","12:30-1:00 PM",22,"fred",22,"lucy","jumping","high",1) and the period field correctly displayed "12:30-1:00 PM". Here's the LiveCode handler: on sendReport pShortDate,pPeriod,pDSPid,pDSPname,pClientID,pClientName,pRows getConnected ## establishes the database connection set the itemDel to tab put "INSERT INTO report (`shortdate`,`period`,`dsp_id`, `dsp_name`, `client_id`,`client_name`, `behavior_label`, `behavior_desc`, `observed`)" && \ "VALUES " into tSQL repeat for each line thisRow in pRows put "('" & pShortDate & "', '" & pPeriod & "', '" & pDSPid & "', '" & pDSPname &"', '" & pClientID &"', '" & pClientName &"', '" & \ item 1 of thisRow & "', '" & item 2 of thisRow & "', '" & item 3 of thisRow & "')," after tSQL end repeat put ";" into last char of tSQL revExecuteSQL gBTdbID,tSQL ... Any ideas how to do this? From prothero at earthednet.org Wed Mar 25 01:33:13 2015 From: prothero at earthednet.org (William Prothero) Date: Tue, 24 Mar 2015 22:33:13 -0700 Subject: Question re large project organization In-Reply-To: <55121F64.7030704@hyperactivesw.com> References: <69DA922C-102E-4922-B657-5EA1DDC89C20@earthednet.org> <5511A3C7.3040206@fourthworld.com> <1A273C3A-BCEF-491E-B01D-E98E7425703F@earthednet.org> <55121F64.7030704@hyperactivesw.com> Message-ID: <8B67248E-288C-4467-8061-DC49D74AEFE5@earthednet.org> Jackie: Thanks. I?ll check it out. I had to uncheck that ?Copy reference files? to get all of my other files in the standalone. I?ll have to investigate further, because, given the clear explanation you gave below, it should not affect the other data files that are in the folder whose contents I expect to be copied into the standalone. Bill > On Mar 24, 2015, at 7:37 PM, J. Landman Gay wrote: > > On 3/24/2015 5:50 PM, William Prothero wrote: >> it leaves me wishing there was a clear explanation of the standalone >> builder and where files get put for various configurations. > > There's an overview in the User Guide, starting at page 295. It could use more detail, but it's a start. > > This one >> was the checkbox on the ?Copy Files? pane that said ?Copy referenced >> files?, and gave a location that didn?t sound too bad. Well, I did >> want to copy the files, so I checked it. But then some of the >> referenced text files disappeared into the ?great beyond?. > > That checkbox is explained as, "Loops over all image and player objects in stacks and copies any files referenced in the fileName property of these objects into the standalone. Then automatically sets the fileName property to reference these files in the standalone using referenced file paths." > > I never use it, but it doesn't sound like it should affect other types of files. Even if it does copy stacks, the originals should still be where they were before. > > Copied files would be inside the app bundle on a Mac, or in a folder on other OSs. You can designate a folder name just under that checkbox, or let it used the default name "Referenced Files". > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Mar 25 02:57:47 2015 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 25 Mar 2015 08:57:47 +0200 Subject: focusIn Message-ID: <55125C6B.5020104@gmail.com> I tried this: on focusIn set the backGroundColor of fld "CHAMP" to green end focusIn and it didn't work. I wanted to change a field's backGroundColor when someone selects that field; obviously THAT method doesn't work. Richmond. From dixonja at hotmail.co.uk Wed Mar 25 03:14:57 2015 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 25 Mar 2015 07:14:57 +0000 Subject: focusIn In-Reply-To: <55125C6B.5020104@gmail.com> References: <55125C6B.5020104@gmail.com> Message-ID: Richmond... from the dictionary... 'If the control is an unlocked field ..... the openField message is sent to it instead of the focusIn message.' Is your field unlocked ?...:-) > Date: Wed, 25 Mar 2015 08:57:47 +0200 > From: richmondmathewson at gmail.com > To: use-livecode at lists.runrev.com > Subject: focusIn > > I tried this: > > on focusIn > set the backGroundColor of fld "CHAMP" to green > end focusIn > > and it didn't work. > > I wanted to change a field's backGroundColor when someone selects that > field; > obviously THAT method doesn't work. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Mar 25 03:17:33 2015 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 25 Mar 2015 09:17:33 +0200 Subject: focusIn In-Reply-To: References: <55125C6B.5020104@gmail.com> Message-ID: <5512610D.1010400@gmail.com> On 25/03/15 09:14, John Dixon wrote: > Richmond... > > from the dictionary... 'If the control is an unlocked field ..... the openField message is sent to it instead of the focusIn message.' > > Is your field unlocked ?...:-) Cannot see any difference really. > > >> Date: Wed, 25 Mar 2015 08:57:47 +0200 >> From: richmondmathewson at gmail.com >> To: use-livecode at lists.runrev.com >> Subject: focusIn >> >> I tried this: >> >> on focusIn >> set the backGroundColor of fld "CHAMP" to green >> end focusIn >> >> and it didn't work. >> >> I wanted to change a field's backGroundColor when someone selects that >> field; >> obviously THAT method doesn't work. >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at whitefeather.com Wed Mar 25 03:36:37 2015 From: paul at whitefeather.com (Paul Foraker) Date: Wed, 25 Mar 2015 00:36:37 -0700 Subject: [OT] Problem with MySQL Insert In-Reply-To: References: Message-ID: Now that I think about this, is this a 'feature' of revExecuteSQL ? A string that looks like a time gets coerced by the command into a time and adjusted for time zone without regard to the field type of the destination database field. Can that be what's happening? On Tue, Mar 24, 2015 at 9:48 PM, Paul Foraker wrote: > In a table in a MySQL database, I need a field displaying a time period > corresponding to the half hour period during which a record was posted. The > period is in the form "HH:MM-HH:MM AM|PM". I have set the field type to > VARCHAR(10) and LiveCode is passing the string to the query handler. MySQL > is interpreting the incoming text as a date and converting it to my local > offset from server time. > > In the Variable Watcher, before the revExecuteSQL, the pPeriod has the > correct time period; e.g., 11:00-11:30 PM. In the database, Sequel Pro > shows the period field with a value of 6:00-6:30 PM when Jacque in > Minnesota posts the record at 11:00 PM Minnesota time, and 4:00-4:30 PM > when I do it in California. > > I'm surprised that MySQL is doing this interpretation of a character > string to a time value. How do I prevent that from happening? > > In Sequel Pro, I entered this command: > > INSERT INTO report > (`shortdate`,`period`,`dsp_id`, `dsp_name`, `client_id`,`client_name`, > `behavior_label`, `behavior_desc`, `observed`) > VALUES ("3/15/2014","12:30-1:00 > PM",22,"fred",22,"lucy","jumping","high",1) > > and the period field correctly displayed "12:30-1:00 PM". > > Here's the LiveCode handler: > > on sendReport > pShortDate,pPeriod,pDSPid,pDSPname,pClientID,pClientName,pRows > getConnected ## establishes the database connection > set the itemDel to tab > put "INSERT INTO report (`shortdate`,`period`,`dsp_id`, `dsp_name`, > `client_id`,`client_name`, `behavior_label`, `behavior_desc`, `observed`)" > && \ > "VALUES " into tSQL > repeat for each line thisRow in pRows > put "('" & pShortDate & "', '" & pPeriod & "', '" & pDSPid & "', '" & > pDSPname &"', '" & pClientID &"', '" & pClientName &"', '" & \ > item 1 of thisRow & "', '" & item 2 of thisRow & "', '" & item 3 > of thisRow & "')," after tSQL > end repeat > put ";" into last char of tSQL > revExecuteSQL gBTdbID,tSQL > ... > > Any ideas how to do this? > -- White Feather Software www.whitefeather.com Cell: 408-391-1480 From m.schonewille at economy-x-talk.com Wed Mar 25 04:27:12 2015 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 25 Mar 2015 09:27:12 +0100 Subject: [OT] Problem with MySQL Insert In-Reply-To: References: Message-ID: <55127160.4020600@economy-x-talk.com> Hi Paul, MySQL definitely doesn't guess that your string consists of two times and definitely doesn't guess that it should be converted depending on time zone. MySQL doesn't interprete a string as a date if the field for that string isn't defined as a date. Your field is defined as VARCHAR and thus the string will be stored without modification. Something else is going on here. First of all, VARCHAR(10) is wrong. This should be VARCHAR(14) if I counted correctly. Perhaps you need to add the line put tSQL after the constuction of the MySQL command in your syntax and see what appears in the message box. Can you confirm that the MySQL syntax you see in the message box is the same as what you entered in Sequel Pro? What are the collations of the database and the time field? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/25/2015 05:48, Paul Foraker wrote: > In a table in a MySQL database, I need a field displaying a time period > corresponding to the half hour period during which a record was posted. The > period is in the form "HH:MM-HH:MM AM|PM". I have set the field type to > VARCHAR(10) and LiveCode is passing the string to the query handler. MySQL > is interpreting the incoming text as a date and converting it to my local > offset from server time. > > In the Variable Watcher, before the revExecuteSQL, the pPeriod has the > correct time period; e.g., 11:00-11:30 PM. In the database, Sequel Pro > shows the period field with a value of 6:00-6:30 PM when Jacque in > Minnesota posts the record at 11:00 PM Minnesota time, and 4:00-4:30 PM > when I do it in California. > > I'm surprised that MySQL is doing this interpretation of a character string > to a time value. How do I prevent that from happening? > > In Sequel Pro, I entered this command: > > INSERT INTO report > (`shortdate`,`period`,`dsp_id`, `dsp_name`, `client_id`,`client_name`, > `behavior_label`, `behavior_desc`, `observed`) > VALUES ("3/15/2014","12:30-1:00 > PM",22,"fred",22,"lucy","jumping","high",1) > > and the period field correctly displayed "12:30-1:00 PM". > > Here's the LiveCode handler: > > on sendReport pShortDate,pPeriod,pDSPid,pDSPname,pClientID,pClientName,pRows > getConnected ## establishes the database connection > set the itemDel to tab > put "INSERT INTO report (`shortdate`,`period`,`dsp_id`, `dsp_name`, > `client_id`,`client_name`, `behavior_label`, `behavior_desc`, `observed`)" > && \ > "VALUES " into tSQL > repeat for each line thisRow in pRows > put "('" & pShortDate & "', '" & pPeriod & "', '" & pDSPid & "', '" & > pDSPname &"', '" & pClientID &"', '" & pClientName &"', '" & \ > item 1 of thisRow & "', '" & item 2 of thisRow & "', '" & item 3 > of thisRow & "')," after tSQL > end repeat > put ";" into last char of tSQL > revExecuteSQL gBTdbID,tSQL > ... > > Any ideas how to do this? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Wed Mar 25 09:43:22 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 25 Mar 2015 06:43:22 -0700 Subject: outsmarted myself with menus? In-Reply-To: <55121CD1.2090401@hyperactivesw.com> References: <55121CD1.2090401@hyperactivesw.com> Message-ID: On Tue, Mar 24, 2015 at 7:26 PM, J. Landman Gay wrote: > I've never used behaviors in menus. The Edit menu is the easiest to > script, the engine keeps track of everything for you. You only need a > single word for each switch item to cover the basic stuff. Here's my > standard Edit menu: The same menu gets used in several stacks; the behavior is to keep them in sync. (the updating routine on version change loops through and sets the behavior, text, and properties to those of the maintained button)> -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Wed Mar 25 09:44:37 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 25 Mar 2015 06:44:37 -0700 Subject: outsmarted myself with menus? In-Reply-To: References: Message-ID: On Tue, Mar 24, 2015 at 5:24 PM, Terry Judd wrote: > Try one or more of focusedObject(), selectedField(), selectedChunk() > Naturally, when I went back, the menu *was *getting called. One more intermittent thing to debug . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From paul at whitefeather.com Wed Mar 25 10:16:40 2015 From: paul at whitefeather.com (Paul Foraker) Date: Wed, 25 Mar 2015 07:16:40 -0700 Subject: [OT] Problem with MySQL Insert In-Reply-To: <55127160.4020600@economy-x-talk.com> References: <55127160.4020600@economy-x-talk.com> Message-ID: Thanks, Mark. On Wed, Mar 25, 2015 at 1:27 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Can you confirm that the MySQL syntax you see in the message box is the > same as what you entered in Sequel Pro? > In Sequel Pro, I wrapped the time period in double quotes. When we tried that in LiveCode, it posted the quotes to the field, and the times were still adjusted. (I mistyped the 10... it's set at 20). > > What are the collations of the database and the time field? > Sequel Pro is displaying 'latin1_swedish_ci' as the default for the VARCHAR fields. -- White Feather Software www.whitefeather.com Cell: 408-391-1480 From lan.kc.macmail at gmail.com Wed Mar 25 10:30:04 2015 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 25 Mar 2015 22:30:04 +0800 Subject: focusIn In-Reply-To: <5512610D.1010400@gmail.com> References: <55125C6B.5020104@gmail.com> <5512610D.1010400@gmail.com> Message-ID: LC 7.0.3 New stack, two new fields with their lockText set to true. In both fields their scripts: on focusIn set the backgroundColor of me to green end focusIn on focusOut set the backgroundColor of me to red end focusOut Pressing the Tab key moves the focus from one to the other and the backgroundColor changes from green to red and vice versa. If I change the lockText to false in both fields, then change the script to: on openField set the backgroundColor of me to green end openField on ExitField set the backgroundColor of me to red end ExitField Again the backgroundColor changes from red to green and vice versa when I tab. So you are right. There is no difference. PS If you need the same to happen when data in the field is changed then you'd also have to include an CloseField handler. On Wed, Mar 25, 2015 at 3:17 PM, Richmond wrote: > On 25/03/15 09:14, John Dixon wrote: > >> Richmond... >> >> from the dictionary... 'If the control is an unlocked field ..... the >> openField message is sent to it instead of the focusIn message.' >> >> Is your field unlocked ?...:-) >> > Cannot see any difference really. > > > >> >> Date: Wed, 25 Mar 2015 08:57:47 +0200 >>> From: richmondmathewson at gmail.com >>> To: use-livecode at lists.runrev.com >>> Subject: focusIn >>> >>> I tried this: >>> >>> on focusIn >>> set the backGroundColor of fld "CHAMP" to green >>> end focusIn >>> >>> and it didn't work. >>> >>> I wanted to change a field's backGroundColor when someone selects that >>> field; >>> obviously THAT method doesn't work. >>> >>> Richmond. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Mar 25 11:08:00 2015 From: pete at lcsql.com (Peter Haworth) Date: Wed, 25 Mar 2015 15:08:00 +0000 Subject: [OT] Problem with MySQL Insert References: <55127160.4020600@economy-x-talk.com> Message-ID: As Mark said, it's hard to believe mySQL is doing this. The other element is Sequel Pro - not likely but maybe it's doing the time conversion? Have you tried selecting the data with Livecode (revDataFromQuery)? On Wed, Mar 25, 2015, 7:18 AM Paul Foraker wrote: > Thanks, Mark. > > On Wed, Mar 25, 2015 at 1:27 AM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > > > Can you confirm that the MySQL syntax you see in the message box is the > > same as what you entered in Sequel Pro? > > > > In Sequel Pro, I wrapped the time period in double quotes. > > When we tried that in LiveCode, it posted the quotes to the field, and the > times were still adjusted. > > (I mistyped the 10... it's set at 20). > > > > > > What are the collations of the database and the time field? > > > > Sequel Pro is displaying 'latin1_swedish_ci' as the default for the VARCHAR > fields. > > -- > > White Feather Software > www.whitefeather.com > Cell: 408-391-1480 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From t.heaford at icloud.com Wed Mar 25 11:11:22 2015 From: t.heaford at icloud.com (Terence Heaford) Date: Wed, 25 Mar 2015 15:11:22 +0000 Subject: Bug in LC Menu when opening windows as a sheet LC 6.7.3 and 7.0.3 OS X? In-Reply-To: <5511D3D7.20502@fourthworld.com> References: <15E64F61-DB8D-430F-A952-E5478EB77A98@icloud.com> <5511D3D7.20502@fourthworld.com> Message-ID: <9A3D6F04-6191-4B40-A3B5-24000BAC5F66@icloud.com> > On 24 Mar 2015, at 21:15, Richard Gaskin wrote: > > Thanks for filing the bug report. I've added the Mozilla link. For information: thank you for logging this report and getting back to us with a sample stack. We have now confirmed the bug in your bug report and will continue to update you as the status of this issue changes. The stack is in 7.0 format, but saving it as 5.5 format also allows me to replicate the issue in earlier versions of LiveCode. Kind Regards, Hanson From richmondmathewson at gmail.com Wed Mar 25 12:17:27 2015 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 25 Mar 2015 18:17:27 +0200 Subject: focusIn In-Reply-To: References: <55125C6B.5020104@gmail.com> <5512610D.1010400@gmail.com> Message-ID: <5512DF97.8070703@gmail.com> I got things a bit wrong as I wanted the field backGroundColor to change when end-users selected a field, so, after going for a walk I changed things to the far simpler: on mouseEnter set the backGroundColor of me to green end mouseEnter on mouseLeave set the backGroundColor of me to red\ end mouseLeave Richmond. > LC 7.0.3 > New stack, two new fields with their lockText set to true. > In both fields their scripts: > > on focusIn > set the backgroundColor of me to green > end focusIn > > on focusOut > set the backgroundColor of me to red > end focusOut > > Pressing the Tab key moves the focus from one to the other and the > backgroundColor changes from green to red and vice versa. > If I change the lockText to false in both fields, then change the script to: > > on openField > set the backgroundColor of me to green > end openField > > on ExitField > set the backgroundColor of me to red > end ExitField > > Again the backgroundColor changes from red to green and vice versa when I > tab. > > So you are right. There is no difference. > > PS If you need the same to happen when data in the field is changed then > you'd also have to include an CloseField handler. > > On Wed, Mar 25, 2015 at 3:17 PM, Richmond > wrote: > >> On 25/03/15 09:14, John Dixon wrote: >> >>> Richmond... >>> >>> from the dictionary... 'If the control is an unlocked field ..... the >>> openField message is sent to it instead of the focusIn message.' >>> >>> Is your field unlocked ?...:-) >>> >> Cannot see any difference really. >> >> >> >>> Date: Wed, 25 Mar 2015 08:57:47 +0200 >>>> From: richmondmathewson at gmail.com >>>> To: use-livecode at lists.runrev.com >>>> Subject: focusIn >>>> >>>> I tried this: >>>> >>>> on focusIn >>>> set the backGroundColor of fld "CHAMP" to green >>>> end focusIn >>>> >>>> and it didn't work. >>>> >>>> I wanted to change a field's backGroundColor when someone selects that >>>> field; >>>> obviously THAT method doesn't work. >>>> >>>> Richmond. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Mar 25 12:53:13 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 25 Mar 2015 16:53:13 +0000 Subject: SQL lite adding records In-Reply-To: <46948458-3FC0-47A0-8E6F-6B08D6037E2A@pacifier.com> References: <6A4BB7FB-0F85-40AE-BF2C-BF29772F97CB@pacifier.com> <46948458-3FC0-47A0-8E6F-6B08D6037E2A@pacifier.com> Message-ID: <38C4398E-5E17-43CB-BB1B-13CD846485AC@iotecdigital.com> Just to be clear, using BEGIN and COMMIT is called transactional. It?s purpose is to be able to ROLLBACK if any errors occurred. This not only includes SQL errors (which should not be happening if you control the SQL and data), but internal errors, like for instance you insert an invoice then go to update the running totals in a customer record, but find someone else has the customer record locked, so you need to roll back any inserts/updates you?ve done and alert the user. For simple SQL Inserts/Updates where errors are highly unlikely and you are not using SQL in a multiuser setting, it isn?t strictly necessary IMHO. There is one other benefit and that is speed. From what I gather from the discussions here, transactional processing gains some performance for a large number of sequential transactions, because the SQL engine does not have to actually do the real work of inserting/updating/indexing until you tell it to COMMIT, during which you client app goes on it?s merry way. Others more knowledgable than me will correct me on any points I may have wrong. Bob S > On Mar 24, 2015, at 19:11 , JB wrote: > > Hi Peter, > > Thank you so much for the detailed info! > > Each value has single quotes now but it > would be nice to do it without quotes as > adding them takes more time. > > I will definitely use th BEGIN statement > and thank you for explaining it. I tried to > use revCommitDatabase after the repeat > without the BEGIN and it was missing a > file. Your way will be a lot better and I > will include the error checking too. > > I really do not know that much about using > a database so if things look weird it is due > to me not knowing what I am doing. > > I tried to go to your site and look at the stack > you have for sql database administration but > I got a 404 error. Does it include code to sort > and find with SQL? If so I am interested. > > Thanks again! > > John Balgenorth > > > On Mar 24, 2015, at 6:52 PM, Peter Haworth wrote: > >> Hi John, >> A few ideas for you. >> >> You should issue a BEGIN statement right before your repeat statement and >> move your revCommitDatabase to right after the end repeat. Better >> performance and guarantees db integrity. >> >> For some reason I don't understand, LC does not have a revxxx statement to >> issue a BEGIN so you will need to use revExecuteSQL gConID,"BEGIN" right >> before the repeat statement. >> >> Within the repeat, don't forget to check if revExecuteSQL resulted in any >> errors by checking "the result" right after it - it will be a numeric value >> if all worked OK, otherwise an error message. If an error occurs, issue a >> revRollBackDatabase command and exit the repeat. That will return your >> database to a consistent state before any of your INSERTs happened. >> >> I'm a little confused by your INSERT statement. You name 4 columns in the >> table but only supply 2 values, maybe tLine has comma separated values in >> it? If so, you will need to enclose each value in single quotes if they are >> not numeric. >> >> Also, if recID is the primary key, no need to include it in the list of >> columns to be updated or supply a value for it, SQL will take care of that >> for you. >> >> Hope that helps, >> >> On Tue, Mar 24, 2015 at 5:04 PM JB wrote: >> >>> I am using MySql on a local host and >>> creating a database then adding records. >>> After creating the table I was using the >>> handler below to add records. I was not >>> using the revCommitDatabase gConID >>> statement after each record and some >>> times my database would be missing >>> one or two records. After including the >>> revCommitDatabase gConID statement >>> it appears to be including them all. Is >>> this the proper and fastest way to add >>> records in a sql lite database or should >>> I be using something else like a query >>> to update instead? >>> >>> on fAddFiles >>> set the itemDelimiter to tab >>> put fld id 5246 of cd id 5187 into tList >>> repeat for each line tLine in tList >>> put "INSERT INTO tFiles(recID,field2, field3, field4) VALUES(null," >>> & tLine & ")" into sqTable >>> revExecuteSQL gConID,sqTable >>> revCommitDatabase gConID >>> end repeat >>> fRefresh >>> gConIDClose >>> end fAddFiles >>> >>> Any information or ideas are helpful. >>> >>> John Balgenorth >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Mar 25 12:57:32 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 25 Mar 2015 16:57:32 +0000 Subject: outsmarted myself with menus? In-Reply-To: <55121CD1.2090401@hyperactivesw.com> References: <55121CD1.2090401@hyperactivesw.com> Message-ID: This of course ,limits Select All to text in fields. Combo Boxes are excluded as they are buttons. Easy enough to account for though. Bob S On Mar 24, 2015, at 19:26 , J. Landman Gay > wrote: case "select all" if the selectedfield <> "" then select text of the selectedfield break From pete at lcsql.com Wed Mar 25 12:58:50 2015 From: pete at lcsql.com (Peter Haworth) Date: Wed, 25 Mar 2015 16:58:50 +0000 Subject: SQL lite adding records In-Reply-To: <38C4398E-5E17-43CB-BB1B-13CD846485AC@iotecdigital.com> References: <6A4BB7FB-0F85-40AE-BF2C-BF29772F97CB@pacifier.com> <46948458-3FC0-47A0-8E6F-6B08D6037E2A@pacifier.com> <38C4398E-5E17-43CB-BB1B-13CD846485AC@iotecdigital.com> Message-ID: Not necessary in one shot INSERT/UPDATE/DELETE because SQL does it for you behind the scenes if you don't issue the BEGIN/COMMIT your self. However, if you have a logically related set of INSERT/UPDATE/DELETE statements, even if it's only two, it's absolutely necessary for database integrity reasons. Plus, as you pointed out, it can have an order of magnitude effect on performance if you are INSERT/UPDATE/DELETE a large number of rows. On Wed, Mar 25, 2015 at 9:54 AM Bob Sneidar wrote: > Just to be clear, using BEGIN and COMMIT is called transactional. It?s > purpose is to be able to ROLLBACK if any errors occurred. This not only > includes SQL errors (which should not be happening if you control the SQL > and data), but internal errors, like for instance you insert an invoice > then go to update the running totals in a customer record, but find someone > else has the customer record locked, so you need to roll back any > inserts/updates you?ve done and alert the user. > > For simple SQL Inserts/Updates where errors are highly unlikely and you > are not using SQL in a multiuser setting, it isn?t strictly necessary IMHO. > There is one other benefit and that is speed. From what I gather from the > discussions here, transactional processing gains some performance for a > large number of sequential transactions, because the SQL engine does not > have to actually do the real work of inserting/updating/indexing until you > tell it to COMMIT, during which you client app goes on it?s merry way. > > Others more knowledgable than me will correct me on any points I may have > wrong. > > Bob S > > > > On Mar 24, 2015, at 19:11 , JB wrote: > > > > Hi Peter, > > > > Thank you so much for the detailed info! > > > > Each value has single quotes now but it > > would be nice to do it without quotes as > > adding them takes more time. > > > > I will definitely use th BEGIN statement > > and thank you for explaining it. I tried to > > use revCommitDatabase after the repeat > > without the BEGIN and it was missing a > > file. Your way will be a lot better and I > > will include the error checking too. > > > > I really do not know that much about using > > a database so if things look weird it is due > > to me not knowing what I am doing. > > > > I tried to go to your site and look at the stack > > you have for sql database administration but > > I got a 404 error. Does it include code to sort > > and find with SQL? If so I am interested. > > > > Thanks again! > > > > John Balgenorth > > > > > > On Mar 24, 2015, at 6:52 PM, Peter Haworth wrote: > > > >> Hi John, > >> A few ideas for you. > >> > >> You should issue a BEGIN statement right before your repeat statement > and > >> move your revCommitDatabase to right after the end repeat. Better > >> performance and guarantees db integrity. > >> > >> For some reason I don't understand, LC does not have a revxxx statement > to > >> issue a BEGIN so you will need to use revExecuteSQL gConID,"BEGIN" right > >> before the repeat statement. > >> > >> Within the repeat, don't forget to check if revExecuteSQL resulted in > any > >> errors by checking "the result" right after it - it will be a numeric > value > >> if all worked OK, otherwise an error message. If an error occurs, > issue a > >> revRollBackDatabase command and exit the repeat. That will return your > >> database to a consistent state before any of your INSERTs happened. > >> > >> I'm a little confused by your INSERT statement. You name 4 columns in > the > >> table but only supply 2 values, maybe tLine has comma separated values > in > >> it? If so, you will need to enclose each value in single quotes if they > are > >> not numeric. > >> > >> Also, if recID is the primary key, no need to include it in the list of > >> columns to be updated or supply a value for it, SQL will take care of > that > >> for you. > >> > >> Hope that helps, > >> > >> On Tue, Mar 24, 2015 at 5:04 PM JB wrote: > >> > >>> I am using MySql on a local host and > >>> creating a database then adding records. > >>> After creating the table I was using the > >>> handler below to add records. I was not > >>> using the revCommitDatabase gConID > >>> statement after each record and some > >>> times my database would be missing > >>> one or two records. After including the > >>> revCommitDatabase gConID statement > >>> it appears to be including them all. Is > >>> this the proper and fastest way to add > >>> records in a sql lite database or should > >>> I be using something else like a query > >>> to update instead? > >>> > >>> on fAddFiles > >>> set the itemDelimiter to tab > >>> put fld id 5246 of cd id 5187 into tList > >>> repeat for each line tLine in tList > >>> put "INSERT INTO tFiles(recID,field2, field3, field4) VALUES(null," > >>> & tLine & ")" into sqTable > >>> revExecuteSQL gConID,sqTable > >>> revCommitDatabase gConID > >>> end repeat > >>> fRefresh > >>> gConIDClose > >>> end fAddFiles > >>> > >>> Any information or ideas are helpful. > >>> > >>> John Balgenorth > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Wed Mar 25 13:03:06 2015 From: pete at lcsql.com (Peter Haworth) Date: Wed, 25 Mar 2015 17:03:06 +0000 Subject: SQL lite adding records In-Reply-To: <46948458-3FC0-47A0-8E6F-6B08D6037E2A@pacifier.com> References: <6A4BB7FB-0F85-40AE-BF2C-BF29772F97CB@pacifier.com> <46948458-3FC0-47A0-8E6F-6B08D6037E2A@pacifier.com> Message-ID: Whoops! Thanks for letting me know about the 404 error - will go to fix it right now. SQLIteAdmin does have query/sort features but, just to be clear, it is a standalone program so you can't see the code. Pete On Tue, Mar 24, 2015 at 7:14 PM JB wrote: > Hi Peter, > > Thank you so much for the detailed info! > > Each value has single quotes now but it > would be nice to do it without quotes as > adding them takes more time. > > I will definitely use th BEGIN statement > and thank you for explaining it. I tried to > use revCommitDatabase after the repeat > without the BEGIN and it was missing a > file. Your way will be a lot better and I > will include the error checking too. > > I really do not know that much about using > a database so if things look weird it is due > to me not knowing what I am doing. > > I tried to go to your site and look at the stack > you have for sql database administration but > I got a 404 error. Does it include code to sort > and find with SQL? If so I am interested. > > Thanks again! > > John Balgenorth > > > On Mar 24, 2015, at 6:52 PM, Peter Haworth wrote: > > > Hi John, > > A few ideas for you. > > > > You should issue a BEGIN statement right before your repeat statement and > > move your revCommitDatabase to right after the end repeat. Better > > performance and guarantees db integrity. > > > > For some reason I don't understand, LC does not have a revxxx statement > to > > issue a BEGIN so you will need to use revExecuteSQL gConID,"BEGIN" right > > before the repeat statement. > > > > Within the repeat, don't forget to check if revExecuteSQL resulted in any > > errors by checking "the result" right after it - it will be a numeric > value > > if all worked OK, otherwise an error message. If an error occurs, issue > a > > revRollBackDatabase command and exit the repeat. That will return your > > database to a consistent state before any of your INSERTs happened. > > > > I'm a little confused by your INSERT statement. You name 4 columns in > the > > table but only supply 2 values, maybe tLine has comma separated values in > > it? If so, you will need to enclose each value in single quotes if they > are > > not numeric. > > > > Also, if recID is the primary key, no need to include it in the list of > > columns to be updated or supply a value for it, SQL will take care of > that > > for you. > > > > Hope that helps, > > > > On Tue, Mar 24, 2015 at 5:04 PM JB wrote: > > > >> I am using MySql on a local host and > >> creating a database then adding records. > >> After creating the table I was using the > >> handler below to add records. I was not > >> using the revCommitDatabase gConID > >> statement after each record and some > >> times my database would be missing > >> one or two records. After including the > >> revCommitDatabase gConID statement > >> it appears to be including them all. Is > >> this the proper and fastest way to add > >> records in a sql lite database or should > >> I be using something else like a query > >> to update instead? > >> > >> on fAddFiles > >> set the itemDelimiter to tab > >> put fld id 5246 of cd id 5187 into tList > >> repeat for each line tLine in tList > >> put "INSERT INTO tFiles(recID,field2, field3, field4) VALUES(null," > >> & tLine & ")" into sqTable > >> revExecuteSQL gConID,sqTable > >> revCommitDatabase gConID > >> end repeat > >> fRefresh > >> gConIDClose > >> end fAddFiles > >> > >> Any information or ideas are helpful. > >> > >> John Balgenorth > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Mar 25 13:12:12 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 25 Mar 2015 12:12:12 -0500 Subject: outsmarted myself with menus? In-Reply-To: References: <55121CD1.2090401@hyperactivesw.com> Message-ID: <098DD64A-6CFD-4BC3-A194-4FC7677B9BDA@hyperactivesw.com> The same Edit script should work as a behavior. (It does assume Select All is for text, but I think that's what you're working with.) On March 25, 2015 8:43:22 AM CDT, "Dr. Hawkins" wrote: >On Tue, Mar 24, 2015 at 7:26 PM, J. Landman Gay > >wrote: > >> I've never used behaviors in menus. The Edit menu is the easiest to >> script, the engine keeps track of everything for you. You only need a >> single word for each switch item to cover the basic stuff. Here's my >> standard Edit menu: > > >The same menu gets used in several stacks; the behavior is to keep them >in >sync. (the updating routine on version change loops through and sets >the >behavior, text, and properties to those of the maintained button)> -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Wed Mar 25 13:19:33 2015 From: dunbarx at aol.com (dunbarx) Date: Wed, 25 Mar 2015 10:19:33 -0700 (PDT) Subject: focusIn In-Reply-To: <5512DF97.8070703@gmail.com> References: <55125C6B.5020104@gmail.com> <5512610D.1010400@gmail.com> <5512DF97.8070703@gmail.com> Message-ID: <1427303973710-4690618.post@n4.nabble.com> Well, there is no difference except that different messages are sent under different conditions. That seems different to me. Whether each message ought to be sent in both cases, or rather, why do we need to distinguish at all, is perhaps a question. It might be useful, after all. But it should not be a problem. Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/focusIn-tp4690601p4690618.html Sent from the Revolution - User mailing list archive at Nabble.com. From sundown at pacifier.com Wed Mar 25 14:45:26 2015 From: sundown at pacifier.com (JB) Date: Wed, 25 Mar 2015 11:45:26 -0700 Subject: SQL lite adding records In-Reply-To: <38C4398E-5E17-43CB-BB1B-13CD846485AC@iotecdigital.com> References: <6A4BB7FB-0F85-40AE-BF2C-BF29772F97CB@pacifier.com> <46948458-3FC0-47A0-8E6F-6B08D6037E2A@pacifier.com> <38C4398E-5E17-43CB-BB1B-13CD846485AC@iotecdigital.com> Message-ID: <71FFBE34-30E8-4EBA-BC1E-E5D124DF27BE@pacifier.com> Thanks for the reply and infer. Bob! Your info always helps a lot. John Balgenorth On Mar 25, 2015, at 9:53 AM, Bob Sneidar wrote: > Just to be clear, using BEGIN and COMMIT is called transactional. It?s purpose is to be able to ROLLBACK if any errors occurred. This not only includes SQL errors (which should not be happening if you control the SQL and data), but internal errors, like for instance you insert an invoice then go to update the running totals in a customer record, but find someone else has the customer record locked, so you need to roll back any inserts/updates you?ve done and alert the user. > > For simple SQL Inserts/Updates where errors are highly unlikely and you are not using SQL in a multiuser setting, it isn?t strictly necessary IMHO. There is one other benefit and that is speed. From what I gather from the discussions here, transactional processing gains some performance for a large number of sequential transactions, because the SQL engine does not have to actually do the real work of inserting/updating/indexing until you tell it to COMMIT, during which you client app goes on it?s merry way. > > Others more knowledgable than me will correct me on any points I may have wrong. > > Bob S > > >> On Mar 24, 2015, at 19:11 , JB wrote: >> >> Hi Peter, >> >> Thank you so much for the detailed info! >> >> Each value has single quotes now but it >> would be nice to do it without quotes as >> adding them takes more time. >> >> I will definitely use th BEGIN statement >> and thank you for explaining it. I tried to >> use revCommitDatabase after the repeat >> without the BEGIN and it was missing a >> file. Your way will be a lot better and I >> will include the error checking too. >> >> I really do not know that much about using >> a database so if things look weird it is due >> to me not knowing what I am doing. >> >> I tried to go to your site and look at the stack >> you have for sql database administration but >> I got a 404 error. Does it include code to sort >> and find with SQL? If so I am interested. >> >> Thanks again! >> >> John Balgenorth >> >> >> On Mar 24, 2015, at 6:52 PM, Peter Haworth wrote: >> >>> Hi John, >>> A few ideas for you. >>> >>> You should issue a BEGIN statement right before your repeat statement and >>> move your revCommitDatabase to right after the end repeat. Better >>> performance and guarantees db integrity. >>> >>> For some reason I don't understand, LC does not have a revxxx statement to >>> issue a BEGIN so you will need to use revExecuteSQL gConID,"BEGIN" right >>> before the repeat statement. >>> >>> Within the repeat, don't forget to check if revExecuteSQL resulted in any >>> errors by checking "the result" right after it - it will be a numeric value >>> if all worked OK, otherwise an error message. If an error occurs, issue a >>> revRollBackDatabase command and exit the repeat. That will return your >>> database to a consistent state before any of your INSERTs happened. >>> >>> I'm a little confused by your INSERT statement. You name 4 columns in the >>> table but only supply 2 values, maybe tLine has comma separated values in >>> it? If so, you will need to enclose each value in single quotes if they are >>> not numeric. >>> >>> Also, if recID is the primary key, no need to include it in the list of >>> columns to be updated or supply a value for it, SQL will take care of that >>> for you. >>> >>> Hope that helps, >>> >>> On Tue, Mar 24, 2015 at 5:04 PM JB wrote: >>> >>>> I am using MySql on a local host and >>>> creating a database then adding records. >>>> After creating the table I was using the >>>> handler below to add records. I was not >>>> using the revCommitDatabase gConID >>>> statement after each record and some >>>> times my database would be missing >>>> one or two records. After including the >>>> revCommitDatabase gConID statement >>>> it appears to be including them all. Is >>>> this the proper and fastest way to add >>>> records in a sql lite database or should >>>> I be using something else like a query >>>> to update instead? >>>> >>>> on fAddFiles >>>> set the itemDelimiter to tab >>>> put fld id 5246 of cd id 5187 into tList >>>> repeat for each line tLine in tList >>>> put "INSERT INTO tFiles(recID,field2, field3, field4) VALUES(null," >>>> & tLine & ")" into sqTable >>>> revExecuteSQL gConID,sqTable >>>> revCommitDatabase gConID >>>> end repeat >>>> fRefresh >>>> gConIDClose >>>> end fAddFiles >>>> >>>> Any information or ideas are helpful. >>>> >>>> John Balgenorth >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Wed Mar 25 14:53:33 2015 From: sundown at pacifier.com (JB) Date: Wed, 25 Mar 2015 11:53:33 -0700 Subject: SQL lite adding records In-Reply-To: References: <6A4BB7FB-0F85-40AE-BF2C-BF29772F97CB@pacifier.com> <46948458-3FC0-47A0-8E6F-6B08D6037E2A@pacifier.com> Message-ID: Okay, thanks! I have been looking a SQLYoga and see it has search, sort and find. It seems to use arrays but with using large amounts of data in a data grid you need to use a cursor. SQLYoga does provide the ability to use cursors but since it is using the arrays is that using a lot of memory? John Balgenorth On Mar 25, 2015, at 10:03 AM, Peter Haworth wrote: > Whoops! Thanks for letting me know about the 404 error - will go to fix it > right now. > > SQLIteAdmin does have query/sort features but, just to be clear, it is a > standalone program so you can't see the code. > > Pete > > On Tue, Mar 24, 2015 at 7:14 PM JB wrote: > >> Hi Peter, >> >> Thank you so much for the detailed info! >> >> Each value has single quotes now but it >> would be nice to do it without quotes as >> adding them takes more time. >> >> I will definitely use th BEGIN statement >> and thank you for explaining it. I tried to >> use revCommitDatabase after the repeat >> without the BEGIN and it was missing a >> file. Your way will be a lot better and I >> will include the error checking too. >> >> I really do not know that much about using >> a database so if things look weird it is due >> to me not knowing what I am doing. >> >> I tried to go to your site and look at the stack >> you have for sql database administration but >> I got a 404 error. Does it include code to sort >> and find with SQL? If so I am interested. >> >> Thanks again! >> >> John Balgenorth >> >> >> On Mar 24, 2015, at 6:52 PM, Peter Haworth wrote: >> >>> Hi John, >>> A few ideas for you. >>> >>> You should issue a BEGIN statement right before your repeat statement and >>> move your revCommitDatabase to right after the end repeat. Better >>> performance and guarantees db integrity. >>> >>> For some reason I don't understand, LC does not have a revxxx statement >> to >>> issue a BEGIN so you will need to use revExecuteSQL gConID,"BEGIN" right >>> before the repeat statement. >>> >>> Within the repeat, don't forget to check if revExecuteSQL resulted in any >>> errors by checking "the result" right after it - it will be a numeric >> value >>> if all worked OK, otherwise an error message. If an error occurs, issue >> a >>> revRollBackDatabase command and exit the repeat. That will return your >>> database to a consistent state before any of your INSERTs happened. >>> >>> I'm a little confused by your INSERT statement. You name 4 columns in >> the >>> table but only supply 2 values, maybe tLine has comma separated values in >>> it? If so, you will need to enclose each value in single quotes if they >> are >>> not numeric. >>> >>> Also, if recID is the primary key, no need to include it in the list of >>> columns to be updated or supply a value for it, SQL will take care of >> that >>> for you. >>> >>> Hope that helps, >>> >>> On Tue, Mar 24, 2015 at 5:04 PM JB wrote: >>> >>>> I am using MySql on a local host and >>>> creating a database then adding records. >>>> After creating the table I was using the >>>> handler below to add records. I was not >>>> using the revCommitDatabase gConID >>>> statement after each record and some >>>> times my database would be missing >>>> one or two records. After including the >>>> revCommitDatabase gConID statement >>>> it appears to be including them all. Is >>>> this the proper and fastest way to add >>>> records in a sql lite database or should >>>> I be using something else like a query >>>> to update instead? >>>> >>>> on fAddFiles >>>> set the itemDelimiter to tab >>>> put fld id 5246 of cd id 5187 into tList >>>> repeat for each line tLine in tList >>>> put "INSERT INTO tFiles(recID,field2, field3, field4) VALUES(null," >>>> & tLine & ")" into sqTable >>>> revExecuteSQL gConID,sqTable >>>> revCommitDatabase gConID >>>> end repeat >>>> fRefresh >>>> gConIDClose >>>> end fAddFiles >>>> >>>> Any information or ideas are helpful. >>>> >>>> John Balgenorth >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bernd.niggemann at uni-wh.de Wed Mar 25 15:00:33 2015 From: bernd.niggemann at uni-wh.de (BNig) Date: Wed, 25 Mar 2015 12:00:33 -0700 (PDT) Subject: [ANN] modified Table Field 0_2_2 Message-ID: <1427310033451-4690621.post@n4.nabble.com> Dear list, here is a new version of modTableField. It is a way to display tabular data in a table view. -------------------------- http://berndniggemann.on-rev.com/modTableField/modTableField_0_3_2.zip -------------------------- modTableField_0_3_2 has been cleaned up and has more examples and a revamped Helper stack that makes it easier to configure columns. Additionally you can now add Icons to columns that are user switchable. Included in the zipped folder is a PDF of the help file. API description in the PDF. In LiveCode 7.0.4 rc2 some operations slower than in LC 6.7.4 rc 2 Kind regards Bernd Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-modified-Table-Field-0-2-2-tp4690621.html Sent from the Revolution - User mailing list archive at Nabble.com. From bernd.niggemann at uni-wh.de Wed Mar 25 15:01:56 2015 From: bernd.niggemann at uni-wh.de (BNig) Date: Wed, 25 Mar 2015 12:01:56 -0700 (PDT) Subject: [ANN] modified Table Field 0_2_2 In-Reply-To: <1427310033451-4690621.post@n4.nabble.com> References: <1427310033451-4690621.post@n4.nabble.com> Message-ID: <1427310116485-4690622.post@n4.nabble.com> Sorry, make that ------- modTableField 0_3_2 ------- Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-modified-Table-Field-0-2-2-tp4690621p4690622.html Sent from the Revolution - User mailing list archive at Nabble.com. From prothero at earthednet.org Wed Mar 25 15:14:52 2015 From: prothero at earthednet.org (William Prothero) Date: Wed, 25 Mar 2015 12:14:52 -0700 Subject: [ANN] modified Table Field 0_2_2 In-Reply-To: <1427310116485-4690622.post@n4.nabble.com> References: <1427310033451-4690621.post@n4.nabble.com> <1427310116485-4690622.post@n4.nabble.com> Message-ID: <06DF516E-6CFE-4BB8-A240-B877AABD443C@earthednet.org> Bernd: Thanks! Bill > On Mar 25, 2015, at 12:01 PM, BNig wrote: > > Sorry, > > make that > > ------- > modTableField 0_3_2 > ------- > Kind regards > > Bernd > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-modified-Table-Field-0-2-2-tp4690621p4690622.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Wed Mar 25 15:18:52 2015 From: prothero at earthednet.org (William Prothero) Date: Wed, 25 Mar 2015 12:18:52 -0700 Subject: [Bug 15079] Standalone Builder fails to protect added stacks In-Reply-To: References: Message-ID: bug 15079 > not a bug. Sorry for bad report. My problem with understanding how the = password protection works. Best, Bill > On Mar 24, 2015, at 12:24 PM, bugzilla-daemon at meg.on-rev.com wrote: > > Richard Gaskin changed bug 15079 > What Removed Added > CC ambassador at fourthworld.com > > You are receiving this mail because: > You reported the bug. From bonnmike at gmail.com Wed Mar 25 16:16:08 2015 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 25 Mar 2015 14:16:08 -0600 Subject: SQL lite adding records In-Reply-To: References: <6A4BB7FB-0F85-40AE-BF2C-BF29772F97CB@pacifier.com> <46948458-3FC0-47A0-8E6F-6B08D6037E2A@pacifier.com> Message-ID: Part of the slowdown when inserting a large number of rows one at a time is the opening and closing of the transaction file. If you want to see this in action, you can set a loop up to do repeated single row inserts, then watch in your file browser next to the db file as the transaction file appears, disappears, appears, disappears, over and over and over. There is a bunch of overhead with creating and removing this file for each insert in sqlite. By using begin/commit, the transaction file is only created once, and the speedup is tremendous. On Wed, Mar 25, 2015 at 12:53 PM, JB wrote: > Okay, thanks! I have been looking > a SQLYoga and see it has search, > sort and find. > > It seems to use arrays but with using > large amounts of data in a data grid > you need to use a cursor. > > SQLYoga does provide the ability to > use cursors but since it is using the > arrays is that using a lot of memory? > > John Balgenorth > > > On Mar 25, 2015, at 10:03 AM, Peter Haworth wrote: > > > Whoops! Thanks for letting me know about the 404 error - will go to fix > it > > right now. > > > > SQLIteAdmin does have query/sort features but, just to be clear, it is a > > standalone program so you can't see the code. > > > > Pete > > > > On Tue, Mar 24, 2015 at 7:14 PM JB wrote: > > > >> Hi Peter, > >> > >> Thank you so much for the detailed info! > >> > >> Each value has single quotes now but it > >> would be nice to do it without quotes as > >> adding them takes more time. > >> > >> I will definitely use th BEGIN statement > >> and thank you for explaining it. I tried to > >> use revCommitDatabase after the repeat > >> without the BEGIN and it was missing a > >> file. Your way will be a lot better and I > >> will include the error checking too. > >> > >> I really do not know that much about using > >> a database so if things look weird it is due > >> to me not knowing what I am doing. > >> > >> I tried to go to your site and look at the stack > >> you have for sql database administration but > >> I got a 404 error. Does it include code to sort > >> and find with SQL? If so I am interested. > >> > >> Thanks again! > >> > >> John Balgenorth > >> > >> > >> On Mar 24, 2015, at 6:52 PM, Peter Haworth wrote: > >> > >>> Hi John, > >>> A few ideas for you. > >>> > >>> You should issue a BEGIN statement right before your repeat statement > and > >>> move your revCommitDatabase to right after the end repeat. Better > >>> performance and guarantees db integrity. > >>> > >>> For some reason I don't understand, LC does not have a revxxx statement > >> to > >>> issue a BEGIN so you will need to use revExecuteSQL gConID,"BEGIN" > right > >>> before the repeat statement. > >>> > >>> Within the repeat, don't forget to check if revExecuteSQL resulted in > any > >>> errors by checking "the result" right after it - it will be a numeric > >> value > >>> if all worked OK, otherwise an error message. If an error occurs, > issue > >> a > >>> revRollBackDatabase command and exit the repeat. That will return your > >>> database to a consistent state before any of your INSERTs happened. > >>> > >>> I'm a little confused by your INSERT statement. You name 4 columns in > >> the > >>> table but only supply 2 values, maybe tLine has comma separated values > in > >>> it? If so, you will need to enclose each value in single quotes if they > >> are > >>> not numeric. > >>> > >>> Also, if recID is the primary key, no need to include it in the list of > >>> columns to be updated or supply a value for it, SQL will take care of > >> that > >>> for you. > >>> > >>> Hope that helps, > >>> > >>> On Tue, Mar 24, 2015 at 5:04 PM JB wrote: > >>> > >>>> I am using MySql on a local host and > >>>> creating a database then adding records. > >>>> After creating the table I was using the > >>>> handler below to add records. I was not > >>>> using the revCommitDatabase gConID > >>>> statement after each record and some > >>>> times my database would be missing > >>>> one or two records. After including the > >>>> revCommitDatabase gConID statement > >>>> it appears to be including them all. Is > >>>> this the proper and fastest way to add > >>>> records in a sql lite database or should > >>>> I be using something else like a query > >>>> to update instead? > >>>> > >>>> on fAddFiles > >>>> set the itemDelimiter to tab > >>>> put fld id 5246 of cd id 5187 into tList > >>>> repeat for each line tLine in tList > >>>> put "INSERT INTO tFiles(recID,field2, field3, field4) > VALUES(null," > >>>> & tLine & ")" into sqTable > >>>> revExecuteSQL gConID,sqTable > >>>> revCommitDatabase gConID > >>>> end repeat > >>>> fRefresh > >>>> gConIDClose > >>>> end fAddFiles > >>>> > >>>> Any information or ideas are helpful. > >>>> > >>>> John Balgenorth > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ebeugelaar at gmail.com Wed Mar 25 16:26:42 2015 From: ebeugelaar at gmail.com (Erik Beugelaar) Date: Wed, 25 Mar 2015 21:26:42 +0100 Subject: SQL lite adding records Message-ID: I am not surprised. A lot of developers do not know the power and tricks of presenting and performing data via SQL language. Mike Bonner wrote: >Part of the slowdown when inserting a large number of rows one at a time is >the opening and closing of the transaction file. If you want to see this >in action, you can set a loop up to do repeated single row inserts, then >watch in your file browser next to the db file as the transaction file >appears, disappears, appears, disappears, over and over and over. There is >a bunch of overhead with creating and removing this file for each insert in >sqlite. By using begin/commit, the transaction file is only created once, >and the speedup is tremendous. > >On Wed, Mar 25, 2015 at 12:53 PM, JB wrote: > >> Okay, thanks! I have been looking >> a SQLYoga and see it has search, >> sort and find. >> >> It seems to use arrays but with using >> large amounts of data in a data grid >> you need to use a cursor. >> >> SQLYoga does provide the ability to >> use cursors but since it is using the >> arrays is that using a lot of memory? >> >> John Balgenorth >> >> >> On Mar 25, 2015, at 10:03 AM, Peter Haworth wrote: >> >> > Whoops! Thanks for letting me know about the 404 error - will go to fix >> it >> > right now. >> > >> > SQLIteAdmin does have query/sort features but, just to be clear, it is a >> > standalone program so you can't see the code. >> > >> > Pete >> > >> > On Tue, Mar 24, 2015 at 7:14 PM JB wrote: >> > >> >> Hi Peter, >> >> >> >> Thank you so much for the detailed info! >> >> >> >> Each value has single quotes now but it >> >> would be nice to do it without quotes as >> >> adding them takes more time. >> >> >> >> I will definitely use th BEGIN statement >> >> and thank you for explaining it. I tried to >> >> use revCommitDatabase after the repeat >> >> without the BEGIN and it was missing a >> >> file. Your way will be a lot better and I >> >> will include the error checking too. >> >> >> >> I really do not know that much about using >> >> a database so if things look weird it is due >> >> to me not knowing what I am doing. >> >> >> >> I tried to go to your site and look at the stack >> >> you have for sql database administration but >> >> I got a 404 error. Does it include code to sort >> >> and find with SQL? If so I am interested. >> >> >> >> Thanks again! >> >> >> >> John Balgenorth >> >> >> >> >> >> On Mar 24, 2015, at 6:52 PM, Peter Haworth wrote: >> >> >> >>> Hi John, >> >>> A few ideas for you. >> >>> >> >>> You should issue a BEGIN statement right before your repeat statement >> and >> >>> move your revCommitDatabase to right after the end repeat. Better >> >>> performance and guarantees db integrity. >> >>> >> >>> For some reason I don't understand, LC does not have a revxxx statement >> >> to >> >>> issue a BEGIN so you will need to use revExecuteSQL gConID,"BEGIN" >> right >> >>> before the repeat statement. >> >>> >> >>> Within the repeat, don't forget to check if revExecuteSQL resulted in >> any >> >>> errors by checking "the result" right after it - it will be a numeric >> >> value >> >>> if all worked OK, otherwise an error message. If an error occurs, >> issue >> >> a >> >>> revRollBackDatabase command and exit the repeat. That will return your >> >>> database to a consistent state before any of your INSERTs happened. >> >>> >> >>> I'm a little confused by your INSERT statement. You name 4 columns in >> >> the >> >>> table but only supply 2 values, maybe tLine has comma separated values >> in >> >>> it? If so, you will need to enclose each value in single quotes if they >> >> are >> >>> not numeric. >> >>> >> >>> Also, if recID is the primary key, no need to include it in the list of >> >>> columns to be updated or supply a value for it, SQL will take care of >> >> that >> >>> for you. >> >>> >> >>> Hope that helps, >> >>> >> >>> On Tue, Mar 24, 2015 at 5:04 PM JB wrote: >> >>> >> >>>> I am using MySql on a local host and >> >>>> creating a database then adding records. >> >>>> After creating the table I was using the >> >>>> handler below to add records. I was not >> >>>> using the revCommitDatabase gConID >> >>>> statement after each record and some >> >>>> times my database would be missing >> >>>> one or two records. After including the >> >>>> revCommitDatabase gConID statement >> >>>> it appears to be including them all. Is >> >>>> this the proper and fastest way to add >> >>>> records in a sql lite database or should >> >>>> I be using something else like a query >> >>>> to update instead? >> >>>> >> >>>> on fAddFiles >> >>>> set the itemDelimiter to tab >> >>>> put fld id 5246 of cd id 5187 into tList >> >>>> repeat for each line tLine in tList >> >>>> put "INSERT INTO tFiles(recID,field2, field3, field4) >> VALUES(null," >> >>>> & tLine & ")" into sqTable >> >>>> revExecuteSQL gConID,sqTable >> >>>> revCommitDatabase gConID >> >>>> end repeat >> >>>> fRefresh >> >>>> gConIDClose >> >>>> end fAddFiles >> >>>> >> >>>> Any information or ideas are helpful. >> >>>> >> >>>> John Balgenorth >> >>>> _______________________________________________ >> >>>> use-livecode maili From paul.foraker at gmail.com Wed Mar 25 16:35:09 2015 From: paul.foraker at gmail.com (Paul Foraker) Date: Wed, 25 Mar 2015 13:35:09 -0700 Subject: [OT] Problem with MySQL Insert In-Reply-To: References: <55127160.4020600@economy-x-talk.com> Message-ID: On Wed, Mar 25, 2015 at 8:08 AM, Peter Haworth wrote: > Have you tried selecting the data with Livecode (revDataFromQuery)? ?Well, thank you very much. When I checked with revDataFromQuery, I saw the same problem we're seeing in Sequel Pro. That was a clue! Sure enough, our function for determining which half-hour period to report was working perfectly, but we forgot to pass it the current time. All better now. Gack. ? From sundown at pacifier.com Wed Mar 25 16:33:07 2015 From: sundown at pacifier.com (JB) Date: Wed, 25 Mar 2015 13:33:07 -0700 Subject: SQL lite adding records In-Reply-To: References: <6A4BB7FB-0F85-40AE-BF2C-BF29772F97CB@pacifier.com> <46948458-3FC0-47A0-8E6F-6B08D6037E2A@pacifier.com> Message-ID: <30B87D42-B3A8-4144-A500-FF4A0105F619@pacifier.com> Thanks, Mike! I have no doubt what I will be using now. Good info & thanks. John Balgenorth On Mar 25, 2015, at 1:16 PM, Mike Bonner wrote: > Part of the slowdown when inserting a large number of rows one at a time is > the opening and closing of the transaction file. If you want to see this > in action, you can set a loop up to do repeated single row inserts, then > watch in your file browser next to the db file as the transaction file > appears, disappears, appears, disappears, over and over and over. There is > a bunch of overhead with creating and removing this file for each insert in > sqlite. By using begin/commit, the transaction file is only created once, > and the speedup is tremendous. > > On Wed, Mar 25, 2015 at 12:53 PM, JB wrote: > >> Okay, thanks! I have been looking >> a SQLYoga and see it has search, >> sort and find. >> >> It seems to use arrays but with using >> large amounts of data in a data grid >> you need to use a cursor. >> >> SQLYoga does provide the ability to >> use cursors but since it is using the >> arrays is that using a lot of memory? >> >> John Balgenorth >> >> >> On Mar 25, 2015, at 10:03 AM, Peter Haworth wrote: >> >>> Whoops! Thanks for letting me know about the 404 error - will go to fix >> it >>> right now. >>> >>> SQLIteAdmin does have query/sort features but, just to be clear, it is a >>> standalone program so you can't see the code. >>> >>> Pete >>> >>> On Tue, Mar 24, 2015 at 7:14 PM JB wrote: >>> >>>> Hi Peter, >>>> >>>> Thank you so much for the detailed info! >>>> >>>> Each value has single quotes now but it >>>> would be nice to do it without quotes as >>>> adding them takes more time. >>>> >>>> I will definitely use th BEGIN statement >>>> and thank you for explaining it. I tried to >>>> use revCommitDatabase after the repeat >>>> without the BEGIN and it was missing a >>>> file. Your way will be a lot better and I >>>> will include the error checking too. >>>> >>>> I really do not know that much about using >>>> a database so if things look weird it is due >>>> to me not knowing what I am doing. >>>> >>>> I tried to go to your site and look at the stack >>>> you have for sql database administration but >>>> I got a 404 error. Does it include code to sort >>>> and find with SQL? If so I am interested. >>>> >>>> Thanks again! >>>> >>>> John Balgenorth >>>> >>>> >>>> On Mar 24, 2015, at 6:52 PM, Peter Haworth wrote: >>>> >>>>> Hi John, >>>>> A few ideas for you. >>>>> >>>>> You should issue a BEGIN statement right before your repeat statement >> and >>>>> move your revCommitDatabase to right after the end repeat. Better >>>>> performance and guarantees db integrity. >>>>> >>>>> For some reason I don't understand, LC does not have a revxxx statement >>>> to >>>>> issue a BEGIN so you will need to use revExecuteSQL gConID,"BEGIN" >> right >>>>> before the repeat statement. >>>>> >>>>> Within the repeat, don't forget to check if revExecuteSQL resulted in >> any >>>>> errors by checking "the result" right after it - it will be a numeric >>>> value >>>>> if all worked OK, otherwise an error message. If an error occurs, >> issue >>>> a >>>>> revRollBackDatabase command and exit the repeat. That will return your >>>>> database to a consistent state before any of your INSERTs happened. >>>>> >>>>> I'm a little confused by your INSERT statement. You name 4 columns in >>>> the >>>>> table but only supply 2 values, maybe tLine has comma separated values >> in >>>>> it? If so, you will need to enclose each value in single quotes if they >>>> are >>>>> not numeric. >>>>> >>>>> Also, if recID is the primary key, no need to include it in the list of >>>>> columns to be updated or supply a value for it, SQL will take care of >>>> that >>>>> for you. >>>>> >>>>> Hope that helps, >>>>> >>>>> On Tue, Mar 24, 2015 at 5:04 PM JB wrote: >>>>> >>>>>> I am using MySql on a local host and >>>>>> creating a database then adding records. >>>>>> After creating the table I was using the >>>>>> handler below to add records. I was not >>>>>> using the revCommitDatabase gConID >>>>>> statement after each record and some >>>>>> times my database would be missing >>>>>> one or two records. After including the >>>>>> revCommitDatabase gConID statement >>>>>> it appears to be including them all. Is >>>>>> this the proper and fastest way to add >>>>>> records in a sql lite database or should >>>>>> I be using something else like a query >>>>>> to update instead? >>>>>> >>>>>> on fAddFiles >>>>>> set the itemDelimiter to tab >>>>>> put fld id 5246 of cd id 5187 into tList >>>>>> repeat for each line tLine in tList >>>>>> put "INSERT INTO tFiles(recID,field2, field3, field4) >> VALUES(null," >>>>>> & tLine & ")" into sqTable >>>>>> revExecuteSQL gConID,sqTable >>>>>> revCommitDatabase gConID >>>>>> end repeat >>>>>> fRefresh >>>>>> gConIDClose >>>>>> end fAddFiles >>>>>> >>>>>> Any information or ideas are helpful. >>>>>> >>>>>> John Balgenorth >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Wed Mar 25 16:37:39 2015 From: sundown at pacifier.com (JB) Date: Wed, 25 Mar 2015 13:37:39 -0700 Subject: SQL lite adding records In-Reply-To: References: Message-ID: <155AE2DE-7FBA-4D97-B99A-A9BEE4851E19@pacifier.com> It would be nice to have a good stack with all of the power and tricks using SQL with Livecode. I would even pay for it. Any power users want to make a few dollars? If you do I personally thinks it should be code examples instead of some hidden library etc. John Balgenorth On Mar 25, 2015, at 1:26 PM, Erik Beugelaar wrote: > I am not surprised. A lot of developers do not know the power and tricks of presenting and performing data via SQL language. > > Mike Bonner wrote: > >> Part of the slowdown when inserting a large number of rows one at a time is >> the opening and closing of the transaction file. If you want to see this >> in action, you can set a loop up to do repeated single row inserts, then >> watch in your file browser next to the db file as the transaction file >> appears, disappears, appears, disappears, over and over and over. There is >> a bunch of overhead with creating and removing this file for each insert in >> sqlite. By using begin/commit, the transaction file is only created once, >> and the speedup is tremendous. >> >> On Wed, Mar 25, 2015 at 12:53 PM, JB wrote: >> >>> Okay, thanks! I have been looking >>> a SQLYoga and see it has search, >>> sort and find. >>> >>> It seems to use arrays but with using >>> large amounts of data in a data grid >>> you need to use a cursor. >>> >>> SQLYoga does provide the ability to >>> use cursors but since it is using the >>> arrays is that using a lot of memory? >>> >>> John Balgenorth >>> >>> >>> On Mar 25, 2015, at 10:03 AM, Peter Haworth wrote: >>> >>>> Whoops! Thanks for letting me know about the 404 error - will go to fix >>> it >>>> right now. >>>> >>>> SQLIteAdmin does have query/sort features but, just to be clear, it is a >>>> standalone program so you can't see the code. >>>> >>>> Pete >>>> >>>> On Tue, Mar 24, 2015 at 7:14 PM JB wrote: >>>> >>>>> Hi Peter, >>>>> >>>>> Thank you so much for the detailed info! >>>>> >>>>> Each value has single quotes now but it >>>>> would be nice to do it without quotes as >>>>> adding them takes more time. >>>>> >>>>> I will definitely use th BEGIN statement >>>>> and thank you for explaining it. I tried to >>>>> use revCommitDatabase after the repeat >>>>> without the BEGIN and it was missing a >>>>> file. Your way will be a lot better and I >>>>> will include the error checking too. >>>>> >>>>> I really do not know that much about using >>>>> a database so if things look weird it is due >>>>> to me not knowing what I am doing. >>>>> >>>>> I tried to go to your site and look at the stack >>>>> you have for sql database administration but >>>>> I got a 404 error. Does it include code to sort >>>>> and find with SQL? If so I am interested. >>>>> >>>>> Thanks again! >>>>> >>>>> John Balgenorth >>>>> >>>>> >>>>> On Mar 24, 2015, at 6:52 PM, Peter Haworth wrote: >>>>> >>>>>> Hi John, >>>>>> A few ideas for you. >>>>>> >>>>>> You should issue a BEGIN statement right before your repeat statement >>> and >>>>>> move your revCommitDatabase to right after the end repeat. Better >>>>>> performance and guarantees db integrity. >>>>>> >>>>>> For some reason I don't understand, LC does not have a revxxx statement >>>>> to >>>>>> issue a BEGIN so you will need to use revExecuteSQL gConID,"BEGIN" >>> right >>>>>> before the repeat statement. >>>>>> >>>>>> Within the repeat, don't forget to check if revExecuteSQL resulted in >>> any >>>>>> errors by checking "the result" right after it - it will be a numeric >>>>> value >>>>>> if all worked OK, otherwise an error message. If an error occurs, >>> issue >>>>> a >>>>>> revRollBackDatabase command and exit the repeat. That will return your >>>>>> database to a consistent state before any of your INSERTs happened. >>>>>> >>>>>> I'm a little confused by your INSERT statement. You name 4 columns in >>>>> the >>>>>> table but only supply 2 values, maybe tLine has comma separated values >>> in >>>>>> it? If so, you will need to enclose each value in single quotes if they >>>>> are >>>>>> not numeric. >>>>>> >>>>>> Also, if recID is the primary key, no need to include it in the list of >>>>>> columns to be updated or supply a value for it, SQL will take care of >>>>> that >>>>>> for you. >>>>>> >>>>>> Hope that helps, >>>>>> >>>>>> On Tue, Mar 24, 2015 at 5:04 PM JB wrote: >>>>>> >>>>>>> I am using MySql on a local host and >>>>>>> creating a database then adding records. >>>>>>> After creating the table I was using the >>>>>>> handler below to add records. I was not >>>>>>> using the revCommitDatabase gConID >>>>>>> statement after each record and some >>>>>>> times my database would be missing >>>>>>> one or two records. After including the >>>>>>> revCommitDatabase gConID statement >>>>>>> it appears to be including them all. Is >>>>>>> this the proper and fastest way to add >>>>>>> records in a sql lite database or should >>>>>>> I be using something else like a query >>>>>>> to update instead? >>>>>>> >>>>>>> on fAddFiles >>>>>>> set the itemDelimiter to tab >>>>>>> put fld id 5246 of cd id 5187 into tList >>>>>>> repeat for each line tLine in tList >>>>>>> put "INSERT INTO tFiles(recID,field2, field3, field4) >>> VALUES(null," >>>>>>> & tLine & ")" into sqTable >>>>>>> revExecuteSQL gConID,sqTable >>>>>>> revCommitDatabase gConID >>>>>>> end repeat >>>>>>> fRefresh >>>>>>> gConIDClose >>>>>>> end fAddFiles >>>>>>> >>>>>>> Any information or ideas are helpful. >>>>>>> >>>>>>> John Balgenorth >>>>>>> _______________________________________________ >>>>>>> use-livecode maili > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Mar 25 17:12:43 2015 From: pete at lcsql.com (Peter Haworth) Date: Wed, 25 Mar 2015 21:12:43 +0000 Subject: SQL lite adding records In-Reply-To: <155AE2DE-7FBA-4D97-B99A-A9BEE4851E19@pacifier.com> References: <155AE2DE-7FBA-4D97-B99A-A9BEE4851E19@pacifier.com> Message-ID: My latest product, SQLMagic, is inching slowly to a GM release. Using it, you will not need to write any Livecode scripts or issue an SQL statements for a large percentage of your SQL transactions. Email me offline if you would like to be on my SQLMagic mailing list. On April 16th, I am presenting a Livecode sponsored webinar titled "Advanced Database Coding", more details on the Livecode web site. I will be providing several scripts as part of the webinar. Since I mentioned that, the word "advanced" means different things to different people and I'm trying to decide on what topics to address in the webinar. I suspect many of the people on this list know at least as much as I do about SQL but if anyone has suggestions for what topics to cover, I'd love to hear them. On Wed, Mar 25, 2015 at 1:40 PM JB wrote: > It would be nice to have a good stack > with all of the power and tricks using > SQL with Livecode. > > I would even pay for it. Any power > users want to make a few dollars? > If you do I personally thinks it should > be code examples instead of some > hidden library etc. > > John Balgenorth > > > On Mar 25, 2015, at 1:26 PM, Erik Beugelaar wrote: > > > I am not surprised. A lot of developers do not know the power and tricks > of presenting and performing data via SQL language. > > > > Mike Bonner wrote: > > > >> Part of the slowdown when inserting a large number of rows one at a > time is > >> the opening and closing of the transaction file. If you want to see > this > >> in action, you can set a loop up to do repeated single row inserts, then > >> watch in your file browser next to the db file as the transaction file > >> appears, disappears, appears, disappears, over and over and over. > There is > >> a bunch of overhead with creating and removing this file for each > insert in > >> sqlite. By using begin/commit, the transaction file is only created > once, > >> and the speedup is tremendous. > >> > >> On Wed, Mar 25, 2015 at 12:53 PM, JB wrote: > >> > >>> Okay, thanks! I have been looking > >>> a SQLYoga and see it has search, > >>> sort and find. > >>> > >>> It seems to use arrays but with using > >>> large amounts of data in a data grid > >>> you need to use a cursor. > >>> > >>> SQLYoga does provide the ability to > >>> use cursors but since it is using the > >>> arrays is that using a lot of memory? > >>> > >>> John Balgenorth > >>> > >>> > >>> On Mar 25, 2015, at 10:03 AM, Peter Haworth wrote: > >>> > >>>> Whoops! Thanks for letting me know about the 404 error - will go to > fix > >>> it > >>>> right now. > >>>> > >>>> SQLIteAdmin does have query/sort features but, just to be clear, it > is a > >>>> standalone program so you can't see the code. > >>>> > >>>> Pete > >>>> > >>>> On Tue, Mar 24, 2015 at 7:14 PM JB wrote: > >>>> > >>>>> Hi Peter, > >>>>> > >>>>> Thank you so much for the detailed info! > >>>>> > >>>>> Each value has single quotes now but it > >>>>> would be nice to do it without quotes as > >>>>> adding them takes more time. > >>>>> > >>>>> I will definitely use th BEGIN statement > >>>>> and thank you for explaining it. I tried to > >>>>> use revCommitDatabase after the repeat > >>>>> without the BEGIN and it was missing a > >>>>> file. Your way will be a lot better and I > >>>>> will include the error checking too. > >>>>> > >>>>> I really do not know that much about using > >>>>> a database so if things look weird it is due > >>>>> to me not knowing what I am doing. > >>>>> > >>>>> I tried to go to your site and look at the stack > >>>>> you have for sql database administration but > >>>>> I got a 404 error. Does it include code to sort > >>>>> and find with SQL? If so I am interested. > >>>>> > >>>>> Thanks again! > >>>>> > >>>>> John Balgenorth > >>>>> > >>>>> > >>>>> On Mar 24, 2015, at 6:52 PM, Peter Haworth wrote: > >>>>> > >>>>>> Hi John, > >>>>>> A few ideas for you. > >>>>>> > >>>>>> You should issue a BEGIN statement right before your repeat > statement > >>> and > >>>>>> move your revCommitDatabase to right after the end repeat. Better > >>>>>> performance and guarantees db integrity. > >>>>>> > >>>>>> For some reason I don't understand, LC does not have a revxxx > statement > >>>>> to > >>>>>> issue a BEGIN so you will need to use revExecuteSQL gConID,"BEGIN" > >>> right > >>>>>> before the repeat statement. > >>>>>> > >>>>>> Within the repeat, don't forget to check if revExecuteSQL resulted > in > >>> any > >>>>>> errors by checking "the result" right after it - it will be a > numeric > >>>>> value > >>>>>> if all worked OK, otherwise an error message. If an error occurs, > >>> issue > >>>>> a > >>>>>> revRollBackDatabase command and exit the repeat. That will return > your > >>>>>> database to a consistent state before any of your INSERTs happened. > >>>>>> > >>>>>> I'm a little confused by your INSERT statement. You name 4 columns > in > >>>>> the > >>>>>> table but only supply 2 values, maybe tLine has comma separated > values > >>> in > >>>>>> it? If so, you will need to enclose each value in single quotes if > they > >>>>> are > >>>>>> not numeric. > >>>>>> > >>>>>> Also, if recID is the primary key, no need to include it in the > list of > >>>>>> columns to be updated or supply a value for it, SQL will take care > of > >>>>> that > >>>>>> for you. > >>>>>> > >>>>>> Hope that helps, > >>>>>> > >>>>>> On Tue, Mar 24, 2015 at 5:04 PM JB wrote: > >>>>>> > >>>>>>> I am using MySql on a local host and > >>>>>>> creating a database then adding records. > >>>>>>> After creating the table I was using the > >>>>>>> handler below to add records. I was not > >>>>>>> using the revCommitDatabase gConID > >>>>>>> statement after each record and some > >>>>>>> times my database would be missing > >>>>>>> one or two records. After including the > >>>>>>> revCommitDatabase gConID statement > >>>>>>> it appears to be including them all. Is > >>>>>>> this the proper and fastest way to add > >>>>>>> records in a sql lite database or should > >>>>>>> I be using something else like a query > >>>>>>> to update instead? > >>>>>>> > >>>>>>> on fAddFiles > >>>>>>> set the itemDelimiter to tab > >>>>>>> put fld id 5246 of cd id 5187 into tList > >>>>>>> repeat for each line tLine in tList > >>>>>>> put "INSERT INTO tFiles(recID,field2, field3, field4) > >>> VALUES(null," > >>>>>>> & tLine & ")" into sqTable > >>>>>>> revExecuteSQL gConID,sqTable > >>>>>>> revCommitDatabase gConID > >>>>>>> end repeat > >>>>>>> fRefresh > >>>>>>> gConIDClose > >>>>>>> end fAddFiles > >>>>>>> > >>>>>>> Any information or ideas are helpful. > >>>>>>> > >>>>>>> John Balgenorth > >>>>>>> _______________________________________________ > >>>>>>> use-livecode maili > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Mar 25 17:13:29 2015 From: pete at lcsql.com (Peter Haworth) Date: Wed, 25 Mar 2015 21:13:29 +0000 Subject: [OT] Problem with MySQL Insert In-Reply-To: References: <55127160.4020600@economy-x-talk.com> Message-ID: Great, glad you figured it out. On Wed, Mar 25, 2015 at 1:35 PM Paul Foraker wrote: > On Wed, Mar 25, 2015 at 8:08 AM, Peter Haworth wrote: > > > Have you tried selecting the data with Livecode (revDataFromQuery)? > > > > ?Well, thank you very much. When I checked with revDataFromQuery, I saw the > same problem we're seeing in Sequel Pro. That was a clue! Sure enough, our > function for determining which half-hour period to report was working > perfectly, but we forgot to pass it the current time. > > All better now. Gack. ? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimolad at evergreeninfo.net Wed Mar 25 18:59:46 2015 From: rdimolad at evergreeninfo.net (Ralph DiMola) Date: Wed, 25 Mar 2015 18:59:46 -0400 Subject: SQL lite adding records Message-ID: <75y2um3kaskana4e64hbss4a.1427324386661@email.android.com> I saw the SQLMagic seminar at RR 13. It was very impressive. The beginner can dive into databases immediately. Even experts can benifit as well as the beginner. Experts can set up data entry screens with complex schemas in a flash. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net
-------- Original message --------
From: Peter Haworth
Date:03/25/2015 17:12 (GMT-05:00)
To: How to use LiveCode
Subject: Re: SQL lite adding records
My latest product, SQLMagic, is inching slowly to a GM release. Using it, you will not need to write any Livecode scripts or issue an SQL statements for a large percentage of your SQL transactions. Email me offline if you would like to be on my SQLMagic mailing list. On April 16th, I am presenting a Livecode sponsored webinar titled "Advanced Database Coding", more details on the Livecode web site. I will be providing several scripts as part of the webinar. Since I mentioned that, the word "advanced" means different things to different people and I'm trying to decide on what topics to address in the webinar. I suspect many of the people on this list know at least as much as I do about SQL but if anyone has suggestions for what topics to cover, I'd love to hear them. On Wed, Mar 25, 2015 at 1:40 PM JB wrote: > It would be nice to have a good stack > with all of the power and tricks using > SQL with Livecode. > > I would even pay for it. Any power > users want to make a few dollars? > If you do I personally thinks it should > be code examples instead of some > hidden library etc. > > John Balgenorth > > > On Mar 25, 2015, at 1:26 PM, Erik Beugelaar wrote: > > > I am not surprised. A lot of developers do not know the power and tricks > of presenting and performing data via SQL language. > > > > Mike Bonner wrote: > > > >> Part of the slowdown when inserting a large number of rows one at a > time is > >> the opening and closing of the transaction file. If you want to see > this > >> in action, you can set a loop up to do repeated single row inserts, then > >> watch in your file browser next to the db file as the transaction file > >> appears, disappears, appears, disappears, over and over and over. > There is > >> a bunch of overhead with creating and removing this file for each > insert in > >> sqlite. By using begin/commit, the transaction file is only created > once, > >> and the speedup is tremendous. > >> > >> On Wed, Mar 25, 2015 at 12:53 PM, JB wrote: > >> > >>> Okay, thanks! I have been looking > >>> a SQLYoga and see it has search, > >>> sort and find. > >>> > >>> It seems to use arrays but with using > >>> large amounts of data in a data grid > >>> you need to use a cursor. > >>> > >>> SQLYoga does provide the ability to > >>> use cursors but since it is using the > >>> arrays is that using a lot of memory? > >>> > >>> John Balgenorth > >>> > >>> > >>> On Mar 25, 2015, at 10:03 AM, Peter Haworth wrote: > >>> > >>>> Whoops! Thanks for letting me know about the 404 error - will go to > fix > >>> it > >>>> right now. > >>>> > >>>> SQLIteAdmin does have query/sort features but, just to be clear, it > is a > >>>> standalone program so you can't see the code. > >>>> > >>>> Pete > >>>> > >>>> On Tue, Mar 24, 2015 at 7:14 PM JB wrote: > >>>> > >>>>> Hi Peter, > >>>>> > >>>>> Thank you so much for the detailed info! > >>>>> > >>>>> Each value has single quotes now but it > >>>>> would be nice to do it without quotes as > >>>>> adding them takes more time. > >>>>> > >>>>> I will definitely use th BEGIN statement > >>>>> and thank you for explaining it. I tried to > >>>>> use revCommitDatabase after the repeat > >>>>> without the BEGIN and it was missing a > >>>>> file. Your way will be a lot better and I > >>>>> will include the error checking too. > >>>>> > >>>>> I really do not know that much about using > >>>>> a database so if things look weird it is due > >>>>> to me not knowing what I am doing. > >>>>> > >>>>> I tried to go to your site and look at the stack > >>>>> you have for sql database administration but > >>>>> I got a 404 error. Does it include code to sort > >>>>> and find with SQL? If so I am interested. > >>>>> > >>>>> Thanks again! > >>>>> > >>>>> John Balgenorth > >>>>> > >>>>> > >>>>> On Mar 24, 2015, at 6:52 PM, Peter Haworth wrote: > >>>>> > >>>>>> Hi John, > >>>>>> A few ideas for you. > >>>>>> > >>>>>> You should issue a BEGIN statement right before your repeat > statement > >>> and > >>>>>> move your revCommitDatabase to right after the end repeat. Better > >>>>>> performance and guarantees db integrity. > >>>>>> > >>>>>> For some reason I don't understand, LC does not have a revxxx > statement > >>>>> to > >>>>>> issue a BEGIN so you will need to use revExecuteSQL gConID,"BEGIN" > >>> right > >>>>>> before the repeat statement. > >>>>>> > >>>>>> Within the repeat, don't forget to check if revExecuteSQL resulted > in > >>> any > >>>>>> errors by checking "the result" right after it - it will be a > numeric > >>>>> value > >>>>>> if all worked OK, otherwise an error message. If an error occurs, > >>> issue > >>>>> a > >>>>>> revRollBackDatabase command and exit the repeat. That will return > your > >>>>>> database to a consistent state before any of your INSERTs happened. > >>>>>> > >>>>>> I'm a little confused by your INSERT statement. You name 4 columns > in > >>>>> the > >>>>>> table but only supply 2 values, maybe tLine has comma separated > values > >>> in > >>>>>> it? If so, you will need to enclose each value in single quotes if > they > >>>>> are > >>>>>> not numeric. > >>>>>> > >>>>>> Also, if recID is the primary key, no need to include it in the > list of > >>>>>> columns to be updated or supply a value for it, SQL will take care > of > >>>>> that > >>>>>> for you. > >>>>>> > >>>>>> Hope that helps, > >>>>>> > >>>>>> On Tue, Mar 24, 2015 at 5:04 PM JB wrote: > >>>>>> > >>>>>>> I am using MySql on a local host and > >>>>>>> creating a database then adding records. > >>>>>>> After creating the table I was using the > >>>>>>> handler below to add records. I was not > >>>>>>> using the revCommitDatabase gConID > >>>>>>> statement after each record and some > >>>>>>> times my database would be missing > >>>>>>> one or two records. After including the > >>>>>>> revCommitDatabase gConID statement > >>>>>>> it appears to be including them all. Is > >>>>>>> this the proper and fastest way to add > >>>>>>> records in a sql lite database or should > >>>>>>> I be using something else like a query > >>>>>>> to update instead? > >>>>>>> > >>>>>>> on fAddFiles > >>>>>>> set the itemDelimiter to tab > >>>>>>> put fld id 5246 of cd id 5187 into tList > >>>>>>> repeat for each line tLine in tList > >>>>>>> put "INSERT INTO tFiles(recID,field2, field3, field4) > >>> VALUES(null," > >>>>>>> & tLine & ")" into sqTable > >>>>>>> revExecuteSQL gConID,sqTable > >>>>>>> revCommitDatabase gConID > >>>>>>> end repeat > >>>>>>> fRefresh > >>>>>>> gConIDClose > >>>>>>> end fAddFiles > >>>>>>> > >>>>>>> Any information or ideas are helpful. > >>>>>>> > >>>>>>> John Balgenorth > >>>>>>> _______________________________________________ > >>>>>>> use-livecode maili > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Wed Mar 25 20:59:17 2015 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 26 Mar 2015 08:59:17 +0800 Subject: [OT] And You Thought Richmond Kept Old Macs Alive Message-ID: Was rummaging through boxes of stuff looking for something when I came across a few ADB keyboards and mice. Thought to myself, 'it's about time to turf these, no one, not even Richmond, could possible want them'. Seems like I could be wrong: http://kernelmag.dailydot .com/issue-sections/features-issue-sections/12228/mac-plus-modern-web/?fb =dd&utm_source=huffingtonpost.com&utm_medium=referral&utm_campaign= pubexchange From rolf.kocherhans at id.uzh.ch Thu Mar 26 03:07:04 2015 From: rolf.kocherhans at id.uzh.ch (Rolf Kocherhans) Date: Thu, 26 Mar 2015 08:07:04 +0100 Subject: [ANN] modified Table Field 0_2_2 In-Reply-To: References: Message-ID: <310FF838-B2D4-4FAB-B114-1F5D301A3084@id.uzh.ch> Hello Bernd Your new TableField looks very clean and very tidy, thanks for it ! Everyone who doesn?t like DataGrid should have a look at it ! Cheers Rolf > Dear list, > > here is a new version of modTableField. > It is a way to display tabular data in a table view. > > -------------------------- > http://berndniggemann.on-rev.com/modTableField/modTableField_0_3_2.zip > -------------------------- > > modTableField_0_3_2 has been cleaned up and has more examples and a revamped > Helper stack that makes it easier to configure columns. > Additionally you can now add Icons to columns that are user switchable. From bernd.niggemann at uni-wh.de Thu Mar 26 03:48:25 2015 From: bernd.niggemann at uni-wh.de (BNig) Date: Thu, 26 Mar 2015 00:48:25 -0700 (PDT) Subject: [ANN] modified Table Field 0_2_2 In-Reply-To: <310FF838-B2D4-4FAB-B114-1F5D301A3084@id.uzh.ch> References: <1427310033451-4690621.post@n4.nabble.com> <310FF838-B2D4-4FAB-B114-1F5D301A3084@id.uzh.ch> Message-ID: <1427356105212-4690635.post@n4.nabble.com> Bill, Rolf thank you. modTableField is at its core just two fields that are used for display. All data lives in these two fields. It is not as powerful as the dataGrid which I think is an ingenious piece of code. modTableField can be easier because of its simpler structure and might suffice in some situations where you don't need all the options of the dataGrid-table. On the other hand it is of course more limited. Kind regard Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-modified-Table-Field-0-2-2-tp4690621p4690635.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Thu Mar 26 04:33:39 2015 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 26 Mar 2015 09:33:39 +0100 Subject: [OT] And You Thought Richmond Kept Old Macs Alive In-Reply-To: References: Message-ID: <5513C463.5060706@economy-x-talk.com> Hi, I have an old Mac SE, which I can connect to the serial port of an old Performa, which has ethernet, and which lets me surf the net on my SE. It is kind of a hassle and I didn't think it was that interesting. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/26/2015 01:59, Kay C Lan wrote: > Was rummaging through boxes of stuff looking for something when I came > across a few ADB keyboards and mice. Thought to myself, 'it's about time to > turf these, no one, not even Richmond, could possible want them'. Seems > like I could be wrong: > > http://kernelmag.dailydot > .com/issue-sections/features-issue-sections/12228/mac-plus-modern-web/?fb > =dd&utm_source=huffingtonpost.com&utm_medium=referral&utm_campaign= > pubexchange From astghiksalnazaryan55 at gmail.com Thu Mar 26 07:59:06 2015 From: astghiksalnazaryan55 at gmail.com (Astghik Salnazaryan) Date: Thu, 26 Mar 2015 15:59:06 +0400 Subject: Move the clock hands with fingers Message-ID: Hello :) I am new here :) i am learning livecode and I found clock code in livecode,where you can move the clock hands with scrollbar, i tried to move the minute clock hand with touch but something is wrong, i couldn't do it in the right way. please can you look at the code? i wrote the code in minute clock hand :) thanks P.S. sorry for my bad english :) From stgoldberg at aol.com Thu Mar 26 09:47:40 2015 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Thu, 26 Mar 2015 09:47:40 -0400 Subject: Movie problems in LiveCode Message-ID: <14c5656a3f4-47fe-c9a@webprd-a83.mail.aol.com> Regarding the problem of the LC 6-7 series not allowing relative paths on the Macintosh: >On 3/24/2015 10:26 AM, Richard Gaskin wrote: > I've always been wary of shipping things that rely on >relative paths, since any other script can change the >default directory out from under me at any time. >In apps where the media I'm playing resides in a single >folder. I often just have a central handler cover that to >which I pass the file's short name only and it takes care >of the rest, e.g.: > > on PlayMovie pFile > put specialFolderPath("documents")&"/MyApp/media/"& pFile into tPath > if there is not a file tPath then > answer "Media file missing: "& tPath > exit to top > end if > play tPath > end PlayMovie >Jackie Landman Gay wrote: >That's exactly what I do too, I've never trusted relative paths. Richard and Jackie, does your reluctance to use relative paths also extend to the distribution of standalones, or is it just stacks that present the problem? I?m not experienced enough to follow the above script. Perhaps you can recommend a place where I can find a more detailed explanation. Thanks. Stephen Goldberg, President Medmaster Publishing Co. Prof Emeritus, Univ Miami Miller School of Medicine From stgoldberg at aol.com Thu Mar 26 10:16:31 2015 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Thu, 26 Mar 2015 10:16:31 -0400 Subject: Workaround on the inability to create relative paths in the LC6-7 series Movie Player Message-ID: <14c56710c16-47fe-1006@webprd-a83.mail.aol.com> The LC 6-7 series for Macintosh will not allow the creation of a relative path for the movie player. I understand that Apple has deprecated Quicktime and QTVR. While the LiveCode team works to resolve the issue, I find several temporary workarounds for the problem: 1. On Macintosh, create the standalone with the relative path in LC 5.5.3. The standalone will play in the LC 6-7 series. 2. Create the standalone on Windows. In Windows, LC 7.0 does maintain the relative path, and standalones built on Windows for Mac will keep the relative path and display the Quicktime movies on Mac, even when using the LC 6-7 series. 3. QTVR is not so fortunate. QTVR will not play on Macintosh in the LC 6-7 series, even if a build is made on Windows with LC 7.0. Windows itself, though, with LC 7.0 will play QTVR. Scott Rossi wrote (Mar 24 2015): >In some simple tests, it looks like QuickTime Player 10 (on Mavericks) >won?t even open VR movies, but will hand them off to Player 7 if available. >You?d probably do well to stop using QTVR and look for an alternative. If Scott say so, I take it seriously. Phil Jimmieson wrote (Mar 24 2015): >I think Apple dropped support of quicklime VR movies. You?re supposed to move to AVKit and AV Foundation. In order to show the movies through LiveCode, though, we?ll have to wait for the LiveCode team to adopt the newer technology. Stephen Goldberg, President Medmaster Publishing Co. Prof Emeritus, Univ Miami School of Medicine www.medmaster.net From ambassador at fourthworld.com Thu Mar 26 10:47:07 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 26 Mar 2015 07:47:07 -0700 Subject: Movie problems in LiveCode In-Reply-To: <14c5656a3f4-47fe-c9a@webprd-a83.mail.aol.com> References: <14c5656a3f4-47fe-c9a@webprd-a83.mail.aol.com> Message-ID: <55141BEB.9060207@fourthworld.com> stgoldberg wrote: >>On 3/24/2015 10:26 AM, Richard Gaskin wrote: > >> I've always been wary of shipping things that rely on >>relative paths, since any other script can change the >>default directory out from under me at any time. >>In apps where the media I'm playing resides in a single >>folder. I often just have a central handler cover that to >>which I pass the file's short name only and it takes care >>of the rest, e.g.: >> >> on PlayMovie pFile >> put specialFolderPath("documents")&"/MyApp/media/"& pFile into > tPath >> if there is not a file tPath then >> answer "Media file missing: "& tPath >> exit to top >> end if >> play tPath >> end PlayMovie > >>Jackie Landman Gay wrote: >>That's exactly what I do too, I've never trusted relative paths. > > Richard and Jackie, does your reluctance to use relative paths > also extend to the distribution of standalones, or is it just stacks > that present the problem? It's not so much a problem (at least not while QuickTime existed) as it is an opportunity to centralize program logic for easier scripting in the short term and easier maintenance over the long term. Without centralizing the playback handling, I'd need to write paths to the media and check for the file's existence everywhere throughout my code that I need to play a movie. By centralizing it in a common handler, the scripts that call it are very short: on mouseUp PlayMovie "SomeFile.mov" end mouseUp ...and all the details for how that file is found, verified to exist, and then played are handled in one handler. So there's an immediate benefit while I'm writing the program, and it only gets better over time: if I later need to change anything about how movies are played, I change only one handler and everything throughout my app that calls it benefits from that change immediately without any of those calls needing to be changed themselves. > I?m not experienced enough to follow the above script. > Perhaps you can recommend a place where I can find a more > detailed explanation. The Dictionary entry for the specialFolderPath function is good reading, and worth taking some time to experiment with. For security reasons, OSes are increasingly limiting the places applications can access files. The specialFolderPath function returns the path to a good many "special" folders, directories the OS guidelines recommend for certain types of files, such as Preferences and Application Support, and handles constants for other commonly-used folders like Desktop and Home. All that's happening in that handler is using that function to build a full path at runtime, with an additional step to make sure the file exists (you never know what people might do with stuff after it's installed, which is why more than 30% of an app's code on average isn't feature-related but merely error-checking). Let's look at each part: put specialFolderPath("documents")&"/MyApp/media/"& pFile into tPath This calls the specialFolderPath function, asking for the path to the Documents folder. Mac, Windows, and Linux all have a Documents folder, the recommended place for users to store files they create with your app. For files your app creates or installs itself it may be better to use another folder to install those into, but the recommended location is a bit different for each OS. I can provide a handler for that if needed, but for now we'll keep things simple here using one of the special folders consistently supported across OSes. This second bit just ensures the file exists, informing the user if it's been removed: if there is not a file tPath then answer "Media file missing: "& tPath exit to top end if The last line just plays the file: play tPath If somewhere down the road is became necessary for the engine team to change the play command to something like "PlayVideo", with this centralized handler you just make that change in one place and everything in your app immediately benefits without any other changes. If you if need to add more error-checking, or handle platform-specific considerations, or just about anything else, without a centralized handler you'd need to replicate that code throughout your app every time you want to play a movie. Much simpler to just write: PlayMovie "SomeMovie.mov" ...and let one script to all the work for you in one place. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at tactilemedia.com Thu Mar 26 11:05:33 2015 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 26 Mar 2015 08:05:33 -0700 Subject: Workaround on the inability to create relative paths in the LC6-7 series Movie Player In-Reply-To: <14c56710c16-47fe-1006@webprd-a83.mail.aol.com> References: <14c56710c16-47fe-1006@webprd-a83.mail.aol.com> Message-ID: <910EAF6E-B980-4205-80F1-A4897A5D3300@tactilemedia.com> Stephen, have you verified that VR playback works with QuickTime Player 10 on Windows? My guess is that the Windows system you're looking at has QuickTime Player 7 installed (which is also capable of playing VR movies on OS X, but is out of date). It seems unlikely that Player 10 would work on Windows and not OS X, but maybe Apple did something different there. Regards, Scott Rossi Creative Director Tactile Media UX/UI Design > On Mar 26, 2015, at 7:16 AM, "stgoldberg at aol.com" wrote: > > 3. QTVR is not so fortunate. QTVR will not play on Macintosh in the LC 6-7 series, even if a build is made on Windows with LC 7.0. Windows itself, though, with LC 7.0 will play QTVR. From ambassador at fourthworld.com Thu Mar 26 11:20:26 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 26 Mar 2015 08:20:26 -0700 Subject: Workaround on the inability to create relative paths in the LC6-7 series Movie Player In-Reply-To: <14c56710c16-47fe-1006@webprd-a83.mail.aol.com> References: <14c56710c16-47fe-1006@webprd-a83.mail.aol.com> Message-ID: <551423BA.2070109@fourthworld.com> stgoldberg wrote: > 2. Create the standalone on Windows. In Windows, LC 7.0 does > maintain the relative path, and standalones built on Windows for > Mac will keep the relative path and display the Quicktime movies > on Mac, even when using the LC 6-7 series. Are the movies files stored within the Mac app bundle? Remember that the app bundle is unique to OS X, so the paths from the standalone executable to whatever folder contains media will often differ between platforms. > Phil Jimmieson wrote (Mar 24 2015): >> I think Apple dropped support of quicklime VR movies. You?re supposed >> to move to AVKit and AV Foundation. > > In order to show the movies through LiveCode, though, we?ll have to > wait for the LiveCode team to adopt the newer technology. If you're referring to temporal media (movies, audio), that was part of the v6.7 transition to the Cocoa APIs. If you find bugs in v6.7 or later for playing temporal media files please file a report on those. For spatial media (QuickTime VR) it appears Apple has abandoned support for that altogether, and users are now expected to rely on third-party solutions. Too bad, IMO, since QTVR was pretty cool in its day. But given the number and variety of third-party solutions, the somewhat specialized nature of spatial media, and the goals already on the Roadmap that the core dev team is committed to completing, it may be quicker to put together a team of people in the community who need spatial media support and use LC 8's ability to talk to native APIs to create a library for that. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mikedoub at gmail.com Thu Mar 26 11:46:31 2015 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 26 Mar 2015 11:46:31 -0400 Subject: Move the clock hands with fingers In-Reply-To: References: Message-ID: <551429D7.1010207@gmail.com> Astghik, Contact me off list and I will try to help you. Please send a copy of your stack. Regards, Mike On 3/26/15 7:59 AM, Astghik Salnazaryan wrote: > Hello :) > I am new here :) i am learning livecode and I found clock code in > livecode,where you can move the clock hands with scrollbar, i tried to move > the minute clock hand with touch but something is wrong, i couldn't do it > in the right way. please can you look at the code? i wrote the code in > minute clock hand :) thanks > P.S. sorry for my bad english :) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Thu Mar 26 13:38:10 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 26 Mar 2015 10:38:10 -0700 Subject: [OT] And You Thought Richmond Kept Old Macs Alive In-Reply-To: References: Message-ID: On Wed, Mar 25, 2015 at 5:59 PM, Kay C Lan wrote: > Was rummaging through boxes of stuff looking for something when I came > across a few ADB keyboards and mice. Thought to myself, 'it's about time to > turf these, no one, not even Richmond, could possible want them'. Seems > like I could be wrong: > I still have my 128k mac, apparently working, my MacPortable (disassembled; needs fuse), and a working MacClassic. And a PowerBook 180 in pieces; it's been years since you could get a working 2.5" scsi drive . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mpetrides at earthlink.net Thu Mar 26 13:55:15 2015 From: mpetrides at earthlink.net (Marian Petrides MD) Date: Thu, 26 Mar 2015 13:55:15 -0400 Subject: [OT] And You Thought Richmond Kept Old Macs Alive In-Reply-To: References: Message-ID: <519F6AE6-9EBA-400A-826B-305A05722B39@earthlink.net> Gotcha all beat. I still have my Apple ][+ (purchased 4/4/1980) and it still works?did a power supply transplant 20 years ago. Plus three Apple ][ GSs?two work, one is parts for the others. And, of course, my 512K Enhanced Mac (Fat Mac), which also works. And a bunch of newer Macs, LC 2, gumdrop iMacs, fruit colored iBooks. All of them work. It?s a regular Mac museum in the making up there in my loft. Too bad I don?t have space to display all my goodies. > On Mar 26, 2015, at 1:38 PM, Dr. Hawkins wrote: > > On Wed, Mar 25, 2015 at 5:59 PM, Kay C Lan wrote: > >> Was rummaging through boxes of stuff looking for something when I came >> across a few ADB keyboards and mice. Thought to myself, 'it's about time to >> turf these, no one, not even Richmond, could possible want them'. Seems >> like I could be wrong: >> > > I still have my 128k mac, apparently working, my MacPortable (disassembled; > needs fuse), and a working MacClassic. > > And a PowerBook 180 in pieces; it's been years since you could get a > working 2.5" scsi drive . . . > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Mar 26 14:09:43 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 26 Mar 2015 20:09:43 +0200 Subject: [OT] And You Thought Richmond Kept Old Macs Alive In-Reply-To: References: Message-ID: <55144B67.5060607@gmail.com> On 26/03/15 19:38, Dr. Hawkins wrote: > On Wed, Mar 25, 2015 at 5:59 PM, Kay C Lan wrote: > >> Was rummaging through boxes of stuff looking for something when I came >> across a few ADB keyboards and mice. Thought to myself, 'it's about time to >> turf these, no one, not even Richmond, could possible want them'. Seems >> like I could be wrong: >> > I still have my 128k mac, apparently working, my MacPortable (disassembled; > needs fuse), and a working MacClassic. > > And a PowerBook 180 in pieces; it's been years since you could get a > working 2.5" scsi drive . . . > > Joking apart (???) I have, in the attic of my house in Scotland, an all-in-one Performa as well as a few pre-PPC machines, and about 4 ADB keyboards: as such the keyboards are extremely resilient and much stronger that your average USB keyboard. So, if I could only lay me hands on a few ADB-to-USB converters I could put them to good use. Richmond. From jacque at hyperactivesw.com Thu Mar 26 14:38:57 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 26 Mar 2015 13:38:57 -0500 Subject: Movie problems in LiveCode In-Reply-To: <14c5656a3f4-47fe-c9a@webprd-a83.mail.aol.com> References: <14c5656a3f4-47fe-c9a@webprd-a83.mail.aol.com> Message-ID: <55145241.8050706@hyperactivesw.com> On 3/26/2015 8:47 AM, stgoldberg at aol.com wrote: > Richard and Jackie, does your reluctance to use relative paths > also extend to the distribution of standalones, or is it just stacks > that present the problem? I do it mostly for the reasons Richard outlined -- more control over playback and media selection as well as the abilitly to specify different movie playbacks by reloading the same player object. But I get the feeling you don't want to mess around with scripts, you just want to set a filepath once during development and forget about it. If the IDE is changing that path then you're right, you won't be able to do that during development. I'd submit a bug report. But it shouldn't be an issue for a standalone. Selecting the "Copy referenced files" in the standalone builder's Copy Files pane should create a standalone where your referenced movies are converted to correct filepaths inside the standalone, which is probably what you're after. So that's a solution for standalones, even though during development you may be stuck with absolute paths. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Mar 26 14:41:50 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 26 Mar 2015 13:41:50 -0500 Subject: [OT] And You Thought Richmond Kept Old Macs Alive In-Reply-To: <519F6AE6-9EBA-400A-826B-305A05722B39@earthlink.net> References: <519F6AE6-9EBA-400A-826B-305A05722B39@earthlink.net> Message-ID: <551452EE.1060002@hyperactivesw.com> Okay, so do any of you want some of the dozens of SCSI cables I have? How about a whole set of...whatchacallit... the dealies that connect a local network over telephone wires. Got a ton of those. On 3/26/2015 12:55 PM, Marian Petrides MD wrote: > Gotcha all beat. I still have my Apple ][+ (purchased 4/4/1980) and it still works?did a power supply transplant 20 years ago. Plus three Apple ][ GSs?two work, one is parts for the others. > > And, of course, my 512K Enhanced Mac (Fat Mac), which also works. And a bunch of newer Macs, LC 2, gumdrop iMacs, fruit colored iBooks. All of them work. It?s a regular Mac museum in the making up there in my loft. Too bad I don?t have space to display all my goodies. > > >> On Mar 26, 2015, at 1:38 PM, Dr. Hawkins wrote: >> >> On Wed, Mar 25, 2015 at 5:59 PM, Kay C Lan wrote: >> >>> Was rummaging through boxes of stuff looking for something when I came >>> across a few ADB keyboards and mice. Thought to myself, 'it's about time to >>> turf these, no one, not even Richmond, could possible want them'. Seems >>> like I could be wrong: >>> >> >> I still have my 128k mac, apparently working, my MacPortable (disassembled; >> needs fuse), and a working MacClassic. >> >> And a PowerBook 180 in pieces; it's been years since you could get a >> working 2.5" scsi drive . . . >> >> >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Thu Mar 26 15:09:57 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 26 Mar 2015 21:09:57 +0200 Subject: [OT] And You Thought Richmond Kept Old Macs Alive In-Reply-To: <551452EE.1060002@hyperactivesw.com> References: <519F6AE6-9EBA-400A-826B-305A05722B39@earthlink.net> <551452EE.1060002@hyperactivesw.com> Message-ID: <55145985.8010401@gmail.com> On 26/03/15 20:41, J. Landman Gay wrote: > Okay, so do any of you want some of the dozens of SCSI cables I have? > How about a whole set of...whatchacallit... the dealies that connect a > local network over telephone wires. Got a ton of those. > If you happened to have a SCSI-to-USB cable . . . Or one of those USB-to-ADB+SCSI for iMac things . . . Richmond. > > On 3/26/2015 12:55 PM, Marian Petrides MD wrote: >> Gotcha all beat. I still have my Apple ][+ (purchased 4/4/1980) and >> it still works?did a power supply transplant 20 years ago. Plus three >> Apple ][ GSs?two work, one is parts for the others. >> >> And, of course, my 512K Enhanced Mac (Fat Mac), which also works. And >> a bunch of newer Macs, LC 2, gumdrop iMacs, fruit colored iBooks. All >> of them work. It?s a regular Mac museum in the making up there in my >> loft. Too bad I don?t have space to display all my goodies. >> >> >>> On Mar 26, 2015, at 1:38 PM, Dr. Hawkins wrote: >>> >>> On Wed, Mar 25, 2015 at 5:59 PM, Kay C Lan >>> wrote: >>> >>>> Was rummaging through boxes of stuff looking for something when I came >>>> across a few ADB keyboards and mice. Thought to myself, 'it's about >>>> time to >>>> turf these, no one, not even Richmond, could possible want them'. >>>> Seems >>>> like I could be wrong: >>>> >>> >>> I still have my 128k mac, apparently working, my MacPortable >>> (disassembled; >>> needs fuse), and a working MacClassic. >>> >>> And a PowerBook 180 in pieces; it's been years since you could get a >>> working 2.5" scsi drive . . . >>> >>> >>> -- >>> Dr. Richard E. Hawkins, Esq. >>> (702) 508-8462 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From richmondmathewson at gmail.com Thu Mar 26 16:04:03 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 26 Mar 2015 22:04:03 +0200 Subject: Suggest a USB device. Message-ID: <55146633.1080402@gmail.com> While I am waiting for my turtle to be delivered I am getting pretty cheesed-off as I would like a USB device I could hook up to my various computers running various operating systems . . . Certainly I feel it is pretty pointless working on "open to read" and "open to write" stuff if I don't have a target USB device to practise with. I have plenty of USB devices, but most of them are what I call "one-way" devices: that is to say they sent data to the computer, but no data is ever sent the other way. Anyway, I have just spotted a fairly old USB scanner (well, bought it about 15-16 years ago) lurking under a desk, and that is a "two-way" device as it has to be controlled from an interface on the computer . . . However, while I can, quite possibly, do an "open to read", I am going to find it difficult to "read" anything until I "write" some sort of command to the scanner to scan something . . . Has anybody tried controlling a scanner from LIvecode? Has anybody any idea of the sort of commands I should be sending a scanner? Richmond. From jacque at hyperactivesw.com Thu Mar 26 16:13:40 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 26 Mar 2015 15:13:40 -0500 Subject: [OT] And You Thought Richmond Kept Old Macs Alive In-Reply-To: <55145985.8010401@gmail.com> References: <519F6AE6-9EBA-400A-826B-305A05722B39@earthlink.net> <551452EE.1060002@hyperactivesw.com> <55145985.8010401@gmail.com> Message-ID: <55146874.6080701@hyperactivesw.com> On 3/26/2015 2:09 PM, Richmond wrote: >> > If you happened to have a SCSI-to-USB cable . . . > > Or one of those USB-to-ADB+SCSI for iMac things . . . Sorry, those I don't have. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdev at pdslabs.net Thu Mar 26 16:14:36 2015 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 26 Mar 2015 13:14:36 -0700 Subject: Suggest a USB device. In-Reply-To: <55146633.1080402@gmail.com> References: <55146633.1080402@gmail.com> Message-ID: <551468AC.6080803@pdslabs.net> Hi Richmond, If the scanner is an HID device, you won't get very far. You would probably need a driver to communicate with, via "open driver" etc. And even then you would have to have info about the driver's data formats. I tend to see USB as a large black hole. I haven't looked at it since USB 2.0, but at that time the spec was daunting. It seems to have multiplied since then: http://www.usb.org/developers/docs/ Do you have a flash drive (aka thumb drive)? That's a USB mass storage device. You can read from/write to that. (Of course) Just some thoughts off the top of my head - Phil Davis On 3/26/15 1:04 PM, Richmond wrote: > While I am waiting for my turtle to be delivered I am getting pretty > cheesed-off as I would like a USB device I could hook up to my various > computers running various operating systems . . . > > Certainly I feel it is pretty pointless working on "open to read" and > "open to write" > stuff if I don't have a target USB device to practise with. > > I have plenty of USB devices, but most of them are what I call > "one-way" devices: > that is to say they sent data to the computer, but no data is ever > sent the other way. > > Anyway, I have just spotted a fairly old USB scanner (well, bought it > about 15-16 years ago) > lurking under a desk, and that is a "two-way" device as it has to be > controlled from an interface on > the computer . . . > > However, while I can, quite possibly, do an "open to read", I am going > to find it difficult to "read" > anything until I "write" some sort of command to the scanner to scan > something . . . > > Has anybody tried controlling a scanner from LIvecode? > > Has anybody any idea of the sort of commands I should be sending a > scanner? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From richmondmathewson at gmail.com Thu Mar 26 16:26:12 2015 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 26 Mar 2015 22:26:12 +0200 Subject: Suggest a USB device. In-Reply-To: <551468AC.6080803@pdslabs.net> References: <55146633.1080402@gmail.com> <551468AC.6080803@pdslabs.net> Message-ID: <55146B64.1030504@gmail.com> On 26/03/15 22:14, Phil Davis wrote: > Hi Richmond, > > If the scanner is an HID device, you won't get very far. You would > probably need a driver to communicate with, via "open driver" etc. And > even then you would have to have info about the driver's data formats. Am I being naive? or if one uses "open driver to write" can one then write API commands to that driver? > > I tend to see USB as a large black hole. I haven't looked at it since > USB 2.0, but at that time the spec was daunting. It seems to have > multiplied since then: http://www.usb.org/developers/docs/ > > Do you have a flash drive (aka thumb drive)? That's a USB mass storage > device. You can read from/write to that. (Of course) > > Just some thoughts off the top of my head - > Phil Davis > > > On 3/26/15 1:04 PM, Richmond wrote: >> While I am waiting for my turtle to be delivered I am getting pretty >> cheesed-off as I would like a USB device I could hook up to my various >> computers running various operating systems . . . >> >> Certainly I feel it is pretty pointless working on "open to read" and >> "open to write" >> stuff if I don't have a target USB device to practise with. >> >> I have plenty of USB devices, but most of them are what I call >> "one-way" devices: >> that is to say they sent data to the computer, but no data is ever >> sent the other way. >> >> Anyway, I have just spotted a fairly old USB scanner (well, bought it >> about 15-16 years ago) >> lurking under a desk, and that is a "two-way" device as it has to be >> controlled from an interface on >> the computer . . . >> >> However, while I can, quite possibly, do an "open to read", I am >> going to find it difficult to "read" >> anything until I "write" some sort of command to the scanner to scan >> something . . . >> >> Has anybody tried controlling a scanner from LIvecode? >> >> Has anybody any idea of the sort of commands I should be sending a >> scanner? >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From ebeugelaar at gmail.com Thu Mar 26 16:36:50 2015 From: ebeugelaar at gmail.com (Erik Beugelaar - Gmail) Date: Thu, 26 Mar 2015 21:36:50 +0100 Subject: [OT] And You Thought Richmond Kept Old Macs Alive In-Reply-To: <55146874.6080701@hyperactivesw.com> References: <519F6AE6-9EBA-400A-826B-305A05722B39@earthlink.net> <551452EE.1060002@hyperactivesw.com> <55145985.8010401@gmail.com> <55146874.6080701@hyperactivesw.com> Message-ID: <012801d06804$97088420$c5198c60$@gmail.com> This will help maybe: http://www.amazon.com/Griffin-2001-ADB-iMate-Universal-adapter/dp/B000067V8L https://geekhack.org/index.php?topic=14290.0 Cheers, Erik -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: donderdag 26 maart 2015 21:14 To: How to use LiveCode Subject: Re: [OT] And You Thought Richmond Kept Old Macs Alive On 3/26/2015 2:09 PM, Richmond wrote: >> > If you happened to have a SCSI-to-USB cable . . . > > Or one of those USB-to-ADB+SCSI for iMac things . . . Sorry, those I don't have. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From roh at babanin.com Thu Mar 26 16:42:03 2015 From: roh at babanin.com (R.H.) Date: Thu, 26 Mar 2015 21:42:03 +0100 Subject: LC 7.03 ff Crashing on larger text blocks Message-ID: I am trying in varying ways to process large chunks of text data, actually in this current application trying to read my Gmail contact data (cvs export) and converting such data to lists / arrays. Using lists I want to exchange commas and returns inside quoted text and keep records as lines to be able to import to Excel or do whatever. Using either a "repeat for" or "repeat with" loop, using replaceTex(), offset() or simply going through each characters and changing one or the other character .... whatever I do, LiveCode fails operating and crashes after processing part of the data. I tried other versions of 7. I need UTF-8 character encoding, so going to 6.x is not an option. Nothing helps. It crashes and crashes. Trying to understand when what is happening, I multiplied step by step thousands and then millions of times a line of 50-100 commas and tried replacing this list with semikolons using any of the methods available - but it crashes. Also going through it line by line, adding lines to another text variable, or whatever I do, the same happens. LiveCode 7 ff obviously runs into a memory problem. Maybe there is a work-around I did not yet recognize? I already have filed a bug report first seeing this behaviour with the replacetext() function. But it happens whatever processing is done on such largers text blocks. Roland From jacque at hyperactivesw.com Thu Mar 26 16:47:47 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 26 Mar 2015 15:47:47 -0500 Subject: Replace existing notification Message-ID: <55147073.30302@hyperactivesw.com> Does anyone know a trick to replace an existing Android notification with new content? I need to repeat a notification periodically if it isn't dismissed and I don't want more than one in the notification bar. Android OS allows this but I'm not sure if we can do it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Thu Mar 26 17:44:09 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 26 Mar 2015 21:44:09 +0000 (UTC) Subject: Suggest a USB device. References: <55146633.1080402@gmail.com> <551468AC.6080803@pdslabs.net> <55146B64.1030504@gmail.com> Message-ID: Richmond writes: > Am I being naive? Quite, I think. If the scanner is that old your chances of finding a recent driver are miniscule. If you *do* find a driver for it, you'll still have to figure out how to use the driver. USB device manufacturers don't normally publish communication information, and certainly not at a device driver level. The USB "standard" gives you guidelines when creating a device, but leaves a lot to the imagination. And manufacturers have a lot of imagination. If you actually manage to talk to a USB device, you have no assurance of being able to leverage that information to other devices, even from that manufacturer. If you're attempting to create the holy grail of universal usb functions, I think you'll soon come to realize why this hasn't yet been done. I have a nice USB breakout box that I helped Kickstart, and it helps when trying to follow the communications stream in order to reverse-engineer how to talk to various USB devices, but it's still a *lot* of work. And without that box and the python tools that enable it, I wouldn't even try. -- Mark Wieder ahsoftware at gmail.com From dunbarx at aol.com Thu Mar 26 17:57:07 2015 From: dunbarx at aol.com (dunbarx) Date: Thu, 26 Mar 2015 14:57:07 -0700 (PDT) Subject: Suggest a USB device. In-Reply-To: References: <55146633.1080402@gmail.com> <551468AC.6080803@pdslabs.net> <55146B64.1030504@gmail.com> Message-ID: <1427407027641-4690658.post@n4.nabble.com> Richmond. Buy the Bonig and Kallenbach gadget already. You will love it. I have four. Craig -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Suggest-a-USB-device-tp4690650p4690658.html Sent from the Revolution - User mailing list archive at Nabble.com. From alex at tweedly.net Thu Mar 26 18:40:55 2015 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 26 Mar 2015 22:40:55 +0000 Subject: LC 7.03 ff Crashing on larger text blocks In-Reply-To: References: Message-ID: <55148AF7.9080600@tweedly.net> Suggestion 1. Is it feasible for you to avoid the problem ? i.e. rather than something like (I assume what you currently have) put URL ("file:inputdata.txt") into myVar replaceText (...) put myModifiedVar into URL("file:output.txt") do the processing within a read / write loop, something very vaguely like open file "inputdata.txt" for read open file "output.txt" for write repeat forever read from file "inputdata.txt" until CR if the result is EOF then exit repeat put it into t replace comma with ";" in t write t & CR to file "output.txt" end repeat Suggestion 2. You mentioned a synthetic example (i.e. creating a data string and processing it). Can you post the snippet(s) of code to create and operate that sample, and let others try it to see if (a) they also encounter a problem and (b) can find a variant that will work Thanks Alex. On 26/03/2015 20:42, R.H. wrote: > I am trying in varying ways to process large chunks of text data, actually > in this current application trying to read my Gmail contact data (cvs > export) and converting such data to lists / arrays. > > Using lists I want to exchange commas and returns inside quoted text and > keep records as lines to be able to import to Excel or do whatever. > > Using either a "repeat for" or "repeat with" loop, using replaceTex(), > offset() or simply going through each characters and changing one or the > other character .... whatever I do, LiveCode fails operating and crashes > after processing part of the data. > > I tried other versions of 7. I need UTF-8 character encoding, so going to > 6.x is not an option. > > Nothing helps. It crashes and crashes. > > Trying to understand when what is happening, I multiplied step by step > thousands and then millions of times a line of 50-100 commas and tried > replacing this list with semikolons using any of the methods available - > but it crashes. > > Also going through it line by line, adding lines to another text variable, > or whatever I do, the same happens. > > LiveCode 7 ff obviously runs into a memory problem. > > Maybe there is a work-around I did not yet recognize? > > I already have filed a bug report first seeing this behaviour with the > replacetext() function. But it happens whatever processing is done on such > largers text blocks. > > Roland > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Thu Mar 26 18:41:39 2015 From: sundown at pacifier.com (JB) Date: Thu, 26 Mar 2015 15:41:39 -0700 Subject: revDataFromQuery Selecting Files Message-ID: <0163B583-1746-437A-A9A0-6557CB82F982@pacifier.com> I am working on the sort, search and find in SQL lite with revDataFromQuery in a single database with a single table. I know this is simple for people who already are able to do it but for those who are new to working with database selecting records here are a couple of steps to help. To return a list of ALL RECORDS with ALL FIELDS in a table named tFiles you can use the following where gConID = the connection id; put "SELECT * FROM tFiles" into tSQL --returns all records & fields put revDataFromQuery(,,gConID,tSQL) into tList put tList To return a list of ALL RECORDS in 1 FIELD in a table named tFiles you can use the following where gConID gConID = the connection id and the field name is FirstName; put "SELECT FirstName FROM tFiles" into tSQL --returns all records in 1 field put revDataFromQuery(,,gConID,tSQL) into tList put tList John Balgenorth From revdev at pdslabs.net Thu Mar 26 20:35:55 2015 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 26 Mar 2015 17:35:55 -0700 Subject: Suggest a USB device. In-Reply-To: <55146B64.1030504@gmail.com> References: <55146633.1080402@gmail.com> <551468AC.6080803@pdslabs.net> <55146B64.1030504@gmail.com> Message-ID: <5514A5EB.3040700@pdslabs.net> On 3/26/15 1:26 PM, Richmond wrote: > On 26/03/15 22:14, Phil Davis wrote: >> Hi Richmond, >> >> If the scanner is an HID device, you won't get very far. You would >> probably need a driver to communicate with, via "open driver" etc. >> And even then you would have to have info about the driver's data >> formats. > > Am I being naive? Sometimes ignorance/naivety can lead to great things, because you didn't know it couldn't be done. ;-) At least that's what I keep telling myself. > or if one uses "open driver to write" can one then write API commands > to that driver? Basically yes, that's my understanding at least. That may require you to deal with strongly typed data. I'm sure there are others on this list who have much more experience than I do with drivers. Maybe you! Phil > >> >> I tend to see USB as a large black hole. I haven't looked at it since >> USB 2.0, but at that time the spec was daunting. It seems to have >> multiplied since then: http://www.usb.org/developers/docs/ >> >> Do you have a flash drive (aka thumb drive)? That's a USB mass >> storage device. You can read from/write to that. (Of course) >> >> Just some thoughts off the top of my head - >> Phil Davis >> >> >> On 3/26/15 1:04 PM, Richmond wrote: >>> While I am waiting for my turtle to be delivered I am getting pretty >>> cheesed-off as I would like a USB device I could hook up to my various >>> computers running various operating systems . . . >>> >>> Certainly I feel it is pretty pointless working on "open to read" >>> and "open to write" >>> stuff if I don't have a target USB device to practise with. >>> >>> I have plenty of USB devices, but most of them are what I call >>> "one-way" devices: >>> that is to say they sent data to the computer, but no data is ever >>> sent the other way. >>> >>> Anyway, I have just spotted a fairly old USB scanner (well, bought >>> it about 15-16 years ago) >>> lurking under a desk, and that is a "two-way" device as it has to be >>> controlled from an interface on >>> the computer . . . >>> >>> However, while I can, quite possibly, do an "open to read", I am >>> going to find it difficult to "read" >>> anything until I "write" some sort of command to the scanner to scan >>> something . . . >>> >>> Has anybody tried controlling a scanner from LIvecode? >>> >>> Has anybody any idea of the sort of commands I should be sending a >>> scanner? >>> >>> Richmond. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From dochawk at gmail.com Thu Mar 26 21:22:53 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 26 Mar 2015 18:22:53 -0700 Subject: [OT] And You Thought Richmond Kept Old Macs Alive In-Reply-To: <519F6AE6-9EBA-400A-826B-305A05722B39@earthlink.net> References: <519F6AE6-9EBA-400A-826B-305A05722B39@earthlink.net> Message-ID: On Thu, Mar 26, 2015 at 10:55 AM, Marian Petrides MD < mpetrides at earthlink.net> wrote: > Gotcha all beat. I still have my Apple ][+ (purchased 4/4/1980) and it > still works?did a power supply transplant 20 years ago. Plus three Apple ][ > GSs?two work, one is parts for the others. > Well, that's not a mac. If any computer counts, my 1978 wire-wrapped 1802 and parts are still in my garage . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Mar 26 21:31:19 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 26 Mar 2015 18:31:19 -0700 Subject: compress & decompress Message-ID: In my attempts to provide backups of databases, I have a sequence that gathers the commands and executes open file outfile for binary write write compress(theData )to file outfile Another routine has put url infile into theData switch case infile ends with ".gz" put decompress(theData) into theData break end switch I get stack "mcp": execution error at line 11923 (decompress: error during decompression), char 1 On the attempt to decompress. If I instead open the file from the OSX finder, it decompresses correctly. There don't seem to be any options to affect this. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Thu Mar 26 21:52:25 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 26 Mar 2015 20:52:25 -0500 Subject: compress & decompress In-Reply-To: References: Message-ID: <5514B7D9.1080608@hyperactivesw.com> On 3/26/2015 8:31 PM, Dr. Hawkins wrote: > In my attempts to provide backups of databases, I have a sequence that > gathers the commands and executes > > open file outfile for binary write > write compress(theData )to file outfile > > Another routine has > > put url infile into theData > switch > case infile ends with ".gz" > put decompress(theData) into theData > break > end switch > > I get > stack "mcp": execution error at line 11923 (decompress: error during > decompression), char 1 > > On the attempt to decompress. > > If I instead open the file from the OSX finder, it decompresses correctly. > > There don't seem to be any options to affect this. > Is the file opened as a binary file? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Fri Mar 27 02:27:13 2015 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 27 Mar 2015 08:27:13 +0200 Subject: Suggest a USB device. In-Reply-To: References: <55146633.1080402@gmail.com> <551468AC.6080803@pdslabs.net> <55146B64.1030504@gmail.com> Message-ID: <5514F841.1090407@gmail.com> On 26/03/15 23:44, Mark Wieder wrote: > Richmond writes: > >> Am I being naive? > Quite, I think. > If the scanner is that old your chances of finding a recent driver are > miniscule. If you *do* find a driver for it, you'll still have to figure > out how to use the driver. USB device manufacturers don't normally publish > communication information, and certainly not at a device driver level. > > The USB "standard" gives you guidelines when creating a device, but leaves > a lot to the imagination. And manufacturers have a lot of imagination. > > If you actually manage to talk to a USB device, you have no assurance of > being able to leverage that information to other devices, even from that > manufacturer. > > If you're attempting to create the holy grail of universal usb functions, > I think you'll soon come to realize why this hasn't yet been done. I have > a nice USB breakout box that I helped Kickstart, and it helps when trying > to follow the communications stream in order to reverse-engineer how to talk > to various USB devices, but it's still a *lot* of work. And without that box > and the python tools that enable it, I wouldn't even try. > Mark, my "naive" question was not aimed at the scanner, but USB devices in general. The turtle that is being sent to me has a Windows API, and my conundrum is how to get in contact with it from Livecode as it has only this in the documentation: "Third-Party applications and active scripts should use "SilvaElm.R2CommandInterface.R2Command" as the program identifier string to establish connection to the API." Not entirely transparent. Well, not for goofy types like myself. Richmond. From brahma at hindu.org Fri Mar 27 02:28:46 2015 From: brahma at hindu.org (Brahmanathaswami) Date: Thu, 26 Mar 2015 20:28:46 -1000 Subject: How to Turn a Word Into a Graphic Object? Message-ID: <5514F89E.3030302@hindu.org> I'm looking for a way to quickly turn words into graphic objects programmatically. If you have a field with the words "I am that I am" you can programmatically select each word and highlight it etc. but I don't think you can get the actual pixel location of the rect that the hilite takes on the screen... which, theoretically should be doable, since everything must be drawn on screen, everything has x,y coords and width and height. Assuming the rect of a hilited word *could* be extracted, then it would be easy to take a import a snap shot of it. an auxiliary question: when using "import snapshot" ... how can you set the name of the resulting image that is placed on the top of the card. It defaults to (e.g.) "image id 6578" but one cannot know that ID... is there another way to refer to the latest created object? Swasti Astu, Be Well! Brahmanathaswami From scott at tactilemedia.com Fri Mar 27 02:47:58 2015 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 26 Mar 2015 23:47:58 -0700 Subject: How to Turn a Word Into a Graphic Object? In-Reply-To: <5514F89E.3030302@hindu.org> References: <5514F89E.3030302@hindu.org> Message-ID: See the formattedRect property and measureText function in the docs. Both should help you get what you want. ?Last? refers to the object type that is highest in the hierarchy: set the name of the last image to ?myImage" Also, the number of an object type will return the number of the highest layered object: put the number of images into N set the name of image N to ?myImage" Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 3/26/15, 11:28 PM, "Brahmanathaswami" wrote: >I'm looking for a way to quickly turn words into graphic objects >programmatically. > >If you have a field with the words > >"I am that I am" > >you can programmatically select each word and highlight it etc. but I >don't think you can get the actual pixel location of the rect that the >hilite takes on the screen... which, theoretically should be doable, >since everything must be drawn on screen, everything has x,y coords and >width and height. > >Assuming the rect of a hilited word *could* be extracted, then it would >be easy to take a import a snap shot of it. > >an auxiliary question: when using "import snapshot" ... how can you set >the name of the resulting image that is placed on the top of the card. >It defaults to (e.g.) "image id 6578" but one cannot know that ID... is >there another way to refer to the latest created object? > >Swasti Astu, Be Well! >Brahmanathaswami > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Mar 27 02:53:11 2015 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 27 Mar 2015 07:53:11 +0100 Subject: How to Turn a Word Into a Graphic Object? In-Reply-To: <5514F89E.3030302@hindu.org> References: <5514F89E.3030302@hindu.org> Message-ID: <5514FE57.2090002@economy-x-talk.com> Hi Brahmanathaswami, Here's an example. // button script on mouseUp put the selectedRect of fld 1 into myRect if myRect is not "error" then import snapshot from rect myRect of this cd put the long id of it into myImage // do something with myImage here end if end mouseUp // card or stack script getProp selectedRect theChunk try if theChunk is empty then put the selectedChunk of the target into myChunk else put theChunk into myChunk end if put the formattedWidth of the selectedChunk into myWidth put word 2 of myChunk & comma & word 4 of myChunk into myChars sort items of myChars numeric select char (item 1 of myChars) of the target put the selectedLoc into myRect select char (item 2 of myChars) of the target put comma & the selectedLoc after myRect add the formattedHeight of the selectedChunk to item 4 of myRect put item 1 of myRect + myWidth into item 3 of myRect select empty return myRect catch myErr return "error" end try end selectedRect -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/27/2015 07:28, Brahmanathaswami wrote: > I'm looking for a way to quickly turn words into graphic objects > programmatically. > > If you have a field with the words > > "I am that I am" > > you can programmatically select each word and highlight it etc. but I > don't think you can get the actual pixel location of the rect that the > hilite takes on the screen... which, theoretically should be doable, > since everything must be drawn on screen, everything has x,y coords and > width and height. > > Assuming the rect of a hilited word *could* be extracted, then it would > be easy to take a import a snap shot of it. > > an auxiliary question: when using "import snapshot" ... how can you set > the name of the resulting image that is placed on the top of the card. > It defaults to (e.g.) "image id 6578" but one cannot know that ID... is > there another way to refer to the latest created object? > > Swasti Astu, Be Well! > Brahmanathaswami > > From richmondmathewson at gmail.com Fri Mar 27 04:46:08 2015 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 27 Mar 2015 10:46:08 +0200 Subject: How to Turn a Word Into a Graphic Object? In-Reply-To: References: <5514F89E.3030302@hindu.org> Message-ID: <551518D0.7040505@gmail.com> I would, perhaps predictably, do this in a much more pedestrian and clunky fashion. So: I set up a textField with no borders, and, probably a transparent background. then just have a button with this sort of script: on mouseUp import snapshot from fld "myText" end mouseUp Richmond. From stgoldberg at aol.com Fri Mar 27 07:55:51 2015 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Fri, 27 Mar 2015 07:55:51 -0400 Subject: Quicktime 10, QTVR and LiveCode Message-ID: <14c5b16a0c9-43fa-6864@webprd-a91.mail.aol.com> Scott Rossi wrote (3/26/15): >Stephen, have you verified that VR playback works with QuickTime Player 10 on Windows? My guess is that the Windows system >you're looking at has QuickTime Player 7 installed (which is also capable of >playing VR movies on OS X, but is out of date). It seems unlikely that Player >10 would work on Windows and not OS X, but maybe Apple did something different >there. >Scott Rossi >Creative Director >Tactile Media UX/UI >Design Scott, you are right that Quicktime Player 10.1 on a Mac (system 10.7.5) will not open a QTVR However, if a LC stack or standalone is created on the same computer using LC 5.5.3, the QTVR will play. I don't have Quicktime Player 10 on my Windows Vista computer; I can't seem to find a download for it from Apple, which is still directing the user to Quicktime 7. Quicktime 7 on Windows will play QTVR, but if I use LC 7 to create the standalone on Windows, the standalone, while playing on Windows, will not show the QTVR on my Mac with any of the LC 6-7 series. The demise of QTVR is sad, because QTVR is not only useful for displaying panoramas, but also has the potential for hot spots for navigation, as in games. I hope the LC team will be able to resolve the Quicktime issues. Until then, the bottom line, at least for me, is to use Mac LC 5.5.3, which does not run into the QTVR issues, or the inability to create a referenced path in its Quicktime movie player. Stephen Goldberg, President Medmaster Inc www.medmaster.net From jacque at hyperactivesw.com Fri Mar 27 10:09:00 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 27 Mar 2015 09:09:00 -0500 Subject: Quicktime 10, QTVR and LiveCode In-Reply-To: <14c5b16a0c9-43fa-6864@webprd-a91.mail.aol.com> References: <14c5b16a0c9-43fa-6864@webprd-a91.mail.aol.com> Message-ID: <1FF9C683-A2AB-49DC-A88E-B7D668242835@hyperactivesw.com> QuickTime was turned off by default at some point in the LiveCode 6 series. You have to turn it back on by script now before trying to use it. Set the dontuseqt to false somewhere early on after startup. That should restore the functionality for whatever it supports these days. QuickTime 7 is the last version for Windows. It still works in Windows 8 but I don't know how long that will last. On March 27, 2015 6:55:51 AM CDT, "stgoldberg at aol.com" wrote: > > >Scott Rossi wrote (3/26/15): >>Stephen, have you verified that VR playback works with QuickTime >Player 10 on Windows? My guess is that the Windows system >>you're looking at has QuickTime Player 7 installed (which is also >capable of >>playing VR movies on OS X, but is out of date). It seems unlikely >that Player >>10 would work on Windows and not OS X, but maybe Apple did something >different >>there. >>Scott Rossi >>Creative Director >>Tactile Media UX/UI >>Design > >Scott, you are right that Quicktime Player 10.1 on a Mac (system >10.7.5) will not open a QTVR >However, if a LC stack or standalone is created on the same computer >using LC 5.5.3, the QTVR will play. >I don't have Quicktime Player 10 on my Windows Vista computer; I can't >seem to find a download for it >from Apple, which is still directing the user to Quicktime 7. Quicktime >7 on Windows will play QTVR, but if I use LC 7 >to create the standalone on Windows, the standalone, while playing on >Windows, will not show the QTVR on my Mac with any >of the LC 6-7 series. > >The demise of QTVR is sad, because QTVR is not only useful for >displaying panoramas, but >also has the potential for hot spots for navigation, as in games. I >hope the LC team will be able to resolve the Quicktime issues. >Until then, the bottom line, at least for me, is to use Mac LC 5.5.3, >which does not run into the QTVR issues, or the inability to create a >referenced path in its Quicktime movie player. >Stephen Goldberg, President >Medmaster Inc >www.medmaster.net > > > > > > > > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Mar 27 10:16:00 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 27 Mar 2015 09:16:00 -0500 Subject: How to Turn a Word Into a Graphic Object? In-Reply-To: <5514F89E.3030302@hindu.org> References: <5514F89E.3030302@hindu.org> Message-ID: <797971AE-806C-482C-8CA9-A165DA37B8BE@hyperactivesw.com> The selectedLoc will give you the pixel location of the selection. Then you can use the formattedwidth and formattedheight to calculate the rectangle for the snapshot. When the snapshot is made, the variable "it" will contain the long ID of the new image. So immediately after making the snapshot, "set the name of it to myname". On March 27, 2015 1:28:46 AM CDT, Brahmanathaswami wrote: >I'm looking for a way to quickly turn words into graphic objects >programmatically. > >If you have a field with the words > >"I am that I am" > >you can programmatically select each word and highlight it etc. but I >don't think you can get the actual pixel location of the rect that the >hilite takes on the screen... which, theoretically should be doable, >since everything must be drawn on screen, everything has x,y coords and > >width and height. > >Assuming the rect of a hilited word *could* be extracted, then it would > >be easy to take a import a snap shot of it. > >an auxiliary question: when using "import snapshot" ... how can you set > >the name of the resulting image that is placed on the top of the card. >It defaults to (e.g.) "image id 6578" but one cannot know that ID... >is >there another way to refer to the latest created object? > >Swasti Astu, Be Well! >Brahmanathaswami > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Fri Mar 27 10:27:00 2015 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 27 Mar 2015 15:27:00 +0100 Subject: How to Turn a Word Into a Graphic Object? In-Reply-To: <797971AE-806C-482C-8CA9-A165DA37B8BE@hyperactivesw.com> References: <5514F89E.3030302@hindu.org> <797971AE-806C-482C-8CA9-A165DA37B8BE@hyperactivesw.com> Message-ID: <551568B4.9030501@economy-x-talk.com> Hi, That's what I did in the solution I posted. I made it a long time ago and now I don't remember why I didn't use the formattedRect. It would probably be easier to use the formattedRect. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 3/27/2015 15:16, J. Landman Gay wrote: > The selectedLoc will give you the pixel location of the selection. Then you can use the formattedwidth and formattedheight to calculate the rectangle for the snapshot. When the snapshot is made, the variable "it" will contain the long ID of the new image. So immediately after making the snapshot, "set the name of it to myname". > > > On March 27, 2015 1:28:46 AM CDT, Brahmanathaswami wrote: >> I'm looking for a way to quickly turn words into graphic objects >> programmatically. >> >> If you have a field with the words >> >> "I am that I am" >> >> you can programmatically select each word and highlight it etc. but I >> don't think you can get the actual pixel location of the rect that the >> hilite takes on the screen... which, theoretically should be doable, >> since everything must be drawn on screen, everything has x,y coords and >> >> width and height. >> >> Assuming the rect of a hilited word *could* be extracted, then it would >> >> be easy to take a import a snap shot of it. >> >> an auxiliary question: when using "import snapshot" ... how can you set >> >> the name of the resulting image that is placed on the top of the card. >> It defaults to (e.g.) "image id 6578" but one cannot know that ID... >> is >> there another way to refer to the latest created object? >> >> Swasti Astu, Be Well! >> Brahmanathaswami >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Mar 27 10:32:15 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 27 Mar 2015 09:32:15 -0500 Subject: How to Turn a Word Into a Graphic Object? In-Reply-To: <551568B4.9030501@economy-x-talk.com> References: <5514F89E.3030302@hindu.org> <797971AE-806C-482C-8CA9-A165DA37B8BE@hyperactivesw.com> <551568B4.9030501@economy-x-talk.com> Message-ID: <60BFB8C7-CC6A-4BD3-8369-16FC9BC2102E@hyperactivesw.com> I see that now. I hadn't read the whole thread when I answered. On March 27, 2015 9:27:00 AM CDT, Mark Schonewille wrote: >Hi, > >That's what I did in the solution I posted. I made it a long time ago >and now I don't remember why I didn't use the formattedRect. It would >probably be easier to use the formattedRect. > >-- >Best regards, > >Mark Schonewille > >Economy-x-Talk Consulting and Software Engineering >Homepage: http://economy-x-talk.com >Twitter: http://twitter.com/xtalkprogrammer >KvK: 50277553 > >Installer Maker for LiveCode: >http://qery.us/468 > >Buy my new book "Programming LiveCode for the Real Beginner" >http://qery.us/3fi > >LiveCode on Facebook: >https://www.facebook.com/groups/runrev/ > >On 3/27/2015 15:16, J. Landman Gay wrote: >> The selectedLoc will give you the pixel location of the selection. >Then you can use the formattedwidth and formattedheight to calculate >the rectangle for the snapshot. When the snapshot is made, the variable >"it" will contain the long ID of the new image. So immediately after >making the snapshot, "set the name of it to myname". >> >> >> On March 27, 2015 1:28:46 AM CDT, Brahmanathaswami >wrote: >>> I'm looking for a way to quickly turn words into graphic objects >>> programmatically. >>> >>> If you have a field with the words >>> >>> "I am that I am" >>> >>> you can programmatically select each word and highlight it etc. but >I >>> don't think you can get the actual pixel location of the rect that >the >>> hilite takes on the screen... which, theoretically should be doable, >>> since everything must be drawn on screen, everything has x,y coords >and >>> >>> width and height. >>> >>> Assuming the rect of a hilited word *could* be extracted, then it >would >>> >>> be easy to take a import a snap shot of it. >>> >>> an auxiliary question: when using "import snapshot" ... how can you >set >>> >>> the name of the resulting image that is placed on the top of the >card. >>> It defaults to (e.g.) "image id 6578" but one cannot know that >ID... >>> is >>> there another way to refer to the latest created object? >>> >>> Swasti Astu, Be Well! >>> Brahmanathaswami >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Fri Mar 27 10:47:18 2015 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 27 Mar 2015 07:47:18 -0700 Subject: Quicktime 10, QTVR and LiveCode In-Reply-To: <14c5b16a0c9-43fa-6864@webprd-a91.mail.aol.com> References: <14c5b16a0c9-43fa-6864@webprd-a91.mail.aol.com> Message-ID: <06530780-7E39-449C-905B-387F43F5B308@tactilemedia.com> Hi Steven: The reason VR playback is working for you on Windows is most likely because QuickTime 7 is installed on your Windows machine. If QuickTime 7 wasn't available, VR playback wouldn't work. As of LiveCode 6.7 I believe, LiveCode's player object started using Apple's AVFoundation which isn't QuickTime but can play MOV files (not VR movies). Older versions of LiveCode rely on QuickTime being installed, so if VR playback is working in your 5.5 stack, this is probably because QuickTime 7 is present on the machine, not because of special technology within LiveCode. So it's pretty unlikely that the LiveCode folks will be able to do anything to solve your playback issues. What you need is a completely different player capable of supporting native VR movies, if there is such a thing. Or if possible, consider converting your media into a different format (mentioned in the previous email) to play in the browser object. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design > On Mar 27, 2015, at 4:55 AM, "stgoldberg at aol.com" wrote: > > Scott Rossi wrote (3/26/15): >> Stephen, have you verified that VR playback works with QuickTime Player 10 on Windows? My guess is that the Windows system >> you're looking at has QuickTime Player 7 installed (which is also capable of >> playing VR movies on OS X, but is out of date). It seems unlikely that Player >> 10 would work on Windows and not OS X, but maybe Apple did something different >> there. >> Scott Rossi >> Creative Director >> Tactile Media UX/UI >> Design > > Scott, you are right that Quicktime Player 10.1 on a Mac (system 10.7.5) will not open a QTVR > However, if a LC stack or standalone is created on the same computer using LC 5.5.3, the QTVR will play. > I don't have Quicktime Player 10 on my Windows Vista computer; I can't seem to find a download for it > from Apple, which is still directing the user to Quicktime 7. Quicktime 7 on Windows will play QTVR, but if I use LC 7 > to create the standalone on Windows, the standalone, while playing on Windows, will not show the QTVR on my Mac with any > of the LC 6-7 series. > > The demise of QTVR is sad, because QTVR is not only useful for displaying panoramas, but > also has the potential for hot spots for navigation, as in games. I hope the LC team will be able to resolve the Quicktime issues. > Until then, the bottom line, at least for me, is to use Mac LC 5.5.3, which does not run into the QTVR issues, or the inability to create a > referenced path in its Quicktime movie player. > Stephen Goldberg, President > Medmaster Inc > www.medmaster.net From admin at FlexibleLearning.com Fri Mar 27 11:46:02 2015 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Fri, 27 Mar 2015 15:46:02 -0000 Subject: Finding the source of a icon's image Message-ID: <008201d068a5$22333c20$6699b460$@FlexibleLearning.com> Can someone please remind me what the magic word is to locate the image source for icon/hilitedIcon etc? Have scoured the dictionary to no avail. e.g. get the imageSource of the icon of btn 1 --> img id 1003 of cd 1 of stack "artwork" Hugh Senior FLCo From dunbarx at aol.com Fri Mar 27 11:52:03 2015 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 27 Mar 2015 11:52:03 -0400 Subject: Finding the source of a icon's image In-Reply-To: <008201d068a5$22333c20$6699b460$@FlexibleLearning.com> References: <008201d068a5$22333c20$6699b460$@FlexibleLearning.com> Message-ID: <14c5beedef5-6e76-7d8c@webprd-m75.mail.aol.com> Hugh. The imageSource is always married to a character in a field. But is it possible you are simply asking for the "icon" property? Craig Newman -----Original Message----- From: FlexibleLearning.com To: use-livecode Sent: Fri, Mar 27, 2015 11:47 am Subject: Finding the source of a icon's image Can someone please remind me what the magic word is to locate the image source for icon/hilitedIcon etc? Have scoured the dictionary to no avail. e.g. get the imageSource of the icon of btn 1 --> img id 1003 of cd 1 of stack "artwork" Hugh Senior FLCo _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Mar 27 11:52:07 2015 From: pete at lcsql.com (Peter Haworth) Date: Fri, 27 Mar 2015 15:52:07 +0000 Subject: Finding the source of a icon's image In-Reply-To: <008201d068a5$22333c20$6699b460$@FlexibleLearning.com> References: <008201d068a5$22333c20$6699b460$@FlexibleLearning.com> Message-ID: Hi Hugh. I think you're looking for "resolve image", added in LC 6.5 by Monte I believe. On Fri, Mar 27, 2015 at 8:46 AM FlexibleLearning.com < admin at flexiblelearning.com> wrote: > Can someone please remind me what the magic word is to locate the image > source for icon/hilitedIcon etc? Have scoured the dictionary to no avail. > > e.g. get the imageSource of the icon of btn 1 --> img id 1003 of cd 1 of > stack "artwork" > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Fri Mar 27 13:03:42 2015 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 27 Mar 2015 17:03:42 +0000 (UTC) Subject: Suggest a USB device. References: <55146633.1080402@gmail.com> <551468AC.6080803@pdslabs.net> <55146B64.1030504@gmail.com> <5514F841.1090407@gmail.com> Message-ID: Richmond writes: > Mark, my "naive" question was not aimed at the scanner, but USB devices > in general. Well, you asked: Has anybody tried controlling a scanner from LIvecode? Has anybody any idea of the sort of commands I should be sending a scanner? ...and I answered about USB devices in general anyway. -- Mark Wieder ahsoftware at gmail.com From cs_livecode at icloud.com Fri Mar 27 13:21:35 2015 From: cs_livecode at icloud.com (Chris Sheffield) Date: Fri, 27 Mar 2015 11:21:35 -0600 Subject: iOS splash screen and app load times Message-ID: The splash screen and load times of iOS apps when building an app with LC 6.7+ are *super* slow. Any build created with LC 6.6.5 is not. We?re working on app updates to two apps in order to add 64-bit support, so obviously we need to use the newer version of LC. But these load times are getting out of hand. I just had a tester report that for one of our apps, the splash screen displays for a full 28 seconds, at which point we have a ?loading? indicator that displays while the first card is set up, and then another almost a full minute for the first main card to appear. In the same app, built with LC 6.6.5, it takes a fraction of that time. Probably only a couple seconds for the splash screen and maybe 3 or 4 seconds with the loading indicator. So what gives? This tester is running the app on an iPad 3. We?ve always struggled a bit with the iPad 3 (something to do with the hardware itself if I remember correctly), but we?ve never had speeds quite that slow. Not even close to that slow. There?s no way we can release this app this way. Something definitely changed between LC 6.6.5 and LC 6.7. This issue really needs to be fixed, and asap in my opinion. It?s been reported here on the list before. I don?t remember by whom. Does anyone know if a bug ticket has actually been created for it? If not, I?ll create one. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From cs_livecode at icloud.com Fri Mar 27 13:30:39 2015 From: cs_livecode at icloud.com (Chris Sheffield) Date: Fri, 27 Mar 2015 11:30:39 -0600 Subject: iOS splash screen and app load times In-Reply-To: References: Message-ID: Okay, probably should have looked before I posted. :-) I found this ticket (if anyone else is interested) http://quality.runrev.com/show_bug.cgi?id=14116. According to Mark W it may be due to a font issue. However, someone tried Mark?s suggestion regarding fonts and it didn?t seem to make much difference. I will probably give it a go and provide my feedback on the ticket. > On Mar 27, 2015, at 11:21 AM, Chris Sheffield wrote: > > The splash screen and load times of iOS apps when building an app with LC 6.7+ are *super* slow. Any build created with LC 6.6.5 is not. We?re working on app updates to two apps in order to add 64-bit support, so obviously we need to use the newer version of LC. But these load times are getting out of hand. I just had a tester report that for one of our apps, the splash screen displays for a full 28 seconds, at which point we have a ?loading? indicator that displays while the first card is set up, and then another almost a full minute for the first main card to appear. In the same app, built with LC 6.6.5, it takes a fraction of that time. Probably only a couple seconds for the splash screen and maybe 3 or 4 seconds with the loading indicator. So what gives? This tester is running the app on an iPad 3. We?ve always struggled a bit with the iPad 3 (something to do with the hardware itself if I remember correctly), but we?ve never had speeds quite that slow. Not even close to that slow. There?s no way we can release this app this way. Something definitely changed between LC 6.6.5 and LC 6.7. > > This issue really needs to be fixed, and asap in my opinion. It?s been reported here on the list before. I don?t remember by whom. Does anyone know if a bug ticket has actually been created for it? If not, I?ll create one. > > Thanks, > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alain.vezina at logilangue.com Fri Mar 27 13:32:01 2015 From: alain.vezina at logilangue.com (Alain Vezina) Date: Fri, 27 Mar 2015 13:32:01 -0400 Subject: iOS splash screen and app load times In-Reply-To: References: Message-ID: Hi Chris, There?s already a bug ticket ( Bug 14116) for this issue. I sent it on 5th december and we are stil waiting for they fix it. It?s a bit long. don?t you agree? Alain Vezina Logilangue www.logilangue.com Le 2015-03-27 ? 13:21, Chris Sheffield a ?crit : > The splash screen and load times of iOS apps when building an app with LC 6.7+ are *super* slow. Any build created with LC 6.6.5 is not. We?re working on app updates to two apps in order to add 64-bit support, so obviously we need to use the newer version of LC. But these load times are getting out of hand. I just had a tester report that for one of our apps, the splash screen displays for a full 28 seconds, at which point we have a ?loading? indicator that displays while the first card is set up, and then another almost a full minute for the first main card to appear. In the same app, built with LC 6.6.5, it takes a fraction of that time. Probably only a couple seconds for the splash screen and maybe 3 or 4 seconds with the loading indicator. So what gives? This tester is running the app on an iPad 3. We?ve always struggled a bit with the iPad 3 (something to do with the hardware itself if I remember correctly), but we?ve never had speeds quite that slow. Not even close to that slow. There?s no way we can release this app this way. Something definitely changed between LC 6.6.5 and LC 6.7. > > This issue really needs to be fixed, and asap in my opinion. It?s been reported here on the list before. I don?t remember by whom. Does anyone know if a bug ticket has actually been created for it? If not, I?ll create one. > > Thanks, > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From williamdesmet at gmail.com Fri Mar 27 13:32:46 2015 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 27 Mar 2015 18:32:46 +0100 Subject: iOS splash screen and app load times In-Reply-To: References: Message-ID: Hi Chris, I have the same thing here with an iPad 3 (iOS 7) en iPad mini 1 (iOS 8). My apps act slower than before. I have some new apps ready but this way I cannot release them. greetings, William 2015-03-27 18:21 GMT+01:00 Chris Sheffield : > The splash screen and load times of iOS apps when building an app with LC > 6.7+ are *super* slow. Any build created with LC 6.6.5 is not. We?re > working on app updates to two apps in order to add 64-bit support, so > obviously we need to use the newer version of LC. But these load times are > getting out of hand. I just had a tester report that for one of our apps, > the splash screen displays for a full 28 seconds, at which point we have a > ?loading? indicator that displays while the first card is set up, and then > another almost a full minute for the first main card to appear. In the same > app, built with LC 6.6.5, it takes a fraction of that time. Probably only a > couple seconds for the splash screen and maybe 3 or 4 seconds with the > loading indicator. So what gives? This tester is running the app on an iPad > 3. We?ve always struggled a bit with the iPad 3 (something to do with the > hardware itself if I remember correctly), but we?ve never had speeds quite > that slow. Not even close to that slow. There?s no way we can release this > app this way. Something definitely changed between LC 6.6.5 and LC 6.7. > > This issue really needs to be fixed, and asap in my opinion. It?s been > reported here on the list before. I don?t remember by whom. Does anyone > know if a bug ticket has actually been created for it? If not, I?ll create > one. > > Thanks, > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Mar 27 13:56:24 2015 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 27 Mar 2015 19:56:24 +0200 Subject: Suggest a USB device. In-Reply-To: References: <55146633.1080402@gmail.com> <551468AC.6080803@pdslabs.net> <55146B64.1030504@gmail.com> <5514F841.1090407@gmail.com> Message-ID: <551599C8.80503@gmail.com> On 27/03/15 19:03, Mark Wieder wrote: > Richmond writes: > >> Mark, my "naive" question was not aimed at the scanner, but USB devices >> in general. > Well, you asked: > > Has anybody tried controlling a scanner from LIvecode? > > Has anybody any idea of the sort of commands I should be sending a scanner? > > ...and I answered about USB devices in general anyway. > Indeed, you did :) Thanks. Richmond. From jiml at netrin.com Fri Mar 27 14:08:31 2015 From: jiml at netrin.com (Jim Lambert) Date: Fri, 27 Mar 2015 11:08:31 -0700 Subject: How to Turn a Word Into a Graphic Object? In-Reply-To: References: Message-ID: > Brahma wrote: > > I'm looking for a way to quickly turn words into graphic objects > programmatically. > Text is already a kind of vector graphic. So, this will turn words into images not graphic objects. > an auxiliary question: when using "import snapshot" ... how can you set > the name of the resulting image This is an elaboration of Richmond?s technique. on word2pix startWord, endWord, theField if there is not a field theField then exit word2pix if startWord is not a number then exit word2pix if endWord is not a number then exit word2pix if startWord < 1 or startWord > the number of words of field theField then put 1 into startWord if endWord < 1 or endWord > the number of words of field theField then put the number of words of fld theField into endWord lock screen create field "dummy" set the margins of field "dummy" to 0 set the opaque of field "dummy" to false set the fixedlineheight of field "dummy" to false repeat with x = startWord to endWord set the rtftext of fld "dummy" to the rtftext of word x of fld theField set the height of fld "dummy" to the formattedheight of word 1 of fld "dummy" set the width of fld "dummy" to the formattedwidth of word 1 of fld "dummy" import snapshot from fld "dummy" set the name of the last image to x &"-" & word 1 of fld "dummy" end repeat delete field "dummy" end word2pix Jim Lambert From bobsneidar at iotecdigital.com Fri Mar 27 16:39:01 2015 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 27 Mar 2015 20:39:01 +0000 Subject: [OT] And You Thought Richmond Kept Old Macs Alive In-Reply-To: <551452EE.1060002@hyperactivesw.com> References: <519F6AE6-9EBA-400A-826B-305A05722B39@earthlink.net> <551452EE.1060002@hyperactivesw.com> Message-ID: <4B837B3C-4D51-4B9F-8395-1A71B63B7CE8@iotecdigital.com> Localtalk connectors. Bob S > On Mar 26, 2015, at 11:41 , J. Landman Gay wrote: > > Okay, so do any of you want some of the dozens of SCSI cables I have? How about a whole set of...whatchacallit... the dealies that connect a local network over telephone wires. Got a ton of those. > > > On 3/26/2015 12:55 PM, Marian Petrides MD wrote: >> Gotcha all beat. I still have my Apple ][+ (purchased 4/4/1980) and it still works?did a power supply transplant 20 years ago. Plus three Apple ][ GSs?two work, one is parts for the others. >> >> And, of course, my 512K Enhanced Mac (Fat Mac), which also works. And a bunch of newer Macs, LC 2, gumdrop iMacs, fruit colored iBooks. All of them work. It?s a regular Mac museum in the making up there in my loft. Too bad I don?t have space to display all my goodies. >> >> >>> On Mar 26, 2015, at 1:38 PM, Dr. Hawkins wrote: >>> >>> On Wed, Mar 25, 2015 at 5:59 PM, Kay C Lan wrote: >>> >>>> Was rummaging through boxes of stuff looking for something when I came >>>> across a few ADB keyboards and mice. Thought to myself, 'it's about time to >>>> turf these, no one, not even Richmond, could possible want them'. Seems >>>> like I could be wrong: >>>> >>> >>> I still have my 128k mac, apparently working, my MacPortable (disassembled; >>> needs fuse), and a working MacClassic. >>> >>> And a PowerBook 180 in pieces; it's been years since you could get a >>> working 2.5" scsi drive . . . >>> >>> >>> -- >>> Dr. Richard E. Hawkins, Esq. >>> (702) 508-8462 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Mar 27 17:07:43 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 27 Mar 2015 16:07:43 -0500 Subject: [OT] And You Thought Richmond Kept Old Macs Alive In-Reply-To: <4B837B3C-4D51-4B9F-8395-1A71B63B7CE8@iotecdigital.com> References: <519F6AE6-9EBA-400A-826B-305A05722B39@earthlink.net> <551452EE.1060002@hyperactivesw.com> <4B837B3C-4D51-4B9F-8395-1A71B63B7CE8@iotecdigital.com> Message-ID: <5515C69F.9090705@hyperactivesw.com> On 3/27/2015 3:39 PM, Bob Sneidar wrote: > Localtalk connectors. Oh right. That. It's been ages. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Fri Mar 27 18:27:37 2015 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 27 Mar 2015 15:27:37 -0700 Subject: [OT] And You Thought Richmond Kept Old Macs Alive In-Reply-To: <4B837B3C-4D51-4B9F-8395-1A71B63B7CE8@iotecdigital.com> References: <519F6AE6-9EBA-400A-826B-305A05722B39@earthlink.net> <551452EE.1060002@hyperactivesw.com> <4B837B3C-4D51-4B9F-8395-1A71B63B7CE8@iotecdigital.com> Message-ID: On Fri, Mar 27, 2015 at 1:39 PM, Bob Sneidar wrote: > Localtalk connectors. At A&M in the late 80s and early 90's I set up a very expensive Farallon rack-mounted hub with plug in cards. And the first card was a localtalk hub with each computer home-run'd to the hub rather than daisy chained. Later we added and Ethernet hub and ethernet cards to the machines and a gateway through ISDN to 'the internet'. Before the web existed we had a local networks and outside dial-up so I could screen share with any machine using Timbuktu Pretty cool for a recording studio... but I ended up as a reluctant IT guy for a while. -- Stephen Barncard - Sebastopol Ca. USA - Deeds Not Words From brahma at hindu.org Sat Mar 28 01:00:04 2015 From: brahma at hindu.org (Brahmanathaswami) Date: Fri, 27 Mar 2015 19:00:04 -1000 Subject: How to Turn a Word Into a Graphic Object? In-Reply-To: References: <5514F89E.3030302@hindu.org> Message-ID: <55163554.1030206@hindu.org> Thanks Scott: With formattedRect this turned out to be "ridiculously" simple: on MouseUp repeat with x = 1 to the number of words of fld _Quote put the formattedRect of word x of fld _Quote into tNextWordSnapshot # add space left and right --substract 4 from item 1 of tNextWordSnapshot # won't even compile! --add 4 to item 3 of tNextWordSnapshot import snapshot from rect tNextWordSnapshot of this cd set the name of the last image to ("word_"&x) end repeat end MouseUp BUT FYI in LC8 the simple math on items in a rect list is not working... script will not even compile.. .even though docs use this exact same example: put"10,10"intotPoint subtract5fromitem2oftPoint -- subtracts 5 from the second item Am I doing something wrong?... can anyone confirm? Also: I don't see how this (in the docs on snapshot) can apply for snapshots of words in a field as these are not "objects" perse: " You can take a snapshot of an object regardless of its visibility or open status - in particular, snapshots can be taken of objects that are not on the current card or in stacks that are not open. an attempt like this results in "empty rectangle" on MouseUp repeat with x = 1 to the number of words of fld _Quote of cd 2 put the formattedRect of word x of fld _Quote of cd 2 into tNextWordSnapshot import snapshot from rect tNextWordSnapshot of cd 2 set the name of the last image to ("word_"&x) end repeat end MouseUp Also if you turn the vis of the field off... you get snaps shots of whatever is visible on the card, not the words in the field... If I'm write.. then perhaps we need to update the docs...(Richard/Dan... is the framework for use contributions to the documentation in MarkDown ready yet?) Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com Scott Rossi wrote: > See the formattedRect property and measureText function in the docs. Both > should help you get what you want. > > ?Last? refers to the object type that is highest in the hierarchy: > set the name of the last image to ?myImage" > > Also, the number of an object type will return the number of the highest > layered object: > put the number of images into N > set the name of image N to ?myImage" > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design From pmbrig at gmail.com Sat Mar 28 09:45:37 2015 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 28 Mar 2015 09:45:37 -0400 Subject: How to Turn a Word Into a Graphic Object? In-Reply-To: <55163554.1030206@hindu.org> References: <5514F89E.3030302@hindu.org> <55163554.1030206@hindu.org> Message-ID: On Mar 28, 2015, at 1:00 AM, Brahmanathaswami wrote: > --substract 4 from item 1 of tNextWordSnapshot # won't even compile! Maybe you're a little distracted (or substracted)?. Try "subtract 4 from?" -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From ambassador at fourthworld.com Sat Mar 28 10:38:04 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 28 Mar 2015 07:38:04 -0700 Subject: How to Turn a Word Into a Graphic Object? In-Reply-To: <55163554.1030206@hindu.org> References: <55163554.1030206@hindu.org> Message-ID: <5516BCCC.2040507@fourthworld.com> Brahmanathaswami wrote: > Also: I don't see how this (in the docs on snapshot) can apply for > snapshots of words in a field as these are not "objects" perse: > > " You can take a snapshot of an object regardless of its visibility > or open status - in particular, snapshots can be taken of objects > that are not on the current card or in stacks that are not open. > > an attempt like this results in "empty rectangle" > > on MouseUp > repeat with x = 1 to the number of words of fld _Quote of cd 2 > put the formattedRect of word x of fld _Quote of cd 2 into > tNextWordSnapshot > import snapshot from rect tNextWordSnapshot of cd 2 > set the name of the last image to ("word_"&x) > end repeat > end MouseUp > > Also if you turn the vis of the field off... you get snaps shots of > whatever is visible on the card, not the words in the field... That script uses the older "from rect" option, which obtains the image area from the final composite screen buffer. It's truly WYSIWYG: if it ain't visible, it ain't gonna be seen in the resulting the image. The newer "from " option is much smarter and more flexible, allowing you to capture any object (control, group, or even an entire card) whether it's open or not. It does this by rendering the object into its own image buffer, and returns the resulting image data to the newly created image object. And because it renders into its own buffer, the "from " option also maintains blending/transparency, so the resulting object will retain empty areas as empty, in many cases making it much more useful to using the resulting image as part of other layouts. Jim's script posted yesterday at creates a new field object and obtains the snapshot using the newer "from " option, which will not only handle what you need but also preserve empty space as transparent. The only modification I would suggest for Jim's script is to use htmlText rather than rtfText. RtfText will handle only the subset of LiveCode text attributes that are also supported by the RTF spec, which is good for most things but may miss a few elements unique to LiveCode (see the note in the Dictionary entry for rtfText). HtmlText is designed to provide complete fidelity of all field contents and attributes in a plain-text format, making it the go-to solution for moving field contents, while RtfText is ideally suited for export for use in Word processors and the like. Extra bonus points: if you ever need to create a thumbnail view of an object, see the new "at" options for specifying the width and height of the resulting snapshot. MUCH faster than the scripted solutions we used to use, and very convenient. > If I'm write.. then perhaps we need to update the docs...(Richard/Dan... > is the framework for use contributions to the documentation in MarkDown > ready yet?) I think this entry for the Dictionary may be fine - try the "from " option and see how it goes. If you do find errors there please file a bug report and we'll catch them. The Community Documentation Team is growing rapidly (thanks to all those who've written offering to help), and once Ben and I work out some scheduling challenges we've had we'll put together a work plan to get that started. And as long as this is in your sigline: > Kauai's Hindu Monastery > www.HimalayanAcademy.com If any of you are visiting Kauai you really should reserve time in your schedule to visit the monastery. It's a beautiful place, breathtaking really, and the people who live and work there even better. When I was there they had public tours scheduled each Friday; check their current schedule, and go. You will leave with a deep admiration for the uncommonly wonderful work environment Brahmanathaswami gets to enjoy every day. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mikedoub at gmail.com Sat Mar 28 11:12:09 2015 From: mikedoub at gmail.com (Michael Doub) Date: Sat, 28 Mar 2015 11:12:09 -0400 Subject: How to Turn a Word Into a Graphic Object? In-Reply-To: <5516BCCC.2040507@fourthworld.com> References: <55163554.1030206@hindu.org> <5516BCCC.2040507@fourthworld.com> Message-ID: <5516C4C9.7020506@gmail.com> I noticed that there is a lock screen command but no unlock screen in Jim's handler. Was that done deliberately? -= Mike On 3/28/15 10:38 AM, Richard Gaskin wrote: > Brahmanathaswami wrote: > >> Also: I don't see how this (in the docs on snapshot) can apply for >> snapshots of words in a field as these are not "objects" perse: >> >> " You can take a snapshot of an object regardless of its visibility >> or open status - in particular, snapshots can be taken of objects >> that are not on the current card or in stacks that are not open. >> >> an attempt like this results in "empty rectangle" >> >> on MouseUp >> repeat with x = 1 to the number of words of fld _Quote of cd 2 >> put the formattedRect of word x of fld _Quote of cd 2 into >> tNextWordSnapshot >> import snapshot from rect tNextWordSnapshot of cd 2 >> set the name of the last image to ("word_"&x) >> end repeat >> end MouseUp >> >> Also if you turn the vis of the field off... you get snaps shots of >> whatever is visible on the card, not the words in the field... > > That script uses the older "from rect" option, which obtains the image > area from the final composite screen buffer. It's truly WYSIWYG: if > it ain't visible, it ain't gonna be seen in the resulting the image. > > The newer "from " option is much smarter and more flexible, > allowing you to capture any object (control, group, or even an entire > card) whether it's open or not. > > It does this by rendering the object into its own image buffer, and > returns the resulting image data to the newly created image object. > > And because it renders into its own buffer, the "from " option > also maintains blending/transparency, so the resulting object will > retain empty areas as empty, in many cases making it much more useful > to using the resulting image as part of other layouts. > > Jim's script posted yesterday at > creates > a new field object and obtains the snapshot using the newer "from > " option, which will not only handle what you need but also > preserve empty space as transparent. > > The only modification I would suggest for Jim's script is to use > htmlText rather than rtfText. > > RtfText will handle only the subset of LiveCode text attributes that > are also supported by the RTF spec, which is good for most things but > may miss a few elements unique to LiveCode (see the note in the > Dictionary entry for rtfText). > > HtmlText is designed to provide complete fidelity of all field > contents and attributes in a plain-text format, making it the go-to > solution for moving field contents, while RtfText is ideally suited > for export for use in Word processors and the like. > > > Extra bonus points: if you ever need to create a thumbnail view of an > object, see the new "at" options for specifying the width and height > of the resulting snapshot. MUCH faster than the scripted solutions we > used to use, and very convenient. > > >> If I'm write.. then perhaps we need to update the docs...(Richard/Dan... >> is the framework for use contributions to the documentation in MarkDown >> ready yet?) > > I think this entry for the Dictionary may be fine - try the "from > " option and see how it goes. If you do find errors there > please file a bug report and we'll catch them. > > The Community Documentation Team is growing rapidly (thanks to all > those who've written offering to help), and once Ben and I work out > some scheduling challenges we've had we'll put together a work plan to > get that started. > > > And as long as this is in your sigline: >> Kauai's Hindu Monastery >> www.HimalayanAcademy.com > > If any of you are visiting Kauai you really should reserve time in > your schedule to visit the monastery. It's a beautiful place, > breathtaking really, and the people who live and work there even > better. When I was there they had public tours scheduled each Friday; > check their current schedule, and go. You will leave with a deep > admiration for the uncommonly wonderful work environment > Brahmanathaswami gets to enjoy every day. :) > From dixonja at hotmail.co.uk Sat Mar 28 11:18:00 2015 From: dixonja at hotmail.co.uk (John Dixon) Date: Sat, 28 Mar 2015 15:18:00 +0000 Subject: How to Turn a Word Into a Graphic Object? In-Reply-To: <5516C4C9.7020506@gmail.com> References: <55163554.1030206@hindu.org> <5516BCCC.2040507@fourthworld.com>,<5516C4C9.7020506@gmail.com> Message-ID: > I noticed that there is a lock screen command but no unlock screen in > Jim's handler. Was that done deliberately? > > -= Mike The screen becomes unlocked after the handler is run... From dochawk at gmail.com Sat Mar 28 13:08:32 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 28 Mar 2015 10:08:32 -0700 Subject: compress & decompress In-Reply-To: <5514B7D9.1080608@hyperactivesw.com> References: <5514B7D9.1080608@hyperactivesw.com> Message-ID: On Thu, Mar 26, 2015 at 6:52 PM, J. Landman Gay wrote: > Is the file opened as a binary file? For writing, yes. It isn't opened on read; i just put the url: put url infile into theData -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Sat Mar 28 13:10:28 2015 From: pete at lcsql.com (Peter Haworth) Date: Sat, 28 Mar 2015 17:10:28 +0000 Subject: compress & decompress In-Reply-To: References: <5514B7D9.1080608@hyperactivesw.com> Message-ID: Right, hut does the URL specify "file:" or "binfile:". On Sat, Mar 28, 2015 at 10:08 AM Dr. Hawkins wrote: > On Thu, Mar 26, 2015 at 6:52 PM, J. Landman Gay > wrote: > > > Is the file opened as a binary file? > > > For writing, yes. > > It isn't opened on read; i just put the url: > > put url infile into theData > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Sat Mar 28 13:22:01 2015 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 28 Mar 2015 10:22:01 -0700 Subject: compress & decompress In-Reply-To: References: Message-ID: <5516E339.70506@fourthworld.com> Dr. Hawkins wrote: > On Thu, Mar 26, 2015 at 6:52 PM, J. Landman Gay wrote: > >> Is the file opened as a binary file? > > For writing, yes. > > It isn't opened on read; i just put the url: Use binary for both. Writing in text mode (which IIRC is the default in all xTalks except SuperCard) will convert line endings from the internal convention of 0x10 to whatever is appropriate for the host OS. Reading does the same in reverse. To preserve data unaltered, use the binary form explicitly, either: open file tSomeFilePath for binary read read it until EOF put it into tData ...or: put url ("binfile:"& tSomeFilePath) into tData Trivia question for Jacque or other HyperCard fans who might now: did reading in HyperTalk also strip NULL bytes, or convert NULLs to spaces? LiveCode doesn't, but I had thought I'd heard that HC did. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Sat Mar 28 13:58:58 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 28 Mar 2015 12:58:58 -0500 Subject: compress & decompress In-Reply-To: <5516E339.70506@fourthworld.com> References: <5516E339.70506@fourthworld.com> Message-ID: <5516EBE2.3030202@hyperactivesw.com> On 3/28/2015 12:22 PM, Richard Gaskin wrote: > Trivia question for Jacque or other HyperCard fans who might now: did > reading in HyperTalk also strip NULL bytes, or convert NULLs to spaces? > LiveCode doesn't, but I had thought I'd heard that HC did. NULL was disallowed entirely, it was used as an end-of-field marker. It didn't strip or replace them, it just stopped reading when it hit one. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jeff at siphonophore.com Sat Mar 28 16:18:57 2015 From: jeff at siphonophore.com (Jeff Reynolds) Date: Sat, 28 Mar 2015 16:18:57 -0400 Subject: [OT] And You Thought Richmond Kept Old Macs Alive In-Reply-To: References: Message-ID: I was in grad school at Berkeley in the 80s and our department went mac crazy fast (yes i helped this along greatly!). Getting folks to sink thousands in to a apple laserwriter was hard, but I was able to convince a couple of labs that had one to share if other labs would buy cartridges and maintainance. But of course to work well this required a local talk network thru the 5 story building. Well the university would not hear of this and at the time they wanted everything token ring and could care less about macs (except in many departments like ours macs were outselling pcs like 25 to 1 on new purchases) and the cost was about the cost of a mac or pc at the time to get a network connection put in by the university. I asked if we could just run some phone wire down the halls in the pipe chases to do a simple local talk and the university went ballistic saying it would cause fires and acted like the building would collapse if anyone zipped tied a phone wire to a pipe chase! I went to the building supervisor who was avery cool guy and asked if i could run some phone wire down the pipes and i would make sure they would be well hidden and not connected to any pipes or other wires so no one would get upset if repairing something. for a couple of six packs he was willing to look the other way. so one weekend with a couple of helpers and 4 big boxes of phone cable and local talk connectors i was able to wire like 50 rooms and computers over 5 floors. Took a week or two to get the terminators set just right to get every station to respond well but then churned on like a charm for years. Some of the mac heads in the area were amazed that i was able to get the size of network done with local talk across a building like this so simply. Just took care of branch points and doing solid connecting wiring and then of course the termination issues... later bridged it over to the campus network and out thru a sun spark farm as well. Was never "discovered" by the university and lasted until they wired the building with ethernet many years later, but by then most macs were ethernet anyway and the internet was there as something most could start using! the main use the first use the next week though want not really printing but everyone in the building discovered they could play the multiplayer star trek game and all computers were taken up in this before being discovered by the profs what was going on and then it was made clear not to do so (well we did just late at night when they were not around!) cheers jeff ps still have my clear developer newton and my sinclair z80. but alas dont have all my basis 108 and long line of macs as all went thru 2 or 3 other folks after i got new machines. they would live on and on and be passed on. really loved to see that happen as each new user got such joy and some work done on those old macs!) On Mar 28, 2015, at 7:00 AM, use-livecode-request at lists.runrev.com wrote: >> Localtalk connectors. > > > At A&M in the late 80s and early 90's I set up a very expensive Farallon > rack-mounted hub with plug in cards. And the first card was a localtalk hub > with each computer home-run'd to the hub rather than daisy chained. Later > we added and Ethernet hub and ethernet cards to the machines and a gateway > through ISDN to 'the internet'. Before the web existed we had a local > networks and outside dial-up so I could screen share with any machine using > Timbuktu > > Pretty cool for a recording studio... but I ended up as a reluctant IT guy > for a while. From jacque at hyperactivesw.com Sat Mar 28 16:51:08 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 28 Mar 2015 15:51:08 -0500 Subject: [OT] And You Thought Richmond Kept Old Macs Alive In-Reply-To: References: Message-ID: <5517143C.6030001@hyperactivesw.com> On 3/28/2015 3:18 PM, Jeff Reynolds wrote: > I went to the building supervisor who was avery cool guy and asked if i could run some phone wire down the pipes What a great story! Made me smile. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From prothero at earthednet.org Sat Mar 28 17:47:56 2015 From: prothero at earthednet.org (William Prothero) Date: Sat, 28 Mar 2015 14:47:56 -0700 Subject: iOS question re extra stacks Message-ID: Folks: I?m trying out iOS and figuring out limitations, etc. What I?m wondering is whether iOS apps can load stacks that are not substacks of the main stack. I have tested it with a mainstack, with one substack, but I don?t see any way in the standalone settings to bring in additional stacks. Do I just put them into the copy files list and go to them in the normal way? Is that the best way to do it? Bst, Bill \William A. Prothero http://es.earthednet.org/ From rdimolad at evergreeninfo.net Sat Mar 28 20:04:41 2015 From: rdimolad at evergreeninfo.net (Ralph DiMola) Date: Sat, 28 Mar 2015 20:04:41 -0400 Subject: iOS question re extra stacks Message-ID: <58tfvhfe1lrwt698d4hdjja0.1427587481823@email.android.com> Yep, you are correct. Just put them in the copy files pane and open the normal way. On mobile only one stack at a time is visible. The main stack is always open(but not necessarily visible) and has the engine that runs the whole app. Remember if you don't password protect the additional stacks, they can be copied out of the .app or .apk and opened and the source code will be exposed.? This applies to both iOS and Android.? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net
-------- Original message --------
From: William Prothero
Date:03/28/2015 17:47 (GMT-05:00)
To: Use-livecode Use-livecode
Subject: iOS question re extra stacks
Folks: I?m trying out iOS and figuring out limitations, etc. What I?m wondering is whether iOS apps can load stacks that are not substacks of the main stack. I have tested it with a mainstack, with one substack, but I don?t see any way in the standalone settings to bring in additional stacks. Do I just put them into the copy files list and go to them in the normal way? Is that the best way to do it? Bst, Bill \William A. Prothero http://es.earthednet.org/ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bdrunrev at gmail.com Sat Mar 28 20:33:08 2015 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sun, 29 Mar 2015 00:33:08 +0000 Subject: mobile app stores - personal v. corporate customers Message-ID: I haven an idea for an app which would function in 2 different ways. 1. users pay to download the app, and the app writes no data back to a server 2. companies would pay to provide the app free to their clients/staff, and data would be transferred between the company and the end user (the end user does not pay to download the app) Is it possible to have an app in both the Apple store and the Android store which functions in this way. In the 2nd situation, the company would pay a fixed fee for the provision of the app to their end users. Somehow the Apple/Android stores are going to want payment for this situation (which is not the "pay per deployment" model). I'd be grateful if anyone has any ideas about how such things work. Regards Bernard From brahma at hindu.org Sat Mar 28 21:28:55 2015 From: brahma at hindu.org (Brahmanathaswami) Date: Sat, 28 Mar 2015 15:28:55 -1000 Subject: How to Turn a Word Into a Graphic Object? In-Reply-To: <5516BCCC.2040507@fourthworld.com> References: <55163554.1030206@hindu.org> <5516BCCC.2040507@fourthworld.com> Message-ID: <55175557.7060807@hindu.org> First: any member of the LIveCode community is always welcome... btw long time user Debdoot is living here for a while now Richard will remember him. Contact me in advance for an insider's tour of our media studio @ Peter "substracted" ha! right now it works @ Richard: I actually prefer this solution for this use case where WSIWIG is fine... the kick of of a little word game... later I'll pull the quotes randomly from the server or a custom prop or a file next to the app. on MouseUp put "Be All You Can Be!" into fld _quote wait 10 ticks repeat with x = 1 to the number of words of fld _Quote put the formattedRect of word x of fld _Quote into tNextWordSnapshot subtract 10 from item 1 of tNextWordSnapshot add 10 to item 3 of tNextWordSnapshot import snapshot from rect tNextWordSnapshot of this cd set the name of the last image to ("word_"&x) set the script of the last image to the uWordSnapScript of this card # the script is a mousdown handler to grab me which lets the user # drag the image around end repeat put empty into fld _Quote end MouseUp Now I just have to figure out the algorithm to trigger "you got it!" when the user re-organizes the word/images back to their proper order. I think I can log the current loc of each formattedRect before taking the snapshot, pass that to a custom prop of each snapshot and then later a a kind of proximity thing that snaps them in place place if they user drags it close to that spot... Maybe throw in some of Malte's Animation engine wizardry to make words "fly around, drop down, pile up... etc.) and then come to a stop I may start a separate thread on that one... After several years of server side scripting this stuff is too much fun! Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com Richard Gaskin wrote: > That script uses the older "from rect" option, which obtains the image > area from the final composite screen buffer. It's truly WYSIWYG: if > it ain't visible, it ain't gonna be seen in the resulting the image. > > The newer "from " option is much smarter and more flexible, > allowing you to capture any object (control, group, or even an entire > card) whether it's open or not. > > It does this by rendering the object into its own image buffer, and > returns the resulting image data to the newly created image object. > > And because it renders into its own buffer, the "from " option > also maintains blending/transparency, so the resulting object will > retain empty areas as empty, in many cases making it much more useful > to using the resulting image as part of other layouts. > > Jim's script posted yesterday at > creates > a new field object and obtains the snapshot using the newer "from > " option, which will not only handle what you need but also > preserve empty space as transparent. > > The only modification I would suggest for Jim's script is to use > htmlText rather than rtfText. > > RtfText will handle only the subset of LiveCode text attributes that > are also supported by the RTF spec, which is good for most things but > may miss a few elements unique to LiveCode (see the note in the > Dictionary entry for rtfText). > > HtmlText is designed to provide complete fidelity of all field > contents and attributes in a plain-text format, making it the go-to > solution for moving field contents, while RtfText is ideally suited > for export for use in Word processors and the like. > > > Extra bonus points: if you ever need to create a thumbnail view of an > object, see the new "at" options for specifying the width and height > of the resulting snapshot. MUCH faster than the scripted solutions we > used to use, and very convenient. > > >> If I'm write.. then perhaps we need to update the docs...(Richard/Dan... >> is the framework for use contributions to the documentation in MarkDown >> ready yet?) > > I think this entry for the Dictionary may be fine - try the "from > " option and see how it goes. If you do find errors there > please file a bug report and we'll catch them. > > The Community Documentation Team is growing rapidly (thanks to all > those who've written offering to help), and once Ben and I work out > some scheduling challenges we've had we'll put together a work plan to > get that started. > > > And as long as this is in your sigline: >> Kauai's Hindu Monastery >> www.HimalayanAcademy.com > > If any of you are visiting Kauai you really should reserve time in > your schedule to visit the monastery. It's a beautiful place, > breathtaking really, and the people who live and work there even > better. When I was there they had public tours scheduled each Friday; > check their current schedule, and go. You will leave with a deep > admiration for the uncommonly wonderful work environment > Brahmanathaswami gets to enjoy every day. :) From prothero at earthednet.org Sun Mar 29 01:09:18 2015 From: prothero at earthednet.org (William Prothero) Date: Sat, 28 Mar 2015 22:09:18 -0700 Subject: iOS question re extra stacks In-Reply-To: <58tfvhfe1lrwt698d4hdjja0.1427587481823@email.android.com> References: <58tfvhfe1lrwt698d4hdjja0.1427587481823@email.android.com> Message-ID: <6F2E3FD4-A91D-444A-AE3B-89C4DAE17155@earthednet.org> Ralph: Thanks for the info. This sounds like what I was hoping for. Best, Bill > On Mar 28, 2015, at 5:04 PM, Ralph DiMola wrote: > > Yep, you are correct. Just put them in the copy files pane and open the normal way. On mobile only one stack at a time is visible. The main stack is always open(but not necessarily visible) and has the engine that runs the whole app. Remember if you don't password protect the additional stacks, they can be copied out of the .app or .apk and opened and the source code will be exposed. > > This applies to both iOS and Android. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > > >
-------- Original message --------
From: William Prothero
Date:03/28/2015 17:47 (GMT-05:00)
To: Use-livecode Use-livecode
Subject: iOS question re extra stacks
>
Folks: > I?m trying out iOS and figuring out limitations, etc. > What I?m wondering is whether iOS apps can load stacks that are not substacks of the main stack. I have tested it with a mainstack, with one substack, but I don?t see any way in the standalone settings to bring in additional stacks. Do I just put them into the copy files list and go to them in the normal way? Is that the best way to do it? > > Bst, > Bill > \William A. Prothero > http://es.earthednet.org/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stgoldberg at aol.com Sun Mar 29 11:51:35 2015 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Sun, 29 Mar 2015 11:51:35 -0400 Subject: Movie Problems in LiveCode Message-ID: <14c663b294c-73a0-9ec6@webprd-m74.mail.aol.com> Thanks to Richard Gaskin and Jacqueline Gay for their thoughts on the current problem in creating standalones with referenced QT movies using LiveCode 6-7 on Mac. Richard and Jacqueline have through the years been helpful and generous in providing their expertise. Here is a summary of what I find with trying to create standalones with referenced QT movies: CREATING REFERENCED MOVIES USING LC ON MACINTOSH: 1. LiveCode 5 will show referenced Quicktime movies, including the ability to maintain relative paths in the LC movie player, so that the standalone can be distributed to other computers, whether Mac or Windows. 2. LC versions 6 and above, however, will not allow relative paths, when creating with Mac. E.g. consider this hierarchy in a Mac stack that you want to convert to a standalone for distribution: FOLDER MyMainstack.rev MEDIA MyMovie.mov If you want to refer to the movie in the LC Quicktime player, with the idea of creating a standalone for distribution to other platforms, you would want to change the movie player?s absolute path to a relative path: Media/MyMovie.mov However LC versions on Mac above LC 5 will not allow this. There, if you open the LC movie player and change the absolute path in the LC movie player to the relative path in the filename field, then close the Property Inspector and immediately open it up again, you will find that LC has reverted to the absolute path! Thus, you can?t create a standalone with a referenced QT movie for distribution in the LC 6-7 series, since the movie path always resets the relative path to an absolute path. This problem is not resolved by unchecking ?Always use absolute file paths for images? in the LC Preferences, or by putting the relative path into the ?non-stack files? section of the Copy files sections of the Standalone Application Settings, or by setting the DontUseQT global property to false. I also don?t see how setting the defaultFolder to the Documents folder would help in this situation either, where a person to whom the standalone is distributed would be unlikely to use the Documents folder. THE BOTTOM LINE: To created standalones with referenced movies on the Mac for distribution, you would do best, until the LiveCode team resolves the problem, to use a LC version not greater than 5. CREATING REFERENCED MOVIES USING LC ON WINDOWS: On Windows, LiveCode version 7.0 WILL maintain the relative path in its stacks and standalones, so you could create the standalone on Windows with LC > 5 and transfer the standalone to a Mac, where the movie will play. Stephen Goldberg, President Medmaster Publishing Co. Prof. Emeritus Univ of Miami Miller School of Medicine www.medmaster.net From dave at applicationinsight.com Sun Mar 29 11:52:27 2015 From: dave at applicationinsight.com (Dave Kilroy) Date: Sun, 29 Mar 2015 08:52:27 -0700 (PDT) Subject: iOS splash screen and app load times In-Reply-To: References: Message-ID: <1427644347899-4690708.post@n4.nabble.com> Hi all Alain - Yes I agree, it's a bit long Alain Vezina wrote > It?s a bit long. don?t you agree? Chris I was the guy who tried to make Mark's suggestion work on http://quality.runrev.com/show_bug.cgi?id=14116 - I tried it various ways (I got postcript names from Font Book) with no discernible difference - it would be great if you can manage it... ----- "The difference between genius and stupidity is; genius has its limits." - Albert Einstein -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/iOS-splash-screen-and-app-load-times-tp4690681p4690708.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sun Mar 29 14:07:23 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 29 Mar 2015 13:07:23 -0500 Subject: Movie Problems in LiveCode In-Reply-To: <14c663b294c-73a0-9ec6@webprd-m74.mail.aol.com> References: <14c663b294c-73a0-9ec6@webprd-m74.mail.aol.com> Message-ID: <55183F5B.3010303@hyperactivesw.com> On 3/29/2015 10:51 AM, stgoldberg at aol.com wrote: > THE BOTTOM LINE: To created standalones with referenced movies on > the Mac for distribution, you would do best, until the LiveCode team > resolves the problem, to use a LC version not greater than 5. Or you could just include a line of script that sets the filename of the movie in a preOpenCard handler. That's what I usually do and why I've never noticed any problems. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bvlahos at mac.com Sun Mar 29 20:45:06 2015 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 29 Mar 2015 17:45:06 -0700 Subject: Scripting Calendars tutorial stack Message-ID: <6ACE4DB1-AA1C-4D57-8382-044BAEDCB752@mac.com> LiveCoders, I just uploaded a tutorial stack to RevOnline/Sample Stacks that shows how to script popular calendar applications Apple?s Calendar and Microsoft?s Outlook on the Macintosh using AppleScript. I couldn?t find a simple way to do this so I created one. As you can see if you look at the stack the amount of code is really very little Create new event Modify the event Delete the event The information, AppleScripts, and LiveCode code and stack are free to use. I invite others to contribute with other calendar applications and platforms. Thanks to Zryip theSlug for contributing the initial Outlook for Macintosh code. Bill Vlahos _________________ bvlahos at mac.com Author InfoWallet and lcTaskList InfoWallet (http://www.infowallet.com) lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) From sundown at pacifier.com Sun Mar 29 21:44:00 2015 From: sundown at pacifier.com (JB) Date: Sun, 29 Mar 2015 18:44:00 -0700 Subject: Scripting Calendars tutorial stack In-Reply-To: <6ACE4DB1-AA1C-4D57-8382-044BAEDCB752@mac.com> References: <6ACE4DB1-AA1C-4D57-8382-044BAEDCB752@mac.com> Message-ID: I can not figure RevOnline out. When I select a stack sometimes it will download and sometimes it will open on my desktop allowing me to Save it. But this stack like a bunch of others does not show up on my desktop. It says at the bottom it is downloading but I can not find it if id did download. John Balgenorth On Mar 29, 2015, at 5:45 PM, Bill Vlahos wrote: > LiveCoders, > > I just uploaded a tutorial stack to RevOnline/Sample Stacks that shows how to script popular calendar applications Apple?s Calendar and Microsoft?s Outlook on the Macintosh using AppleScript. I couldn?t find a simple way to do this so I created one. As you can see if you look at the stack the amount of code is really very little > > Create new event > Modify the event > Delete the event > > The information, AppleScripts, and LiveCode code and stack are free to use. > > I invite others to contribute with other calendar applications and platforms. > > Thanks to Zryip theSlug for contributing the initial Outlook for Macintosh code. > > Bill Vlahos > _________________ > bvlahos at mac.com > Author InfoWallet and lcTaskList > InfoWallet (http://www.infowallet.com) > lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) > RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at livecode.org Sun Mar 29 22:53:41 2015 From: paul at livecode.org (Paul Hibbert) Date: Sun, 29 Mar 2015 19:53:41 -0700 Subject: Scripting Calendars tutorial stack In-Reply-To: References: <6ACE4DB1-AA1C-4D57-8382-044BAEDCB752@mac.com> Message-ID: John, If the file is not saving to your "Downloads" folder, you could try (Win) Right-Click on the link and choose "Save Target As?" or (Mac) Ctrl-Click the link and choose "Save Linked File As?", then you should have full control over where the file is downloaded to. Paul > On Mar 29, 2015, at 18:44, JB wrote: > > I can not figure RevOnline out. > > When I select a stack sometimes it > will download and sometimes it will > open on my desktop allowing me to > Save it. > > But this stack like a bunch of others > does not show up on my desktop. It > says at the bottom it is downloading > but I can not find it if id did download. > > John Balgenorth From sundown at pacifier.com Sun Mar 29 23:03:15 2015 From: sundown at pacifier.com (JB) Date: Sun, 29 Mar 2015 20:03:15 -0700 Subject: Scripting Calendars tutorial stack In-Reply-To: References: <6ACE4DB1-AA1C-4D57-8382-044BAEDCB752@mac.com> Message-ID: Thanks, Paul! I didn?t know that. Now I have a bunch of files to save. John Balgenorth On Mar 29, 2015, at 7:53 PM, Paul Hibbert wrote: > John, > > If the file is not saving to your "Downloads" folder, you could try (Win) Right-Click on the link and choose "Save Target As?" or (Mac) Ctrl-Click the link and choose "Save Linked File As?", then you should have full control over where the file is downloaded to. > > Paul > >> On Mar 29, 2015, at 18:44, JB wrote: >> >> I can not figure RevOnline out. >> >> When I select a stack sometimes it >> will download and sometimes it will >> open on my desktop allowing me to >> Save it. >> >> But this stack like a bunch of others >> does not show up on my desktop. It >> says at the bottom it is downloading >> but I can not find it if id did download. >> >> John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stgoldberg at aol.com Mon Mar 30 08:00:47 2015 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Mon, 30 Mar 2015 08:00:47 -0400 Subject: Movie problems in LiveCode Message-ID: <14c6a8e3659-2c63-f4f6@webprd-m18.mail.aol.com> I do not know why we?re getting such different results. On Mac version 10.9.5, using LC 7.0.3, if I write the following script in the openCard handler: on openCard set the filename of player 1 to ?media/mymovie.mov? answer the filename of player 1 end openCard then, while the movie will show in the player, I get the absolute path as an answer to the filename, rather than the relative path. This is confirmed by opening up the movie player property inspector and finding the absolute path in the fileName field (in my case, /Users/stephengoldberg/Desktop/Script words/Media/myMovie.mov) Stephen Goldberg stgoldberg at aol.com www.medmaster.net >on Mar 2015 13:07:23 >jacque at hyperactivesw.com wrote: >Or you could just include a line of script that sets the filename of the >movie in a preOpenCard handler. That's what I usually do and why I've >never noticed any problems. -- >Jacqueline Landman Gay | >jacque at hyperactivesw.com >HyperActive Software | >http://www.hyperactivesw.com >on Mar 2015 11:51 >stgoldberg at aol.com wrote: >LC versions 6 and above, however, will not allow >relative paths, when creating with Mac. E.g. consider this hierarchy in a Mac >stack that you want to convert to a standalone for distribution: > >FOLDER >MyMainstack.rev >MEDIA >MyMovie.mov > >If you want to refer to the >movie in the LC Quicktime player, with the idea of creating a standalone for >distribution to other platforms, you would want to change the movie player?s >absolute path to a relative path: > >Media/MyMovie.mov > >However LC versions >on Mac above LC 5 will not allow this. There, if you open the LC movie player >and change the absolute path in the LC movie player to the relative path in the >filename field, then close the Property Inspector and immediately open it up >again, you will find that LC has reverted to the absolute path! From lan.kc.macmail at gmail.com Mon Mar 30 10:09:30 2015 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 30 Mar 2015 22:09:30 +0800 Subject: Scripting Calendars tutorial stack In-Reply-To: <6ACE4DB1-AA1C-4D57-8382-044BAEDCB752@mac.com> References: <6ACE4DB1-AA1C-4D57-8382-044BAEDCB752@mac.com> Message-ID: On Mon, Mar 30, 2015 at 8:45 AM, Bill Vlahos wrote: > > I just uploaded a tutorial stack to RevOnline/Sample Stacks that shows how > to script popular calendar applications Apple?s Calendar > Thanks, will definitely have a poke around. From devin_asay at byu.edu Mon Mar 30 12:03:58 2015 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 30 Mar 2015 16:03:58 +0000 Subject: Movie problems in LiveCode In-Reply-To: <14c6a8e3659-2c63-f4f6@webprd-m18.mail.aol.com> References: <14c6a8e3659-2c63-f4f6@webprd-m18.mail.aol.com> Message-ID: On Mar 30, 2015, at 6:00 AM, stgoldberg at aol.com wrote: > I do not know why we?re getting such different results. On Mac version 10.9.5, using LC 7.0.3, if I write the following script in the openCard handler: > > on openCard > set the filename of player 1 to ?media/mymovie.mov? > answer the filename of player 1 > end openCard > > then, while the movie will show in the player, I get the absolute path as an answer to the filename, rather than the relative path. This is confirmed by opening up the movie player property inspector and finding the absolute path in the fileName field (in my case, /Users/stephengoldberg/Desktop/Script words/Media/myMovie.mov) The behavior of player objects vis-a-vis relative paths has definitely changed in 6.7 and higher, as detailed in the bug report I posted a few days back. (http://quality.runrev.com/show_bug.cgi?id=14435). There is apparently a fix of some kind due out in one of the next builds. In the meantime, or perhaps as a best practice, it seems like instead of setting the players filename property to a relative path (which *should* work but doesn?t), you should do this: set the filename of player 1 to the defaultFolder & ?/media/mymovie.mov? Or use whatever full file path is appropriate: set the filename of player 1 to specialFolderPath(?Documents?) & ?/media/mymovie.mov? Interestingly, in my own development work, it turns out I always use this method, and like Jacque, don?t have the problem Stephen is reporting. But in my teaching I have often demonstrated the technique of setting the defaultFolder to say, the parent folder of the mainstack, and setting the filename property to a relative path, like Stephen does. It was as I was testing this technique for a recent class that I discovered the change in behavior, which broke this capability in 6.7.x Devin Devin Asay Office of Digital Humanities Brigham Young University From mark at sorcery-ltd.co.uk Mon Mar 30 17:40:16 2015 From: mark at sorcery-ltd.co.uk (Mark Wilcox) Date: Mon, 30 Mar 2015 22:40:16 +0100 Subject: mobile app stores - personal v. corporate customers In-Reply-To: References: Message-ID: <0615C145-1DF9-4006-8B0C-99BC2EB193E3@sorcery-ltd.co.uk> > Is it possible to have an app in both the Apple store and the Android store > which functions in this way. Yes. Apple and Google are not trying to make money out of your B2B sales. An ideal solution might be to have a free app with some minimal functionality that lets you unlock the main content/functions with an IAP or a company login. Alternatively it is possible to create two versions and go the paid download route for the consumer version. Then in the B2B version you can have almost everything behind a login in a free app. Apple prefer it if the app does something without a login. The only major restriction is that you can't link to a website where a company could sign up and pay for your app. Hope that helps, Mark Sent from my iPhone > On 29 Mar 2015, at 00:33, Bernard Devlin wrote: > > I haven an idea for an app which would function in 2 different ways. > > 1. users pay to download the app, and the app writes no data back to a > server > > 2. companies would pay to provide the app free to their clients/staff, and > data would be transferred between the company and the end user (the end > user does not pay to download the app) > > Is it possible to have an app in both the Apple store and the Android store > which functions in this way. > > In the 2nd situation, the company would pay a fixed fee for the provision > of the app to their end users. Somehow the Apple/Android stores are going > to want payment for this situation (which is not the "pay per deployment" > model). > > I'd be grateful if anyone has any ideas about how such things work. > > Regards > Bernard > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon Mar 30 17:47:33 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 30 Mar 2015 14:47:33 -0700 Subject: Menu Builder and submenues Message-ID: I have a menu group in stack out0, which is never seen by the user. Stack out1 is created when needed by cloing stack out1 (and similarly for out2, etc.) When entering the menu builder, though, out0 is not among the choice of stacks. Once cloned, out1 appears as a choice. Huh? is there something I need to tickle to get it to appear? The second isue is within the menu. For the submenu, it created something to the effect of Schedules A/|A B/|B I don't see why it has the / Further, this produces a menuitem to the effect of "Schedules|B" rather than just B, as I understand the | should cause. (or to I need to trail the Schdules line with a | ?) I tried removing the / , but this didn't make a difference/ -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dunbarx at aol.com Mon Mar 30 18:10:44 2015 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 30 Mar 2015 18:10:44 -0400 Subject: Menu Builder and submenues In-Reply-To: References: Message-ID: <14c6cbca301-47df-f78e@webprd-a64.mail.aol.com> Richard. if you delete either the "/" or the "|" tags, the submenuItem is not assembled correctly. As you said. You need both. Are you sure you have these correctly set? I am not sure about your not seeing the stacks. I assume you meant "cloning stack out0" when you said: Stack out1 is created when needed by cloing stack out1 (and similarly for out2, etc.) But when you only have stack out0, and you open the menu builder, are you clicking on the "edit..." button? This should bring up a dialog that allows you to load the menu group. Craig Newman -----Original Message----- From: Dr. Hawkins To: How to use LiveCode Sent: Mon, Mar 30, 2015 5:48 pm Subject: Menu Builder and submenues I have a menu group in stack out0, which is never seen by the user. Stack out1 is created when needed by cloing stack out1 (and similarly for out2, etc.) When entering the menu builder, though, out0 is not among the choice of stacks. Once cloned, out1 appears as a choice. Huh? is there something I need to tickle to get it to appear? The second isue is within the menu. For the submenu, it created something to the effect of Schedules A/|A B/|B I don't see why it has the / Further, this produces a menuitem to the effect of "Schedules|B" rather than just B, as I understand the | should cause. (or to I need to trail the Schdules line with a | ?) I tried removing the / , but this didn't make a difference/ -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Mon Mar 30 23:13:14 2015 From: prothero at earthednet.org (William Prothero) Date: Mon, 30 Mar 2015 20:13:14 -0700 Subject: mobile app stores - personal v. corporate customers In-Reply-To: <0615C145-1DF9-4006-8B0C-99BC2EB193E3@sorcery-ltd.co.uk> References: <0615C145-1DF9-4006-8B0C-99BC2EB193E3@sorcery-ltd.co.uk> Message-ID: <77C5E3F4-4F9C-4C4A-88CC-8212A6C469D2@earthednet.org> Mark: This sounds like something I?ve been considering too. In my case, it?s an educational app. I have a basic app with basic functionality. Then there could be a paid app that is pretty much the same, with enhanced functionality, that required a login to get advanced functionality. What I?m thinking about is a basic app that allows students to collect Earth data. The advanced app would have activities, quizzes, etc, that used that data and sent the results of student work to the teacher. Best, Bill > On Mar 30, 2015, at 2:40 PM, Mark Wilcox wrote: > >> Is it possible to have an app in both the Apple store and the Android store >> which functions in this way. > > Yes. Apple and Google are not trying to make money out of your B2B sales. An ideal solution might be to have a free app with some minimal functionality that lets you unlock the main content/functions with an IAP or a company login. > > Alternatively it is possible to create two versions and go the paid download route for the consumer version. Then in the B2B version you can have almost everything behind a login in a free app. Apple prefer it if the app does something without a login. The only major restriction is that you can't link to a website where a company could sign up and pay for your app. > > Hope that helps, > Mark > > Sent from my iPhone > >> On 29 Mar 2015, at 00:33, Bernard Devlin wrote: >> >> I haven an idea for an app which would function in 2 different ways. >> >> 1. users pay to download the app, and the app writes no data back to a >> server >> >> 2. companies would pay to provide the app free to their clients/staff, and >> data would be transferred between the company and the end user (the end >> user does not pay to download the app) >> >> Is it possible to have an app in both the Apple store and the Android store >> which functions in this way. >> >> In the 2nd situation, the company would pay a fixed fee for the provision >> of the app to their end users. Somehow the Apple/Android stores are going >> to want payment for this situation (which is not the "pay per deployment" >> model). >> >> I'd be grateful if anyone has any ideas about how such things work. >> >> Regards >> Bernard >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bdrunrev at gmail.com Tue Mar 31 05:41:50 2015 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 31 Mar 2015 10:41:50 +0100 Subject: mobile app stores - personal v. corporate customers In-Reply-To: <0615C145-1DF9-4006-8B0C-99BC2EB193E3@sorcery-ltd.co.uk> References: <0615C145-1DF9-4006-8B0C-99BC2EB193E3@sorcery-ltd.co.uk> Message-ID: Thanks Mark. It would be good to hear from others who have used one of these dual approaches, to see what the benefits/pitfalls are. Regards Bernard On Mon, Mar 30, 2015 at 10:40 PM, Mark Wilcox wrote: > An ideal solution might be to have a free app with some minimal > functionality that lets you unlock the main content/functions with an IAP > or a company login. > > Alternatively it is possible to create two versions and go the paid > download route for the consumer version. Then in the B2B version you can > have almost everything behind a login in a free app. Apple prefer it if the > app does something without a login. The only major restriction is that you > can't link to a website where a company could sign up and pay for your app. > > Hope that helps, > Mark > From christer at mindcrea.com Tue Mar 31 08:20:46 2015 From: christer at mindcrea.com (=?iso-8859-1?Q?Pyyhti=E4_Christer?=) Date: Tue, 31 Mar 2015 15:20:46 +0300 Subject: Summer (Winter) Time Fun Message-ID: <9E98EEE2-0E6B-42EB-A3AF-2157FAFB227E@mindcrea.com> I wonder if anyone else has met this funny problem. And possibly coded out a solution for it. In my app, the automatically renewing in-app subscription term ended today, at 14:30. This expiry time was calculated in the app by just adding one month at the previous payment time (because Google, for example, is adding expiry time in their registry one day at a time, not for the period requested). Now, logging in at 14:31, there was not yet automatical renewal issued, as the time was pushed ahead by one hour. So the app said, sorry, your subscription license is expired! Obvously, when taking a coffee break, and retrying at 15:.31, it will work. Now this is in Europe (Finland), but then there is US, where the summer / winter time switching is off by one week, I don't remember which way. And the countries, where there isn't this time push/pull fun, the problem is at the point of time of moving into winter time. I guess the only way is to base everything on UTC, adding / substracting the internet date offset. it is just getting a bit complex, as the app stores use milliSeconds as their base. Have fun! I will have a cup of coffee. From jacque at hyperactivesw.com Tue Mar 31 10:24:42 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 31 Mar 2015 09:24:42 -0500 Subject: Summer (Winter) Time Fun In-Reply-To: <9E98EEE2-0E6B-42EB-A3AF-2157FAFB227E@mindcrea.com> References: <9E98EEE2-0E6B-42EB-A3AF-2157FAFB227E@mindcrea.com> Message-ID: It might be easier to just calculate what day it is at 3 PM local time. That way the time differences won't matter. On March 31, 2015 7:20:46 AM CDT, "Pyyhti? Christer" wrote: >I wonder if anyone else has met this funny problem. And possibly coded >out a solution for it. > >In my app, the automatically renewing in-app subscription term ended >today, at 14:30. This expiry time was calculated in the app by just >adding one month at the previous payment time (because Google, for >example, is adding expiry time in their registry one day at a time, not >for the period requested). > >Now, logging in at 14:31, there was not yet automatical renewal issued, >as the time was pushed ahead by one hour. So the app said, sorry, your >subscription license is expired! Obvously, when taking a coffee break, >and retrying at 15:.31, it will work. Now this is in Europe (Finland), >but then there is US, where the summer / winter time switching is off >by one week, I don't remember which way. And the countries, where >there isn't this time push/pull fun, the problem is at the point of >time of moving into winter time. > >I guess the only way is to base everything on UTC, adding / >substracting the internet date offset. it is just getting a bit >complex, as the app stores use milliSeconds as their base. > >Have fun! I will have a cup of coffee. > > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From livfoss at mac.com Tue Mar 31 10:34:43 2015 From: livfoss at mac.com (Graham Samuel) Date: Tue, 31 Mar 2015 16:34:43 +0200 Subject: OT: On-Rev issue (non-emergency) Message-ID: <77A06298-AF5D-4583-9024-73C07F964B42@mac.com> Sorry to be OT, but I can?t describe my need for On-Rev support to be an emergency, yet I am completely stuck until I get help and I have not had a squeak out of On-Rev support since asking a question on 28th March; and my attempts to join the forum have not worked so far, as nobody has activated my account. Since many on this list have On-Rev accounts, maybe someone can enlighten me. I want to change Magic Quotes GPC to ?Off?. I need this for an installation process. As there?s nothing relevant that I can see in the cPanel and I have no real idea what this means, I need someone to tell me how to do it or to do it for me. If anyone can help, thanks. If not I?ll just wait for the folks at On-Rev to catch up. Graham From benr_mc at cogapp.com Tue Mar 31 10:28:50 2015 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 31 Mar 2015 15:28:50 +0100 Subject: Summer (Winter) Time Fun In-Reply-To: <9E98EEE2-0E6B-42EB-A3AF-2157FAFB227E@mindcrea.com> References: <9E98EEE2-0E6B-42EB-A3AF-2157FAFB227E@mindcrea.com> Message-ID: <551AAF22.1020200@cogapp.com> Hi Pyyhti?, I don't have any technical suggestions for you. But a non-tech suggestion and a point of information: - suggestion: add a grace period. Possibly display the information that your term ends today - but in practise give a 24-hour grace period when the app still works. If the client renews, that still bases off the time it should have been renewed by (i.e. they don't get an extra day free as a reward for being late, they just got to pay for it a day later); if they don't renew, they weren't going to anyway, they got one extra day. Better that the people who weren't going to renew got a free day, than that your good customers were inconvenienced by something that might easily have been a glitch on your end, for example. - information: actually the US used to "spring forward" a week or so after most of Europe, but a few years ago they changed their timetable, and they now do it several weeks before us. So your US customers have already survived this pain point. (Unlike several of my clients, since I repeatedly messed up the timing of conference calls!) Ben On 31/03/2015 13:20, Pyyhti? Christer wrote: > I wonder if anyone else has met this funny problem. And possibly coded out a solution for it. > > In my app, the automatically renewing in-app subscription term ended today, at 14:30. This expiry time was calculated in the app by just adding one month at the previous payment time (because Google, for example, is adding expiry time in their registry one day at a time, not for the period requested). > > Now, logging in at 14:31, there was not yet automatical renewal issued, as the time was pushed ahead by one hour. So the app said, sorry, your subscription license is expired! Obvously, when taking a coffee break, and retrying at 15:.31, it will work. Now this is in Europe (Finland), but then there is US, where the summer / winter time switching is off by one week, I don't remember which way. And the countries, where there isn't this time push/pull fun, the problem is at the point of time of moving into winter time. > > I guess the only way is to base everything on UTC, adding / substracting the internet date offset. it is just getting a bit complex, as the app stores use milliSeconds as their base. > > Have fun! I will have a cup of coffee. From pete at lcsql.com Tue Mar 31 12:31:15 2015 From: pete at lcsql.com (Peter Haworth) Date: Tue, 31 Mar 2015 09:31:15 -0700 Subject: Summer (Winter) Time Fun In-Reply-To: <9E98EEE2-0E6B-42EB-A3AF-2157FAFB227E@mindcrea.com> References: <9E98EEE2-0E6B-42EB-A3AF-2157FAFB227E@mindcrea.com> Message-ID: If you have 10 minutes to spare, check out the video at https://youtu.be/-5wpm-gesOY on the topic of dealing with time zones and various other time related anomalies It's quite funny! It does mention that there is open source code to deal with this but doesn't say where it can be found. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Mar 31, 2015 at 5:20 AM, Pyyhti? Christer wrote: > I wonder if anyone else has met this funny problem. And possibly coded > out a solution for it. > > In my app, the automatically renewing in-app subscription term ended > today, at 14:30. This expiry time was calculated in the app by just adding > one month at the previous payment time (because Google, for example, is > adding expiry time in their registry one day at a time, not for the period > requested). > > Now, logging in at 14:31, there was not yet automatical renewal issued, as > the time was pushed ahead by one hour. So the app said, sorry, your > subscription license is expired! Obvously, when taking a coffee break, and > retrying at 15:.31, it will work. Now this is in Europe (Finland), but > then there is US, where the summer / winter time switching is off by one > week, I don't remember which way. And the countries, where there isn't > this time push/pull fun, the problem is at the point of time of moving into > winter time. > > I guess the only way is to base everything on UTC, adding / substracting > the internet date offset. it is just getting a bit complex, as the app > stores use milliSeconds as their base. > > Have fun! I will have a cup of coffee. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Tue Mar 31 13:38:18 2015 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 31 Mar 2015 19:38:18 +0200 Subject: OT: On-Rev issue (non-emergency) In-Reply-To: <77A06298-AF5D-4583-9024-73C07F964B42@mac.com> References: <77A06298-AF5D-4583-9024-73C07F964B42@mac.com> Message-ID: Graham, you could try to disable it using an .htaccess file which is put into the root folder of your domain. Please add the following line to the .htaccess files php_flag magic_quotes_gpc Off If this does not work you could use a php.ini file to disable it. See the first example at http://php.net/manual/de/security.magicquotes.disabling.php But to use a php.ini with custom php settings you will have to modify the .htaccess file in your public_html folder. Please add the following to the .htaccess file in the public_html folder. suPHP_ConfigPath /home/YOURACCOUNTNAME/public_html/ order allow,deny deny from all Please replace YOURACCOUNTNAME in the above line with your account name. This will make sure your custom settings in the php.ini are recognized by the server. If this all does not work i would say you should open an emergency support ticket, as the above described solutions should work on their servers. HTH Matthias > Am 31.03.2015 um 16:34 schrieb Graham Samuel : > > Sorry to be OT, but I can?t describe my need for On-Rev support to be an emergency, yet I am completely stuck until I get help and I have not had a squeak out of On-Rev support since asking a question on 28th March; and my attempts to join the forum have not worked so far, as nobody has activated my account. > > Since many on this list have On-Rev accounts, maybe someone can enlighten me. I want to change Magic Quotes GPC to ?Off?. I need this for an installation process. As there?s nothing relevant that I can see in the cPanel and I have no real idea what this means, I need someone to tell me how to do it or to do it for me. > > If anyone can help, thanks. If not I?ll just wait for the folks at On-Rev to catch up. > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Mar 31 14:10:45 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 31 Mar 2015 13:10:45 -0500 Subject: Menu Builder and submenues In-Reply-To: References: Message-ID: <551AE325.8030002@hyperactivesw.com> On 3/30/2015 4:47 PM, Dr. Hawkins wrote: > Schedules > A/|A > B/|B > > I don't see why it has the / Whatever follows the slash will become the keyboard shortcut. Whatever follows the pipe will be the "label" of the menu, so that you can localize the menus without changing their actual names. That way the scripts will always work but the user will see their own language. You can omit both the slash and the pipe, and provide only the menu name. You can provide a menu name and a slash-shortcut without the pipe. But if you want the pipe label, the slash has to be there as a place holder -- which is the case in your example. The examples indicate no keyboard shortcuts but do have labels. But since the labels are the same as the names in this case, you could omit both the extra indicators. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From livfoss at mac.com Tue Mar 31 15:42:38 2015 From: livfoss at mac.com (Graham Samuel) Date: Tue, 31 Mar 2015 21:42:38 +0200 Subject: OT: On-Rev issue (non-emergency) In-Reply-To: References: <77A06298-AF5D-4583-9024-73C07F964B42@mac.com> Message-ID: <64D6B4C0-1D0B-444D-966E-62A1BB03F3B5@mac.com> Thanks Matthias, and thanks also to Shawn Beagle who contacted me off list. I am frankly too scared to follow these instructions: the editor suggests I make a back up before editing anything, and I don?t really know how to do the restore. As a LiveCode person and very much not a server person I have a very strong feeling of not being in Kansas any more. So I guess I will have to wait for On-Rev support to wake up. My nervousness is not helped by the fact that I don?t seem to have files like php.ini or .htaccess within the files I can see on the server. There is a htaccess.txt file but that belongs to Joomla which is the package telling me to turn off Magic Quotes - so why can?t it do the job itself? Confusion. Sorry to be a scaredy-cat, but for all I know I could start World War 3 by hitting the wrong part of some file. Graham > On 31 Mar 2015, at 19:38, Matthias Rebbe wrote: > > Graham, > > you could try to disable it using an .htaccess file which is put into the root folder of your domain. > > Please add the following line to the .htaccess files > php_flag magic_quotes_gpc Off > > If this does not work you could use a php.ini file to disable it. > > See the first example at http://php.net/manual/de/security.magicquotes.disabling.php > > > But to use a php.ini with custom php settings you will have to modify the .htaccess file in your public_html folder. > > Please add the following to the .htaccess file in the public_html folder. > > suPHP_ConfigPath /home/YOURACCOUNTNAME/public_html/ > > order allow,deny > deny from all > > > Please replace YOURACCOUNTNAME in the above line with your account name. > > This will make sure your custom settings in the php.ini are recognized by the server. > > If this all does not work i would say you should open an emergency support ticket, as the above described solutions should work on their servers. > > HTH > > Matthias > > >> Am 31.03.2015 um 16:34 schrieb Graham Samuel : >> >> Sorry to be OT, but I can?t describe my need for On-Rev support to be an emergency, yet I am completely stuck until I get help and I have not had a squeak out of On-Rev support since asking a question on 28th March; and my attempts to join the forum have not worked so far, as nobody has activated my account. >> >> Since many on this list have On-Rev accounts, maybe someone can enlighten me. I want to change Magic Quotes GPC to ?Off?. I need this for an installation process. As there?s nothing relevant that I can see in the cPanel and I have no real idea what this means, I need someone to tell me how to do it or to do it for me. >> >> If anyone can help, thanks. If not I?ll just wait for the folks at On-Rev to catch up. >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Tue Mar 31 15:45:41 2015 From: pete at lcsql.com (Peter Haworth) Date: Tue, 31 Mar 2015 12:45:41 -0700 Subject: Menu Builder and submenues In-Reply-To: <551AE325.8030002@hyperactivesw.com> References: <551AE325.8030002@hyperactivesw.com> Message-ID: Jacque, Thanks for the explanation, I had forgotten about what I think are called tags in menu items. Do you happen to know offhand if these tags are supported for all menu type - option, popup, etc? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Mar 31, 2015 at 11:10 AM, J. Landman Gay wrote: > On 3/30/2015 4:47 PM, Dr. Hawkins wrote: > >> Schedules >> A/|A >> B/|B >> >> I don't see why it has the / >> > > Whatever follows the slash will become the keyboard shortcut. Whatever > follows the pipe will be the "label" of the menu, so that you can localize > the menus without changing their actual names. That way the scripts will > always work but the user will see their own language. > > You can omit both the slash and the pipe, and provide only the menu name. > You can provide a menu name and a slash-shortcut without the pipe. But if > you want the pipe label, the slash has to be there as a place holder -- > which is the case in your example. The examples indicate no keyboard > shortcuts but do have labels. But since the labels are the same as the > names in this case, you could omit both the extra indicators. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Tue Mar 31 16:11:21 2015 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 31 Mar 2015 15:11:21 -0500 Subject: Menu Builder and submenues In-Reply-To: References: <551AE325.8030002@hyperactivesw.com> Message-ID: <551AFF69.3040405@hyperactivesw.com> On 3/31/2015 2:45 PM, Peter Haworth wrote: > Thanks for the explanation, I had forgotten about what I think are called > tags in menu items. Do you happen to know offhand if these tags are > supported for all menu type - option, popup, etc? Tags. Right, I should have said "tags". It doesn't look like they're supported in anything but pulldown buttons. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Tue Mar 31 16:18:15 2015 From: pete at lcsql.com (Peter Haworth) Date: Tue, 31 Mar 2015 13:18:15 -0700 Subject: BackgroundColor Message-ID: I am setting the backgroundcolor by script of a chunk of text in a field whose textSize is 16 and textHeight is 30. The backgroundcolor only hilites the text up to the textSize, the area between the textSize and the textHeight stays unhilited. Is there a property which will hilite the selected text for the full text height? Or any other technique for achieveing this? Thanks, Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From matthias_livecode_150811 at m-r-d.de Tue Mar 31 16:38:11 2015 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 31 Mar 2015 22:38:11 +0200 Subject: OT: On-Rev issue (non-emergency) In-Reply-To: <64D6B4C0-1D0B-444D-966E-62A1BB03F3B5@mac.com> References: <77A06298-AF5D-4583-9024-73C07F964B42@mac.com> <64D6B4C0-1D0B-444D-966E-62A1BB03F3B5@mac.com> Message-ID: <10120B09-4E7A-4566-B30B-DF4E0D534B11@m-r-d.de> Graham, the htaccess.txt file might contain the correct stuff, but as long as it is not named .htaccess it will be ignored by the Apache server. Can you open it and post the content of that file here? Or if you want to use the php.ini for your custom settings and the public_html folder does not contain the php.ini and/or the .htaccess file, then you just need to create these 2 files. You can do this very easy. 1. Create a php.ini file on your Mac or Windows 2. add the line magic_quotes_gpc = Off to the new php.ini and save it 3. upload that file to your public_html folder using ftp 4. create a new file named htaccess on your Mac or Windows (yes without the period at the beginning) 5. Add the following 5 lines suPHP_ConfigPath /home/YOURACCOUNTNAME/public_html/ order allow,deny deny from all to the new htaccess file and save it 6. upload the file htaccess to your public_html folder using ftp 7. now rename that file to .htaccess (yes now with the period) If something goes wrong, you can just delete the 2 files again from your server. If you are unsure how to edit those files you can downloaded them from here as zip-archive https://dl.dropbox.com/s/bkamsdqyx0114fz/index.html After unpacking just upload them to the public_html folder and rename the htaccess file to .htaccess. Regards, Matthias > Am 31.03.2015 um 21:42 schrieb Graham Samuel : > > Thanks Matthias, and thanks also to Shawn Beagle who contacted me off list. > > I am frankly too scared to follow these instructions: the editor suggests I make a back up before editing anything, and I don?t really know how to do the restore. As a LiveCode person and very much not a server person I have a very strong feeling of not being in Kansas any more. So I guess I will have to wait for On-Rev support to wake up. > > My nervousness is not helped by the fact that I don?t seem to have files like php.ini or .htaccess within the files I can see on the server. There is a htaccess.txt file but that belongs to Joomla which is the package telling me to turn off Magic Quotes - so why can?t it do the job itself? Confusion. > > Sorry to be a scaredy-cat, but for all I know I could start World War 3 by hitting the wrong part of some file. > > Graham > > >> On 31 Mar 2015, at 19:38, Matthias Rebbe > wrote: >> >> Graham, >> >> you could try to disable it using an .htaccess file which is put into the root folder of your domain. >> >> Please add the following line to the .htaccess files >> php_flag magic_quotes_gpc Off >> >> If this does not work you could use a php.ini file to disable it. >> >> See the first example at http://php.net/manual/de/security.magicquotes.disabling.php > >> >> >> But to use a php.ini with custom php settings you will have to modify the .htaccess file in your public_html folder. >> >> Please add the following to the .htaccess file in the public_html folder. >> >> suPHP_ConfigPath /home/YOURACCOUNTNAME/public_html/ >> >> order allow,deny >> deny from all >> >> >> Please replace YOURACCOUNTNAME in the above line with your account name. >> >> This will make sure your custom settings in the php.ini are recognized by the server. >> >> If this all does not work i would say you should open an emergency support ticket, as the above described solutions should work on their servers. >> >> HTH >> >> Matthias >> >> >>> Am 31.03.2015 um 16:34 schrieb Graham Samuel : >>> >>> Sorry to be OT, but I can?t describe my need for On-Rev support to be an emergency, yet I am completely stuck until I get help and I have not had a squeak out of On-Rev support since asking a question on 28th March; and my attempts to join the forum have not worked so far, as nobody has activated my account. >>> >>> Since many on this list have On-Rev accounts, maybe someone can enlighten me. I want to change Magic Quotes GPC to ?Off?. I need this for an installation process. As there?s nothing relevant that I can see in the cPanel and I have no real idea what this means, I need someone to tell me how to do it or to do it for me. >>> >>> If anyone can help, thanks. If not I?ll just wait for the folks at On-Rev to catch up. >>> >>> Graham >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Tue Mar 31 16:46:46 2015 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 31 Mar 2015 16:46:46 -0400 Subject: BackgroundColor In-Reply-To: References: Message-ID: <009301d06bf3$cda34a40$68e9dec0$@net> Pete, I found that this happens on setting just char(s). If you set backgroundcolor of the line it fills in the entire height. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Peter Haworth Sent: Tuesday, March 31, 2015 4:18 PM To: How to use LiveCode Subject: BackgroundColor I am setting the backgroundcolor by script of a chunk of text in a field whose textSize is 16 and textHeight is 30. The backgroundcolor only hilites the text up to the textSize, the area between the textSize and the textHeight stays unhilited. Is there a property which will hilite the selected text for the full text height? Or any other technique for achieveing this? Thanks, Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From stgoldberg at aol.com Tue Mar 31 17:14:07 2015 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Tue, 31 Mar 2015 17:14:07 -0400 Subject: Movie problems in LiveCode Message-ID: <14c71af2a03-781e-12331@webprd-a48.mail.aol.com> Yes, Devin, in using your script for Macintosh using LC 6.7 and higher: set the filename of player 1 to the defaultFolder & "/media/mymovie.mov" that appears to let the movie show after the standalone is transferred to other Mac or Windows computers. I thank you for pointing that out. However, with that script, I am now unable to see the movie in the stack prior to creating the standalone. Any suggestion for that? Thanks. Stephen Goldberg www.medmaster.net 2015 16:03:58 +0000 From: Devin Asay To: How to use LiveCode Subject: Re: Movie problems in LiveCode Message-ID: Content-Type: text/plain; charset="Windows-1252" On Mar 30, 2015, at 6:00 AM, stgoldberg at aol.com wrote: > I do not know why we?re getting such different results. On Mac version 10.9.5, using LC 7.0.3, if I write the following script in the openCard handler: > > on openCard > set the filename of player 1 to ?media/mymovie.mov? > answer the filename of player 1 > end openCard > > then, while the movie will show in the player, I get the absolute path as an answer to the filename, rather than the relative path. This is confirmed by opening up the movie player property inspector and finding the absolute path in the fileName field (in my case, /Users/stephengoldberg/Desktop/Script words/Media/myMovie.mov) The behavior of player objects vis-a-vis relative paths has definitely changed in 6.7 and higher, as detailed in the bug report I posted a few days back. (http://quality.runrev.com/show_bug.cgi?id=14435). There is apparently a fix of some kind due out in one of the next builds. In the meantime, or perhaps as a best practice, it seems like instead of setting the players filename property to a relative path (which *should* work but doesn?t), you should do this: set the filename of player 1 to the defaultFolder & ?/media/mymovie.mov? Or use whatever full file path is appropriate: set the filename of player 1 to specialFolderPath(?Documents?) & ?/media/mymovie.mov? Interestingly, in my own development work, it turns out I always use this method, and like Jacque, don?t have the problem Stephen is reporting. But in my teaching I have often demonstrated the technique of setting the defaultFolder to say, the parent folder of the mainstack, and setting the filename property to a relative path, like Stephen does. It was as I was testing this technique for a recent class that I discovered the change in behavior, which broke this capability in 6.7.x Devin Devin Asay Office of Digital Humanities Brigham Young From pete at lcsql.com Tue Mar 31 17:51:46 2015 From: pete at lcsql.com (Peter Haworth) Date: Tue, 31 Mar 2015 14:51:46 -0700 Subject: BackgroundColor In-Reply-To: <009301d06bf3$cda34a40$68e9dec0$@net> References: <009301d06bf3$cda34a40$68e9dec0$@net> Message-ID: Thanks Ralph. Unfortunately I need to set the background of certain columns (by which I mean between tabs) of a line. Interesting that it works for the whole line though. I think I might report it at QCC, not really a bug just an inconsistency. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Mar 31, 2015 at 1:46 PM, Ralph DiMola wrote: > Pete, > > I found that this happens on setting just char(s). If you set > backgroundcolor of the line it fills in the entire height. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Peter Haworth > Sent: Tuesday, March 31, 2015 4:18 PM > To: How to use LiveCode > Subject: BackgroundColor > > I am setting the backgroundcolor by script of a chunk of text in a field > whose textSize is 16 and textHeight is 30. > > The backgroundcolor only hilites the text up to the textSize, the area > between the textSize and the textHeight stays unhilited. > > Is there a property which will hilite the selected text for the full text > height? Or any other technique for achieveing this? > > Thanks, > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Tue Mar 31 18:20:53 2015 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 31 Mar 2015 15:20:53 -0700 Subject: Menu Builder and submenues In-Reply-To: <551AE325.8030002@hyperactivesw.com> References: <551AE325.8030002@hyperactivesw.com> Message-ID: On Tue, Mar 31, 2015 at 11:10 AM, J. Landman Gay wrote: > Whatever follows the slash will become the keyboard shortcut. Whatever > follows the pipe will be the "label" of the menu, so that you can localize > the menus without changing their actual names. That way the scripts will > always work but the user will see their own language. > it also lets me use oneWord constrictions for passed argument (passing spaces still scares me after all these years; I don't even allow staff to use punctuation other than . and _ in filenames . . .) But why is menubuilder gratuitously adding the slashes when there is no accelerator? > > You can omit both the slash and the pipe, and provide only the menu name. > You can provide a menu name and a slash-shortcut without the pipe. But if > you want the pipe label, the slash has to be there as a place holder -- > which is the case in your example. The examples indicate no keyboard > shortcuts but do have labels. But since the labels are the same as the > names in this case, you could omit both the extra indicators. > But what should the passed argument be? I'm getting both the menu *and* the submenu passed to the handler, separated by a pipe. Thanks -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dunbarx at aol.com Tue Mar 31 19:36:46 2015 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 31 Mar 2015 19:36:46 -0400 Subject: BackgroundColor In-Reply-To: Message-ID: <14c7231c57c-4392-16f7b@webprd-m75.mail.aol.com> Peter. I think this may have to be a kluge. Would the "measureText" function give enough information to allow you to place a transparent colored rectangle graphic? Craig -----Original Message----- From: Peter Haworth To: How to use LiveCode Sent: Tue, Mar 31, 2015 5:53 pm Subject: Re: BackgroundColor Thanks Ralph. Unfortunately I need to set the background of certain columns (by which I mean between tabs) of a line. Interesting that it works for the whole line though. I think I might report it at QCC, not really a bug just an inconsistency. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Mar 31, 2015 at 1:46 PM, Ralph DiMola wrote: > Pete, > > I found that this happens on setting just char(s). If you set > backgroundcolor of the line it fills in the entire height. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Peter Haworth > Sent: Tuesday, March 31, 2015 4:18 PM > To: How to use LiveCode > Subject: BackgroundColor > > I am setting the backgroundcolor by script of a chunk of text in a field > whose textSize is 16 and textHeight is 30. > > The backgroundcolor only hilites the text up to the textSize, the area > between the textSize and the textHeight stays unhilited. > > Is there a property which will hilite the selected text for the full text > height? Or any other technique for achieveing this? > > Thanks, > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Tue Mar 31 20:02:28 2015 From: pete at lcsql.com (Peter Haworth) Date: Tue, 31 Mar 2015 17:02:28 -0700 Subject: BackgroundColor In-Reply-To: <14c7231c57c-4392-16f7b@webprd-m75.mail.aol.com> References: <14c7231c57c-4392-16f7b@webprd-m75.mail.aol.com> Message-ID: Thanks Craig, I figured I'd have to invent something. I haven't used measureText before but looking at the dictionary, it seems to indicate the measurements all relate to the text itself. However, I do know the textheight and the width of the item so I should be able to do as you suggest. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Mar 31, 2015 at 4:36 PM, wrote: > Peter. > > > I think this may have to be a kluge. Would the "measureText" function give > enough information to allow you to place a transparent colored rectangle > graphic? > > > Craig > > > > -----Original Message----- > From: Peter Haworth > To: How to use LiveCode > Sent: Tue, Mar 31, 2015 5:53 pm > Subject: Re: BackgroundColor > > > Thanks Ralph. Unfortunately I need to set the background of certain > columns > (by which I mean between tabs) of a line. > > Interesting that it works for the > whole line though. I think I might > report it at QCC, not really a bug just an > inconsistency. > > Pete > lcSQL Software > Home of > lcStackBrowser and > SQLiteAdmin > > > On Tue, Mar 31, 2015 at 1:46 PM, > Ralph DiMola > wrote: > > > Pete, > > > > I found that > this happens on setting just char(s). If you set > > backgroundcolor of the line > it fills in the entire height. > > > > Ralph DiMola > > IT Director > > Evergreen > Information Services > > rdimola at evergreeninfo.net > > > > > > -----Original > Message----- > > From: use-livecode > [mailto:use-livecode-bounces at lists.runrev.com] On > > Behalf > > Of Peter > Haworth > > Sent: Tuesday, March 31, 2015 4:18 PM > > To: How to use LiveCode > > > Subject: BackgroundColor > > > > I am setting the backgroundcolor by script of a > chunk of text in a field > > whose textSize is 16 and textHeight is 30. > > > > The > backgroundcolor only hilites the text up to the textSize, the area > > between > the textSize and the textHeight stays unhilited. > > > > Is there a property which > will hilite the selected text for the full text > > height? Or any other > technique for achieveing this? > > > > Thanks, > > > > Pete > > lcSQL Software > > > Home of lcStackBrowser > and > > SQLiteAdmin > > > > _______________________________________________ > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe > and manage your > > subscription > > preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe > and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode > mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, > unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Tue Mar 31 21:15:04 2015 From: pete at lcsql.com (Peter Haworth) Date: Tue, 31 Mar 2015 18:15:04 -0700 Subject: system weekdayNames Message-ID: The system weekdayNames returns a list of day names in the user's local language but is the order of the day names influenced by the calendar conventions of the user's location? In other words, if I'm in the USA, the first name in the list is Sunday. If I was in a country where the convention is to start the week on a Monday, would Sunday still be the first day name in the list or would it be Monday? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin