Search found 3346 matches

by JRL
Thu May 06, 2021 1:31 pm
Forum: Technical / Scripting
Topic: How to word-wrap a long line - Solved
Replies: 13
Views: 286

Re: How to word-wrap a long line - Solved

Djek, Thank you for your kind words. It is fun to help and even more fun when the expended effort is acknowledged. I got to thinking about the first solution I presented and how it is character based. Depending on how you use the output that might be fine. The sticking point was the fact that very f...
by JRL
Wed May 05, 2021 6:58 pm
Forum: Technical / Scripting
Topic: How to word-wrap a long line - Solved
Replies: 13
Views: 286

Re: How to word-wrap a long line - Solved

I have tried to load the input into a Memo, and put the "Wordwrap" on. For visual/the looks, it works, but if i want to export the wordwrapped output out of the Memo, then the format reverts back to the long line without the Carridge returns. Ideal the output would contain a CRLF on the wrapped end...
by JRL
Mon May 03, 2021 2:57 pm
Forum: Technical / Scripting
Topic: How to word-wrap a long line - Solved
Replies: 13
Views: 286

Re: How to word-wrap a long line

Does anyone know, a possible way, to covert a long line (approx 100 chars) into a word-wrap formatted separate lines. (approx 22 chars wide) Here's one way: This won't deal with words that are longer than the specified line length. It will just put the long word on one line. Let>vStr=Milk, Butter, ...
by JRL
Wed Apr 21, 2021 7:05 pm
Forum: Enhancement Suggestions
Topic: Between>token1,token2,array
Replies: 1
Views: 276

Between>token1,token2,array

viewtopic.php?f=2&t=10947&hilit=regex
I use this regex often.
Might a Between> function be easier to use? Similar output to Separate>
by JRL
Tue Apr 20, 2021 9:00 pm
Forum: Technical / Scripting
Topic: Issue when pasting into MS Editor
Replies: 15
Views: 914

Re: Issue when pasting into MS Editor

Working from home logged in to various computers copying text from one computer to another was a chore. I wrote a script that allows me to pass clipboard data between computers. The passed text displays in a Macro Scheduler dialog on the receiving computer and when I double click on the text its fed...
by JRL
Tue Apr 20, 2021 3:41 pm
Forum: Technical / Scripting
Topic: Issue when pasting into MS Editor
Replies: 15
Views: 914

Re: Issue when pasting into MS Editor

I knew there was a reason I liked you!

Its snowing there today.
by JRL
Tue Apr 20, 2021 1:26 pm
Forum: Technical / Scripting
Topic: Issue when pasting into MS Editor
Replies: 15
Views: 914

Re: Issue when pasting into MS Editor

I'm in Iowa in the middle of the USA and I get it too. In the overall scheme of things to find annoying it doesn't bother me that much. I have only seen it in the Macro Scheduler editor, no other software. Also - can't make it happen. Never noticed it tied to copy from a browser. I copy and paste va...
by JRL
Wed Apr 14, 2021 8:09 pm
Forum: Beginners
Topic: Force Var assignement
Replies: 3
Views: 163

Re: Force Var assignement

The letter "N" is always seen as the letter "N" unless your code sets it to some other value. It is not a boolean value. Apparently, somewhere in your code you have set "N" equal to 2 so when you set "Taux" to "N", the value of "Taux" becomes 2. There is no other explanation. I never use single char...
by JRL
Wed Apr 14, 2021 7:33 pm
Forum: Technical / Scripting
Topic: Cannot increment array element into variable
Replies: 7
Views: 222

Re: Cannot increment array element into variable

Your example works for me. I do exactly this in 90% or more of the scripts I write. I dream this code I've typed it so often Let kk=0 Repeat>kk Add>kk,1 Let>value=array_%kk% Blah.. Blah.. Until>kk=array_count Maybe post a chunk of your failing code? Or am I missing something. What do you expect vHay...
by JRL
Fri Apr 02, 2021 2:02 am
Forum: Technical / Scripting
Topic: Draw / display a box
Replies: 5
Views: 2855

Re: Draw / display a box

Wow. It took 11 years to post a sample. I feel bad. See the comments. //Dialog to put a rectangle in Dialog>Dialog1 object Dialog1: TForm BorderIcons = [biSystemMenu, biMinimize] Caption = 'Rectangle Example' ClientHeight = 211 ClientWidth = 476 Position = poScreenCenter end EndDialog>Dialog1 //hand...
by JRL
Thu Mar 18, 2021 1:21 pm
Forum: General Discussion
Topic: Embed animated gif in dialog/window
Replies: 5
Views: 8059

Re: Embed animated gif in dialog/window

...need to know how to get "image data" from an image file. 1) Open a bright, shiny, new script in the editor. 2) Select the "Tools" menu item at the top of the script editor. 3) Second item down the list is "Import binary File". Select that. 4) At the bottom right of the file selection window is a...
by JRL
Wed Mar 10, 2021 7:24 pm
Forum: Technical / Scripting
Topic: RegEx
Replies: 6
Views: 337

Re: RegEx

So... what was the solution?
by JRL
Fri Feb 26, 2021 10:20 pm
Forum: Scripts and Tips
Topic: Lock Key Status
Replies: 0
Views: 613

Lock Key Status

Yes. Sort of a pun. In any case my keyboard's LEDs have stopped working and I'm tired of not knowing whether my caps lock in on or off. This opens a little dialog that tells you. Left to right is Caps lock, Num Lock and Scroll Lock status. This little script demos a few advanced dialog capabilities....
Sign up to our newsletter for free automation tips, tricks & discounts