Search found 3455 matches

by JRL
Wed Jul 21, 2021 8:34 pm
Forum: Technical / Scripting
Topic: comparing dates
Replies: 2
Views: 2731

Re: comparing dates

Your code works for me when I fix it.
You are missing a ">" in the "If" line.
by JRL
Fri Jun 18, 2021 3:51 am
Forum: Technical / Scripting
Topic: vbs silent
Replies: 9
Views: 7324

Re: vbs silent

Hope it continues to work for you. It has its deficiencies.

Actually figured you would be a Wizard of Oz fan.
"Pay no attention to that man behind the curtain"
by JRL
Wed Jun 16, 2021 8:06 pm
Forum: Technical / Scripting
Topic: vbs silent
Replies: 9
Views: 7324

Re: vbs silent

Sometimes you can make use of cloaking. Has worked through the ages from the Wizard of Oz on through to Star Trek. //Dialog to cloak "Script Control" message Dialog>Dialog1 object Dialog1: TForm Borderstyle = bsNone Caption = 'Curtain' ClientHeight = 200 ClientWidth = 300 FormStyle = fsStayOnTop Pos...
by JRL
Mon Jun 07, 2021 9:49 pm
Forum: Technical / Scripting
Topic: Unable to set TIME OnEvent during a Button OnClick event
Replies: 2
Views: 2820

Re: Unable to set TIME OnEvent during a Button OnClick event

Your conclusion is correct. An OnEvent> fails to function if its invoked from a subroutine called by a dialog event. The solution is to use a Custom OnEvent> and have the dialog event simply set the Custom OnEvent's Variable to True. Be sure to set the variable back to something other than True in t...
by JRL
Mon Jun 07, 2021 2:58 pm
Forum: Technical / Scripting
Topic: How to enlarge a Dialog proportinate with its objects ?
Replies: 4
Views: 3495

Re: How to enlarge a Dialog proportinate with its objects ?

Could something like THIS be made to assist?
by JRL
Thu May 06, 2021 1:31 pm
Forum: Technical / Scripting
Topic: How to word-wrap a long line - Solved
Replies: 13
Views: 7380

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: 7380

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: 7380

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: 3
Views: 10435

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: 16
Views: 11298

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: 16
Views: 11298

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: 16
Views: 11298

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: 6106

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: 3575

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: 5474

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...
cron
Sign up to our newsletter for free automation tips, tricks & discounts