Search found 85 matches

by obfusc88
Sun Apr 18, 2021 2:21 am
Forum: Technical / Scripting
Topic: Cannot set focus. Title not accepted.
Replies: 1
Views: 1413

Cannot set focus. Title not accepted.

Cannot get focus on a web page. I have the Title from FireFox and that did not work. I have the Title from Macro Scheduler View System Windows. I used the * at the end of the basic title. Link below shows the Viewer on the left, the code on the right, and the error message in the center. https://img...
by obfusc88
Sat Apr 17, 2021 2:44 am
Forum: Technical / Scripting
Topic: F9 forces the Debug Menu to open
Replies: 1
Views: 1516

F9 forces the Debug Menu to open

Trying to step thru code. Using F8 is ok, then pressing F9 pops up the Debug Menu. It normally would go into the Run mode from that point. Happens in many locations. Here is current code with problem: //Earlier code that opens FireFox for the first time. ..... ..... Let>vOpen=NO GoSub>OpenWebPage .....
by obfusc88
Thu Apr 15, 2021 1:13 am
Forum: Technical / Scripting
Topic: Cannot increment array element into variable
Replies: 7
Views: 3689

Re: Cannot increment array element into variable

YES! That was the fix. Problem Solved!
I changed VarExplicit from 1 to 0 and it works right.

Thanks for the fix. Stay tuned for more problems.......
by obfusc88
Wed Apr 14, 2021 11:25 pm
Forum: Technical / Scripting
Topic: Cannot increment array element into variable
Replies: 7
Views: 3689

Re: Cannot increment array element into variable

I mentioned that I have an array, vMembers with 12 elements. Each element is about 2000-3000 characcters. I did a RegEx to enter tilde characters (~), and then used Separate command on the tilde to break the large document into smaller manageable elements. The array exists, the elements exist. The A...
by obfusc88
Wed Apr 14, 2021 9:07 pm
Forum: Technical / Scripting
Topic: Cannot increment array element into variable
Replies: 7
Views: 3689

Re: Cannot increment array element into variable

Looks like my example was done too fast, it works for me also. So there must be an error in my actual code. Here is from my code: Label>LOOP1 **BREAKPOINT** //Next line is earlier in code outside loop to prime the first element. Included here for testing. Let>vThisRecord=1 //Have an array vMembers w...
by obfusc88
Wed Apr 14, 2021 5:30 pm
Forum: Technical / Scripting
Topic: Cannot increment array element into variable
Replies: 7
Views: 3689

Cannot increment array element into variable

//Have an array vMembers with 12 elements. //Want to loop thru elements 2-11 into vHaystack2 for RegEx work Cannot reload vHaystack2 with Count variable //Set up arrray ArrayDim>vNames,3 Let>vNames_1=Fred Let>vNames_2=Sally Let>vNames_3=John Let>vThisRecord=1 Add>vThisRecord,1 MDL>This record is %vT...
by obfusc88
Mon Apr 12, 2021 4:12 pm
Forum: Technical / Scripting
Topic: Capture from RegEx Match
Replies: 3
Views: 2970

Re: Capture from RegEx Match

That was the answer, Marcus. Thank you. Did not need to escape any characters. Here is my final code: RegEx>(?<=<p class="person-id">ID: )[0-9]*?(?=</p>),%vHaystack2%,0,vID,vIDCount,0 The original line in the file was: <p class="person-id">ID: 390783</p> And the RegEx above returned "390783" (withou...
by obfusc88
Sun Apr 11, 2021 8:30 pm
Forum: Technical / Scripting
Topic: Capture from RegEx Match
Replies: 3
Views: 2970

Capture from RegEx Match

I am scraping a 10000+ line file to pull out multiple values to match with each person. Not all values exist, so I know some Matches will fail. That file is my Haystack Here is my command to find the ID values (just one of about 20 different values I need): RegEx><p class="person-id">ID: [0-9]*</p>,...
by obfusc88
Sun Mar 21, 2021 4:38 pm
Forum: General Discussion
Topic: Embed animated gif in dialog/window
Replies: 5
Views: 21297

Re: Embed animated gif in dialog/window

I cannot believe that was so simple to make the code! Will have to look deeper in the Help guide to find out how I missed that. Will try this weekend, thank you.
by obfusc88
Wed Mar 17, 2021 10:44 pm
Forum: General Discussion
Topic: Embed animated gif in dialog/window
Replies: 5
Views: 21297

Re: Embed animated gif in dialog/window

Can't believe I am asking about a forum posting that is 15 years old. I have been trying to call up an animation to show progress during a long file opening process. I tried using the Progress Bar in Dialogs, but could not make sense of the parameters, and how to stop the dialog when the file loadin...
by obfusc88
Tue Mar 16, 2021 1:36 am
Forum: Technical / Scripting
Topic: Shift-Tab
Replies: 5
Views: 2430

Re: Shift-Tab

Be sure to use Let>VAREXPLICIT=1 for the %....% variables. It then requires the %..% when referencing the variable. If VAREXPLICIT=0, then it always uses the literal values that follow. The default if you do not define it =0. From the HELP file: Explicit Variable Resolution - VAREXPLICIT You can tel...
by obfusc88
Tue Mar 16, 2021 12:23 am
Forum: Technical / Scripting
Topic: Cannot compile - folder missing
Replies: 1
Views: 1599

Cannot compile - folder missing

Using version 14.5.7 PRO. Windows 10 PRO, 64 bit. When trying to compile, it accepts all inputs but does not complete. Sends a message window that "destination folder does not exist". Have not seen this before. I thought the default destination is the folder that holds the script. And obviously that...
by obfusc88
Thu Mar 04, 2021 1:26 am
Forum: Technical / Scripting
Topic: Easy Pattern syntax for Groups
Replies: 2
Views: 1815

Easy Pattern syntax for Groups

I have been spending hours with different versions of syntax to figure out how to extract a group using RegEx. I have no problems with other "flavors" of RegEx in other editors. I have come to the conclusion that Macro Scheduler does not do that without using Easy Pattern syntax. I have used Macro S...
by obfusc88
Mon Aug 12, 2013 6:46 am
Forum: General Discussion
Topic: Cannot enter negatives or fractions in Dialog text object
Replies: 3
Views: 7685

Cannot enter negatives or fractions in Dialog text object

Using Version 12.1.10 I created a Dialog with an TextEdit field. In the properties for the Text object, I set the "Numbers Only" property to True. All was fine until I needed to enter a negative number, got a message that only numbers could be entered as soon as I entered the minus sign. I have the ...
by obfusc88
Fri Aug 09, 2013 8:41 pm
Forum: Technical / Scripting
Topic: Combo box to list an ascii database?
Replies: 3
Views: 4105

I may be closer... When I did a right click on the Text object in the Designer, I found an option to select a file. Great! So, what should the format of the file look like? What does it look like for multiple columns, vs. a single column? If I set the original values there, how can I dynamically loa...
cron
Sign up to our newsletter for free automation tips, tricks & discounts