Drag-and-Drop with Desktop Files

2019-03-13 Thread R.H. via use-livecode
Jacqueline: on dragDrop -- check for file paths get the dragData["files"]... pass dragDrop end dragDrop Jacqueline, thank you. I know this and wrote about it. Here I want to know the filename and path which is user-selected in the OS (on Windows File Explorer) without dragging and

[off]sublimeText update

2019-03-13 Thread Mike Kerner via use-livecode
The new sublimeText update dropped this morning, and it's pretty sweet. It now has things like git status integration, which is very cool. It would be really cool if we could get better integration between external text editors and ST. The ST kluge works great for updating scripts live in LC, exce

Re: [off]sublimeText update

2019-03-13 Thread Brian Milby via use-livecode
I have a tool that exports the scripts of a stack and can facilitate editing in any external editor.  I want to hook it up in Atom like ST, but have not figured out how to rewrite the module in JS.  ScriptTracker works by watching a directory for changes to the files.  The ST plugin works by sen

Re: [off]sublimeText update

2019-03-13 Thread Mike Kerner via use-livecode
Navigator also has an exporter, and Monte wrote "Scriptifier", which is included in the LC bundle, for exporting scripts to SOS's. Once they're in SOS's, there's no reason to put them back in the stack, since you can edit them using the LC SE or in an external editor. I thought about writing some

Re: [off]sublimeText update

2019-03-13 Thread Bob Sneidar via use-livecode
That's been mulled over before. It's a huge undertaking. Arrays in properties would have to be arrayEncoded of course, which makes putting it all in a flat text file extremely problematic. Where does the array data begin and end you see? An XML file would be better. Bob S > On Mar 13, 2019

The Old Project Browser?

2019-03-13 Thread Michael Kristensen via use-livecode
Hi there I know the old project browser is still there in LC 9. I just can’t remember how to get to it. Can you help out? Thanks Michael ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and ma

Re: The Old Project Browser?

2019-03-13 Thread Klaus major-k via use-livecode
Hi Michael, > Am 13.03.2019 um 18:12 schrieb Michael Kristensen via use-livecode > : > > Hi there > > I know the old project browser is still there in LC 9. > I just can’t remember how to get to it. > Can you help out? Menu: Development -> PlugIns -> revApplicationOverview > Thanks > Michael

Re: [off]sublimeText update

2019-03-13 Thread Brian Milby via use-livecode
My stack is a different take on the problem.  It allows the benefit of tracking the scripts in a VCS while retaining the convenience of a binary stack file.   It also allows easy editing of scripts outside of the IDE without moving to SOS.  I’m still not convinced that SOS use makes sense all of

Ineffective lazy screenRect

2019-03-13 Thread Richmond via use-livecode
So, "here" on macOS 10.14.4 beta 5 with LC 9.0.3 rc-1 [ "Edge City" as they used to say when I wore flared jeans ], when I put *put the working screenRect * into the msgBox I get *0,23,1920,1034* that includes the macOS Dock and the menuBar! *put the effective screenRect* just throws an err

Re: Ineffective lazy screenRect

2019-03-13 Thread Richard Gaskin via use-livecode
Richmond wrote: > when I put > > *put the working screenRect * > > into the msgBox I get *0,23,1920,1034* > > that includes the macOS Dock and the menuBar! Menubar at the top with Dock at the bottom - that seems correct. What is not working? -- Richard Gaskin Fourth World Systems Software D

Re: Ineffective lazy screenRect

2019-03-13 Thread Richmond via use-livecode
What is not working is that 1034 is the number given regardless of whether the words *effective* and *working* are used or not. Richmond. On 13.03.19 21:02, Richard Gaskin via use-livecode wrote: Richmond wrote: > when I put > > *put the working screenRect * > > into the msgBox I get *0,23,19

Re: Ineffective lazy screenRect

2019-03-13 Thread Brian Milby via use-livecode
What is reported with just screenRect? Thanks, Brian On Mar 13, 2019, 3:05 PM -0400, Richmond via use-livecode , wrote: > What is not working is that 1034 is the number given regardless of > whether the > words *effective* and *working* are used or not. > > Richmond. > > On 13.03.19 21:02, Richar

Re: Ineffective lazy screenRect

2019-03-13 Thread Richmond via use-livecode
0,23,1920,1034 On 13.03.19 21:06, Brian Milby via use-livecode wrote: What is reported with just screenRect? Thanks, Brian On Mar 13, 2019, 3:05 PM -0400, Richmond via use-livecode , wrote: What is not working is that 1034 is the number given regardless of whether the words *effective* and *w

Re: Ineffective lazy screenRect

2019-03-13 Thread Richmond via use-livecode
Having written that,and having reopened LC 9.0.3 it behaved "as it should" and reported my screen height as 1080. Had that happened initially I would not have started this thread. Richmond. On 13.03.19 21:07, Richmond wrote: 0,23,1920,1034 On 13.03.19 21:06, Brian Milby via use-livecode wrote

Re: Ineffective lazy screenRect

2019-03-13 Thread Mark Wieder via use-livecode
On 3/13/19 12:10 PM, Richmond via use-livecode wrote: Had that happened initially I would not have started this thread. I think there's a valuable lesson to be learned here. I'm not sure what it is. -- Mark Wieder ahsoftw...@gmail.com ___ use-liv

Re: Ineffective lazy screenRect

2019-03-13 Thread hh via use-livecode
> > Richmond M. wrote: > > Had that happened initially I would not have started this thread. > Mark Wieder wrote: > I think there's a valuable lesson to be learned here. I'm not sure > what it is. I wrote also things to the use-list (mostly silly typos) I wished a few seconds later I could cor

Re: Drag-and-Drop with Desktop Files

2019-03-13 Thread hh via use-livecode
** Get selected files of the file manager (without user interaction like dragDrop) ** (I write the following such that also beginners can read it.) +++ [a] Solution for MacOS (tested to work on MacOS 10.14): (a1) Put the following in a field "myScript". # Full path of selec

Re: [off]sublimeText update

2019-03-13 Thread Geoff Canyon via use-livecode
I wrote an XML exporter about fifteen years ago. I don't think I have a copy of it anywhere, and of course it probably would break with all the changes since then. But it wasn't *that* complex; Navigator has built-in code to return a list of all the controls within a given group/card/stack, and sep

Re: TabStops and Tab Spacings

2019-03-13 Thread Håkan Liljegren via use-livecode
Tab-size is a CSS-thing and not a Livecode thing... On 7 Mar 2019, 01:15 +0100, Roger Guay via use-livecode , wrote: > Thank you, Håkan. I am working with rtfText and 4 or 5 tab-sizes, but this is > very interesting and I will see what I can use. Is the Tab-size attribute an > LC thing? If so, I

Re: Ineffective lazy screenRect

2019-03-13 Thread Richmond via use-livecode
Yes, there is a valuable lesson: reel in one's impulsive nature, and don't panic. Richmond. On 13.03.19 22:59, Mark Wieder via use-livecode wrote: On 3/13/19 12:10 PM, Richmond via use-livecode wrote: Had that happened initially I would not have started this thread. I think there's a valua