Re: Launch URL to run Windows program using command line switches

2014-06-30 Thread Bill Vlahos
So I spoke too soon. It looks like the launch command doesn’t actually send command line options but rather sends the command to open the specified document by the specified application. So I can open the application with the document but not actually send it parameters other than to open a docu

Re: Launch URL to run Windows program using command line switches

2014-06-30 Thread Mark Wieder
Bill- Monday, June 30, 2014, 7:03:25 PM, you wrote: > The cmd window in Windows7 supports command line options for .lnk > files so I wonder if this is a LiveCode limitation of the launch > command. For .lnk files, check out the aliasReference function. -- -Mark Wieder ahsoftw...@gmail.com Th

Re: imageData

2014-06-30 Thread Monte Goulding
On 1 Jul 2014, at 2:31 pm, stephen barncard wrote: > On Mon, Jun 30, 2014 at 5:15 PM, Peter Haworth wrote: > >> Wondering if there's a good reason why the imageData property of an image >> is not included in its properties? >> > > perhaps because the missing properties' data are either huge

Re: imageData

2014-06-30 Thread stephen barncard
On Mon, Jun 30, 2014 at 5:15 PM, Peter Haworth wrote: > Wondering if there's a good reason why the imageData property of an image > is not included in its properties? > perhaps because the missing properties' data are either huge or multi-dimensional *--* *Stephen Barncard - San Francisco Ca. U

Re: Launch URL to run Windows program using command line switches

2014-06-30 Thread Bill Vlahos
Skip, This is great. I’ve been struggling with this for a couple of weeks now without success. This works for me when I point to a .exe file but not if I point to a link file (.lnk) such as in the Start Menu folder. The reason I want to use the .lnk file in Start Menu is that the actual applic

Re: OT : Advice on SQL database design

2014-06-30 Thread Igor de Oliveira Couto
I'll try to provide some initial info: On 1 Jul 2014, at 10:23 am, Alex Tweedly wrote: > I guess there's a meta-question about "what's a good book/source on SQL > database design ?" > > I am trying to design a database. There is one table which contains, let's > say, Armed Forces Personnel >

Re: Embedded LiveCode - site hacked?

2014-06-30 Thread Simon
Dave Williams is on the case now. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Embedded-LiveCode-site-hacked-tp4680744p4680756.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-

Re: OT : Advice on SQL database design

2014-06-30 Thread Peter Haworth
Hi Alex, Your situation seems to involve a 1-1 relationship between tables which always feels a little strange for the reasons you mentioned. I'd probably eliminate option A for starters. Following classic database design rules, you should probably have a separate table for each armed forces bran

OT : Advice on SQL database design

2014-06-30 Thread Alex Tweedly
I guess there's a meta-question about "what's a good book/source on SQL database design ?" I am trying to design a database. There is one table which contains, let's say, Armed Forces Personnel - each row is a different person - columns include the obvious name, date of birth, ... tha

imageData

2014-06-30 Thread Peter Haworth
Wondering if there's a good reason why the imageData property of an image is not included in its properties? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin

First LC Submission to iTunes

2014-06-30 Thread Vaughn Clement
Hi This is my first submission to iTunes using LiveCode after 1 year of work. I have a few questions: Because so many things have changed with LiveCode in the last several months, would it be better to use iTunes Connect to setup the files for submission to iTunes? Do I need to add anything to

Re: popUp a button with itself on modified mouseDown?

2014-06-30 Thread Michael Doub
create a popup button move it to -100,-100 create your standard visible button with the following script: on mousedown thebutton popup button "x" else beep end if end mousedown Does this do what you want? -= Mike On Jun 30, 2014, at 7:19 PM, Dr. Hawkins wrote: > On Mon,

Re: popUp a button with itself on modified mouseDown?

2014-06-30 Thread Mike Bonner
From your example above, you're having the button try to pop itself up. Thats the only case where you probably don't want to manually "popup button.." The key is to check the conditions, have other popup buttons with your context menus set up, and if the conditions are met, then popup button "what

Re: popUp a button with itself on modified mouseDown?

2014-06-30 Thread Dr. Hawkins
On Mon, Jun 30, 2014 at 4:17 PM, Michael Doub wrote: > Take a look at the button style, menumode and general appearance > properties. I would think that you could dynamicly change the style and > menu mode and general appearance. Just a thought…. Within limits, it does that so far. The code

Re: popUp a button with itself on modified mouseDown?

2014-06-30 Thread Michael Doub
Take a look at the button style, menumode and general appearance properties. I would think that you could dynamicly change the style and menu mode and general appearance. Just a thought…. -= Mike On Jun 30, 2014, at 6:25 PM, Dr. Hawkins wrote: > On Mon, Jun 30, 2014 at 12:02 PM, J. Landma

Re: WebRTC support and Chromium Embedded Framework in LiveCode

2014-06-30 Thread Alejandro Tejada
According to http://html5test.com/ this new Chromium Embedded Framework is identified as Chrome 31 and scores 450 from 555 points. http://forums.livecode.com/viewtopic.php?f=89&t=20501 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/WebRTC-support-and-Chromium-E

Re: popUp a button with itself on modified mouseDown?

2014-06-30 Thread Dr. Hawkins
On Mon, Jun 30, 2014 at 12:02 PM, J. Landman Gay wrote: > I'm confused about what you want to do. But if my guess is right, you want > to change the button's menu content on a mouseDown. > I want the button to normally be a plain old boring standard button. I want to make related functions avai

Re: Embedded LiveCode - site hacked?

2014-06-30 Thread Mark Schonewille
Yes, the site was hacked. Perhaps you need to write to support? -- 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 B

Embedded LiveCode - site hacked?

2014-06-30 Thread David Bovill
Any info on this option http://livecode.com/blog/2012/09/13/embedded-livecode/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/m

Re: [OT] Dropbox modifies uploaded file

2014-06-30 Thread Alejandro Tejada
I found the origin of the problem. Only happens using Google Chrome. When you click a dropbox link to download a pdf file, Google Chrome opens the pdf file in a new window. When you save this pdf (opened in a Google Chrome window) you are not saving the original file, but a new version created by

Re: Launch URL to run Windows program using command line switches

2014-06-30 Thread Magicgate Software - Skip Kimpel
Got it working. Ended up with this to get it working: launch "c:/Program Files (x86)/MyProgram/file.exe /P ""E&"myfile.txt""E On Mon, Jun 30, 2014 at 3:07 PM, Magicgate Software - Skip Kimpel < s...@magicgate.com> wrote: > Hello LC'ers, > > I need to launch a function within my LC application

Re: Learning about server

2014-06-30 Thread Brahmanathswami
Aum Yes, we are very familiar with Invading the Sacred. Western Academia is full of "idiots" who actually pose and are accepted as authorities. Then their Master/PhD students follow up with even more nonsense. Rajiv is doing good work on this front. Our approach is from a different, compleme

Launch URL to run Windows program using command line switches

2014-06-30 Thread Magicgate Software - Skip Kimpel
Hello LC'ers, I need to launch a function within my LC application. How would I properly format a launch URL statement that launches a file with command line options? For instance, what I need to launch is: C:\Program Files (x86)\MyProgram\file.exe /P "myfile.txt" Every way I try to format the

Re: popUp a button with itself on modified mouseDown?

2014-06-30 Thread J. Landman Gay
On 6/30/2014, 10:48 AM, Dr. Hawkins wrote: I'm trying to get a button to normally be a boring old popup, but allow other things to be chosen by it. I'm confused about what you want to do. But if my guess is right, you want to change the button's menu content on a mouseDown. -- Jacqueline Lan

Re: popUp a button with itself on modified mouseDown?

2014-06-30 Thread Paul Hibbert
If your script is in a PopUp Menu button then it's probably just getting confused trying to pop up itself! Maybe try something like this in a PopUp Menu ensuring that the "menuMouseButton" prop is set to "1"… local sModKey on mouseDown --ShiftKey check if the shiftKey is down then

Re: Elegant way to express constant UTF8 string in script?

2014-06-30 Thread Mark Schonewille
Keep in mind that HTML encoded text may not work for some higher-ASCII characters. That's exactly the reason why we have Unicode. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clip

Re: Elegant way to express constant UTF8 string in script?

2014-06-30 Thread Mark Schonewille
Hi Ben, My solution will work in pre-7 and is 100% vanilla LiveCode (no idea why you explicitly mention again that it should be script-only). You'll have to change your script when you move to 7. Obviously, you could write a script for both versions using the do command for the 7-specific part

Re: Elegant way to express constant UTF8 string in script?

2014-06-30 Thread Ben Rubinstein
On 30/06/2014 16:18, J. Landman Gay wrote: This is exactly what I've been dealing with for a week. You need two steps : first check the platform and if it's Windows then run macToISO on the string. After that your existing conversion to UTF8 should work. Aha, good tip, thank you. On refle

WebRTC support and Chromium Embedded Framework in LiveCode

2014-06-30 Thread David Bovill
Anyone tried / no if WebRTC works with the version of Chromium Embedded Framework (CEF) shipping with the newer LiveCode releases? In fact anyone no what version of CEF is included?

Re: Elegant way to express constant UTF8 string in script?

2014-06-30 Thread Ben Rubinstein
On 30/06/2014 16:51, Paul Dupuis wrote: On 6/30/2014 11:17 AM, Peter Haworth wrote: Another approach is to use the htmlText property in conjunction with html entities. Full lists of them are available on the web but apostrophe is ' and the copyright symbol is © Just a caution that LC (dependi

Re: Elegant way to express constant UTF8 string in script?

2014-06-30 Thread Ben Rubinstein
Hi Mark, Thanks for the reply. The problem is a) I want to do this purely in script b) A character directly entered into the script on a Mac comes out different on Windows (i.e. the scripts don't know what character set they're in; they're simply stored with no indication of character set, a

Re: Elegant way to express constant UTF8 string in script?

2014-06-30 Thread Paul Dupuis
On 6/30/2014 11:17 AM, Peter Haworth wrote: > Another approach is to use the htmlText property in conjunction with html > entities. Full lists of them are available on the web but apostrophe is > ' and the copyright symbol is © Just a caution that LC (depending on engine version) does not support

popUp a button with itself on modified mouseDown?

2014-06-30 Thread Dr. Hawkins
I'm trying to get a button to normally be a boring old popup, but allow other things to be chosen by it. The "natural" way would seem to to change it on mousenter if the specified modifier key is down, or if the second button is clicked. I get the change to happen trivially, but if I'm doing it f

Re: Elegant way to express constant UTF8 string in script?

2014-06-30 Thread J. Landman Gay
This is exactly what I've been dealing with for a week. You need two steps : first check the platform and if it's Windows then run macToISO on the string. After that your existing conversion to UTF8 should work. On June 30, 2014 9:38:35 AM CDT, Ben Rubinstein wrote: >I think this problem sho

Re: Elegant way to express constant UTF8 string in script?

2014-06-30 Thread Peter Haworth
On Mon, Jun 30, 2014 at 7:38 AM, Ben Rubinstein wrote: > So... what's the most elegant way to this (is there one)? Is there any > alternative to just looking up the UTF8 encodings and writing: > > put format("This ice cream is \xC2\xA9 Ben and Jerry\xE2\x80\x99s Inc") > into kMyConstantString

Re: Elegant way to express constant UTF8 string in script?

2014-06-30 Thread Mark Schonewille
Hi Ben, The apostrophe doesn't work because you convert to ASCII text that looks different on different platforms. If you don't use unidecode and just set the unicodeText of a field to your Unicode string, it should work. If that's not practical, you could use macToIso() to convert your string

Elegant way to express constant UTF8 string in script?

2014-06-30 Thread Ben Rubinstein
I think this problem should be solved in LC 7 (possibly using normaliseText); but I need a solution that I can ship now (and it's been threatened that LC 7 will 'fix' a 'bug' which isn't, so I'm not sure if I'll ever able to use it). My app processes some data from - and then, re-organised, to

Re: Learning about server

2014-06-30 Thread AndyP
I've just completed a simple web booking demo using the server and javascript. http://2108.co.uk/bookmarkme/ Please note the site is a WIP but the bookmark system is fully working All files are available as a Zip. - Andy Piddock My software never has

Re: Learning about server

2014-06-30 Thread John Craig
That looks like a pretty cool project ;) On 30/06/2014 04:04, RunRevPlanet wrote: Hi, I too love what can be done in LiveCode server. I have been busy working on a Web App development tool based around LiveCode Community Server for the past months. I hope to have the Beta up and running soon.