Re: Stack Height/Menubar

2018-11-15 Thread Rick Harrison via use-livecode
Hi Klaus, I found that: set the defaultMenubar to group “MyMenuBar” of stack “MenuBarSubStack” (Does not work.) but set the defaultMenubar to the long ID of group “MyMenuBar” of stack “MenuBarSubStack” (works!) Although when I create the standalone it stops working. I think it is not finding

Re: Steamworks API and LiveCode

2018-11-15 Thread Monte Goulding via use-livecode
The fact their API is C++ will make it complicated to wrap with LCB. A quick google came up with a few C wrappers for steam. If you don’t want to use those it would be easier to write an external. > On 16 Nov 2018, at 2:06 pm, Brian Milby via use-livecode > wrote: > > Can you use the web API?

Re: Steamworks API and LiveCode

2018-11-15 Thread Brian Milby via use-livecode
Can you use the web API?  If not, then LCB will need to be used to build the needed module. Thanks, Brian On Nov 15, 2018, 5:58 PM -0600, Antuan Johnson via use-livecode , wrote: > Does anyone have any experience implementing Steam's API with LiveCode? > I'm working on a game that requires the A

Re: directory tree view

2018-11-15 Thread Brian Milby via use-livecode
This just leverages the included widget.  The latest RC no longer needs the hack to clear the hilited item (empty no longer throws an error). Thanks, Brian On Nov 15, 2018, 6:00 PM -0600, Bob Sneidar via use-livecode , wrote: > Do I have to create/compile the widget before being able to use the

Re: Array editing or Validate JSON string?

2018-11-15 Thread William Prothero via use-livecode
Thanks, Terry: I’ll give it a whack. Bill > On Nov 15, 2018, at 5:19 PM, Terry Judd via use-livecode > wrote: > > Hi Bill - I convert the JSON (jsonImport) to an array then use a treeview > widget to display it. I then use an actionDoubleClick handler in the widget > script to grab the approp

Re: Array editing or Validate JSON string?

2018-11-15 Thread Terry Judd via use-livecode
Hi Bill - I convert the JSON (jsonImport) to an array then use a treeview widget to display it. I then use an actionDoubleClick handler in the widget script to grab the appropriate array element and display it in an ask dialog. The value goes back into the array and I export the array back to JS

Re: Stack Height/Menubar

2018-11-15 Thread Bob Sneidar via use-livecode
I did not know that! Bob S > On Nov 15, 2018, at 10:43 , Klaus major-k via use-livecode > wrote: > > Menubars on macOS have some caveats: > 1. Last menuitem in your HELP menu should read: About XXX(Your app)... > and will go as first menuitem into the application menu > > 2. Last menuitem o

Re: directory tree view

2018-11-15 Thread Bob Sneidar via use-livecode
Do I have to create/compile the widget before being able to use the stack? Never done widgets before... Bob S > On Nov 15, 2018, at 11:34 , Mike Kerner via use-livecode > wrote: > > I fought through the various tree view issues and got it to build a > directory list that's kind-of functional

Re: Reading data from Google Sheets

2018-11-15 Thread Mike Kerner via use-livecode
why aren't you using merggoogle again? It has issues but it would be easier to get going. On Thu, Nov 15, 2018 at 3:06 PM JJS via use-livecode < use-livecode@lists.runrev.com> wrote: > i used this 3 years ago, found some examples and altered it a bit, still > works ok. > > we used this to find i

Steamworks API and LiveCode

2018-11-15 Thread Antuan Johnson via use-livecode
Does anyone have any experience implementing Steam's API with LiveCode? I'm working on a game that requires the API, so any help would be greatly appreciated. Steam's API: https://partner.steamgames.com/doc/sdk/api ___ use-livecode mailing list use-live

Array editing or Validate JSON string?

2018-11-15 Thread William Prothero via use-livecode
Hi, I’m editing a json string (for development uses) and wonder if there is an easy way to validate whether the string is a valid JSON string. Or, perhaps there is an easier way to display and edit a pretty simple array. Suggestions would be helpful. Currently, I convert the array to JSON, put

Re: [ANN] LiveCode Advanced Application Architecture book available

2018-11-15 Thread Tyrone Armstead via use-livecode
I'm interested, I'm in the US, is it $127 in US dollars? Tyrone Armstead Armstead Enterprises, LLC 732 South 11th St. Suite 100-195 Niles,MI 49120 P: 269-3484-9183 C: 269-313-2270 F: 888-811-6591 Email: T[yarmst...@comcast.net]() [WWW.ArmsteadLLC.com]() "Luck Is What Happens When Preparation Mee

Re: Reading data from Google Sheets

2018-11-15 Thread JJS via use-livecode
i used this 3 years ago, found some examples and altered it a bit, still works ok. we used this to find info back on what others had added to the list. you have to select the columns you want to read in the SELECT statement in the script, you have to play with this the script shows you that

Re: [ANN] LiveCode Advanced Application Architecture book available

2018-11-15 Thread Tom Glod via use-livecode
Andre, well done!..I want to buy the book with paypal... pm me your address: t...@makeshyft.com. Thanks On Thu, Nov 15, 2018 at 2:45 PM Andre Alves Garzia via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Friends, > > I've just released a new LiveCode book in the wild. It is c

[ANN] LiveCode Advanced Application Architecture book available

2018-11-15 Thread Andre Alves Garzia via use-livecode
Hi Friends, I've just released a new LiveCode book in the wild. It is called "LiveCode Advanced Application Architecture" and it deals with Best Practices from our community and the MVC pattern. With the techniques contained in it you will build applications that are easier to maintain and a

directory tree view

2018-11-15 Thread Mike Kerner via use-livecode
I fought through the various tree view issues and got it to build a directory list that's kind-of functional. Please break and report issues on the repo. https://github.com/macMikey/directoryTreeView -- On the first day, God created the heavens and the Earth On the second day, God created the oce

Re: Stack Height/Menubar

2018-11-15 Thread Klaus major-k via use-livecode
Hi Rick, > Am 15.11.2018 um 19:27 schrieb Rick Harrison via use-livecode > : > > Hi Klaus, > > This sounds like it could be a good solution. > Unfortunately after trying to do it several ways > I can’t seem to get it to work. > > Could you be a little more specific about what > exactly you

Re: Stack Height/Menubar

2018-11-15 Thread Rick Harrison via use-livecode
Hi Klaus, This sounds like it could be a good solution. Unfortunately after trying to do it several ways I can’t seem to get it to work. Could you be a little more specific about what exactly you are doing? Are you setting the defaultMenuBar with a script, or are you just checking the butto

Re: Reading data from Google Sheets

2018-11-15 Thread dunbarxx via use-livecode
No good. Somewhere the last char of the text of a google sheet is inserted three times in the body of the html tag suite. So adding a delimiting char of any kind is futile. I still think I am overthinking this. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-Use

Re: Reading data from Google Sheets

2018-11-15 Thread dunbarxx via use-livecode
Well, heck. Even I know that the string "><" is ubiquitous in html tag sets. Wasn't thinking. So for now, I have to include an arcane char at the end of my sheet file, and lose it in LC. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

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: Stack Height/Menubar

2018-11-15 Thread Bob Sneidar via use-livecode
I'm going to have to give that a try. I have standard menus, with additional menus depending on the module. I already have a script where I can add and remove menus on the fly and reposition all the buttons, so it wouldn't be difficult to set the menubar the way you are doing it, then add the cu

Re: Stack Height/Menubar

2018-11-15 Thread Bob Sneidar via use-livecode
I do not have that problem. I have objects well into that space. I have a status bar for displaying progress messages 9 pixels from the bottom of each card. That being said, I do set the size of my windows by script when they open, because I had an issue with it between Windows and Mac. Windows

Re: Stack Height/Menubar

2018-11-15 Thread J. Landman Gay via use-livecode
I haven't needed to create menubars for some time, but this is how it has always worked in the past: LiveCode menus are objects that take up room at the top of a card. On Windows, this is standard; menus appear at the top of each window. When the same stack is run on a Mac, LiveCode pushes the

Re: Stack Height/Menubar

2018-11-15 Thread Brian Milby via use-livecode
Did you try turning "Set as stack menu bar" off and back on? When I do that, the stack size changes. Or you could do what Klaus mentioned. On Thu, Nov 15, 2018 at 10:26 AM Terence Heaford via use-livecode < use-livecode@lists.runrev.com> wrote: > This is fair enough but you still cannot put anyt

Re: Stack Height/Menubar

2018-11-15 Thread Klaus major-k via use-livecode
Hi Terry, > Am 15.11.2018 um 17:26 schrieb Terence Heaford via use-livecode > : > > This is fair enough but you still cannot put anything in the bottom 22 of a > visible card on screen. > Try dragging an object to the card and it will not allow you to place it in > the bottom 22 of the card (L

Re: Stack Height/Menubar

2018-11-15 Thread Terence Heaford via use-livecode
This is fair enough but you still cannot put anything in the bottom 22 of a visible card on screen. Try dragging an object to the card and it will not allow you to place it in the bottom 22 of the card (LC 9.0.1) Thanks Terry > On 15 Nov 2018, at 15:37, Paul Dupuis via use-livecode > wrote

Re: Stack Height/Menubar

2018-11-15 Thread Paul Dupuis via use-livecode
Look at the 'effective' keyword in the dictionary The effective rect of a stack includes the borders and titlebar. The rect of a stack is just the interior size available for card and controls.. The difference gives you the border sizes and titlebar sizes. You can also use 'effective' with ofther

Re: Stack Height/Menubar

2018-11-15 Thread Terence Heaford via use-livecode
This all basically means you can’t place anything in the bottom 22 of the card. Terry > On 15 Nov 2018, at 15:03, Terence Heaford via use-livecode > wrote: > > This post is regard the use of Livecode on MacOS(LC 9.0.1) > > When you set the height of this stack to 800 (for example) > > The h

Stack Height/Menubar

2018-11-15 Thread Terence Heaford via use-livecode
This post is regard the use of Livecode on MacOS(LC 9.0.1) When you set the height of this stack to 800 (for example) The height of this card in the property inspector is 822 and is also returned as 822 in script. This seems to be as a result of the menubar position on none mac systems. I hav

Re: Reading data from Google Sheets

2018-11-15 Thread dunbarxx via use-livecode
Thanks, Colin. I found my way through that setting. Now I do indeed get the data in the sheet, but followed by a massive array of tags. This would not be an issue, except that the very start of that tag dataSet is appended the the text in the last cell of the actual sheet data. In other words, if