Re: iOS Profile Menu

2018-01-05 Thread Brian Milby via use-livecode
Are you talking about Property Profiles on the General Tab? Also which version of LC? For that, see the “profile library” association in the dictionary (9.0DP11). On Fri, Jan 5, 2018 at 10:19 PM Roger Guay via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Folks, > > Once again, I’m

iOS Profile Menu

2018-01-05 Thread Roger Guay via use-livecode
Hi Folks, Once again, I’m trying to figure out the Apple maze for developing on iOS. Fat chance, eh? Can someone please tell me where the items of the Profile menu in the Standalone Application Settings come from? Nothing I do has any effect on that pulldown menu, and I’ve been messing with

HHTextEditFull

2018-01-05 Thread hh via use-livecode
HHTextEditFull v1.3.6 builds upon HHTextEditBasic and = uses the _livecode.com_ browser widget = uses the _summernote.org_ editor = Snippets of Bootstrap3 by _w3schools.com_ = uses the _codemirror.net_ code editor = uses the _khan.github.io/KaTeX_ TeX engine Download from "Sample stacks" of the

Re: SQL Insert Syntax

2018-01-05 Thread Bob Sneidar via use-livecode
Hi all. Here's a new toy for everyone to play with. It takes a numbered array of key/value pairs and converts it to a MEMORY database. Why you ask? So you can query against it of course! In my particular case I am getting an array of every object on a card EXCLUDING objects that are

Re: SQL Insert Syntax

2018-01-05 Thread Bob Sneidar via use-livecode
For now I am just dropping the table and recreating it. Bob S > On Jan 5, 2018, at 14:28 , Bob Sneidar via use-livecode > wrote: > > Thanks for your help all. > > I think with everyone's help I have it working, but now I am trying to use a > memory based

Re: SQL Insert Syntax

2018-01-05 Thread Bob Sneidar via use-livecode
Thanks for your help all. I think with everyone's help I have it working, but now I am trying to use a memory based database using :MEMORY: for the database name. I ensured all databases are closed using revOpenDatabases() which returns empty. But now each time I attempt to create the

Re: Lower part of Script Editor (the one with variabels etc.) disappeared, how to get it back?

2018-01-05 Thread Klaus major-k via use-livecode
Hi Hermann, > Am 05.01.2018 um 22:57 schrieb hh via use-livecode > : > >> Klaus wrote: >> He is using a MacBook and LC 2.18. > > Hi Klaus, > > where can I find LC 2.18? Is this a private edition? yes, very private, but its functionality equals to the stock

Re: SQL Insert Syntax

2018-01-05 Thread Mike Kerner via use-livecode
the only problem is your quoted column names. On Fri, Jan 5, 2018 at 4:38 PM, Devin Asay via use-livecode < use-livecode@lists.runrev.com> wrote: > Bob, > > You could try parameterizing your statements as described in the > dictionary. Also, you don’t want to quote your column names. > > put

Re: Lower part of Script Editor (the one with variabels etc.) disappeared, how to get it back?

2018-01-05 Thread hh via use-livecode
> Klaus wrote: > He is using a MacBook and LC 2.18. Hi Klaus, where can I find LC 2.18? Is this a private edition? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Visibility problem

2018-01-05 Thread J. Landman Gay via use-livecode
On 1/5/18 2:18 PM, Graham Samuel via use-livecode wrote: I have a substack which is supposed to contain logging data. It’s got a single card and a single scrolling field. Being at an early stage of development, I have this bit of code to be sure it’s working: put empty into fld "TheLog" of cd

Re: SQL Insert Syntax

2018-01-05 Thread Devin Asay via use-livecode
Bob, You could try parameterizing your statements as described in the dictionary. Also, you don’t want to quote your column names. put 0,43,500,543 into tRect put “image “ & quote & “fresh_now.png” & quote into tObj put “card “ & quote & “Main” & quote into tCard put false into tVis

Re: SQL Insert Syntax

2018-01-05 Thread Mike Bonner via use-livecode
Use the placeholder method? put your data into a numerically keyed array and change the insert to this.. INSERT INTO arraydata ("rect","controlname","owner","visible") VALUES (:1,:2,:3,:4) On Fri, Jan 5, 2018 at 2:24 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: >

Re: SQL Insert Syntax

2018-01-05 Thread Bob Sneidar via use-livecode
Possibly, but every sqLite reference I've looked at seems to indicate that I should enclose string values with single quotes, and since my text contains double quotes, I thought that would do the trick. I have tried escaling quotes ie. \" but that doesn't work either. This BTW is why I use

Re: SQL Insert Syntax

2018-01-05 Thread Devin Asay via use-livecode
Bob, Some SQL dialects accept both single and double quotes as string delimiters. Might that be the problem? Devin On Jan 5, 2018, at 2:16 PM, Bob Sneidar via use-livecode > wrote: Can anyone find anything wrong with this

SQL Insert Syntax

2018-01-05 Thread Bob Sneidar via use-livecode
Can anyone find anything wrong with this sqLite insert statement? INSERT INTO arraydata ("rect","controlname","owner","visible") VALUES ('0,43,500,543','image "fresh_snow.png"','card "Main"','false') It doesn't generate an error, but neither does it insert anything! There is a primary key

Re: Trying to delete a Mac application

2018-01-05 Thread J. Landman Gay via use-livecode
OS X locked down the Application folder a while back. I haven't changed the permissions so it still asks for authorization when I try to remove an app. This will vary by user. But also, when you delete an app, you are the user that may have permission, but when the app does it, I don't think

Re: Trying to delete a Mac application

2018-01-05 Thread Klaus major-k via use-livecode
Hi Graham, > Am 05.01.2018 um 21:23 schrieb Graham Samuel via use-livecode > : > > Thanks to Klaus and Ken, I know how to address the Mac Applications folder. > But when I try to delete an app (which I take to be a folder of the form > xxx.app) by script, I get

Re: Visibility problem

2018-01-05 Thread Mike Kerner via use-livecode
did you bring the stack to the front? On Fri, Jan 5, 2018 at 3:18 PM, Graham Samuel via use-livecode < use-livecode@lists.runrev.com> wrote: > I have a substack which is supposed to contain logging data. It’s got a > single card and a single scrolling field. Being at an early stage of >

Trying to delete a Mac application

2018-01-05 Thread Graham Samuel via use-livecode
Thanks to Klaus and Ken, I know how to address the Mac Applications folder. But when I try to delete an app (which I take to be a folder of the form xxx.app) by script, I get a result “can’t delete that file”. But as a user -admittedly with admin privileges - I can move any app into the trash.

Visibility problem

2018-01-05 Thread Graham Samuel via use-livecode
I have a substack which is supposed to contain logging data. It’s got a single card and a single scrolling field. Being at an early stage of development, I have this bit of code to be sure it’s working: put empty into fld "TheLog" of cd "Log" of stack "TheUninstallLog" set the visible of stack

Re: SQL Query not working

2018-01-05 Thread Dr. Hawkins via use-livecode
On Fri, Jan 5, 2018 at 11:04 AM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > > put revOpenDatabase("sqlite", "MEMORY") into tDBID -- verified tDBID > returns a number > > I think you need ":MEMORY:" rather than "MEMORY" -- Dr. Richard E. Hawkins, Esq. (702) 508-8462

Re: SQL Query not working

2018-01-05 Thread Bob Sneidar via use-livecode
OK So I just determined that I'm a moron. It's not revDBExecute it's revDB_Execute. DOH! Bob S > On Jan 5, 2018, at 11:04 , Bob Sneidar via use-livecode > wrote: > > Hi all. > > I know I'm missing something here, but this query works in an SQL editor, but >

SQL Query not working

2018-01-05 Thread Bob Sneidar via use-livecode
Hi all. I know I'm missing something here, but this query works in an SQL editor, but does NOT work with revDBExecute(): create table "arraydata" ("recordid" NUMERIC PRIMARY KEY NOT NULL UNIQUE, "rect" VARCHAR, "controlname" VARCHAR, "owner" VARCHAR, "visible" VARCHAR) put

Re: The coming of SVG

2018-01-05 Thread Dave Kilroy via use-livecode
Brilliant thanks Mark! :) Kind regards Dave - "The first 90% of the task takes 90% of the time, and the last 10% takes the other 90% of the time." Peter M. Brigham -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

Re: Function for returning a list of objects on a card

2018-01-05 Thread Bob Sneidar via use-livecode
Here is a workaround. Replace the getObjectProps function with the following function. I suspect there are other properties that will return empty instead of what they should. Apparently the long id will return empty too: on getObjectProps pControl, pControlName, pIndex, pPropList, @aObjectData

Re: Lower part of Script Editor (the one with variabels etc.) disappeared, how to get it back?

2018-01-05 Thread Klaus major-k via use-livecode
Hi Craig, > Am 05.01.2018 um 17:32 schrieb dunbarx via use-livecode > : > > Klaus is new at this. > Be patient with him thank you, you are very kind! 8-) > Craig Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de

Re: Lower part of Script Editor (the one with variabels etc.) disappeared, how to get it back?

2018-01-05 Thread Klaus major-k via use-livecode
Hi Bob, > Am 05.01.2018 um 16:34 schrieb Bob Sneidar via use-livecode > : > > At the bottom of the script window there should be 2 horizontal bars about > 3/8 inch long. This is the handle for the split pane control. thanks,yes, SHOULD be, but isn't! 8-) We

Re: Function for returning a list of objects on a card

2018-01-05 Thread Bob Sneidar via use-livecode
Thanks Mike, but code in which object? The Stack and Card scripts are empty. I know the Search stack displays the owner. I will check that out. Bob S > On Jan 5, 2018, at 09:20 , Mike Kerner via use-livecode > wrote: > > if you don't want to wait, read the

Re: Function for returning a list of objects on a card

2018-01-05 Thread Mike Kerner via use-livecode
if you don't want to wait, read the project browser code. On Fri, Jan 5, 2018 at 12:10 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi all. > > I put together a couple of handlers that will return all the objects on a > card in the form of an array whose elements

Re: How to tell if it's a datagrid

2018-01-05 Thread Mike Kerner via use-livecode
oh somebody's building a toy that we're all going to get to play with soon... On Fri, Jan 5, 2018 at 10:41 AM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks all for the replies. I guess everyone figured it out but me. :-0 > > Bob S > > > > On Jan 5, 2018, at

Re: The coming of SVG

2018-01-05 Thread Bleiler, Timothy via use-livecode
Thank you, Mark. This is bug report 20832. I included your response in the description. > On Jan 5, 2018, at 11:54 AM, Mark Waddingham via use-livecode > wrote: > > On 2018-01-05 17:21, Bleiler, Timothy via use-livecode wrote: >> I’ve been testing this a little

Function for returning a list of objects on a card

2018-01-05 Thread Bob Sneidar via use-livecode
Hi all. I put together a couple of handlers that will return all the objects on a card in the form of an array whose elements are the objects names as a return delimited list, the Long IDs as a return delimited list and an array of the properties of each object which properties are passed in

Re: Cancel browser widget navigation?

2018-01-05 Thread Trevor DeVore via use-livecode
On Fri, Jan 5, 2018 at 10:45 AM, hh via use-livecode < use-livecode@lists.runrev.com> wrote: > > > So, how should this work without using a lot of JavaScript (eventually > > > changing libbrowser)? > > > > The same way that browserLoadRequest works for the iOS mobile browser. If > > you don’t

Re: The coming of SVG

2018-01-05 Thread Mark Waddingham via use-livecode
On 2018-01-05 17:21, Bleiler, Timothy via use-livecode wrote: I’ve been testing this a little and I’ve run into some files that don’t render correctly. I’ve attached a simple example I found on the internet that contains this info about how it was created - Generator: Adobe Illustrator 22.0.1,

Re: Cancel browser widget navigation?

2018-01-05 Thread hh via use-livecode
> > So, how should this work without using a lot of JavaScript (eventually > > changing libbrowser)? > > The same way that browserLoadRequest works for the iOS mobile browser. If > you don’t pass the message then the url isn’t loaded. This works from a WYSIWYG editor?

Re: Cancel browser widget navigation?

2018-01-05 Thread Trevor DeVore via use-livecode
On Fri, Jan 5, 2018 at 10:23 AM, hh via use-livecode < use-livecode@lists.runrev.com> wrote: > The browser widget doesn't know anything about what you do in the editor. > It has always the original htmltext you used for starting the editor. > > So, how should this work without using a lot of

Re: Lower part of Script Editor (the one with variabels etc.) disappeared, how to get it back?

2018-01-05 Thread dunbarx via use-livecode
Klaus is new at this. Be patient with him Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: The coming of SVG

2018-01-05 Thread Bleiler, Timothy via use-livecode
Oops, I guess we can’t send attachments to the list. Here is a link to the file I tested. https://lovesvg.com/2018/01/cat-5169/ Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo > On Jan 5, 2018, at 11:21 AM, Bleiler, Timothy via use-livecode >

Re: Cancel browser widget navigation?

2018-01-05 Thread hh via use-livecode
> Yes, I am aware of how to cancel clicks using JavaScript. Remember that my > original post stated that I was looking for a way to cancel navigation > using a method other than JavaScript (which is the solution I’m currently > using) :-) > > Ideally the browser widget would allow us to cancel

Re: The coming of SVG

2018-01-05 Thread Bleiler, Timothy via use-livecode
I’ve been testing this a little and I’ve run into some files that don’t render correctly. I’ve attached a simple example I found on the internet that contains this info about how it was created - Generator: Adobe Illustrator 22.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0). When I

Re: Cancel browser widget navigation?

2018-01-05 Thread Trevor DeVore via use-livecode
On Fri, Jan 5, 2018 at 9:45 AM, hh via use-livecode < use-livecode@lists.runrev.com> wrote: > > > hh wrote: > > > 2. Don't do the navigation in the widget but later on in browsers: > > > Not really from a widget property. But you could use an attribute that > the > > > widget can't do: to open a

Re: Finding the 'Applications' folder on a Mac

2018-01-05 Thread Bob Sneidar via use-livecode
That IS handy! Bob S > On Jan 5, 2018, at 03:08 , Graham Samuel via use-livecode > wrote: > >> ... >> put specialfolderpath("apps") into tApplicationFolder >> ... >> >> Found this and more gemns here: >>

Re: Cancel browser widget navigation?

2018-01-05 Thread hh via use-livecode
> > hh wrote: > > 2. Don't do the navigation in the widget but later on in browsers: > > Not really from a widget property. But you could use an attribute that the > > widget can't do: to open a new window. This works in "hhTextEditBasic". > > > > set the htmltext of widget 1 to > >

Re: How to tell if it's a datagrid

2018-01-05 Thread Bob Sneidar via use-livecode
Thanks all for the replies. I guess everyone figured it out but me. :-0 Bob S > On Jan 5, 2018, at 05:48 , Mike Kerner via use-livecode > wrote: > > uhhh guessing: can you check if the object has a parent? If the parent is > a datagrid, then the object is

Re: How to tell if it's a datagrid

2018-01-05 Thread Bob Sneidar via use-livecode
Hi Craig. Thanks for the reply. One of the goals of any utility script I write is to make it usable in any circumstance. Using naming conventions violates this principle. However your first comment seems like it would work. There is only one control where the dgProp ["control type"] is "data

Re: Lower part of Script Editor (the one with variabels etc.) disappeared, how to get it back?

2018-01-05 Thread Bob Sneidar via use-livecode
At the bottom of the script window there should be 2 horizontal bars about 3/8 inch long. This is the handle for the split pane control. Bob S > On Jan 5, 2018, at 04:11 , Klaus major-k via use-livecode > wrote: > > Hi friends, > > the subject says it all. >

Re: Cancel browser widget navigation?

2018-01-05 Thread Trevor DeVore via use-livecode
On Fri, Jan 5, 2018 at 9:01 AM, hh via use-livecode < use-livecode@lists.runrev.com> wrote: > > Trevor D. wrote: > > Other than injecting javascript into each web page that cancels clicks on > > links, is there a way to cancel user clicks on links in a browser widget? > > 1. Cancel while

Re: The coming of SVG

2018-01-05 Thread Mark Waddingham via use-livecode
On 2018-01-05 15:58, Dave Kilroy via use-livecode wrote: Hi - anyone got news on 'VectorIcon' or whatever it's going to be called? I was thinking it would arrive with LC (dp11) but it didn't It did - but not in widget form. There is a script library which compiles an SVG file into a metafile

Re: Cancel browser widget navigation?

2018-01-05 Thread hh via use-livecode
> Trevor D. wrote: > Other than injecting javascript into each web page that cancels clicks on > links, is there a way to cancel user clicks on links in a browser widget? 1. Cancel while navigating: Catch the "current" htmltext: on browserNavigateBegin set the currentHTML of me to the

Re: The coming of SVG

2018-01-05 Thread Dave Kilroy via use-livecode
he he - that should be "svg compiler" Dave - "The first 90% of the task takes 90% of the time, and the last 10% takes the other 90% of the time." Peter M. Brigham -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

Re: The coming of SVG

2018-01-05 Thread Dave Kilroy via use-livecode
Hi - anyone got news on 'VectorIcon' or whatever it's going to be called? I was thinking it would arrive with LC (dp11) but it didn't When using Mark's external that he shared on LC Global I can get it working in the IDE but it's a no-show on an iOS device (amongst other errors I get "864,7,1

Re: How to tell if it's a datagrid

2018-01-05 Thread Mike Kerner via use-livecode
whoa. everyone else's replies didn't show up until just now, and they're all above mine. weird email glitch this AM. On Fri, Jan 5, 2018 at 8:48 AM, Mike Kerner wrote: > uhhh guessing: can you check if the object has a parent? If the parent > is a datagrid, then

Re: How to tell if it's a datagrid

2018-01-05 Thread Mike Kerner via use-livecode
uhhh guessing: can you check if the object has a parent? If the parent is a datagrid, then the object is not a datagrid On Thu, Jan 4, 2018 at 7:13 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Given an object reference, how can I tell the object is a datagrid? You

Cancel browser widget navigation?

2018-01-05 Thread Trevor DeVore via use-livecode
Other than injecting javascript into each web page that cancels clicks on links, is there a way to cancel user clicks on links in a browser widget? -- Trevor DeVore ScreenSteps www.screensteps.com ___ use-livecode mailing list

Re: Two new videos about using Navigator with LiveCode

2018-01-05 Thread Geoff Canyon via use-livecode
Email is fine for bug reports; I don't get that many. gc > On Jan 4, 2018, at 10:42 PM, Sannyasin Brahmanathaswami via use-livecode > wrote: > > Geoff > > wow this is the tool I've been waiting for! > > I just fixed a series of fields on 8 cards that carried

Re: How to tell if it's a datagrid

2018-01-05 Thread Trevor DeVore via use-livecode
On Thu, Jan 4, 2018 at 6:13 PM Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Given an object reference, how can I tell the object is a datagrid? You could check to see if the long id of your target control is the dgControl of the target control. If it is then you have a

Lower part of Script Editor (the one with variabels etc.) disappeared, how to get it back?

2018-01-05 Thread Klaus major-k via use-livecode
Hi friends, the subject says it all. Out of a sudden*** the lower part of the script editor diappeared from his machine. The part with the variables, Find etc. How can we get it back? We really cannot debug this way :-/ He is using a MacBook and LC 2.18. ***We have no idea when and how it

Re: Finding the 'Applications' folder on a Mac

2018-01-05 Thread Graham Samuel via use-livecode
Gems indeed! If they always work, I wonder why the mother ship hasn’t incorporated them into the LC Dictionary. Anyway thanks Klaus, and of course thanks Ken Ray. Graham > On 4 Jan 2018, at 23:59, Klaus major-k via use-livecode > wrote: > > Hi Graham, > >>

Re: Mac 64 bit?

2018-01-05 Thread Dave Kilroy via use-livecode
+1 LC9 is stable as far as I’m concerned and has been for many months, I’m using it for development and deployment Kind regards Dave PS: it’s also a pain to have to delete and reapply widgets when moving back and forth between LC8 and 9… > One more reason to use the most recent build