Re: OT: Images for Mobile

2016-08-27 Thread J. Landman Gay
On 8/26/2016 4:54 PM, Sannyasin Brahmanathaswami wrote: given these assumptions a) the top and bottom of Landscape images contain no significant elements b) the left and right sides of portrait images contain no significant elements c) we are looking at a crop that goes full screen, d) you

Re: Get the filename of this app

2016-08-27 Thread Roger Guay
Thank you, Phil. That’s exactly what I need! I knew there had to be a way to do this, but who woulda thunk "engine folder” ? > On Aug 27, 2016, at 8:55 PM, Phil Davis wrote: > > set the itemDel to slash > put item 1 to -3 of the engine folder

Re: Get the filename of this app

2016-08-27 Thread Phil Davis
Hi Roger, Maybe this? set the itemDel to slash put item 1 to -3 of the engine folder Phil Davis On 8/27/16 8:43 PM, Roger Guay wrote: No . . . not quite. The result I want is something like "/Applications/LiveCode Indy 8.0.2.app” Any other ideas? On Aug 27, 2016, at 8:19 PM,

Re: Get the filename of this app

2016-08-27 Thread Roger Guay
No . . . not quite. The result I want is something like "/Applications/LiveCode Indy 8.0.2.app” Any other ideas? > On Aug 27, 2016, at 8:19 PM, Scott Rossi wrote: > > Try "the fileName of this stack" > > Regards, > > Scott Rossi > Creative Director > Tactile

Re: Get the filename of this app

2016-08-27 Thread Scott Rossi
Try "the fileName of this stack" Regards, Scott Rossi Creative Director Tactile Media UX/UI Design > On Aug 27, 2016, at 7:31 PM, Roger Guay wrote: > > I want to get the filename of the LiveCode app I happen to be in/running. > “get the filename of this app” obviously does not

RE: Get the filename of this app

2016-08-27 Thread Ralph DiMola
Also "the short name of this stack" and "the name of this stack" will give you various amounts of detail.  Ralph DiMola IT Director Evergreen Information Services Original message From: Roger Guay Date:08/27/2016 22:31 (GMT-05:00) To: How to use LiveCode

RE: Get the filename of this app

2016-08-27 Thread Ralph DiMola
Not near a computer but I think "the long name of this stack" will get what you want.  Ralph DiMola IT Director Evergreen Information Services Original message From: Roger Guay Date:08/27/2016 22:31 (GMT-05:00) To: How to use LiveCode

Get the filename of this app

2016-08-27 Thread Roger Guay
I want to get the filename of the LiveCode app I happen to be in/running. “get the filename of this app” obviously does not work, but surely there must be a way to do this??? Thanks, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Underneath

2016-08-27 Thread Mike Bonner
Made some changes to your stack, link here. https://www.dropbox.com/s/tdz7287r3w75vfw/CRAZY%20LETTERS.livecode?dl=0 Minor changes in the initial tile script, and more in the script of the field fscrip On Sat, Aug 27, 2016 at 2:04 PM, Tore Nilsen wrote: > Have you tried to

Re: Underneath

2016-08-27 Thread Tore Nilsen
Have you tried to set the behavior of these tiles to the script of an invisible button, where you reference the object itself with me? Tore > 27. aug. 2016 kl. 21.52 skrev Richmond : > > Thanks to everybody for all sorts of suggestions: I tried all of them, but

Re: Underneath

2016-08-27 Thread Richmond
Thanks to everybody for all sorts of suggestions: I tried all of them, but was unable to get any of them to work. Here is the finished job: http://forums.livecode.com/viewtopic.php?f=7=27837=145851#p145851 Richmond. ___ use-livecode mailing list

Re: Underneath

2016-08-27 Thread Richmond
The problem, and it is a problem, is that I have a set of alphabet tiles called names such as "A.png", "B.png" and "C.png" [trying to be original here] and they all contain this script: on mouseDown put the short name of me into IMENA delete the last char of IMENA delete the last

Re: Underneath

2016-08-27 Thread Randy Hengst
Well, assuming you are following the same sort of naming procedure for all tiles and grid names… then what about on mouseDown grab me end mouseDown local tShortNameOfTarget on mouseUp put the short name of target into tShortNameOfTarget repeat with x = 1 to the number of controls

Re: Underneath

2016-08-27 Thread Richmond
Well, let's contextualise that: It works in my example stack #3: http://forums.livecode.com/viewtopic.php?f=7=27837=145849#p145849 but NOT in my stack with multiple targets. Richmond. On 27.08.2016 17:29, Richmond wrote: That works! Thank you. R. On 27.08.2016 16:24, Randy Hengst wrote:

Re: Underneath

2016-08-27 Thread Richmond
That works! Thank you. R. On 27.08.2016 16:24, Randy Hengst wrote: Try this in the image “P” script on mouseUp repeat with x = 1 to the number of controls if the loc of target is within the rect of control x then if ("P" is in the short name of control x) AND (the ID of

Re: Underneath

2016-08-27 Thread Randy Hengst
Try this in the image “P” script on mouseUp repeat with x = 1 to the number of controls if the loc of target is within the rect of control x then if ("P" is in the short name of control x) AND (the ID of the target is not the ID of control x) then set the loc of

Re: Suicide

2016-08-27 Thread Richmond
Thanks for the suggestions everyone; not quite as simple as that: on mouseUp put the short id of this card into KARD put the name of this stack into STAQ put the long id of me into DIMENA send ("delete DIMENA") to card id KARD of stack STAQ in 0 ticks end mouseUp that

Re: Suicide

2016-08-27 Thread Mark Schonewille
Don't use "to me" but use the card or the stack that contains the control to be deleted. -- 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://clipboardlink.economy-x-talk.com Op 27

Re: Suicide

2016-08-27 Thread panagiotis merakos
What is the use case, Richmond? If you want to delete any object on a card by just clicking on it, you can put this on the card script: on mouseup delete the mousecontrol end mouseup and make sure that the objects you want to delete do not have a mouseup handler. On Sat, Aug 27, 2016 at 2:55

Re: Suicide

2016-08-27 Thread Paul Dupuis
On 8/27/2016 7:27 AM, Richmond wrote: > on mouseUp >delete me > end mouseUp The engine can not delete an object whose script is currently executing. This has been a long know issue in LiveCode, but I am not sure it has been documented In the Dictionary for "Delete" there is a warning:

Suicide

2016-08-27 Thread Richmond
How can one do what I want to do with this script (which does not work)? on mouseUp delete me end mouseUp and does that constitute suicide, assisted suicide or euthanasia? Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Missing a chance

2016-08-27 Thread Richmond
Very well thought out. On 27.08.2016 02:23, Bob Sneidar wrote: As I have mentioned before in such threads, large companies need to consider a number of factors when working with custom software solutions, not the least of which is being able to find another developer who can code in the same

Re: Very OT - Bad pun

2016-08-27 Thread Richmond
No it isn't . . . but it might be used on a Welsh Rarebit . . . especially by Bertie Wooster. R. On 27.08.2016 02:25, Bob Sneidar wrote: Isn't that a steak sauce? Bob S On Aug 25, 2016, at 08:28 , David V Glasgow > wrote: I use to live in

Re: Underneath

2016-08-27 Thread Richmond
I'm obviously getting something rather wrong, so I have uploaded something here as explaining things without a sample stack and a pretty picture is well-nigh impossible: http://forums.livecode.com/viewtopic.php?f=7=27837 Richmond. On 27.08.2016 00:59, Jeanne A. E. DeVoto wrote: At 12:27 AM