Search found 3355 matches

by JRL
Mon Aug 02, 2021 6:00 pm
Forum: Technical / Scripting
Topic: Get filename in var without path and extension
Replies: 7
Views: 59

Re: Get filename in var without path and extension

Adding the password at the end of XLOpen> works for me.

Code: Select all

XLOpen>Filename,1,hndl,password
by JRL
Mon Jul 26, 2021 4:26 pm
Forum: Technical / Scripting
Topic: Assigned command not working on dynamic variable names?
Replies: 5
Views: 116

Re: Assigned command not working on dynamic variable names?

Will something like this work?

Code: Select all

//Let>VAR_1=hello
//Let>VAR_2=bye


Let>VarTest=%VAR_1%_%VAR_2%
Separate>VarTest,%,TEST
If>Test_Count>4
  MDL>Not assigned
Else
  MDL>Assigned
EndIf
by JRL
Mon Jul 26, 2021 1:20 pm
Forum: Technical / Scripting
Topic: Assigned command not working on dynamic variable names?
Replies: 5
Views: 116

Re: Assigned command not working on dynamic variable names?

Grovkillen, I'm confused as to what you're trying to accomplish. Nothing in your sample provides what I would call "dynamic" variable names. Concatenated perhaps. I think of dynamic as variable names the programmer doesn't know. User provided or from a file or from parameters for example. For the co...
by JRL
Mon Jul 26, 2021 1:04 pm
Forum: Technical / Scripting
Topic: The Dialog values need refreshing ?
Replies: 2
Views: 53

Re: The Dialog values need refreshing ?

These days I rarely use CloseDialog> Most of the time I use the dialog AlphaBlend property instead if I want the dialog "closed". See the comments. Dialog>Dialog1 object Dialog1: TForm Caption = 'AlphaBlend Demo' ClientHeight = 211 ClientWidth = 476 object Edit1: TEdit Left = 49 Top = 23 Width = 121...
by JRL
Wed Jul 21, 2021 8:34 pm
Forum: Technical / Scripting
Topic: comparing dates
Replies: 2
Views: 42

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

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

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

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

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

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

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

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

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

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

Re: Issue when pasting into MS Editor

I knew there was a reason I liked you!

Its snowing there today.
Sign up to our newsletter for free automation tips, tricks & discounts