Re: Some sad news

2020-12-04 Thread Kaveh Bazargan via use-livecode
Sad indeed. He made some great contributions in his own special way and I learned a lot from him... On Fri, 4 Dec 2020 at 15:44, Devin Asay via use-livecode < use-livecode@lists.runrev.com> wrote: > I think we all have been dazzled by what Hermann was able to do with LC > HTML5. Our community

Re: Making my book free until the end of May

2020-03-18 Thread Kaveh Bazargan via use-livecode
disappointed the slider does not go below zero! Thanks André. Made the purchase... Regards Kaveh On Wed, 18 Mar 2020 at 12:44, Keith Clarke via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Andre, > I wasn’t aware that you’d written that book - but a spooky coincidence, as > last

Re: Stacks and Custom properties

2020-03-10 Thread Kaveh Bazargan via use-livecode
t it > begs the question, why? Variables are easier to reference in your code. > > Bob S > > > > On Mar 10, 2020, at 03:38 , Kaveh Bazargan via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > >

Re: Stacks and Custom properties

2020-03-10 Thread Kaveh Bazargan via use-livecode
Absolutely. I keep most of my variables in stack custom properties. On Tue, 10 Mar 2020 at 10:36, Richmond via use-livecode < use-livecode@lists.runrev.com> wrote: > Can a stack have custom properties? > > Richmond. > > ___ > use-livecode mailing list

Re: google sheets - anybody doing anything besides mergGoogle

2020-03-05 Thread Kaveh Bazargan via use-livecode
Mar 2020 at 21:49, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > And for writes? > -- > Richard Gaskin > Fourth World Systems > > Mike Kerner wrote: > > ok, that's what i thought. > > > > On Thu, Mar 5, 2020 at 3:47 PM

Re: google sheets - anybody doing anything besides mergGoogle

2020-03-05 Thread Kaveh Bazargan via use-livecode
This is where I started, Mike: https://andregarzia.com/2018/11/reading-google-sheets-data-from-livecode.html Then I had to do a lot of work to get unicode imported properly. Somehow got it to work. :-) On Thu, 5 Mar 2020 at 19:58, Mike Kerner via use-livecode < use-livecode@lists.runrev.com>

Re: google sheets - anybody doing anything besides mergGoogle

2020-03-04 Thread Kaveh Bazargan via use-livecode
I use GS as my database for a text processing app. Clearly not robust as a database but most convenient to edit and add to BT multiple authorised people. I keep all regex patterns etc On Wed, 4 Mar 2020 at 20:39, Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > is anyone

Re: encrypting script-only stacks

2020-02-19 Thread Kaveh Bazargan via use-livecode
You are absolutely right Alex. Jacqueline had given me the correct handler and I made the mistake, and Panos corrected me. I have now corrected it but still same result. See forum post. https://forums.livecode.com/viewtopic.php?f=9=33678=188122#p188122 -- Kaveh Bazargan PhD Director River

Re: encrypting script-only stacks

2020-02-17 Thread Kaveh Bazargan via use-livecode
> > >> >> > Sounds great Jacqueline. I will give it a go. :-) > Hi Jacqueline I tried but could not make it work. I have posted a minimal stack on the forum in case you get time to comment. https://forums.livecode.com/viewtopic.php?f=9=33678=188122#p188122 Thanks. I have learnt a lot already!

Re: encrypting script-only stacks

2020-01-15 Thread Kaveh Bazargan via use-livecode
On Wed, 15 Jan 2020 at 19:27, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > On 1/15/20 10:56 AM, Kaveh Bazargan via use-livecode wrote: > > I want to be able to build standalones often, and I cannot distribute the > > code. So from what I underst

Re: encrypting script-only stacks

2020-01-15 Thread Kaveh Bazargan via use-livecode
On Wed, 15 Jan 2020 at 16:49, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > > [...] > > I don't think the SB does that on its own, and I'm not sure it's > something it should do automatically all the time. In the delivered app > is there (or should there be) a difference

Re: Changing extention on script only stack

2020-01-14 Thread Kaveh Bazargan via use-livecode
The slow editing in LiveCode is a big drawback for me. It is slow, spacing is usually off till you hit tab, and generally not efficient. On Tue, 14 Jan 2020 at 20:06, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Brian Milby wrote: > > I would offer a clarification

Re: encrypting script-only stacks

2020-01-14 Thread Kaveh Bazargan via use-livecode
acqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On January 14, 2020 11:38:06 AM Kaveh Bazargan via use-livecode > wrote: > > > The benefits of SoS are so important that I would hate to have to go back > > to bina

Re: encrypting script-only stacks

2020-01-14 Thread Kaveh Bazargan via use-livecode
The benefits of SoS are so important that I would hate to have to go back to binary again. Nothing like having pure text files to version, back up etc. so I am also hoping for an elegant solution to encode these in standalone. On Tue, 14 Jan 2020 at 17:31, Richard Gaskin via use-livecode <

Re: Parent Group of the Target

2020-01-07 Thread Kaveh Bazargan via use-livecode
And for multiple groupings, the owner of the owner of the owner of On Tue, 7 Jan 2020 at 15:26, Dan Friedman via use-livecode < use-livecode@lists.runrev.com> wrote: > BR, > > Try "the owner of the target". Or, the long id of the owner of the > target. Hope that helps. > > -Dan > > >

Re: Can I find out what handler I am in?

2019-10-25 Thread Kaveh Bazargan via use-livecode
So Tom, do you need return item 2 of line -2 of the executioncontexts to be in every possible handler? On Fri, 25 Oct 2019 at 19:40, Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: > Its for error handling ...I want my error handler to know which handler the > error was in. >

Re: OT: Hotel suggestion or recommendation for San Jose

2019-05-11 Thread Kaveh Bazargan via use-livecode
day ? > > Place : TBD, but somewhere near downtown SJ > > Time : Sat 18th May, 7:00 ? or thereabouts. > > Let me know directly, or let Kaveh know, or the list, or > > -- Alex. > > P.S. cell: +44 77 66 55 53 85 but I will have a US number once I get > there :-) &

Re: OT: Hotel suggestion or recommendation for San Jose

2019-05-07 Thread Kaveh Bazargan via use-livecode
AirBnB for me too, close to venue. I will be there from Friday night, so be good to know of others who are around over weekend too. :-) On Tue, 7 May 2019 at 03:45, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > Me too, AirBnB. It wasn't as cheap as I'd like but it

Re: ANN: Script Editor Refactoring Support

2019-03-20 Thread Kaveh Bazargan via use-livecode
I'm beginning to like you Mark. ;-) Extremely useful set of tools. Now to try and break them. :-) On Wed, 20 Mar 2019 at 18:50, JJS via use-livecode < use-livecode@lists.runrev.com> wrote: > Just reading the possibilities looks awesome already. Have to check it out. > > Op 20-3-2019 om 19:45

Re: Format text data records for processing in Livecode

2019-03-01 Thread Kaveh Bazargan via use-livecode
On Fri, 1 Mar 2019 at 03:44, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Kaveh Bazargan wrote: > > > If it's working and you're happy keep doing it. > > At some point you may find arrays very powerful. This circumstance seems > a natural fit for them, as they keep

Re: Format text data records for processing in Livecode

2019-02-27 Thread Kaveh Bazargan via use-livecode
On Tue, 26 Feb 2019 at 23:12, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Kaveh Bazargan wrote: > > > My use case might be unusual in that I have several itemdelimiters in > > the same text. I need to record what each one is, but they must not be > > the same. I

Re: Format text data records for processing in Livecode

2019-02-26 Thread Kaveh Bazargan via use-livecode
My use case might be unusual in that I have several itemdelimiters in the same text. I need to record what each one is, but they must not be the same. I might be going off topic here, but I thought it is a simple way of generating a text that is guaranteed to be unique. On Tue, 26 Feb 2019 at

Re: Format text data records for processing in Livecode

2019-02-26 Thread Kaveh Bazargan via use-livecode
I have an handler that needs the itemdelimiter to be unique every time I call it, and that can be several times in quick succession. I use: wait 1 millisecond set the itemdelimiter to the milliseconds The first line ensures that two successive loops do not have the same itemdelimiter, and it is

Re: Replacing GlobalNames with Global Values

2019-02-12 Thread Kaveh Bazargan via use-livecode
That's the beauty of LiveCode. We have all been taught that things are hard, but LiveCode shows they need not be! I still haven't leaned!!! On Tue, 12 Feb 2019 at 14:45, Roger Guay via use-livecode < use-livecode@lists.runrev.com> wrote: > Of course!! I should have thought of this, but was

Re: Setting behaviors in 9.0.2

2019-02-02 Thread Kaveh Bazargan via use-livecode
I have have been using behaviours pointing from objects on the mainstack to buttons on a substack. 9.0.2 on Mac Mojave. On Sat, 2 Feb 2019 at 19:15, Matthias Rebbe via use-livecode < use-livecode@lists.runrev.com> wrote: > I´ve made a quick test and set the behaviour of a card to the script of a

Re: Shoutout to Bernd Niggeman

2019-01-31 Thread Kaveh Bazargan via use-livecode
I second that. Thank you Bernd. :-) On Thu, 31 Jan 2019 at 17:44, Roger Guay via use-livecode < use-livecode@lists.runrev.com> wrote: > This is to praise Bernd for his TinyDictionary! Especially since I find > the standard dictionary in LC V9 is next to useless!! > > Find it here:

Re: Refactoring is your friend / moving from 6.x to 9.x

2018-12-30 Thread Kaveh Bazargan via use-livecode
I don't think LiveCode without Malte is really LiveCode, so glad you are back. :-) Could you pls elaborate on the lock screen strategy? You said we should not nest, and you also said that screen will not immediately be unlocked after a handler. I was under the impression that multiple locks were

Re: get offset of current selection

2018-12-14 Thread Kaveh Bazargan via use-livecode
Correct. Thank you. :-) On Fri, 14 Dec 2018 at 14:30, Tore Nilsen via use-livecode < use-livecode@lists.runrev.com> wrote: > The selectedChunk is probably what you are looking for. > > Regards > Tore Nilsen > > > > > > > > 14. des. 2018 kl. 15:28 skr

get offset of current selection

2018-12-14 Thread Kaveh Bazargan via use-livecode
I am stuck on something that should be simple. User has selected a text, say a word in a field. How do I get the offset of the start and end of selection? (Not any matching text, but the particular chars selected.) I know I am going to be embarrassed at the reply. :-\ -- Kaveh Bazargan Director

Re: Show invisible characters (tab, space, return) in field

2018-12-09 Thread Kaveh Bazargan via use-livecode
On Sat, 8 Dec 2018 at 21:26, hh via use-livecode < use-livecode@lists.runrev.com> wrote: > > Kaveh wrote: > > There is a also a zero width character. :-) that is 200B. > > So using a monospace font all chars line up. > > This works if and only if your field has dontWrap true, else your > line

Re: Setting hidden of lines very slow

2018-12-09 Thread Kaveh Bazargan via use-livecode
Hi Jim Normally I want the text to be editable most of the time, so it needs to be in the field, but just hidden. But i can definitely see uses for your suggestion of having different "views" instantly available. Regards Kaveh On Sat, 8 Dec 2018 at 20:42, Jim Lambert via use-livecode <

Re: Show invisible characters (tab, space, return) in field

2018-12-08 Thread Kaveh Bazargan via use-livecode
Hi Hermann There is a also a zero width character. :-) that is 200B. So using a monospace font all chars line up. And even more interesting, when I press the backspace key, it generally treats the composite pair as one character, so jumps back over both with one backspace!! On Sat, 8 Dec 2018

Re: Show invisible characters (tab, space, return) in field

2018-12-08 Thread Kaveh Bazargan via use-livecode
On Sat, 8 Dec 2018 at 16:00, hh via use-livecode < use-livecode@lists.runrev.com> wrote: > You could moreover add the following to the field's script. > > on rawkeyup k > switch k > case 65288 -- backspace > put word 4 of the selectedChunk into cx > if char cx of me is among the

Re: Show invisible characters (tab, space, return) in field

2018-12-08 Thread Kaveh Bazargan via use-livecode
Thank you for spending the time on this. Like all your posts it is an education! Great idea to convert just a visible part of text! I am going to study well and work on this. On the live conversion, you are adding a unicode character before a space, say. That means two characters and therefore

Re: Show invisible characters (tab, space, return) in field

2018-12-08 Thread Kaveh Bazargan via use-livecode
have a small image (you will > have to make or find) displayed in their place. See imageSource in the > Dictionary. > > set the imageSource of character to {imageID |imageName |imageURL |empty} > > > On 12/7/2018 8:12 PM, Kaveh Bazargan via use-livecode wrote: > > Thanks Bo

Re: Show invisible characters (tab, space, return) in field

2018-12-07 Thread Kaveh Bazargan via use-livecode
ith a square digbat or > something. If you want to filter for only printable characters, I have a > function that dies that, and also there are regex strings for that sort of > thing. > > Bob S > > > > On Dec 7, 2018, at 15:44 , Kaveh Bazargan via use-livecode &

Show invisible characters (tab, space, return) in field

2018-12-07 Thread Kaveh Bazargan via use-livecode
Is there any way of seeing invisible characters in a text field, similar to the view in text editors and word processors? -- Kaveh Bazargan Director River Valley Technologies • Twitter • LinkedIn

Re: hhPDFViewer v0.8.0

2018-12-03 Thread Kaveh Bazargan via use-livecode
Hi Hermann Thanks for this. Any way of selecting or copying text from the PDF file? Any way of finding a particular text in the PDF? On Wed, 28 Nov 2018 at 14:47, Lagi Pittas via use-livecode < use-livecode@lists.runrev.com> wrote: > Brilliant stuff Hermann > > Thanks, > > Lagi > > On Mon, 26

Re: Setting hidden of lines very slow

2018-12-01 Thread Kaveh Bazargan via use-livecode
Apologies hh. I can confirm that the htmltext method works beautifully and blindingly fast. I was going to try it to understand fully first. I now do and am grateful for the amazing tricks I have learned here. :-) On Sat, 1 Dec 2018 at 13:46, hh via use-livecode < use-livecode@lists.runrev.com>

Re: Setting hidden of lines very slow

2018-12-01 Thread Kaveh Bazargan via use-livecode
Hi all I have learned a lot here, especially the hint of using styledText. But there might be a misunderstanding. In my case, it is not necessarily the whole line that is styled, but a line might *contain* a chunk of text that is styled, e.g. one word in the middle of the line has textcolor set.

Re: Setting hidden of lines very slow

2018-11-30 Thread Kaveh Bazargan via use-livecode
ove all text stylings from a field > of text is this: > > put fld 1 into fld 1 > > That's poetically beautiful. Now how many lines of JavaScript would that be? ;-) > > -Dan > > > On 11/30/18, 8:37 AM, "use-livecode on behalf of Kaveh Bazargan via > use-li

Re: Setting hidden of lines very slow

2018-11-30 Thread Kaveh Bazargan via use-livecode
I am simulating a non-contiguous selection of text with a "Find all" button that sets the style of all found items of text. Then I want to inspect those "selections" only but showing the paras that contain them and hiding all other lines. So I have a full view and a "compact" view that the user

Re: Setting hidden of lines very slow

2018-11-30 Thread Kaveh Bazargan via use-livecode
Did not know about textStyle which has opened a whole new world! Thank you so much for ruining my weekend Trevor. ;-) hh, I love the first solution, which shows the beauty of LiveCode. But the speed is the same as before... i will try htmltext too. A while since I worked with it. Thanks again.

Re: Setting hidden of lines very slow

2018-11-30 Thread Kaveh Bazargan via use-livecode
gt; There is another tip here in this thread about > > set the hidden of line 1 to -1 of field "the field" to false > > As a single command, it might be better. > > On 30/11/2018 12:07, Kaveh Bazargan via use-livecode wrote: > > Thank you guys. I am always em

Re: Setting hidden of lines very slow

2018-11-30 Thread Kaveh Bazargan via use-livecode
2:48 schrieb Andre Alves Garzia via use-livecode < > use-livecode@lists.runrev.com>: > > > > tied locking the screen first? > > tied AND locked? > Andre, you are hardcore! :-D > > > On 30/11/2018 10:33, Kaveh Bazargan via use-livecode wrote: > >> I ha

Setting hidden of lines very slow

2018-11-30 Thread Kaveh Bazargan via use-livecode
I have a text field with some 3500 lines of text. I want to ensure all lines are visible, as I have hidden some before. I use: repeat with i = 1 the number of lines of fld 1 set the hidden of line i of fld 1 to false end repeat This is taking over 1 minute to complete. I have tried

Re: How to get physical coordinates of cursor in field

2018-11-24 Thread Kaveh Bazargan via use-livecode
ve Software | http://www.hyperactivesw.com > On November 24, 2018 8:08:36 AM Kaveh Bazargan via use-livecode > wrote: > > > I want to place a button at a position relative to the text cursor in a > > field. How can I get the coordinates? Something like ClickLoc but for > text > > cu

How to get physical coordinates of cursor in field

2018-11-24 Thread Kaveh Bazargan via use-livecode
I want to place a button at a position relative to the text cursor in a field. How can I get the coordinates? Something like ClickLoc but for text cursor. -- Kaveh Bazargan Director River Valley Technologies • Twitter

Re: Selecting text in non-focused field

2018-11-19 Thread Kaveh Bazargan via use-livecode
ld give what you need (subject to the potential issue of > performance). > > Thanks, > Brian > On Nov 19, 2018, 4:31 PM -0500, Kaveh Bazargan via use-livecode < > use-livecode@lists.runrev.com>, wrote: > > Didn't know about foundChunk. Useful, thanks. :-) > > > > It i

Re: Selecting text in non-focused field

2018-11-19 Thread Kaveh Bazargan via use-livecode
Didn't know about foundChunk. Useful, thanks. :-) It is just one text field I am working on. On Mon, 19 Nov 2018 at 21:12, dunbarxx via use-livecode < use-livecode@lists.runrev.com> wrote: > Have you tried selecting the foundChunk? > > If you are going to write a routine that checks all the

Re: Selecting text in non-focused field

2018-11-19 Thread Kaveh Bazargan via use-livecode
Hi Craig Thanks for your time. I should have given more details... i am indeed using enterInField (actually returnInField), and the focus remains the search box I started with the Find command, but then changed to using matchChunk, because: - The Find command shows a thin black border that

Selecting text in non-focused field

2018-11-19 Thread Kaveh Bazargan via use-livecode
Am I right that if a field is not focused on in a card, then the text in it cannot be selected? I have a search field that I type in and when I press enter, it finds the string in another text field. But when the search box is focused on again the selection goes. I want to be able to have the

Stack and Standalone hogging memory on Mac

2018-11-16 Thread Kaveh Bazargan via use-livecode
I have been working on a stack that has been behaving well. It is now hogging all CPU memory when I open it and is unresponsive. There is no idle handler. When I click Command–dot repeatedly the script pops up and activity stops temporarily. I think this means something is running in the

regex problem

2018-11-15 Thread Kaveh Bazargan via use-livecode
The following line returns true as expected: *put* matchtext("abc", "^[ ]*") (zero or more spaces at start of string) But the following: *put* replacetext("abc", "^[ ]*", "~") returns "abc", not "~abc" as expected. Any ideas? -- Kaveh Bazargan Director River Valley Technologies

Re: Reading data from Google Sheets

2018-11-13 Thread Kaveh Bazargan via use-livecode
Thank you so much to both. And Andre, if you could write a blog post for every question I have it would help me a lot. ;-) Actually I think I had looked at the very helpful StackExchange page before for reading Google Sheets directly in R. I will try it and report back with any follow ups.

Reading data from Google Sheets

2018-11-13 Thread Kaveh Bazargan via use-livecode
Can someone point me to how I can read data from Google Sheets into LiveCode? For now I just need to read, not write. Thanks. -- Kaveh Bazargan Director River Valley Technologies • Twitter • LinkedIn

Re: Regex replacements (\1, \2) not matching

2018-11-12 Thread Kaveh Bazargan via use-livecode
Thanks James I am using the community edition of LiveCode, but I remember that Thierry has been v helpful in the past. I just found a similar question I asked 4 years ago and he put lots of time in explaining: https://forums.livecode.com/viewtopic.php?t=21157 I will review that because I have a

Re: Regex replacements (\1, \2) not matching

2018-11-11 Thread Kaveh Bazargan via use-livecode
pt to achieve this. A repeat loop using 'put "2,1" into > tSortOrder'; put trueword (item x of tSortOrder) of tOldString into word x > of tNewString' would do what you want in simple terms. > > Sean > > > On Sun, 11 Nov 2018 at 09:40, Kaveh Bazargan via use-livecode

Regex replacements (\1, \2) not matching

2018-11-11 Thread Kaveh Bazargan via use-livecode
What am I missing? I put in message box: put replacetext("one two", "(.+) (.+)", "\2 \1") I get result: "\2 \1" rather than: "two one" -- Kaveh Bazargan Director River Valley Technologies • Twitter • LinkedIn

Re: LiveCoders from London, lets meet!

2018-11-09 Thread Kaveh Bazargan via use-livecode
Hi Andre I had no idea you were in London. I'm game :-) Kaveh On Fri, 9 Nov 2018 at 17:04, Andre Alves Garzia via use-livecode < use-livecode@lists.runrev.com> wrote: > Hey Friends, > > Who here is from London or nearby and would be interested in regular > meetups? We could meet once a month

Accessible Apps

2018-10-14 Thread Kaveh Bazargan via use-livecode
I am interested in creating an App in LiveCode, for iOS and Android, primarily for reading html content (live or local). It needs functionalities such as bookmarking, searching and commenting. I want the App to be "accessible" if possible, so allowing say visually impaired to use it. Any pointers

Sync with Google Contacts, iCloud or Apple Contacts

2018-02-08 Thread Kaveh Bazargan via use-livecode
I am using Mac OS X. I have my contacts synced between different applications: - Google Contacts - Apple Contacts - FullContact - iCloud - BusyContacts All works nicely and as far as I can see all changes are saved and synced, including thumbnail photos. Now I am looking for the

Re: Trapping multiple keystrokes

2017-12-01 Thread Kaveh Bazargan via use-livecode
m> wrote: > On 12/1/2017 1:00 PM, Paul Dupuis via use-livecode wrote: > > On 12/1/2017 12:52 PM, Kaveh Bazargan via use-livecode wrote: > >> I have a field with a number in it. when focused, I want the value to > go up > >> and down with the up/down arrow keys. Th

Re: Trapping multiple keystrokes

2017-12-01 Thread Kaveh Bazargan via use-livecode
On 1 December 2017 at 21:29, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > On 12/1/17 3:16 PM, Kaveh Bazargan via use-livecode wrote: > >> It is the final action I have a problem with, as dozens of arrow key >> actions are held in the

Re: Trapping multiple keystrokes

2017-12-01 Thread Kaveh Bazargan via use-livecode
you want to do. > > Richmond. > > On 1/12/17 10:03 pm, J. Landman Gay via use-livecode wrote: > >> On 12/1/17 11:52 AM, Kaveh Bazargan via use-livecode wrote: >> >>> I have a field with a number in it. when focused, I want the value to go >>> up >>&g

Trapping multiple keystrokes

2017-12-01 Thread Kaveh Bazargan via use-livecode
I have a field with a number in it. when focused, I want the value to go up and down with the up/down arrow keys. The trouble is that if I keep the key down, it traps multiple keydown messages that continue after the key is released. How can I ensure that message are terminated as soon as arrow

Re: Simple tutorial on scrollbars?

2017-11-20 Thread Kaveh Bazargan via use-livecode
at 21:18, Roger Guay via use-livecode < use-livecode@lists.runrev.com> wrote: > I recommend rolling your own. If you need help with that, I can share what > I’ve done. > > Roger > > > On Nov 19, 2017, at 12:23 PM, Kaveh Bazargan via use-livecode < > use-livecode@list

Re: Simple tutorial on scrollbars?

2017-11-19 Thread Kaveh Bazargan via use-livecode
9, 2017, at 12:23 PM, Kaveh Bazargan via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > I am trying to change the look of a simple scrollbar on a Mac. But > changing > > "foreground fill", "background fill" etc. has no effect

Simple tutorial on scrollbars?

2017-11-19 Thread Kaveh Bazargan via use-livecode
I am trying to change the look of a simple scrollbar on a Mac. But changing "foreground fill", "background fill" etc. has no effect. I have not been able to locate a tutorial for this. Any suggestions pls? -- Kaveh Bazargan Director River Valley Technologies

Re: mouseWithin and mouseLeave problem

2017-11-17 Thread Kaveh Bazargan via use-livecode
eh Bazargan <kaveh@ > rivervalleytechnologies.com> wrote: > >> No :-( >> >> On 15 November 2017 at 17:48, Bob Sneidar via use-livecode < >> use-livecode@lists.runrev.com> wrote: >> >>> Does mouseUp get sent to the control when you release the thumb pointer? >>>

Re: mouseWithin and mouseLeave problem

2017-11-15 Thread Kaveh Bazargan via use-livecode
lt; > use-livecode@lists.runrev.com> wrote: > >> Does mouseUp get sent to the control when you release the thumb pointer? >> >> Bob S >> >> >> > On Nov 15, 2017, at 09:36 , Kaveh Bazargan via use-livecode < >> use-livecode@lists.runrev.com> wr

Re: mouseWithin and mouseLeave problem

2017-11-15 Thread Kaveh Bazargan via use-livecode
No :-( On 15 November 2017 at 17:48, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Does mouseUp get sent to the control when you release the thumb pointer? > > Bob S > > > > On Nov 15, 2017, at 09:36 , Kaveh Bazargan via use-livecode < &

mouseWithin and mouseLeave problem

2017-11-15 Thread Kaveh Bazargan via use-livecode
I have a set of scrollbars that are normally small, to preserve screen space. But I want them to expand when mouse enters, so give finer control, then to shrink again when mouse leaves. I have managed to do this with mouseEnter and mouseLeave. Problem is that if I drag the thumb pointer with

Re: OT: ...and everybody hates Perl...

2017-10-31 Thread Kaveh Bazargan via use-livecode
And nobody's heard of livecode. :-( On Wed, 1 Nov 2017 at 04:26, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > https://boingboing.net/2017/10/31/perl-is-the-most-hated-program.html > https://stackoverflow.blog/2017/10/31/disliked-programming-languages/?cb=1 > > -- >

Re: How to remove from a group

2017-08-03 Thread Kaveh Bazargan via use-livecode
Group" then >> >> relayer me after the owner of me >> >> end if >> >> >> >> > On Aug 3, 2017, at 11:52 AM, Kaveh Bazargan via use-livecode < >> use-livecode@lists.runrev.com> wrote: >> > >> > Can't find how to re

Re: How to remove from a group

2017-08-03 Thread Kaveh Bazargan via use-livecode
of me is "Group" then > > relayer me after the owner of me > > end if > > > > > On Aug 3, 2017, at 11:52 AM, Kaveh Bazargan via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > Can't find how to remove a button from a group of buttons. Tried thi

How to remove from a group

2017-08-03 Thread Kaveh Bazargan via use-livecode
Can't find how to remove a button from a group of buttons. Tried this in stack script: on mouseup remove the target from group "presentations" grab the target end if end mouseup but says object is not in group. Checked it is. -- Kaveh Bazargan Director River Valley Technologies

Re: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Kaveh Bazargan via use-livecode
On 3 August 2017 at 14:47, dunbarx via use-livecode < use-livecode@lists.runrev.com> wrote: > I feel a bit dumb. yes, there was an empty mouseup handler in the buttons. > So that is fixed. > > > Be careful in that a newly created button will, by default, have an > uncompiled mouseUp handler

Re: MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Kaveh Bazargan via use-livecode
> be well, > randy > > > On Aug 3, 2017, at 5:10 AM, Kaveh Bazargan via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > I have buttons in a group. When I click any button, the mousedown message > > is received by the button correctly but m

MouseDown sent to button in group, but MouseUp sent to card

2017-08-03 Thread Kaveh Bazargan via use-livecode
I have buttons in a group. When I click any button, the mousedown message is received by the button correctly but mouseup is received by card. Also I believe mousewithin. How can I get the button to be the target for all? My script is in the stack Thanks. -- Kaveh Bazargan Director River

Re: Can't use double finger scroll on mac for grouped controls

2017-08-02 Thread Kaveh Bazargan via use-livecode
of me > add 10 to it > set the scroll of me to it >else if pKeyCode is 65309 then > get the scroll of me > subtract 10 from it > set the scroll of me to it >end if > end rawKeyDown > > > On 2 Aug 2017, at 8:21 am, Kaveh Bazar

Can't use double finger scroll on mac for grouped controls

2017-08-01 Thread Kaveh Bazargan via use-livecode
Using LiveCode 9 on Mac OSX I have some controls that are grouped and the group has been made smaller, so have a vertical scroll bar – very nice feature. On one stack I can use two finger scroll on mac trackpad, but on another I can't. But mouse on scroll bar works ok. I have checked and all

Re: Importing Unicode from MySQL

2017-07-26 Thread Kaveh Bazargan via use-livecode
Hi Andy That seems to work!! Boy what a journey. And thank you Devin for your help. Regards Kaveh On 26 July 2017 at 08:03, AndyP via use-livecode < use-livecode@lists.runrev.com> wrote: > I had the same problems a while ago, but got it sorted with the following. > > *Before* you do any

Re: Importing Unicode from MySQL

2017-07-25 Thread Kaveh Bazargan via use-livecode
like tStringFromDatabase. Then, > > put textDecode(tStringFromDatabase,”UTF8”) into field “myDBText” > > HTH > > Devin > > > On Jul 25, 2017, at 4:24 PM, Kaveh Bazargan via use-livecode < > use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> &

Importing Unicode from MySQL

2017-07-25 Thread Kaveh Bazargan via use-livecode
I know this has been discussed before and I have tried to search for the answer, but no success. I am using LiveCode Community, 9.0.0 DP5 on Mac I have a MySQL database where all fields are formatted as UTF8. I do a query from LiveCode, and put the result in a field and I lose the non ascii

Re: "For Young Coders"

2017-06-13 Thread Kaveh Bazargan via use-livecode
Could it be the company who shamefully strangled HyperCard to death? ;-) On 13 June 2017 at 21:35, Roger Eller via use-livecode < use-livecode@lists.runrev.com> wrote: > I have to assume you are referring to the app store of that fruit company > since no platform was specified. :) > > > On Tue,

Re: Price of LiveCode Global

2017-06-09 Thread Kaveh Bazargan via use-livecode
; £234 + VAT = £280.80 > > I'll pay the other £1.20 for you :-) > > -- Alex. > > > On 09/06/2017 15:37, Kaveh Bazargan via use-livecode wrote: > >> How does $299 convert to £282? >> >> > > ___ > use-livec

Price of LiveCode Global

2017-06-09 Thread Kaveh Bazargan via use-livecode
How does $299 convert to £282? -- Kaveh Bazargan Director River Valley Technologies @kaveh1000 +44 7771 824 111 www.rivervalleytechnologies.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: Sort so that "Hello" is always before "hello"

2017-05-18 Thread Kaveh Bazargan via use-livecode
Brilliant, thank you. I have tried to fall out of love with LiveCode but it is hard! I used HyperCard since pre-release version ;-) On 18 May 2017 at 22:28, hh via use-livecode wrote: > You want a sort with co-sort: > > set the casesensitive to true -- secondary

Re: Sort so that "Hello" is always before "hello"

2017-05-18 Thread Kaveh Bazargan via use-livecode
> "set the caseSensitive to true" before sorting. > > Phil Davis > > > > On 5/18/17 10:10 AM, Kaveh Bazargan via use-livecode wrote: > >> I have the following lines when a list of words is sorted: >> >> Hello >> hello >> Hello >>

Sort so that "Hello" is always before "hello"

2017-05-18 Thread Kaveh Bazargan via use-livecode
I have the following lines when a list of words is sorted: Hello hello Hello hello hello so there is no hierarchy between upper and lower case chars. I want caps to go first. How do i do that pls? -- Kaveh Bazargan Director River Valley Technologies @kaveh1000 +44 7771 824 111

Re: User friendly functions to replace MySQL queries?

2017-05-08 Thread Kaveh Bazargan via use-livecode
at makes it all fairly transparent to use. I can share if you like. > > Bob S > > > > On May 7, 2017, at 13:55 , Kaveh Bazargan via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > Hi all > > > > Writing MySQL queries using LiveCo

Re: User friendly functions to replace MySQL queries?

2017-05-07 Thread Kaveh Bazargan via use-livecode
e current / latest is at > > https://github.com/Himalayan-Academy/Siva-Siva-App/wiki/aagDBLib > > -- Alex. > > On 07/05/2017 21:55, Kaveh Bazargan via use-livecode wrote: > >> Hi all >> >> Writing MySQL queries using LiveCode is a bit painful, so I thought of >> wr

User friendly functions to replace MySQL queries?

2017-05-07 Thread Kaveh Bazargan via use-livecode
Hi all Writing MySQL queries using LiveCode is a bit painful, so I thought of writing some higher level functions to produce the queries, a bit like these from Ken Ray: http://www.sonsothunder.com/devres/livecode/tips/data005.htm But before I start I wonder if anyone else has done these. I

Re: mySQL connection fine in LiveCode but error in standalone

2017-05-07 Thread Kaveh Bazargan via use-livecode
+49 160 5504462 > Fax: +49 5741 310002 > eMail: matth...@m-r-d.de <mailto:matth...@m-r-d.de> > > BR5 Konverter - BR5 -> MP3 <http://matthiasrebbe.eu/ > portfolio/produkte/brx/> > > Am 07.05.2017 um 01:19 schrieb Kaveh Bazargan via use-livecode < >

Re: mySQL connection fine in LiveCode but error in standalone

2017-05-07 Thread Kaveh Bazargan via use-livecode
would be WHEN do you try to open the database? If > you do it in preopenstack, you might be trying to open the db before the > drivers are completely loaded. > > Other than that, not sure. > > > On Sat, May 6, 2017 at 5:19 PM, Kaveh Bazargan via use-livecode < > use-livecod

mySQL connection fine in LiveCode but error in standalone

2017-05-06 Thread Kaveh Bazargan via use-livecode
Hi folks I am a definite newbie to databases, but I have been reading from a mysql database on the Mac running LC 9. The command is: revOpenDatabase("MySQL", DatabaseAddress, DatabaseName, DatabaseUser, DatabasePassword) When I export to standalone I get the "revdberr, invalid database" type

Re: How many words from start of text to my selection

2017-04-22 Thread Kaveh Bazargan via use-livecode
select word" && myChunk && "of fld 1" to me in 0 millisecs > end mouseUp > > Kind regards, > > Mark Schonewille > http://economy-x-talk.com > https://www.facebook.com/marksch > > Buy the most extensive book on the > LiveCode language: &

How many words from start of text to my selection

2017-04-22 Thread Kaveh Bazargan via use-livecode
I have selected some text in a field. I want to convert that to "word xxx of fld yyy". Any hints on how I do that? -- Kaveh Bazargan Director River Valley Technologies @kaveh1000 +44 7771 824 111 www.rivervalleytechnologies.com ___ use-livecode mailing