Re: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-26 Thread Geoff Canyon via use-livecode
On Tue, Apr 3, 2018 at 8:30 AM, Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com> wrote:

> a stack that will build a text file of the scripts of
> all of the open (non-IDE) stacks (except itself).


​I just saw this. FYI, in Navigator you can right-click on any selection of
items and then select "Scripts > Copy" to set the clipboard to the scripts
for the selected objects, or "Scripts > Copy Enclosed" to copy all the
scripts for the objects within the selected objects. So to get the behavior
you're describing you would select "Stack List" on the Stack menu, then
select all the stacks, then right click and select "Scripts > Copy
Enclosed". Then paste wherever you like. It doesn't account for behaviors
at all at present -- they weren't a thing when I wrote the code. If anyone
has suggestions regarding that, or the format of the output, I'm happy to
hear them. The output includes the long name and long id of each control,
like this:



-- scrollbar "Topics" of card id 1003 of stack
"/Users/gcanyon/Desktop/relay redux.livecode"
-- scrollbar id 1006 of card id 1003 of stack "/Users/gcanyon/Desktop/relay
redux.livecode"



on scrollbarDrag p
   put round(2^(p/10)) * 10 into fld (the short name of me)
   set the endvalue of scrollbar "interest level" to 2 * p div 3
end scrollbarDrag






-- card id 1002 of stack "/Users/gcanyon/Desktop/relay redux.livecode"
-- card id 1002 of stack "/Users/gcanyon/Desktop/relay redux.livecode"




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: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-24 Thread Randy Hengst via use-livecode
That makes sense. Thanks for t hat clarification, Craig.

randy


> On Apr 24, 2018, at 7:51 AM, dunbarx via use-livecode 
>  wrote:
> 
> I wrote:
> 
> "Randy. 
> 
> There must be something different in our setups. All I did was write a 
> rawkeyUp handler to return the value of my mouse's right-click. Either you 
> get a different value with that action, or something in your machine is 
> intercepting that "message" before LC does. 
> 
> This was a while ago, so I had forgotten. (No "oops" emoticon in the
> use-list) I have a configurable mouse, and set the right-click to simulate
> "F4". Jacque uses, I think, something like "Cmd-Tab", which is similar to
> how we used to toggle tools in HC. I did something like that for a while,
> until I changed to using my mouse.
> 
> 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 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: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-24 Thread dunbarx via use-livecode
I wrote:

"Randy. 

There must be something different in our setups. All I did was write a 
rawkeyUp handler to return the value of my mouse's right-click. Either you 
get a different value with that action, or something in your machine is 
intercepting that "message" before LC does. 

This was a while ago, so I had forgotten. (No "oops" emoticon in the
use-list) I have a configurable mouse, and set the right-click to simulate
"F4". Jacque uses, I think, something like "Cmd-Tab", which is similar to
how we used to toggle tools in HC. I did something like that for a while,
until I changed to using my mouse.

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 and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-23 Thread Mark Talluto via use-livecode
> I'm still thinking about sessions for LCG.  One of the suggestions I had 
> seen was an intro on tool x.  How about a tools roundup?  Names and URL's 
> for your favorite LC tools go in this thread, please.  More is better so I 
> don't leave anyone out. 

Over the years we have made some tools that we find useful. It comes as a 
toolbar that sits under the LC tools.

http://canelasoftware.com/pub/canela/DEV_TOOLS.rev.zip 

Simply place this in your plugins folder for easy access. Or pull out the parts 
you like and add them to your own tools.

DEV TOOLS
Normally used with Toolbar Icons turned off
Dev Tools will place itself under the LC toolbar
GNU LESSER GENERAL PUBLIC LICENSE (LGPL3), full license in stack 'dev tools' 
UNDER HANDLER 'GNULICENSE'

LIVECODE
- Clear message box history
- Upper case everything in clipboard
- Toggle 'hidePalette' property
- Support for script editor dark themes. You manually set the dark colors in 
script editor preferences. Select 'default' for colorization. This changes the 
font colors in script editor to work with dark backgrounds. Supports the 
differences between LC 8/9 in terms of how the handler list is generated. 
- Various keyboard shortcuts for:
-   toggling pointer/browse tool (ctrl - tab)
-   hide/show handler list in script editor (ctrl - +)
-   hide/show lower pane in script editor (ctrl - *)
-   hide/show menubar in Mac (option - spacebar)
-   hide/show Dev Tools (option/alt - z)
-   hide/show LC project browser (cmd - e)

TIMING
- Easily time code for benchmarking

CODE LINTER/CLEANER
- Check code for variable rules
- Cleans spacing between handlers
- With 'script compilation mode' engaged, find variables that could not be 
cleaned or auto declared

ORPHANED PUTS
- Globally searches all code and generates a list of lines with orphaned puts
-Click on list to be taken to statements found
- Check one script in the clipboard and add '& LF after the message box' when 
you want to use puts as a log

SOCKETS
- List all open sockets
- Optionally close all sockets

CONTROL DETAILS
- Hover over a control and get the full path of the control in 'Dev Tools'
-Optionally: hold down the option key while hovering a have the full path 
of control placed in clipboard
- Other useful details about the control are listed as well like: id, layer, 
lock, autoHilite, width, height, top/left/right/bottom

OTHER THINGS
- If you poke around, you will find other nuggets in there that may/not be 
useful to you. Those listed above are used regularly. 
___
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: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-23 Thread J. Landman Gay via use-livecode

On 4/23/18 12:04 PM, dunbarx via use-livecode wrote:

There must be something different in our setups. All I did was write a
rawkeyUp handler to return the value of my mouse's right-click. Either you
get a different value with that action, or something in your machine is
intercepting that "message" before LC does.


The right-click contextual menu has been in LC forever. It's always 
available when using the edit tool, for the browse tool you need to add 
some supporting keyboard presses (Cmd-control-shift.) The contextual 
menu has lots of handy items, I particularly like "Paste into group" 
which is a nice time-saver.


I use Control-tab to toggle between edit and browse tools. That combo 
was recently implemented in the script editor, but that's fine, it still 
works when a stack is frontmost.


--
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: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-23 Thread dunbarx via use-livecode
Randy.

There must be something different in our setups. All I did was write a
rawkeyUp handler to return the value of my mouse's right-click. Either you
get a different value with that action, or something in your machine is
intercepting that "message" before LC does.

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 and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-23 Thread Randy Hengst via use-livecode
Hi Craig,

That does sound handy. But for me, key 65473 references F4 rather than the 
right mouse button. Did I read your message correctly?

When I have the the Pointer Tool selected and right-click the mouse, I get an 
LC  contextual menu.

I just put your handler in the stack script. Will that make a difference 
compared to using it as a plug-in?

MacOS 10.12.6 
LC 8.1.8

randy hengst
-
> On Apr 23, 2018, at 10:11 AM, dunbarx via use-livecode 
>  wrote:
> 
> Hi.
> 
> My most useful gadget is a very simple plug-in. It toggles the Browse and
> Pointer tools when right-clicking my mouse:
> 
> 
> on rawKeyUp tKey
> if (tKey = 65473 and the tool = "browse tool") then choose "pointer tool"
> else choose "browse tool"
> end rawKeyUp
> 
> Craig Newman
> 
> 
> 
> 
> --
> 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 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: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-23 Thread dunbarx via use-livecode
Hi.

My most useful gadget is a very simple plug-in. It toggles the Browse and
Pointer tools when right-clicking my mouse:


on rawKeyUp tKey
if (tKey = 65473 and the tool = "browse tool") then choose "pointer tool"
else choose "browse tool"
end rawKeyUp

Craig Newman




--
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 and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-23 Thread Paul Dupuis via use-livecode
On 4/22/2018 11:22 PM, Brian Milby wrote:
> I can see that stack being very useful. If I make any good changes
> I’ll let you know. I’m thinking that listing behaviors in the index
> would be useful.

And there in lies one of the main issues with home made tools (like my
script reporter) in that people make them for only what they need and I
rarely find myself using behaviors ;-)

Some day though, I will probably have cause to really make use of
behaviors and then find myself adding information on which object have
an associated behavior. Actually, if I remember, I;'ll do it the next
time I am modifying the stack since that is actually pretty easy to add:

if the behavior of  is not empty then put the behavior of ... (into the report)

-- 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: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-22 Thread Brian Milby via use-livecode
I can see that stack being very useful. If I make any good changes I’ll let
you know. I’m thinking that listing behaviors in the index would be useful.
On Tue, Apr 3, 2018 at 12:32 PM Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Mike & Marc,
>
> You can find the tool at
> http://www.researchware.com/livecode/rwScriptReporter141016.livecode
>
> It is not fancy, nor elegant, but I have found I use it regularly to
> create a text file of the script of our 100K+ line LiveCode app and
> often have the text file of the scripts open to search and copy lines of
> code from it into objects that I am working on in the IDE or simply to
> search for a look up any oen of the hundreds of functions and commands
> that are internal APIs for our application.
>
> Anyone is welcome to use this code in any way they like. If someone make
> a really slick version of this, please let me know.
>
> The Table of Contents feature works pretty well. The index still needs
> some tweaking to make it more useful that it currently is.
>
> -- 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
>
___
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: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-03 Thread Paul Dupuis via use-livecode
Mike & Marc,

You can find the tool at
http://www.researchware.com/livecode/rwScriptReporter141016.livecode

It is not fancy, nor elegant, but I have found I use it regularly to
create a text file of the script of our 100K+ line LiveCode app and
often have the text file of the scripts open to search and copy lines of
code from it into objects that I am working on in the IDE or simply to
search for a look up any oen of the hundreds of functions and commands
that are internal APIs for our application.

Anyone is welcome to use this code in any way they like. If someone make
a really slick version of this, please let me know.

The Table of Contents feature works pretty well. The index still needs
some tweaking to make it more useful that it currently is.

-- 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: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-03 Thread Marc Siskin via use-livecode
Paul,

I would like it.  Maybe you can upload the stack to Revonline too.

Thank you,
Marc

On Apr 3, 2018, at 11:30 AM, Paul Dupuis via use-livecode 
> wrote:

On 4/3/2018 10:33 AM, Mike Kerner via use-livecode wrote:
I'm still thinking about sessions for LCG.  One of the suggestions I had
seen was an intro on tool x.  How about a tools roundup?  Names and URL's
for your favorite LC tools go in this thread, please.  More is better so I
don't leave anyone out.

Mike,

I have a "tool" that I use a lot that I am happy to share. It is not an
IDE plugin, just a stack that will build a text file of the scripts of
all of the open (non-IDE) stacks (except itself). I find it helpful to
have a text file of all my apps scripts for reference. I have no idea if
any other would find it useful. I suspect for those who do they already
have better versions of such a tool they created. Any way, I'm happy to
email it to you if you like. Just send me a direct email an let me know.


___
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

---
Marc Siskin
Manager, Modern Language Resource Center
Carnegie Mellon University
msis...@andrew.cmu.edu



___
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: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-03 Thread Mike Kerner via use-livecode
Hey, Paul,
this account works fine:  mikeker...@roadrunner.com (but so do any of the
other addresses that any of you have for me, since I have...a couple...)
If you or someone else has one of my other addresses, those work as well.

One caveat for anyone who jumps in on this:  A tool doesn't do anyone any
good if they can't get it, so we would need to know either how to get a
hold of the author, or how to get the tool in question.
___
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: TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-03 Thread Paul Dupuis via use-livecode
On 4/3/2018 10:33 AM, Mike Kerner via use-livecode wrote:
> I'm still thinking about sessions for LCG.  One of the suggestions I had
> seen was an intro on tool x.  How about a tools roundup?  Names and URL's
> for your favorite LC tools go in this thread, please.  More is better so I
> don't leave anyone out.
>
Mike,

I have a "tool" that I use a lot that I am happy to share. It is not an
IDE plugin, just a stack that will build a text file of the scripts of
all of the open (non-IDE) stacks (except itself). I find it helpful to
have a text file of all my apps scripts for reference. I have no idea if
any other would find it useful. I suspect for those who do they already
have better versions of such a tool they created. Any way, I'm happy to
email it to you if you like. Just send me a direct email an let me know.


___
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


TOOLS ROUNDUP! TOOLS ROUNDUP!

2018-04-03 Thread Mike Kerner via use-livecode
I'm still thinking about sessions for LCG.  One of the suggestions I had
seen was an intro on tool x.  How about a tools roundup?  Names and URL's
for your favorite LC tools go in this thread, please.  More is better so I
don't leave anyone out.

-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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