Re: The 'startup' message not working in IDE

2016-06-08 Thread Mark Wieder
On 06/08/2016 07:40 PM, Jerry Jensen wrote: The dictionary claims that it is legal syntax (in 7 and 8). The example therein shows that handler locals can be declared and assigned values at runtime using a do in a loop. I would never have thought of that! If you're referring to the

Re: The 'startup' message not working in IDE

2016-06-08 Thread Jerry Jensen
The dictionary claims that it is legal syntax (in 7 and 8). The example therein shows that handler locals can be declared and assigned values at runtime using a do in a loop. I would never have thought of that! .Jerry > On Jun 8, 2016, at 7:27 PM, Mark Wieder wrote: >

Re: The 'startup' message not working in IDE

2016-06-08 Thread Mark Wieder
On 06/08/2016 05:50 PM, Dar Scott wrote: I'm curious about this, too. I often assign values for script variables. I'm used to doing that as well in most other environments. Maybe it's just my faulty memory, but I think I remember discussions here about not relying on assigning values to

Re: OT: Once more

2016-06-08 Thread [-hh]
Forgot to mention in case of using DHCP: Newer OS on Mac Desktop enforces me after each WIFI change (on a Raspi) in the local net to = delete the corresponding entries in ~/.ssh/known_hosts = sometimes even empty the file ~/.ssh/known_hosts or any connection that uses internally a line of

Re: The 'startup' message not working in IDE

2016-06-08 Thread Dar Scott
I'm curious about this, too. I often assign values for script variables. > On Jun 8, 2016, at 6:37 PM, Jerry Jensen wrote: > > >> On Jun 8, 2016, at 4:20 PM, Mark Wieder wrote: >> >> I thought assigning values in a variable declaration was discouraged.

Re: The 'startup' message not working in IDE

2016-06-08 Thread Monte Goulding
> On 9 Jun 2016, at 9:20 AM, Mark Wieder wrote: > > 1: yes, but that rather defeats the purpose of having a separate routine > for "startup", doesn't it? Well the original request was for a startup handler to be called on first run of a stack in the IDE so it does

Re: The 'startup' message not working in IDE

2016-06-08 Thread Jerry Jensen
> On Jun 8, 2016, at 4:20 PM, Mark Wieder wrote: > > I thought assigning values in a variable declaration was discouraged. I probably missed that memo, I haven’t been keeping up as much as I should. I’m not in the habit of doing that except with constants, but should I avoid

Re: mergExtSocket stuff?

2016-06-08 Thread Monte Goulding
> On 9 Jun 2016, at 9:17 AM, Jerry Daniels wrote: > > With the engine stuff, do I just write to socket like I would ordinarily? Yes I believe its the same as on desktop. Cheers Monte ___ use-livecode mailing list

Re: The 'startup' message not working in IDE

2016-06-08 Thread Mark Wieder
Monte Goulding writes: > > Or: > > local sFIrstRun = "true" > > on preOpenStack > if the owner of the target is me then > if the environment is "development" and sFIrstRun then > startup > end if > put false into sFIrstRun > end if > end

Re: mergExtSocket stuff?

2016-06-08 Thread Jerry Daniels
Thanks for the quick reply, Monte! And congrats on your new position there at LC. Yeah, I noticed that the button in the Copy Files pane of the standalone settings lit up when I chose iOS. I was thinking of sending datagrams and your stuff seemed more straight-forward. With the engine stuff,

Re: mergExtSocket stuff

2016-06-08 Thread Glen Bojsza
Are mobile sockets in LC 8.0.1? I checked the dictionary there are a lot of mobilexxx but not sockets...is there documentation somewhere else? regards, Glen On Wed, Jun 8, 2016 at 6:23 PM, Monte Goulding wrote: > Hi Jerry > > mergSocket is iOS only (so it won’t function

Re: Change LC Server default output encoding?

2016-06-08 Thread Alex Tweedly
Well, I am no expert on .htaccess, but it does seem to be powerful, so . Instead of simply having ,htaccess use LCS for all htm/html files, can it not rewrite the URL to run a particular LC script, and pass the original URL name as a parameter? Then the LCS script can simply output the

Re: mergExtSocket stuff

2016-06-08 Thread Monte Goulding
Hi Jerry mergSocket is iOS only (so it won’t function in the IDE) and is only really maintained for legacy reasons because the engine now supports mobile sockets so I would recommend just using the engine commands. Cheers Monte > On 9 Jun 2016, at 8:20 AM, Jerry Daniels

mergExtSocket stuff

2016-06-08 Thread Jerry Daniels
Fellow socket addicts, I cannot seem to get a socket to open w mergSocketAcceptConnections. The code with it will not compile. ‘Can’t find handler’ error. Anyone else using and know the trick? Licensing not the issue. Best, Jerry ___ use-livecode

AW: The 'startup' message not working in IDE

2016-06-08 Thread Paul Dupuis
So, yes, I know there are a zillion work around. Boolean flags being the most classic method. I already has such a work-around in place. That said, it seems the consensus - so far - is that 'startup' only executing in the Standalone is a "feature" that people have come to use and expect, so I

Re: The 'startup' message not working in IDE

2016-06-08 Thread Monte Goulding
Or: local sFIrstRun = "true" on preOpenStack if the owner of the target is me then if the environment is "development" and sFIrstRun then startup end if put false into sFIrstRun end if end preOpenStack Sent from my iPhone > On 9 Jun 2016, at 6:40

Re: The 'startup' message not working in IDE

2016-06-08 Thread Mark Wieder
Paul Dupuis writes: > > In LiveCode 6.7.11 and 8.1.0rc1 the startup message is send to your main > stack when the mainstack is built as a standalone. However, if you open > your stack in the IDE, the startup message is never received As mentioned, this is by design, and it's quite a

Re: The 'startup' message not working in IDE

2016-06-08 Thread dunbarx
Paul. This was the way it worked in HC, but is different in LC. Craig Newman -Original Message- From: Monte Goulding To: How to use LiveCode Sent: Wed, Jun 8, 2016 4:16 pm Subject: Re: The 'startup' message not working in IDE Hi

Re: The 'startup' message not working in IDE

2016-06-08 Thread Monte Goulding
One of the issues is lots of people over the years have put code in there they specifically don't want running in the IDE. I should have said standalone or home stack or stack passed go the open source standalone engine on the command line. I wonder if instead it would be feasible to pass a

Re: The 'startup' message not working in IDE

2016-06-08 Thread Graham Samuel
I like the way it works now. I usually have a startup handler in the first card of an app which gets things going, loads libraries etc. When I want to test the app in the IDE, I just execute send "startup" to cd "startcard" of stack "myinitialstack" from the message box. That way the test run

Re: The 'startup' message not working in IDE

2016-06-08 Thread Paul Dupuis
On 6/8/2016 4:14 PM, Monte Goulding wrote: > This is as intended. Startup goes to the first stack the engine runs not > other stacks that are opened. Use preOpenStack for that. Yes, but should the IDE count as the "first stack" opened? I would argue that it should not. The first stack opened

Re: The 'startup' message not working in IDE

2016-06-08 Thread Monte Goulding
Hi Paul This is as intended. Startup goes to the first stack the engine runs not other stacks that are opened. Use preOpenStack for that. Cheers Monte Sent from my iPhone > On 9 Jun 2016, at 6:09 AM, Paul Dupuis wrote: > > In LiveCode 6.7.11 and 8.1.0rc1 the startup

The 'startup' message not working in IDE

2016-06-08 Thread Paul Dupuis
In LiveCode 6.7.11 and 8.1.0rc1 the startup message is send to your main stack when the mainstack is built as a standalone. However, if you open your stack in the IDE, the startup message is never received You can test this by making a new stack with the following script in the stack script: on

Re: Change LC Server default output encoding?

2016-06-08 Thread Richard Gaskin
Mark Waddingham wrote: > On 2016-06-08 19:24, Richard Gaskin wrote: >> Is there a way to specify default output encoding with LC Server? >> Should there be? UTF-8 seems to be the most commonly used by other >> other systems. > > Take a look at the outputTextEncoding and the outputLineEndings >

Re: Change LC Server default output encoding?

2016-06-08 Thread Mark Waddingham
On 2016-06-08 19:24, Richard Gaskin wrote: Is there a way to specify default output encoding with LC Server? Should there be? UTF-8 seems to be the most commonly used by other other systems. Take a look at the outputTextEncoding and the outputLineEndings global properties - these control the

Re: Effective allowed orientation?

2016-06-08 Thread Richard Gaskin
Colin Holgate wrote: >> On Jun 8, 2016, at 1:20 PM, Richard Gaskin wrote: >> >> Colin Holgate wrote: >> >> >> On Jun 8, 2016, at 12:45 PM, Richard Gaskin wrote: >> >> >> >> Android lets us turn off auto-rotate, but it seems the >> >> mobileAllowedOrientations function only returns whatever value

Re: Effective allowed orientation?

2016-06-08 Thread Colin Holgate
It may be debatable. If you have an app that does different things in portrait an landscape, it’s handy if LiveCode ignores the device settings. If you have a landscape-only app that swings around to the upside-down view, then that would be wrong. > On Jun 8, 2016, at 1:20 PM, Richard Gaskin

Re: Change LC Server default output encoding?

2016-06-08 Thread Richard Gaskin
Peter TB Brett wrote: On 08/06/2016 18:15, Richard Gaskin wrote: How can one use UTF-8-encoded files with LC Server and have the encoding preserved? See this thread for background: http://forums.livecode.com/viewtopic.php?f=15=27385 Try putting the string "encoding: utf-8" somewhere in the

Re: Effective allowed orientation?

2016-06-08 Thread Richard Gaskin
Colin Holgate wrote: >> On Jun 8, 2016, at 12:45 PM, Richard Gaskin wrote: >> >> Android lets us turn off auto-rotate, but it seems the >> mobileAllowedOrientations function only returns whatever value > I've set. >> >> How can I determine whether the user has turned off auto-rotate? >> > >

Re: Change LC Server default output encoding?

2016-06-08 Thread Peter TB Brett
On 08/06/2016 18:15, Richard Gaskin wrote: How can one use UTF-8-encoded files with LC Server and have the encoding preserved? See this thread for background: http://forums.livecode.com/viewtopic.php?f=15=27385 Try putting the string "encoding: utf-8" somewhere in the first or second line of

Change LC Server default output encoding?

2016-06-08 Thread Richard Gaskin
How can one use UTF-8-encoded files with LC Server and have the encoding preserved? See this thread for background: http://forums.livecode.com/viewtopic.php?f=15=27385 -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web

Re: Effective allowed orientation?

2016-06-08 Thread Colin Holgate
Mostly guessing here, but turning off auto rotation shouldn’t disable the accelerometer. You ought to be able to deduce if the device is now portrait, and that you haven’t had an orientation message. > On Jun 8, 2016, at 12:45 PM, Richard Gaskin > wrote: > >

Effective allowed orientation?

2016-06-08 Thread Richard Gaskin
Android lets us turn off auto-rotate, but it seems the mobileAllowedOrientations function only returns whatever value I've set. How can I determine whether the user has turned off auto-rotate? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile,

iPad and cellular data

2016-06-08 Thread Ralph DiMola
I have an iPad 4 running an LC app. Settings: Wifi ==> off Cellular ==> on App specific cellular ==> off LC App still has access to network. There should be no network access. This does not happen on an iPhone. On the iPhone there is no network access(as expected). Has anyone else seen this?

Re: OT: Once more

2016-06-08 Thread Mike Bonner
Thank you! On Wed, Jun 8, 2016 at 1:51 AM, [-hh] wrote: > A simple TP-Link TL-WN823N v1 > DRAM, up to 300 MBit > Connectivity 11,54,300 > 802.11B, 802.11G, 802.11n > [was at about 9 Euro] > > See https://wikidevi.com/wiki/TP-LINK_TL-WN823N_v1 > > The older TL-WN725N V1 also

Re: Feature Exchange any one?

2016-06-08 Thread Ali Lloyd
Pull request submitted: https://github.com/livecode/livecode-ide/pull/1224 On Wed, Jun 8, 2016 at 7:35 AM Peter TB Brett wrote: > > > On 08/06/2016 06:33, jameshale wrote: > > Ok it is up. > > > > http://quality.livecode.com/show_bug.cgi?id=17816 > > > > over to your

Re: Uninstalling Livecode

2016-06-08 Thread RM
On 8.06.2016 09:43, Peter TB Brett wrote: On 08/06/2016 06:47, RM wrote: If I dig into the /home/.runrev directory I can manually delete the versions I don't want, but the system still 'sees' those I have deleted, so they show up in the menu system. Is there a way to remove all but the 8

Re: Uninstalling Livecode

2016-06-08 Thread RM
On 8.06.2016 09:43, Peter TB Brett wrote: On 08/06/2016 06:47, RM wrote: If I dig into the /home/.runrev directory I can manually delete the versions I don't want, but the system still 'sees' those I have deleted, so they show up in the menu system. Is there a way to remove all but the 8

Re: OT: Once more

2016-06-08 Thread [-hh]
A simple TP-Link TL-WN823N v1 DRAM, up to 300 MBit Connectivity 11,54,300 802.11B, 802.11G, 802.11n [was at about 9 Euro] See https://wikidevi.com/wiki/TP-LINK_TL-WN823N_v1 The older TL-WN725N V1 also worked V2 had an extra driver (had problems). I use it as a wifi-repeater. Mike B. wrote >> I

AW: LC 8 window resize not possible on W7

2016-06-08 Thread Tiemo Hollmann TB
Has anybody ever seen such a phenomenon? If all other programs on this notebook could also not being resizable, I just would ignore this issue as being an issue of the notebook, but since my LC program is the only one, it must be related to LC. Or not? Tiemo -Ursprüngliche Nachricht-

Re: Uninstalling Livecode

2016-06-08 Thread [-hh]
If you install "for this user": Go to user's directory /home/.runrev/components. Execute in each directory of a version you want to remove the "setup". Some older versions don't work or don't work fully with that. Then delete the directory (the rest and links to it) 'manually'. If you install

Re: Uninstalling Livecode

2016-06-08 Thread Peter TB Brett
On 08/06/2016 06:47, RM wrote: If I dig into the /home/.runrev directory I can manually delete the versions I don't want, but the system still 'sees' those I have deleted, so they show up in the menu system. Is there a way to remove all but the 8 versions I use (3.5, 4.0, 4.5, 6.7.11, 7.14,

Re: Feature Exchange any one?

2016-06-08 Thread Peter TB Brett
On 08/06/2016 06:33, jameshale wrote: Ok it is up. http://quality.livecode.com/show_bug.cgi?id=17816 over to your Ali. Thanks James! I'm sure it'll be very greatly appreciated by everyone who uses datagrids! Peter -- Dr Peter Brett

Re: Feature Exchange any one?

2016-06-08 Thread jameshale
Ok it is up. http://quality.livecode.com/show_bug.cgi?id=17816 over to your Ali. James -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Feature-Exchange-any-one-tp4705390p4705544.html Sent from the Revolution - User mailing list archive at Nabble.com.