Re: launch & quit

2019-10-13 Thread Robert Brenstein via use-livecode
I’d guess that quit command triggers some closeXxxx handlers to run 
and one causes the delay. The duration of delay sounds a bit like 
network timeout. Have you tried to switch off messages before quit?


On Oct 12, 2019, at 13:28, Paul Dupuis via use-livecode 
 wrote:


I have a stand alone with a card with a button with a mouseUp handler

on mouseUp

  -- some stuff

  -- tApplication variable contains a path to another standalone for 
OSX or Window depending upon what platform() this standalon is running 
on


  launch tApplication
  put the result into tError
  if tError is not empty then
answer error tErrormEssage
  end if
  quit
end mouseUp

On Windows, the designated application launches promptly and my app 
quits immediately.


On OSX, the designated application launches promptly and my app waits 
way too long (a minute or two) before quitting.


Standalone built for OSX and Windows on Windows under LC905

Anyone have any experience like this? Any ideas on what to do to get 
the OSX version to quit when told to quit?

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ANN: Script Editor Refactoring Support

2019-03-21 Thread Robert Brenstein via use-livecode

Wow! Which versions of LiveCode is this baby compatible with?

On 20 Mar 2019, at 18:45, Mark Wieder via use-livecode wrote:


Announcing (60 days until the San Jose conference):

Script Editor Refactor Plugin
Brings refactoring support to the LiveCode Script Editor.
Place the plugin into your user Plugins folder.
After launching the script editor there will be a new Refactoring 
menuItem in the Edit menu.
The Refactoring menuItem will also appear in the contextual menu 
of the Script Editor.
The Refactoring menu is inspired by the JetBrains refactoring 
support in RubyMine, etc.



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Anyone have an open source or else a gratis stop watch app

2018-04-16 Thread Robert Brenstein via use-livecode
You probably can just modify the analog clock project that was 
produced/discussed on this list a while ago…


On 14 Apr 2018, at 4:37, Mark Rauterkus via use-livecode wrote:


Hi,

A swim coach friend was talking about a stopwatch app. Anyone have one 
in

LIVECODE already done?

Wondering.

Mark Rauterkus

--

--
Ta.


Mark Rauterkus   m...@rauterkus.com
Executive Director of SKWIM USA, a 501(c)(3)
PPS Summer Dreamers' Swim & Water Polo Camp Executive Coach
Middle School Swim Coach at The Ellis School
Former Varsity Boys Swim Coach, Pittsburgh Obama Academy
Recent Head Water Polo Coach, Carnegie Mellon University Women's Club 
Team

Pittsburgh Combined Water Polo Team

http://CLOH.org 

412 298 3432 = cell
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Livecode Content Management System

2017-12-01 Thread Robert Brenstein via use-livecode
I have been using LC to generate complete websites but I use LC only as 
a generator of HTML pages from data files and database content, using 
CSS for theming and HTML hierarchical template files that call LC 
functions through merge. I believe that Richard Gaskin is still selling 
a commercial product that does this in a more generic way.


I have been thinking for a while to convert my setup into a more proper 
CMS but gave up at the planning stage once I realized how much effort 
that is. I also started playing with revIgniter and am really impressed 
with what it offers, but I came to a similar conclusion like you.


I actually had a real CMS developed in MetaCard years ago. It was 
developed as a special-purpose product for a client and not a generic 
CMS. It broke because at the time I did not use proper modularizing and 
abstraction layers and keeping it compatible with the database engine 
became impossible at some point.


BTW, wasn’t there a commercial CMS produced in LC (or whatever it was 
called at the time)? I think its name was Hemingway or sth like that.


Robert

On 1 Dec 2017, at 2:56, Alex Tweedly via use-livecode wrote:


Hi folks,

I'm looking for (initial) interest, previous experience, comments, 
etc.


Every few [ = 4 to 8] months for the last few [= 2 to 3] years, I've 
been either building a new website for someone, or making significant 
changes/enhancements to an existing one. Almost every time, unless the 
changes are very small, I've decided that I really *should* convert it 
to use a 'proper' CMS - e.g. Wordpress.


And I've tried - but every time I've foundered on not being able to 
get the site to be what I want, or realizing (believing?) that to do 
what I want requires real development skills within WP - and therefore 
too much of a learning curve and/or too much PHP.  Or, I've decided 
that to make it a bearable experience I need to use multiple add-ons 
(plugins, themes, etc.) and then found that the plugins I spent hours 
investigating and choosing were incompatible. Or were just not well 
enough documented.


[ I won't tell you how often I've found a (video) tutorial, wasted an 
entire hour or more watching it - then realized that it was for an 
out-of-date version of the plugin, or an old version of Wordpress, and 
that all the helpful screenshots showed me how to modify settings / 
actions that didn't exist, or had no obvious equivalent, in the 
current versions. ]


Twice, having run into brick walls with Wordpress, I've tried other 
CMSs (Concrete5 and ??Dolphin??) with similar results - poor / 
out-of-date docs have left me stranded - 80% of the way towards doing 
what I wanted and unable to get any further.


So in every case until now, I've given up, made tweaks / extensions to 
my own "home-grown" web site tool(s), and - so far - completed my 
enhancements in less time than I had wasted trying the "real" CMS.


I put that down to:
 - the power of Livecode
 - the power of revIgniter  (thank you ! again, Ralf)
 - my impatience in trying to learn new tools

But now I have a new, bigger opportunity / challenge - I've been asked 
to build a web site (actually two unrelated web sites) which are 
bigger and more complex, and for which I absolutely do not want to 
become the de facto on-going (content) maintainer.


So, I've decided to build LCMS - a Livecode Content Management System.

It will be (very loosely) based on what I think are the useful ideas 
in Wordpress (but without any tendency towards blogs). It will be 
relatively simple.


It won't be:
 - smooth, slick and all-powerful like WP
 - able to support (initially, and for some time) real independent 
development of themes, plugins, auto-loading and updating, etc. etc. 
(yada, yada, yada ...) - that might be done in a few [= 2 to 20 years]


It will be :
 - based on Livecode (and extensible in LC)
 - (I hope) simple and easy (for a LC developer) to understand, use 
and extend

 - complete with at least one complete theme (based on Botstrap)
 - (at some point) open source, on github, etc. under MIT liceense
 - documented in some old-fashioned way (i.e. written, searchable, 
skimmable tutorials - few or no Youtube videos to waste your time)


OK - enough of the advertising pitch :-)

Here are the requests for input 

1.  has anyone tried this before ? and did you succeed ?  or why did 
you stop ? any foreseeable problems to contend with ?


2. am I just tilting at windmills and I should just go back to 
studying WP and its plugins ?


3. the current prototype is based on (or rather 'is written over' 
revIgniter).


I have very conflicting opinions of revIgniter
    + it's wonderful, it has a huge quantity of things it "just 
does" (in a well documented, well tested, etc. way)  so that I don't 
need to think or learn about them, etc. - I love it.
    - (a) it is intimately tied to LC server, with heavy dependency 
on 'include' so it's impossible to (as I would want to do) test 99% of 
my code in the IDE, 

Re: Autocomplete toggle?

2017-09-27 Thread Robert Brenstein via use-livecode

On 27 Sep 2017, at 7:16, J. Landman Gay via use-livecode wrote:

What this sounds like (at least I think it sounds like) is an 
autocomplete placeholder got messed up somehow causing typing in one 
place to also add the text elsewhere. If that’s the case then 
turning autocomplete off once it’s messed up won’t really help. 
There’s been a bit of movement in this code since DP 2 so it may be 
that your issue is fixed already. If you see it again do you think 
you could take some screen recording of it and send to me?



I'd need to find some screen recording software. Preferably free, if 
you know of anything.


Quicktime Player can do it. Nothing fancy but is free. I’ve been using 
it regularly to record screen activity for troubleshooting. Make sure to 
check recording the mouse clicks, otherwise it is often hard to see what 
you ate doing.


Robert
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: livecode changes image colors without being asked to do it

2017-09-06 Thread Robert Brenstein via use-livecode
Thanks Sean. I finally had time to check your file and indeed it 
displays correctly in 8.1.6.


It still displays wrong in 7.1.3, but it displays differently than the 
file without profile, so this must be the profile issue that was fixed 
in 8.1.3.


In other words, my problem is with the way jpeg file were generated. It 
would be nice if LC handled such files like Preview does or at least 
returned a warning that profile is missing.


Robert

On 1 Sep 2017, at 2:34, Sean Cole (Pi) via use-livecode wrote:


Hi Robert

I have looked at this and it is reacting this way because a correct
CMYK colorspace profile has not been embedded into the jpeg file.
LiveCode, therefore, has no idea how to interpret the colors and
handles them in an almost raw state oversaturating them. Adding the
closest profile to its natural state helps, in this instance, US Web
Coated (SWOP) v2.

I've attached another source jpg to test with which has this embedded 
profile.


http://quality.livecode.com/show_bug.cgi?id=20316


Sean Cole
*Pi Digital Productions Ltd*

'Don't try to think outside the box. Just remember the truth: There is 
no

box!'
'For then you realise it is not the box you are trying to look outside 
of,

but it is yourself!'

eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 1 September 2017 at 00:11, Robert Brenstein via use-livecode <
use-livecode@lists.runrev.com> wrote:


I just tested this in LC 8.1.6 and it shows the same problem as 
7.1.3. I
filed a bug report for the team to check into this, including the 
files.

Bug 20316.

Robert


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: livecode changes image colors without being asked to do it

2017-08-31 Thread Robert Brenstein via use-livecode
I just tested this in LC 8.1.6 and it shows the same problem as 7.1.3. I 
filed a bug report for the team to check into this, including the files. 
Bug 20316.


Robert

On 31 Aug 2017, at 18:25, Mark Waddingham via use-livecode wrote:


On 2017-08-31 18:22, Robert Brenstein via use-livecode wrote:

As Panos wrote: CMYK images should display correctly if you are using
LC >=8.1.3:
I am using 7.1.3. This is what I meant that this was a known problem.
I just fetched 8.1.6 to check but I won’t habe time to do it until 
next week.


Oops - I missed that email of Panos's - I thought something like this 
sounded familiar.


Anyway, keep us posted on how you get on - hopefully that fix will 
solve the problem for you.


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: livecode changes image colors without being asked to do it

2017-08-31 Thread Robert Brenstein via use-livecode
As Panos wrote: CMYK images should display correctly if you are using LC 
>=8.1.3:

I am using 7.1.3. This is what I meant that this was a known problem.
I just fetched 8.1.6 to check but I won’t habe time to do it until 
next week.


Robert

On 31 Aug 2017, at 17:55, Mark Waddingham via use-livecode wrote:

That's why I was intrigued - I inferred that your fix was to use an 
sRGB profile in the JPEGs rather than CMYK.


However, there still sounds like an issue somewhere - the engine 
should cope with CMYK, so assuming there is a profile in the JPEG for 
CMYK it should display similar to Preview. I know CMYK JPEGs are a bit 
gnarly so having an example which doesn't work quite right might help 
them work a little better and more consistent generally.


Of course, I could have misunderstood entirely!

Warmest Regards,

Mark.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: livecode changes image colors without being asked to do it

2017-08-31 Thread Robert Brenstein via use-livecode
Mark, if you follow the thread, you will find that I hit a known problem 
and it was remedied in a newer version of LC8. The comment/tip from 
Keith is quite useful since the files I produce are printed by different 
print shops in different countries. The shop I use locally accepts files 
with sRGB but warns that color might be slightly off due to conversion 
to CMYK.


RObert

On 31 Aug 2017, at 17:07, Mark Waddingham via use-livecode wrote:


Hi Robert,

Are you able to file a bug with the offending image?

The engine does handle colour profiles in many cases so there may be 
an issue with that kind of profile (if the image has one).


Of course, if the image does not have a profile then it might the 
engine isn't using an appropriate default.


Warmest Regards,

Mark.

Sent from my iPhone

On 30 Aug 2017, at 13:54, Robert Brenstein via use-livecode 
<use-livecode@lists.runrev.com> wrote:


I have a stack that dynamically sets the image that is displayed on a 
card using


   set the filename of img vImageName of stack vStackName to 
vFilePath


I just encountered a problem with a new batch of jpeg files. Their 
colors change when they are displayed in the stack. I mean that when 
I open them in Preview, the color saturation and hue are different 
than when viewing the same pic in a stack.


Anything I can do to avoid that or anything I can tell the graphics 
person to do differently when producing those files in AI?


RObert
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: livecode changes image colors without being asked to do it

2017-08-30 Thread Robert Brenstein via use-livecode

LC 7.1.3

It sounds like I must venture into LC8-land or see whether I manage to 
get by with sRGB yet…


RObert

On 30 Aug 2017, at 16:07, panagiotis merakos via use-livecode wrote:


@Robert which LiveCode version are you using?

CMYK images should display correctly if you are using LC >=8.1.3:

https://github.com/livecode/livecode/pull/4950

Best,
Panos
--

On Wed, Aug 30, 2017 at 3:03 PM, Sean Cole (Pi) via use-livecode <
use-livecode@lists.runrev.com> wrote:


Hi Robert,

This is likely down to the colour space the images are embedded with.
Preview will respect the colour space whereas LC will not in some 
cases.
Make sure the jpg is saved with the sRGB (IEC61966-2.1) profile to 
maintain

the correct colour. And make sure it's not CMYK.

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There 
is no

box!'
'For then you realise it is not the box you are trying to look 
outside of,

but it is yourself!'

eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 30 August 2017 at 14:03, Mike Bonner via use-livecode <
use-livecode@lists.runrev.com> wrote:

Not sure if it will make a difference, but you might want to-- set 
the

resizequality of the img "imagename"  to "best"

On Wed, Aug 30, 2017 at 6:54 AM, Robert Brenstein via use-livecode <
use-livecode@lists.runrev.com> wrote:

I have a stack that dynamically sets the image that is displayed on 
a

card

using

set the filename of img vImageName of stack vStackName to

vFilePath


I just encountered a problem with a new batch of jpeg files. Their

colors
change when they are displayed in the stack. I mean that when I 
open

them

in Preview, the color saturation and hue are different than when

viewing

the same pic in a stack.

Anything I can do to avoid that or anything I can tell the graphics

person

to do differently when producing those files in AI?

RObert
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: livecode changes image colors without being asked to do it

2017-08-30 Thread Robert Brenstein via use-livecode
Thanks for pointing me in the right direction. The images are indeed 
CMYK. The stack is used to produce a PDF file and the printing shop 
requested CMYK. I just checked that last year we had indeed used sRGB 
not CMYK.


RObert

On 30 Aug 2017, at 16:03, Sean Cole (Pi) via use-livecode wrote:


Hi Robert,

This is likely down to the colour space the images are embedded with.
Preview will respect the colour space whereas LC will not in some 
cases.
Make sure the jpg is saved with the sRGB (IEC61966-2.1) profile to 
maintain

the correct colour. And make sure it's not CMYK.

Sean Cole
*Pi Digital Productions Ltd*
www.pidigital.co.uk
+44(1634)402193
+44(7702)116447
'Don't try to think outside the box. Just remember the truth: There is 
no

box!'
'For then you realise it is not the box you are trying to look outside 
of,

but it is yourself!'

eMail Ts & Cs <http://pidigital.co.uk/emailTCs.rtf>   Pi Digital
Productions Ltd is a UK registered limited company, no. 5255609

On 30 August 2017 at 14:03, Mike Bonner via use-livecode <
use-livecode@lists.runrev.com> wrote:

Not sure if it will make a difference, but you might want to-- set 
the

resizequality of the img "imagename"  to "best"

On Wed, Aug 30, 2017 at 6:54 AM, Robert Brenstein via use-livecode <
use-livecode@lists.runrev.com> wrote:

I have a stack that dynamically sets the image that is displayed on 
a

card

using

set the filename of img vImageName of stack vStackName to

vFilePath


I just encountered a problem with a new batch of jpeg files. Their 
colors
change when they are displayed in the stack. I mean that when I open 
them
in Preview, the color saturation and hue are different than when 
viewing

the same pic in a stack.

Anything I can do to avoid that or anything I can tell the graphics

person

to do differently when producing those files in AI?

RObert
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: livecode changes image colors without being asked to do it

2017-08-30 Thread Robert Brenstein via use-livecode

resizequality is set to best…

On 30 Aug 2017, at 15:03, Mike Bonner via use-livecode wrote:


Not sure if it will make a difference, but you might want to-- set the
resizequality of the img "imagename"  to "best"

On Wed, Aug 30, 2017 at 6:54 AM, Robert Brenstein via use-livecode <
use-livecode@lists.runrev.com> wrote:

I have a stack that dynamically sets the image that is displayed on a 
card

using

set the filename of img vImageName of stack vStackName to 
vFilePath


I just encountered a problem with a new batch of jpeg files. Their 
colors
change when they are displayed in the stack. I mean that when I open 
them
in Preview, the color saturation and hue are different than when 
viewing

the same pic in a stack.

Anything I can do to avoid that or anything I can tell the graphics 
person

to do differently when producing those files in AI?

RObert
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

livecode changes image colors without being asked to do it

2017-08-30 Thread Robert Brenstein via use-livecode
I have a stack that dynamically sets the image that is displayed on a 
card using


set the filename of img vImageName of stack vStackName to vFilePath

I just encountered a problem with a new batch of jpeg files. Their 
colors change when they are displayed in the stack. I mean that when I 
open them in Preview, the color saturation and hue are different than 
when viewing the same pic in a stack.


Anything I can do to avoid that or anything I can tell the graphics 
person to do differently when producing those files in AI?


RObert
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ListMagic still available?

2017-06-24 Thread Robert Brenstein via use-livecode
I managed to get in touch with Eric’s son at the time and offered to 
support and develop it further, but nothing came out of it, so consider 
ListMagic a history.


On 24 Jun 2017, at 1:50, Bob Sneidar via use-livecode wrote:

Thanks Matthias. I was hoping someone picked it up. It really is a 
nice piece of work. I will research to see if Jim is still able to be 
contacted.


Bob S


On Jun 23, 2017, at 16:26 , Matthias Rebbe via use-livecode 
 wrote:


Eric Chatonet, the author of ListMagic, passed away in January 2009. 
Jim Bufalini, a business partner of Eric, if i remember right, sold 
and supported the product for some time to support Eric´s family.


But i am afraid it is not sold anymore. The last post of Jim Bufalini 
to this list was 2010.


Matthias


Matthias Rebbe
+49 5741 31
‌matthiasrebbe.eu ‌


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Regex help...

2017-06-07 Thread Robert Brenstein via use-livecode
If the number of comma-delimited and tab-delimited elements is always 
the same, I would replace all commas with tabs and then filter to have 
item x having value of y.


Robert

On 5 Jun 2017, at 15:23, Paul Dupuis via use-livecode wrote:


Thank you Thierry and everyone else.

I should have realized that I couldn't do this entirely with regex due
to the need to compare the number values. It was a long day yesterday
and my brain just wasn't in full gear.

-- Paul

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: any secrets printing only a section from a card?

2017-04-11 Thread Robert Brenstein via use-livecode
This might be an older issue. I have been struggling with that myself, 
in context of producing PDFs, in version 7. Only printing the full card 
works reliably. Any other option produces a different output but not the 
desired one, at least not reliably.


On 10 Apr 2017, at 12:06, Tiemo Hollmann TB via use-livecode wrote:


Hello,

LC 8.1.4, Win 10. (Same with LC 6-9) When printing a whole card with 
just
"print card" everything of the card is being printed fine, only 
stretched to

the papersize.

But when trying to print only a part of the  card by "print card from
myLeftTop to myRightBottom into page Rect" I never get the wanted 
rectangle
being printed into the pageRect. It is always clipped somewhere and 
only a
small part of the wanted rectangle is being printed. I have also tried 
to
set the printpapersize and printmargins and fiddled around with 
different

rectangle sizes, but didn't got the wanted section.

Are there any secret conversion factors, when printing "from to"?

Thanks for any hint

Tiemo


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Serving Videos with LC/iRev

2016-11-28 Thread Robert Brenstein

On 27.11.2016 at 10:37 Uhr -0500 Rick Harrison apparently wrote:

So the next good place to publish the eBook would be
to Amazon.com .  Unfortunately, they want their books
to use the .mobi format.  That format does not allow
embedded content such as videos etc.  You have only
one way to share enhanced content and that's by
giving out a URL link to one's web content.  That
URL is a fixed link in the book once it's published,
and will always go to the same place.


Sounds like the LC/iRev script will not solve your problem either. 
Even if your server obfuscates the real URL, people can simply pass 
the link published in the ebook. It seems to me that the real issue 
for you is how to uniquely and reliably identify users who are 
authorized to see your video. I venture that you need to somehow tap 
into the unique identification attached to each online purchase.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: System date

2016-09-07 Thread Robert Brenstein
The problem might be that changing the language does not always 
change the date formats. These are separate settings under OSX.


On 7.09.2016 08:20, Terry Judd wrote:
Hi Antti - I just tried changing my Mac's default language to 
Finnish (Suomi) then restarted it, opened Livecode (several versions 
up to 8.0.2) and typed "put the long system date" into the message 
box. All returned an English style date (Wednesday, 7 September 
2016) even though the date in the menubar clock was in Finnish. So, 
it's not just you.


Best regards,

Terry...



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] Want to help build a new HyperCard

2016-05-19 Thread Robert Brenstein
There was actually a Hypercard-like front-end being built in Metacard 
at some point and was actually quite advanced as I recall. If I am 
not mistaken it was made open-source.


RObert

On 19.05.2016 at 16:07 Uhr +0300 Richmond apparently wrote:

That has already been discussed over in the forums.

They should not be worrying about building a new Hypercard;
they should just work out how to do a sort of Metacard" front-end 
for Livecode.


Mind you, the kids I teach Livecode to don't seem to have problems
with the LC 7.0 interface.

Richmond.



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Script Only Stack Architecture

2016-03-31 Thread Robert Brenstein

Thanks, Richard, that is a very, very nice intro to behaviors!


On 31.03.2016 at 9:52 Uhr -0700 Richard Gaskin apparently wrote:


Behaviors are very powerful for all sorts of things, whether you 
work alone or in a team of twenty.


The biggest benefit for teamwork comes from the very separate 
question of whether to use script-only stacks to define behaviors. 
Script-only stacks are an ideal solution for Github-based workflows, 
but have minimal value (some, but not as much) for anyone not 
dependent on a version control system designed for other languages.


Ditch script-only stacks for now and continue to explore behaviors. 
You'll thank me.  You'll want to buy me lunch next time I'm in Santa 
Barbara.  I'll accept.  Behaviors will change everything, very 
powerfully, the more you explore and use them.




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


7.1.3 installer failure

2016-03-30 Thread Robert Brenstein
When using 7.1.2, I am getting a prompt to upgrade to 7.1.3. Fine, do 
it, I say. The download completes, then I get error that the image 
failed to mount (this is OSX). When I click retry, apparently wrong 
image is mounted since I get an offer to install 7.1.2 not 7.1.3. If 
I say to proceed, 7.1.2 gets installed for all users without asking 
me where to install.


Has anyone else observed this?

RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


B2 Cloud Storage

2015-12-16 Thread Robert Brenstein

Has anyone already looked into using BackBlaze's cloud storage from LiveCode?

https://www.backblaze.com/b2/docs/

RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Script Indenting?

2015-12-15 Thread Robert Brenstein

On 15.12.2015 at 12:46 Uhr -0800 Dr. Hawkins apparently wrote:


It's still an issue . . . it takes a few seconds on my very long scripts.



Maybe tab should indent only a single handler and option-tab indent 
the entire script.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] Text-file DBs

2015-11-05 Thread Robert Brenstein
I wish I could come. I am tasked to build exactly such a thing for 
the department. Do you have any files that you can share?


RObert

On 02.11.2015 at 21:02 Uhr -0800 Paul Looney apparently wrote:
This coming Thursday evening, Nov. 5th, I will doing a presentation 
on Text-file Databases at the So. Cal. LUG meeting. If you have 
wondered whether there is some data processing option between the 
limits of card-file databases and complexity of SQL RDBMS, come and 
find out. I will show how to build a multi-user, client/server 
database management system - entirely in LiveCode.


The monthly meeting 
 is held at 
Dupar's in Pasadena. The food is good and the gang is great.


Paul Looney


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Char Set on Custom Properties

2015-09-04 Thread Robert Brenstein
Not an ellegant approach but have you considered having a custom 
property in your stacks that identify them for you. It sounds like 
you are in control when those stacks are created and updated, so it 
might work.


RObert

On 04.09.2015 at 13:38 Uhr -0500 J. Landman Gay apparently wrote:
Barring that, I thought of reading a sequence of bytes from the 
stack file, but I can't because these stacks are streamed remotely 
and have no filename. I don't believe there's way to read the raw 
binary content of a stack in RAM, so I'm kind of stuck.


Is there some kind of scripted test that might determine the 
stackfileVersion of any particular stack in RAM?


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode and SQLite performace

2015-07-24 Thread Robert Brenstein

A rule of thumb for Mac is 10% of drive being free...

I find iStat Menus a useful tool for continuous monitoring of vital 
parameters (just a happy user).


RObert


On 23.07.2015 at 15:37 Uhr -0700 JB apparently wrote:

If I remember correctly Bob Sneidar said that a
you need at least 1/2 of your hard drive as free
space to run efficiently.  So if you have a drive
with 500 GB you need 250 GB or more free
space on the drive.  Anything below that and
it normal operations like opening files will be
slower.  I have used more space than 1/2 and
the more I use the slower it gets.  Sometimes
you can speed things up a little by relaunching
the Finder.  That can be done using the Force
Quit option.  If it speeds things up it will only be
a temporary fix.

John Balgenorth


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Underscore uncomment bug in OSX

2015-07-23 Thread Robert Brenstein

On 22.07.2015 at 17:55 Uhr -0700 Jerry Jensen apparently wrote:

Thanks for the suggestion, Robert.

Yep - two different wired Apple keyboards (with and without numeric 
keypad) plugged directly into the MacBookPro or into a Thunderblt 
monitor. Also checked the System Preferences Keyboard pane - no joy. 
This also happened with some former MacBookPros. When I have a 
chance, I'll configure a virgin minimal system to try.

.Jerry


Is that an American keyboard? On some national keyboard layouts, one 
has to press the shift key to produce the underscore itself.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Underscore uncomment bug in OSX

2015-07-22 Thread Robert Brenstein

On 22.07.2015 at 16:56 Uhr -0700 Jerry Jensen apparently wrote:


Thanks Mark, Peter, Colin and Bernd. Very mysterious! I'll try it on 
a few other computers at work when I get back there tomorrow.

.Jerry



Have you checked whether the behavior is keyboard related by chance?

RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Before and after Livecode

2015-07-18 Thread Robert Brenstein

On 18.07.2015 at 20:28 Uhr +0100 David Bovill apparently wrote:


Now with before / after handlers - no logging code in the server - it's so
clean and simple it is gorgeous. When I want logging I add the behavior
which includes all the efore / after handlers that havve acess to all the
data and just do the logging. When I don;t want them I remove the behavior.
Nice.


Indeed. I wonder whether before/after could be used to populate 
popup/pulldown lists in buttons dynamically (upon mouse click) or 
store field selection before it looses focus.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Livecode = SQL?

2015-05-19 Thread Robert Brenstein

On 18.05.2015 at 21:11 Uhr -0600 Mike Bonner apparently wrote:

With lc server, to do the resident thing, session control should work,
storing current data to the session variables which can then be used in
further calls (server side)  This way you don't have to send the same
repeating data to the server every time, you can pull what you need from
the local server session and use it in your .lc scripts.

If I'm completely misunderstanding what you wish to do, of course ignore
this.


Session-specific data is not an issue. The concern is not sending the 
data to the server. That comes in small chunks only. The concern is 
the data that the server needs to display the pages for users. That 
data transcends the sessions, meaning that it is the same for all 
users, although different users use different subsets of that data.


In my current setup, I fetch that data into global arrays when 
loading the program. By keeping that data resident, I reduce the 
number of calls to the database by half and in some cases up to 75%. 
That setup is quite old, however, and I want to upgrade it. Maybe 
calls to the database are not as expensive on newer systems and 
nothing to worry about.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Livecode = SQL?

2015-05-18 Thread Robert Brenstein

On 18.05.2015 at 0:57 Uhr +0200 Pierre Sahores apparently wrote:


Why don't you access it in localhost mode only (via lc server + 
script/stack lib). I do this all the time to store incoming HTTPS 
POST data. It's, as long as i know, the most reliable way to go in 
about server's security task.




Pierre, are you planning to update your 
http://www.sahores-conseil.com/insead/index_en.html

pages for the current products? Or do they still work?

RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Livecode = SQL?

2015-05-18 Thread Robert Brenstein

On 18.05.2015 at 16:03 Uhr +0200 Pierre Sahores apparently wrote:

Hi Robert,

Still works but purely outdated. It was before 
LC-Server came out and i warmly recommend to use 
it instead of my old fashion « PHP listener + 
Metacard/Rev stacks » way to go.


Best,

Pierre


I haven't got into the LC-Server game yet, but it 
seems to be that the server stacks are not 
staying resident. My application will require lot 
of pre-loading of various stuff (from a db as 
well as disk files) that stays the same for all 
user calls. Are you saying that this is of no 
concern anymore?


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Need Help With FTP

2015-04-24 Thread Robert Brenstein

On 24.04.2015 at 8:43 Uhr -0400 Gregory Lypny apparently wrote:

Hi Phil,

Thanks for the detailed handler! I'll give it a whirl. Blocking is 
not really the problem for me; it's the session timeouts or dropped 
connection when downloading many files in a loop. I think the public 
server does not like repeated calls with the same connection, but I 
do not know how to make a new connection for, say, every 100 
downloads.


Gregory



May be if you make a pause between successive downloads, the host 
won't mind so much. They probably don't like robotic pulls of large 
volumes.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: MasterLibrary Naming

2015-03-09 Thread Robert Brenstein
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


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Fwd: Quantum tunneling in LiveCode

2015-03-05 Thread Robert Brenstein

On 03.03.2015 at 7:31 Uhr -0500 stgoldb...@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

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] Wireless internet in my flat.

2015-02-25 Thread Robert Brenstein

On 25.02.2015 at 18:25 Uhr +0200 Richmond apparently wrote:

I have a wired+wireless router connected to my cable modem in my flat.

Would be glad for any pointers as to why.

Richmond.


Presumably you checked that there are enough wireless addresses 
active to support all your devices.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: 7.0 Issues

2015-02-20 Thread Robert Brenstein

On 20.02.2015 at 0:09 Uhr + Peter Haworth apparently wrote:


Done have any more time to waste on this so back to good old reliable 6.6.



Wouldn't it be simpler to just create a separate preferences file for 
the LC7-based version of the program? It seems that each version 
works with its own encoding.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Livecode server + NGINX ?

2015-01-21 Thread Robert Brenstein

On 21.01.2015 at 8:37 Uhr -0800 Richard Gaskin apparently wrote:


A few months ago I was experimenting with multi-processing in 
LiveCode as an alternative to multi-threading.  The literature on 
each notes the higher overhead of the former compared to the latter, 
but also that the overhead is not as significant as one might think. 
In many cases multi-processing allows for less complex code than 
multi-threading by virtue of being able to rely on OS partitioning 
of memory and CPU resources rather than having to manage all of that 
internally via threads.


In those early tests I was interested in seeing just how many 
requests I could throw at a single non-threaded LC-based daemon 
listening on port 80.  This required a VPS, of course, since shared 
hosts generally don't allow always-on processes.




Would you care to provide more technical details on those tests?

RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How to solve can't find stack error

2015-01-15 Thread Robert Brenstein

On 14.01.2015 at 17:01 Uhr -0800 tbodine apparently wrote:

Hi all.

Looking for some insight here... I have a desktop program built in LC 6.5.1
that uses LC stacks as user files for storing user data in fields and
cprops. Mostly this works well. However, I get occasional Error Reports when
a few users have tried to reopen a file they created. Error type is Chunk:
can't find stack. I know the file exists because the user just picked it
with the answer file command.

The error occurs at a line where I first read a cprop from the stack. And
the line just prior to that loads the stack with go invisible to card 1 of
stack tFullFilePath


Have you tried adding a check after the go command to see whether it 
is successful? Some versions of LC had issues with some chars in the 
path, for example. Does your file selector allows to pick only LC 
stacks?


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Installer advice needed

2014-12-18 Thread Robert Brenstein

On 18.12.2014 at 13:09 Uhr +0100 Matthias Rebbe | M-R-D apparently wrote:


Is there really a need for an installer on Mac? Most of the mac 
software is delivered as dmg. The user just has to drag the app 
bundle or app folder to the Application folder.


If you want to graphically pimp your dmg then i would try DropDMG. 
Very easy to use and very good results.

http://c-command.com/dropdmg/



On the Mac, the installer is really needed only if one has to install 
services, system resources or such. Normal standalone apps can and 
normally should be distributed as dmg's.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: TopStack focus issue

2014-12-07 Thread Robert Brenstein
I have seen such issues having invisible stacks, that is when I was 
hiding some stacks not closing them during the open sequence. Somehow 
they got focus at the end and did not release it happily. This was in 
earlier versions, though.


RObert

On 06.12.2014 at 23:00 Uhr + Graham Samuel apparently wrote:
Thanks to Peter and Jacque for these suggestions. Sadly, neither of 
them worked. Neither did 'click at the loc of this cd' or similar 
statements. The only thing that works so far is a real mouse click 
in the body of the mainstack window or on its title bar. After that 
is done and focus has once reached the mainstack, it doesn't matter 
if the palette or the mainstack has the focus, the menu (which is a 
group on the first card of the mainstack) works anyway. In the 
initial state that I've described, the menu is visible and the 
pulldown action works, but none of the menu items do anything, not 
even 'quit'. I think I'm looking at an engine bug here, but as usual 
it will be a big struggle to isolate it.


Still trying to find a cause and a workaround.

Graham


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Failing to produce multiple-page PDF

2014-11-09 Thread Robert Brenstein
I am trying to print cards from different stacks using open printing 
to pdf file to produce a PDF file programmatically. When I use the 
print card of stack format, I get a PDF file with one page for each 
card as expected.


However, when I use the printing into a rectangle format, I get a PDF 
file with only a single page. It seems that all cards are printed 
onto the same page, so mostly objects from the last card printed are 
visible. Furthermore, the card objects seem to be moved and resized 
in the output.


Is that a bug or a limitation or do I have to do something extra to 
produce multiple cards? I tried the community version of LiveCode 6.5 
and 6.7 with the same result.


When I print cards while setting the printingscale to anything else 
than 1, I get multiple pages in the PDF file but the location of some 
images is wrong and some are partly cut off.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Failing to produce multiple-page PDF

2014-11-09 Thread Robert Brenstein

On 09.11.2014 at 8:24 Uhr -0800 Dr. Hawkins apparently wrote:

On Sun, Nov 9, 2014 at 8:04 AM, Robert Brenstein r...@robelko.com wrote:


 However, when I use the printing into a rectangle format, I get a PDF file
 with only a single page. It seems that all cards are printed onto the same
 page, so mostly objects from the last card printed are visible.
 Furthermore, the card objects seem to be moved and resized in the output.


  A code snippet would help.



works

open printing to PDF vPdfFilePath
   repeat for each word vTemplate in kTemplateList
  put templateStackName(gProjectCache[vTemplate][value]) into vStackName
  print card 1 of stack vStackName
   end repeat
close printing

prints all cards onto the same page:

open printing to PDF vPdfFilePath
   repeat for each word vTemplate in kTemplateList
  put templateStackName(gProjectCache[vTemplate][value]) into vStackName
  put the height of stack vStackName into vCardHeight
  put the width of stack vStackName into vCardWidth
  put trunc((vPrintWidth/vCardWidth)*vCardHeight) into vPrintHeight
  put vPageRect into vPrintRect
  put vPrintHeight+(item 2 of vPageRect) into item 4 of vPrintRect
  print card 1 of stack vStackName into vPrintRect
   end repeat
close printing

RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: problem with counting words

2014-10-13 Thread Robert Brenstein

Not particularly challenging but a cool name:

Maximilian Maria Thurn and Taxis


On 13.10.2014 at 18:54 Uhr -0400 Ralph DiMola apparently wrote:

This is something I know about. Between a pretty decent VB com .dll and
additional in house rules I get about 95.98% accuracy splitting up
US/international name components. But there still is the .02% that need
individual attention. I never process lists  100,000 so this error rate is
acceptable. My system would have heart failure with a  3 part last name.
Into the .02% bucket... Dr. Bob Brown Trustee for Ms. June Smith would not
be split correctly. A reference to a relationship between two people is
beyond my systems ability. The Mac Donald or apostrophes like O'Connel or
hyphens like Foster-Smith are the easy cases even though one never knows
what apostrophe variation will be used. When the last name is space
delimited with nonstandard prefixes that it starts to get interesting. The
only way to sort names with 100% accuracy is to have the name components
from the get-go and use Unicode from start to finish. Maybe Watson can do it
100%, but I can't afford the CPU time. I can't wait until LC 7 gets settled
down and I can use Unicode LC for production text processing.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: problem with counting words

2014-10-12 Thread Robert Brenstein

Larry,

Change the first line of your function to

function commaInsert thisFigure

Better yet:

function commaInsert pFigure
put pFigure into thisFigure

Then add before the last end the following line

return thisFigure

If you have your function anywhere in the path (like in the stack 
script or library stack that is in use), then the following will work 
as you want


put commaInsert(thisFigure) into field myDollarDisplay

Robert


On 12.10.2014 at 17:09 Uhr -0600 la...@significantplanet.org 
apparently wrote:

Hi Craig,
I've written several functions within stacks, but have no idea how 
to create a library stack or, seems better, as a plug-in.
For example, one function I use in many of the programs I'm writing 
is:   commaInsert:


on commaInsert

put round(thisFigure) into thisFigure

if thisFigure  0 then put thisFigure * -1 into thisFigure

put the length of thisFigure into L

if L  3 then put , before char -3 of thisFigure

put the length of thisFigure into L

if L  7 then put , before char -7 of thisFigure

put the length of thisFigure into L

if L  11 then put , before char -11 of thisFigure

put the length of thisFigure into L

if L  15 then put , before char -15 of thisFigure -- THIS WOULD 
BE AT LEAST 1 TRILLION!!


put $ before thisFigure

end commaInsert



I use the above function (command) after performing math functions 
on numbers that I then want to display as dollar amounts with the 
commas in the right places.
It would be very cool to have it available all the time through a 
plug-in.  It would be even more cool if I could somehow add it to 
the LC dictionary and do this:


put commaInsert(thisFigure) into field myDollarDisplay
if thisFigure  1 then set the textcolor of field myDollarDisplay to red

Or even:
put commaInsert(thisFigure + otherFigure) into [container]

From what I've heard from programming friends, other languages allow 
for adding of functions to the dictionary as in the two line example 
in italics above.


Do you know if that is possible in LC?  As far as I know, it is not possible.
Larry

- Original Message -
From: dunb...@aol.com
To: use-livecode@lists.runrev.com
Sent: Sunday, October 12, 2014 4:53 PM
Subject: Re: problem with counting words





 Larry.
 But you can make your own dictionary. Without limit. Most of 
that, too, has been possible since Hypercard. You can define your 
own properties, commands and functions, and place them in permanent 
use in several ways, for example, as a library stack in use or a 
plug-in.
 Have you ever written such a thing? Please write back if you have 
not, and we will play around for a while. Or if you have written 
such gadgetry, but just never saved any of them for later, general 
use in your own personal LC world, the tell us that as well.

 Craig Newman

 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: problem with counting words

2014-10-12 Thread Robert Brenstein
On 12.10.2014 at 19:58 Uhr -0600 la...@significantplanet.org 
apparently wrote:

Hi Robert,
I understand what you wrote.  That is not a problem for me.
What I want is to be able to put my function into the LC IDE so that 
I can use it in other stacks.
You mention a library stack.  I do not know how to make one or use 
one. Is there some tutorial or something that will tell me how?

Thanks,
Larry



Well, you showed a code for command but talked about using it as a 
function, hence my email.


A library stack is a stack with your library functions in its stack 
script and which is activated as a library by issuing the start using 
command (either manually or through a script). You can place that 
stack in the plugins folder and set up the plugin manager to activate 
it automatically when launching IDE.


All this is in documentation. Start with start using command, me thinks.

Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: preOpenStack

2014-09-08 Thread Robert Brenstein

On 07.09.2014 at 17:18 Uhr -0500 J. Landman Gay apparently wrote:


It seemed non-intuitive to me too that you could put a preOpenStack 
handler in a card, because the card wasn't open yet. That was 
wrong-thinking. I asked Mark Waddingham about it some years ago and 
he said that the entire stack has to load at once when it opens, 
otherwise there would be no way a script could manage any of the 
objects or card properties. The messages are sent in a specific 
order, but in reality the entire structure is already in RAM before 
the messaging starts.




It helps to mentally distinguish between loading the stack in memory, 
which happens before anything else as Jacqie says above, and 
rendering it on the screen, which is interwoven with certain messages.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: ._!

2014-08-26 Thread Robert Brenstein

On 26.08.2014 at 23:01 Uhr + Mark Wieder apparently wrote:



 I used to write scripts to remove them after the fact, but it would be
 much simpler/saner to just turn that off altogether.


Removing them by script afterwards is the way to go.



There is a way to tell Finder not to copy them to external volumes 
but I seem to have misplaced the details of achieving that.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: From my Spam box: A Newer, Thicker, Stronger . . .

2014-07-09 Thread Robert Brenstein

On 08.07.2014 at 20:36 Uhr +0300 Richmond apparently wrote:


Frankly if all I need is a title: I'll make it in a textField in the 
IDE, tweak it around and do an import
snapshot so I end up with an image - then no Unicode needed at all. 
You'd have to be daft to include

'a bloater' of a library just for the sake of a title.

Richmond.



Considering that the percentage of applications that do not need text 
at all (no title, no error message, including no runtime message from 
the the LC engine) is probably really, really tiny, the question is 
whether it is worth the trouble to implement and support such a 
switch.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Adjusting the size of cards in a stack

2014-07-08 Thread Robert Brenstein

On 08.07.2014 at 9:44 Uhr -0700 Peter Haworth apparently wrote:

I tried that, using the formattedwidth and formattedHeight of the card as
theCardWIdth and theCardHeight (plus a few extra pixels for aesthetics).

Strangely, that works for one card but the height is incorrect ( less than
it should be) for the other card. Maybe a bug?

To my way of thinking, the way this should work is that stacks should have
a lockLocation property and then I could simply set it to true, then set
the height and width without worrying about the stack moving.

Pete


I wonder whether you are not trying to get ahead of LiveCode. When 
preopen thingies are running, the windows is not fully build yet (or 
has that changed), so normally one does not need to hide anything. 
But then by the same logic formattedwidth but not be formatted yet.


When you have 2 cards of different sizes, it might be simpler to just 
have two stacks (substacks) and switch between them rather than 
fiddle with resizing.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: OT : Advice on SQL database design

2014-07-01 Thread Robert Brenstein

On 01.07.2014 at 1:23 Uhr +0100 Alex Tweedly apparently 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

 - each row is a different person
 - columns include the obvious  name, date of birth, ... that 
are common to all

 - there is a column saying which armed force the person is in
  - and then there are additional, DIFFERENT fields depending on 
which one it is




You will get lots of advice, I am sure. Database design is a science 
and an art. What helps often is to identify data along the lines of


lists -- lists of values that are more or less fixed, like types of 
armed forces


data -- info that is varied from data record to record, like people names

links -- tables that cross-connect data and lists (but also may have 
own fields related to that connection, like a date of cross-linking)


Such division is not fixed but it helps to identify different types 
of information and initial structure.


Things to consider in the next step are variations (like people 
changing names), permutations (like people belonging to more than one 
armed force or changing their skills), expansions (like incorporation 
of addditional lists or further personal data), whether list data 
need to be frozen (here I mean that renaming an entry in a list will 
automatically rename it for all records; however, in some database, 
the entry for a given record should remain as it was at the time of 
entry even if the list is reworked later on), etc.


Next you consider various views and reports that you need to produce 
and see whether the structure supports them without too many 
complications.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Need to filter out items of list

2014-06-03 Thread Robert Brenstein

On 03.06.2014 at 9:35 Uhr -0500 Charles E Buchwald apparently wrote:

Good Morning Skip,
How about:

put fld super large blob of text into tFieldText
repeat for each line n in tFieldText
if item 9 of n is empty OR item 15 of n  0 then delete n
end repeat

... not tested. But it seems like maybe you have something else in mind?

- Charles



If you are deleting lines, you need to loop from the last line down 
to the first, referring to line numbers. If the computer has enough 
memory, it might be faster to copy lines to be kept into another 
variable, like:


put fld super large blob of text into tFieldText
put empty into tFieldTextFiltered
repeat for each line tLine in tFieldText
 if (item 9 of tLine is empty) OR (item 15 of tLine  0) then next repeat
 put tLine  cr after tFieldTextFiltered
end repeat

RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: UPDATE: Make stack close itself

2014-05-21 Thread Robert Brenstein

On 21.05.2014 at 18:31 Uhr + Bob Sneidar apparently wrote:
Okay well that is making a little more sense. So if I put an on idle 
handler in all my stacks and then pass the message, it should filter 
down to my mainstack. I suppose I could insert the 
stack-closing-code in all my substacks, but that makes me feel dirty 
somehow. ;-)


Bob S


Idle is not the way to go IMHO. Try the flight recorder to see what 
is really going on. From a design point of view, a strategy to handle 
opening and closing work stacks (substacks) from a script in the 
mainstack should work. However, the substacks must have the 
destroystack property set and do not have any messages in the pending 
queue among others. Have you checked frontscripts?


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Nice news for builders of financial apps

2014-05-20 Thread Robert Brenstein


Richard Gaskin wrote

 Check this out - looks like independent column alignment via a tabAlign
 property is coming in v7:
 ...


Wow! I have been waiting long, long time for this!!!

RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Variable Named Variable Values?

2014-05-16 Thread Robert Brenstein

On 16.05.2014 at 14:32 Uhr -0400 Rick Harrison apparently wrote:


How do I now assign the values to the original Variable Name by 
referring to the correct variable name read in?


This is some kind of a double reference possibly referring to 
contents or the value of a variable, it may involve arrays etc.


Ideas? Suggestions?



If you actually want variable names, the do command is your friend.

do put  q(tVarValue)  into tVarName

However, such things are really easier to handle as arrays.

put tVarValue into gSessionGlobal[tVarName]

Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: functionNames, commandNames, etc. not returning complete list

2014-05-11 Thread Robert Brenstein

On 11.05.2014 at 14:17 Uhr -0800 Mark apparently wrote:
That produced a rather short list of 290 functions (the dictionary 
lists close to 500).  A quick check showed that there are no entries 
in the output that contain rev anything, among others.


I'm assuming, probably incorrectly, that the missing functions are 
part of libraries that are included at standalone build time, such 
as the database libs.




Some certainly are. It was reported in the past that some core 
functions are missing. However, many entries in the dictionary list 
are synonyms and those are not included by the functionNames, so the 
discrepancy is not so big.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] free personality portraits

2014-05-09 Thread Robert Brenstein

On 04.05.2014 at 10:48 Uhr +0300 Richmond apparently wrote:

I would just like to say how extremely impressed I was
by my personality portrait.

Thank you, Robert Brenstein.

It blew me away.

Richmond



Have you thought to have your wife and kids get their own portraits, 
so you can compare your mandalas?


The questionnaires are still online as I have just found out. Anyone 
can still participate.


Anybody who has got a portrait and has questions about it, feel free 
to send me an email off the list.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [OT] free personality portraits

2014-05-02 Thread Robert Brenstein

On 29.04.2014 at 22:10 Uhr -0700 Alejandro Tejada apparently wrote:

Robert Brenstein wrote

 [snip]
 Anybody that completes the first questionnaire can get a short
 personality portrait emailed to them.
 [snip]


When?

I completed the first questionnaire weeks ago.
Do not have received this short personality
portrait from them.



I just got the word from the mother ship that they are starting to 
generate Research Spark Portraits. The research people have obviously 
a less stringent view of deadlines. Over the next few days, you 
should get two emails, one with information how to fetch the PDF file 
and another with the password required to do so.


The mail will be coming from nore...@luminalearning.com email and may 
end up in your junk mailbox. If you don't get such an email within 
the next 3-4 days, please get in touch with me directly.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: is there a way...

2014-04-24 Thread Robert Brenstein

On 24.04.2014 at 8:46 Uhr -0600 la...@significantplanet.org apparently wrote:
I am putting up an overlay (image) over a field that I display for 1 
second and then, using a repeat statement and blendlevel, fade the 
image until it becomes invisible again.


The problem is that I'm using the wait command to do this and I 
can't do anything else in the program for those 2 seconds.  I have a 
vague recollection that I could use pending messages or something, 
but I cannot remember how to do that.


If you know how, please help.

Thanks,
Larry



send in time ?

RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


[OT] free personality portraits

2014-04-13 Thread Robert Brenstein
This has nothing to do with LC but as varied as this group is in 
their tempers and attitudes, as we know well from lively discussions, 
I thought that some of you may find it interesting to get free 
personality portraits.


If you are not interested, just press the delete key now.

I work with the German partner of a British company called Lumina 
Learning. They develop psychometric instruments which are used by 
coaches and trainers. Companies use them for personal and 
organizational change and long-term improvement. The instruments are 
about realizing how we are and function as individuals and how we are 
different from other people and they from us. Their unique approach 
is to look at the opposite ends of each scale independently. Yes, 
many of us are both introverts and extroverts in varying degrees and 
it shows there.


They are working on improving their products and would like to get as 
many different people as possible to complete the development 
versions of two of their instruments. They simply want to collect a 
large reference data.


Anybody that completes the first questionnaire can get a short 
personality portrait emailed to them. Anybody that completes the 
second questionnaire can get a short emotional intelligence report. 
Both are free.


Each questionnaire takes 20-25 mins. If it takes you longer, you 
think too much ;-) There are no good or bad answers. Answering the 
way you feel and behave, not the way you are expected to be or 
behave, will produce more realistic results. I haven't seen reports 
from the second questionnaire but the portrait produced by the first 
one is different for each person, with your unique colorful mandala.


http://edu.surveygizmo.com/s3/1608850/Lumina-Spark-Research-Q1-Germany
http://edu.surveygizmo.com/s3/1608768/Lumina-Spark-Questionnaire-Q2-GMNY

This is a short time only deal. I believe after 7-10 days these links 
will go away, depending how quickly they reach their goal.


Robert

Disclosure: although I work with that company and thus benefit from 
their research indirectly on the long term, I do not gain anything 
directly when you fill out these questionnaires.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: 6.6.1GM Corrupted License

2014-04-12 Thread Robert Brenstein

On 12.04.2014 at 12:17 Uhr +0800 Kay C Lan apparently wrote:

Just wondering if anyone else is seeing this.

This is repeatable about 90% of the time. If I Quit 6.6.1 and restart it
I've never got the corruption message. If on the other hand I start an
earlier version of LC and then start 6.6.1 it's very rare that I won't get
the corruption message.

Probably just my set-up and a hint for me to do some disk maintenance.


More likely some change in the format of some information related to 
the licence. Opening version B generates warning and overwrites the 
old format. Then the following launches work without warning. 
Reopening version A, repeats the same in the other direction.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Announcement: New Community Manager

2014-04-05 Thread Robert Brenstein

Congrats, Richard! I believe you are the right man for the job. Good luck!

RObert

On Apr 4, 2014, at 8:28 AM, Kevin Miller ke...@runrev.com wrote:


 Hi folks,

 I am delighted to announce the appointment of our new Community Manager,
 Richard Gaskin.



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Amazing new feature in LiveCode 6.7DP-1.4.14

2014-04-01 Thread Robert Brenstein

On 01.04.2014 at 12:49 Uhr -0500 J. Landman Gay apparently wrote:

On 4/1/14, 11:09 AM, Fraser Gordon wrote:

Quite understandably, this has made adding new features to the engine
trivial as all we need to do is imagine it sufficiently well.


Damn you, now I have a pink elephant in my office.

What ever happened to backward compatibility???


Oh, the pink elephant! Those were the days.

RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: set stack rect in startup handler

2014-03-26 Thread Robert Brenstein

On 24.03.2014 at 18:13 Uhr + Martin Baxter apparently wrote:

Turns out that, when startup is run in the IDE, setting the stack rect
works as I would expect, the size and position are modified correctly.
But in a standalone, the stack size is set but not its position. So the
startup handler obviously runs, but setting the stack rect doesn't have
the side-effect of setting the loc.

The same line in a preopenstack handler does work correctly however, so
it is specifically in a standalone's startup handler that this issue
appears to manifest.

Anyway I have now bug-reported it.

Martin


Curious that this worked in an earlier version. Isn't startup run 
before anything else? If so, it is quite likely that stack windows 
are not there yet when it runs.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Problem with setting htmlText of field to empty in LiveCode 6.6 RC2

2014-03-19 Thread Robert Brenstein

On 19.03.2014 at 10:29 Uhr -0400 Tim Bleiler apparently wrote:


Being a contrarian again, Jacqueline? I was all set to forget about 
this. I really hate posting bug reports that aren't bugs but I agree 
with you on this from my Livecode centric world view.


Anyone else have any insights into the Livecode riddle of when is 
empty not really empty?




I believe Jacque is on the right track and this is a side-effect of 
the way htmltext was implemented as an add-on (afterthought?) to the 
existing field. My guess would be, which can be confirmed by someone 
snooping the code, that htmltext always wraps the field content in 
the p tag pair before returning it and it does not bother to check 
whether the field is empty. Whether this is a bug or not is a matter 
of opinion. Documenting it might be an easy way out.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC Commercial Update

2014-03-19 Thread Robert Brenstein
On 18.03.2014 at 17:28 Uhr -0600 la...@significantplanet.org 
apparently wrote:

Thank you Richard,
That is a very good point.

And thanks to Mark Schonewille for explaining how to turn off the 
update message.


Larry


Am I imagining this or was there an option (button to click) on the 
update dialog to skip this release that is no more reminders until 
the next next version comes out? I see this in some programs and find 
very useful.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC Commercial Update

2014-03-19 Thread Robert Brenstein

On 19.03.2014 at 20:07 Uhr +0200 Richmond apparently wrote:

You are imagining things.

If you open the Preferences stack; /Edit/Preferences you can stop 
update notices; select Updates (second from the bottom).


You will then be given a fantastic range of choices:

Notify me of stable releases
Notify me of maintainence (sic transit gloria mundi) releases
Notify me of beta releases
Notify me of development releases

and you can have lots of fun deciding what you want and what you 
don't, and even a spot of vicarious fun
reflecting on the fact that being a jolly clever computer programmer 
does not necessarily mean you

are very good at spelling.

Richmond.


But none of those options is what I am talking about. Regardless of 
which of the above choices is selected, when I get a notice of a new 
upgrade, I'd like to see


upgrade now
ask later
skip this release

RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: v7 testing and word

2014-03-13 Thread Robert Brenstein

On 13.03.2014 at 8:39 Uhr -0700 Richard Gaskin apparently wrote:


My only caution would be in cases where an existing token were 
changed in ways that break code, with my recommendation being not to 
do that for now.




I wonder whether we really need a new keyword for old style word. I 
mean that an alternative could be to have a global property that 
controls whether word means the ascii word or the unicode word. It 
could actually function as a switch for any text handling, usable in 
the fashion of itemDelimiter, and eventually become obsolete in the 
more distant future. Something like


set the unicodeChunks to false/true
get the unicodeChunks

RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Support for Mac OSX 10.5

2014-02-25 Thread Robert Brenstein

On 25.02.2014 at 16:18 Uhr + Benjamin Beaumont apparently wrote:

Dear List Members,

Thanks for reading up to this point. We appreciate your feedback as it will
help us in our decision making process.

Warm regards,

Ben



My vote: Drop support for 10.5 for LC 6.7 and newer.

RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: AW: Support for Mac OSX 10.5

2014-02-25 Thread Robert Brenstein

On 25.02.2014 at 17:53 Uhr +0100 Tiemo Hollmann TB apparently wrote:

Though I can follow the arguments for concentrating the efforts on new and
faster platforms, I actually can't believe that only 3,8% of Mac users would
be affected (if you count notebooks to desktops). I myself have beside my
iMac a MacBook from around 2007 which is not upgradebale on OS X 10.6
anymore and I am sure there are a lot of those machines out there with 10.5,
from my feeling much more than 3,8%. So I would be very unhappy to tell all
my clients out there with these kind of machines, sorry you either can't buy
new software from me nore updates to existing software anymore. And I can't
afford to compile and supply two different versions of my software.

So from my side thumb down

Tiemo


I am stubbornly running 10.6.8 on my main machine but I am starting 
to feel compelled to finally upgrade. Upgrades for more and more 
programs that I use are not supporting 10.6 anymore. As much as it 
pains me, I can understand that to provide support for newer 
features, the programs need newer OSX. People running 10.4 and 10.5 
use older hardware (I have a few of those around) and can't expect to 
be able to run the newest version of a software development system 
(while most of their programs are older versions anyway). As long as 
RunRev supports 6.6 with bug fixes for a decent while, this is a good 
compromise. A few of us that have to support those users commercially 
may have to put extra labor, but the change is  better for majority, 
me thinks.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Change in behavior of minHeight property

2014-01-21 Thread Robert Brenstein

On 03.01.2014 at 19:08 Uhr -0500 dunb...@aol.com apparently wrote:
I would say it is not a bug, but rather a feature. For example, if 
you lock the position and size of an object in the inspector, the 
resize handles gray out, and to all intents, the thing seems set in 
stone. But the arrowKeys will move it (I find this dodge useful), 
and of course any script may have its way with it, all while still 
locked.


Locking is not quite the same. If I set a size of any object in 
inspector or via the script, I'd like it to be resized accordingly 
right away. Setting the min size of a window means that I want it to 
be not smaller than given size, so if it is smaller it should resize 
accordingly. IOW, the old behavior was more logical and this is 
probably a regression.


RObert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode Server and Getting a List of Files in a Folder

2014-01-14 Thread Robert Brenstein

On 13.01.2014 at 14:49 Uhr -0500 Gregory Lypny apparently wrote:

Hi everyone,

everything gets messed up even if the handler is not called. 
LiveCode server stops looking for HTML pages in the Documents 
folder. I have to comment-out the handler to get things working 
right again.


Gregory


I would venture to bet that you function is called somehow from 
somewhere and messes up the normal lookup path since it does not 
restore the original default directory.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: babel help, please ?

2013-09-16 Thread Robert Brenstein

A few clarifications are needed:


On 16.09.2013 at 6:38 Uhr +0100 John Dixon apparently wrote:
could some kind 'livecoders' help me out with some translations 
please... I need the following translated into  these languages... 
French, Spanish, Italian, Dutch, German Polish and Portuguese ... 
your help would be appreciated...:-)


the directory that is 'always local' to you


context please.
what is directory referring to.
in what sense local to the user?



index


as in directory or as in a list of items?



your current location


as in physical location or as in location within some dataset?



share details


as in provide more details or as in pass details to others?



has been added to your favourites

favourites

no saved favourites

add to favourites

show favourites

zoom in

add

email


a noun or a verb? a service or a message?



web


as Internet in general or as a website?



edit

delete

centre location


as in to center the location or as in a location of a centre?
if the latter, a centre like in a center of an object or a centre as a place?
if the former, context please.



standard


as in normal/regular or as in default?



hybrid

satellite


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: new password on-rev

2013-06-26 Thread Robert Brenstein

On 26.06.2013 at 5:23 Uhr -0700 Dave Kilroy2 apparently wrote:

I haven't been able to login via  on-rev.com http://on-rev.com  since they
moved me to pancake and have been using  https://pancake.on-rev.com:2083
  for several months - anyone know why we
have to log in this way?



Your problem is that the database record which directs the On-Rev 
homepage to the correct server for your account did not get updated 
after the migration. You need to file a support ticket for someone to 
fix it.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Best screencast demo ever!

2013-05-29 Thread Robert Brenstein

On 29.05.2013 at 11:36 Uhr +0300 Richmond apparently wrote:


2. I wonder about the legality of the company vis-a-vis Hey Jude.



Apropos legality, I can't see this video because

Unfortunately, this EMI-music-content is not available in Germany 
because GEMA has not granted the respective music publishing rights.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Dynamically Creating Buttons

2013-05-28 Thread Robert Brenstein

On 28.05.2013 at 13:35 Uhr -0400 Graham Pearson apparently wrote:

Without having any objects on a card, does anyone have notes on how to
create a button and position it to the coordinates of 5,5

In my application, I am to the point now to taking each record from a
database and creating a button for the user to select. The information
from this loop will contain the text for the button and will allow for 5
pixels of spacing between buttons.


You might want to consider filling card with buttons, hide all of 
them, and show as needed, setting their labels instead of actually 
creating them.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: curlyquotes, character sets, livecode, and english

2013-05-27 Thread Robert Brenstein

On 27.05.2013 at 14:45 Uhr -0700 Dr. Hawkins apparently wrote:


The error was that on a curly-quote that originated at
http://www.leg.state.nv.us/NRS/NRS-021.html#NRS021Sec090 (in
miner's) threw the error.  I also got it from double-curly quotes
that came from somewhere.

If I can limit livecode fields to UTF8, I think it solves my problems.


Are the tables and fields in your postgres database set to unicode 
encoding, and UTF8 not UTF16, since this is what you are feeding 
there?


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Random sort demonstration

2013-05-23 Thread Robert Brenstein

On 23.05.2013 at 9:51 Uhr -0500 Geoff Canyon apparently wrote:

To Dar's point, here the stable sort means that you should never use this
to get a random sort:

sort lines of someContainer by random(the number of lines of someContainer)

You are almost guaranteed to get less than random results. Instead always
use something like

sort lines of someContainer by random(9)

gc


I wonder why nobody suggests adding numeric parameter to random 
sorts like above. After all, the sort column is a number but without 
that parameter is sorted as ascii text not numeric value.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Field changes prompting save

2013-05-14 Thread Robert Brenstein

On 14.05.2013 at 7:14 Uhr -0700 Bert Shuler apparently wrote:
I created a sub-stack with my fields, and I am using a sqlite db to 
populate them.

It has the standard next record and CRUD type buttons.

When I close the substack via the X (windows form close), it prompts 
me to save. 
I want to do the saving to the DB, and the substack should not prompt to save.


Any ideas on how to do this? Honestly, I did some searching in the 
docs, but I am not sure which terms to search for.



One easy way would be to open your substack as modeless when calling 
it in your main stack. Look up modeless command in the docs.


Tip: code it so if holding the alt key down, this mode is not invoked 
and the stack opens as toplevel. This way, you can easily get to edit 
it, should there be a need.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: link to 6.0.1 build 1513

2013-05-10 Thread Robert Brenstein

On 10.05.2013 at 0:49 Uhr +0200 Mark Schonewille apparently wrote:

Hi,

It is not that much easier than I thought. The point is: there is no 
big red Download button on the main page. There is only a green 
Learn More button. Apparently, this is sufficient for people to 
lose interest. I told him clearly, I might be wrong and he should 
contact support while also pointing him to the main page, but he 
wasn't interested anymore. This happens to me several times a year.




if he lost interest so quickly, may be we don't really want him after all ;-)

robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Beginners questions subject headers

2013-05-07 Thread Robert Brenstein

On 07.05.2013 at 13:13 Uhr -0700 Dr. Hawkins apparently wrote:


And now, folks, a moment of silence for Jacque, as we cherish his last
pre-obliteration message.



You mean her. Or was she he in the future?

robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Strange compile error

2013-04-29 Thread Robert Brenstein

On 25.04.2013 at 16:46 Uhr -0700 Peter Haworth apparently wrote:

Don't think it needs anyone to spend any more time on it now that I've got
it working.  I'll just accept it as a compiler weirdness, although the
error message didn;t give any clue as to what the the real problem might
have been.


I think Jacque was right even if she answered before being asked. 
the long ID of pitemname is flagged as invalid syntax since at 
compile time the object type after of is missing. Adding control 
fixes it. A workabout could be to use do (getPropertyValues the long 
ID of  pitemname), which would defer compilation until execution.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: On-Rev: Odin emails rejected due to poor reputation

2013-04-20 Thread Robert Brenstein

On 20.04.2013 at 9:08 Uhr -0700 RevList apparently wrote:
Please report this to shaw and ask why it is being blacklisted and 
ask to get it removed.


Stewart Lynch
CreaTECH Solutions


Blacklisting works on IP addresses, actually most commonly on ranges, 
so if there are spam or spam-like or other suspect activities on the 
same shared server, that is the physical computer, that trigger 
blacklisting, all domains on that server gets blocked. If legit users 
complain and the operator is responsive, they figure out what/who is 
causing this and restore the order, if possible.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Autosave from field?

2013-03-31 Thread Robert Brenstein

On 30.03.2013 at 16:46 Uhr -0500 J. Landman Gay apparently wrote:


I just use their and ignore the plurality. It isn't grammatically 
correct, but it's pretty common and includes everybody.


When the user presses a key on their keyboard...

Or don't use a pronoun at all:

When the user presses a key on the keyboard...

--
Jacqueline Landman Gay


Actually, it is grammatically correct, at least according to webster people

http://www.facebook.com/video/video.php?v=2359037269558

robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Update process in the Apple App Store

2013-03-07 Thread Robert Brenstein

On 07.03.2013 at 14:27 Uhr +0100 Graham Samuel apparently wrote:
I can of course ask the user to go through some process (like 
clicking a button) to complete the update, but it would be far 
preferable for the app to do this aspect of the update automatically 
without user intervention. This would imply that my app knows that 
its just been updated and can therefore run a once-only routine of 
some kind. I can think of a number of techniques for doing this, but 
I wondered if there is an approved one, or indeed whether the App 
Store's update service actually allows the app to run in some 
special update mode by executing additional code etc. Of course I 
may have fundamentally misunderstood what the App Store does.


what about if your app checks the version of the stored stack when it 
launches and updates it as needed if it detects an older version? 
yes, it has to do it at each launch but this eliminates the issues 
you mention wth different update modes.


robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Keys of a custom property array

2013-03-04 Thread Robert Brenstein

On 04.03.2013 at 14:21 Uhr + Dave Cragg apparently wrote:

But does that make sense for the following:

delete url whatever
put x into url whatever
post x to url whatever

It's hard to think of it as a function in these cases.

Dave


Unless you think of it as a pointer to a container.

Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Speech and commas

2013-03-04 Thread Robert Brenstein

On 04.03.2013 at 17:55 Uhr -0500 Thomas McGrath III apparently wrote:

on mouseUp
put THE TOP ROW. ESCAPE and Function keys F1, F2, F3, F4, F5. into tTTS
put 6 into tNum
send TASpeak  Expanding  quote  tTTS  quote  tNum  
Tasks! to me in 1 millisecond


end mouseUp

on TASpeak pTextToSpeak
--revStopSpeech
wait until revIsSpeaking() is false --with messages
revSpeak pTextToSpeak
end TASpeak



This explains your problem. Without quote, TASpeak was seeing 
multiple paramaters (separated by commas) and pTextToSpeak contained 
only the text up to the first comma. If you had pTextToSpeak2, it 
would have the next section.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Build-time v Run-time

2013-02-15 Thread Robert Brenstein

On 15.02.2013 at 17:56 Uhr +0100 Graham Samuel apparently wrote:
Another naive questions, but this hasn't happened to me before, or 
at least I haven't recognised it properly.


I'm looking at some code written by an associate. As normal (to me) 
it's a mainstack and a lot of substacks. I want to tinker with the 
code, so I open the mainstack in the LC IDE, and immediately the 
program starts to run, even though the Edit tool is active in the 
toolbar rather than the Browse tool - it starts up and does stuff, 
like the IDE does. I don't want that, I want the code to remain 
entirely passive until I tell it to run!


How does a stack get into 'instant run mode' like that, and what can 
I do to stop it? Is there some way of creeping up on it so that no 
handler is executed?




Apparently, your associate coded something in one of the openXxxx 
handlers to start execution. Those handlers run regardless of the IDE 
mode. To achieve what you want, the code should check the environment 
(look it up in the dictionary) and do not execute if it is 
development. If you want to be able to execute after all, to 
simulate standalone execution, you may add checking whether the alt 
key is down, and if it is down, execute regardless of the environment.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LiveCode has a new eye on the earth

2013-02-13 Thread Robert Brenstein

On 13.02.2013 at 10:24 Uhr + Bernard Devlin apparently wrote:

Critcising the aesthetics of programmes produced by RAD tools has often
been a way in which professional programmers have rubbished the useful
(yet unpolished) tools that literally ran many businesses.  The same thing
happened with Lotus Notes.  It was an environment that permitted thousands
of non-professional programmers (who had the essential knowledge of the
business processes) to produce and continuously refine the programmes they
needed to make money.



Not only professional programmers. Ugliness of many HyperCard-based 
programs supposedly contributed to HyperCard's demise. Steve Jobs had 
too high quality standards.


r

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: What is wrong with this Script logic?

2013-01-11 Thread Robert Brenstein

On 11.01.2013 at 17:03 Uhr +0800 Kay C Lan apparently wrote:

Actually I just went with the simple example from the dictionary:

on closeField
   if (the text of me is not an integer) then
  answer Please enter only whole numbers! titled Enter A Number
  select the text of me
   end if
end closeField

Still, I do not understand why the IDE is behaving the way it is. It
doesn't seem right to me.



I just checked this in 4.6.3 and the script behaves as expected but I 
get into an loop that I get the dialog over and over. When the dialog 
closes, the original stack with the open field gets its focus back 
and the closefield is triggered again. I gather this happens because 
the old closefield handler did not finish running at that point. May 
be using send in time is a solution.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: What is wrong with this Script logic?

2013-01-11 Thread Robert Brenstein

On 11.01.2013 at 11:04 Uhr +0800 Kay C Lan apparently wrote:

If I turn Debug Mode OFF, and repeat the above, after I enter B in my
ask Dialog I get the IDE Errors widow come up with:

Type: Handler: can't find handler
Object: fldTest
Line: hCheckEntry tAnswer
Hint: hCheckEntry

My Ask Dialog Box is also presented with B as the default. If I press
Cancel my ask Dialog comes back with ask warning as the default
answer. If I press 'Cancel' again, it finally cancels.

So why is my script having a recursion problem or not finding the handler?



I would guess that at the time the script calls hCheckEntry second 
time, the dialog stack still has the focus and this the handler is 
not found. May be moving it to the stack level or background script 
is a cure.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: What's On The Menu - Round 2

2013-01-01 Thread Robert Brenstein

On 01.01.2013 at 9:56 Uhr -0800 Peter Haworth apparently wrote:

First problem.  The parameter to menuPick does not include any indication
of whether the selected item has a checkmark or diamond before it.


The indication is in the text of the selected menuitem itself, so you 
need to inspect that.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: keyedUp cross-platform woes

2012-11-30 Thread Robert Brenstein

On 30.11.2012 at 15:18 Uhr +0200 Richmond apparently wrote:

Now the ALT-KEY yields a magic number (keyDown) number
on Windows and Linux, and that's fine and dandy, but, as has been 
pointed out several times, both
by myself and others, that doesn't happen on a Mac and Livecode 
seems unable to work out when

the ALT-KEY is down . . .



If I am not mistaken, this is because Mac OS does not actually send 
the code until a real key is pressed. Nothing that LC can do about 
it.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: More preOpenCard Problems

2012-09-21 Thread Robert Brenstein

On 20.09.2012 at 18:02 Uhr -0700 Peter Haworth apparently wrote:

I also notice that things work differently, but still incorrectly, when the
stack is run as a plugin than when it is run toplevel.


This could indicate that your object references are failing when your 
stack is not the frontmost window, which probably means it is not the 
defaultstack.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Send to program

2012-09-18 Thread Robert Brenstein

On 10.09.2012 at 12:31 Uhr -0400 dunb...@aol.com apparently wrote:


Am I to understand that LiveCode, the great and powerful, cannot do 
this at all? Am I the first one that ever wanted to send a message 
to another machine?


A new project I am working on therefore must be authored in 
Hypercard. I am fine with that. I will just buy a few G4 blue and 
whites on eBay for $5 each.




As others said, the underlaying technologies have changed. I suggest 
for you to take a look at the ChatRev suite from Bjoernke von Gierke. 
These stacks let LC users to chat with each other across network. As 
such, this provides a framework which with some work could be adapted 
to duplicate what epsi did in HC.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Server doesn't send response code

2012-08-12 Thread Robert Brenstein

On 28.04.2012 at 22:34 Uhr -0500 J. Landman Gay apparently wrote:
But PayPal's sandbox test tool consistently shows an error and 
replies IPN delivery failed. Unable to connect to the specified 
URL. Please verify the URL and try again. Obviously it did find my 
server and URL, because my script received the data and has 
responded back to Paypal, which in turn has responded with a 
validation.


No idea how this works in terms of Paypal API but from using the 
online Paypal payments, I know that Paypal normally redirects back to 
seller's webpage, not necessarily the one started with. Is it 
possible that Paypal does not get this URL for post-processing the 
transaction from you and that is what it complains about?


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Is it really this hard to print currency values?

2012-07-29 Thread Robert Brenstein

On 29.07.2012 at 9:05 Uhr -0700 Dr. Hawkins apparently wrote:

As I sat down to finally encode currency into my output, I pulled old
answers from older questions and did more searches.

Is it *really* this hard to output currency?




If you deal only with dollars, the issue is trivial. Things get 
quickly complicated if you deal with multiple currencies.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Standalones not opening in Mountain Lion

2012-07-28 Thread Robert Brenstein

On 28.07.2012 at 10:19 Uhr +0100 Bernard Devlin apparently wrote:

I seem to remember that Rosetta is still available.  It is just not
installed by default.  I think the installation medium should have a way of
installing Rosetta.

Bernard



that is true for snow leopard.

robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: can't find out this char

2012-07-19 Thread Robert Brenstein

On 19.07.2012 at 12:50 Uhr +0200 Björnke von Gierke apparently wrote:
Well I found ascii 13 mentioned in the 
dictionary, so I used _replace numtochar(13) 
with  _ which did remove my mystery character. 
See also this reply by me from yesterday:




I wonder whether those files are created outside 
LC and the platform differences for lineend chars 
are coming into play.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: simple (?): how to test menus after building them

2012-06-20 Thread Robert Brenstein

On 20.06.2012 at 17:28 Uhr -0700 Paul Hibbert apparently wrote:

  But isn't this going to give me a copy of the menu in every substack,

 so that I have to change all of them?



No, if you use 'Place Group' it will put a 'referenced copy' of the 
menu group on the card, so any edits to the group will show on all 
cards that it is placed on.


Paul


This is true if placing groups on different cards of the same stack, 
but I think the original poster meant reusing a menu group in 
different stacks/substacks.


The answer is to create a menu group in yet another substack, which 
does nothing else, and activate it from any stack/substack that you 
want to use it with. Unfortunately, I can't give you the required 
commands at this time.


Robert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


  1   2   >