Search found 1348 matches
- Mon Oct 21, 2019 10:27 am
- Forum: Technical / Scripting
- Topic: Problem with XLOpen & XLGet with SharePoint?
- Replies: 2
- Views: 1986
Re: Problem with XLOpen & XLGet with SharePoint?
I'm quite surprised that your method worked in the first place. I don't think we've ever had any support requests from anyone using XLOpen that way. Your assumptions are correct. The update now checks for the file. Being able to open remote files appears to be an undocumented side effect of Macro Sc...
- Mon Oct 21, 2019 10:15 am
- Forum: Enhancement Suggestions
- Topic: Trigonometric functions
- Replies: 2
- Views: 6663
Re: Trigonometric functions
I consulted Marcus about this, and he suggests it's a perfect candidate for python. A good starting point would be PyExec
- Mon Oct 21, 2019 9:53 am
- Forum: General Discussion
- Topic: MS Keeps Crashing
- Replies: 1
- Views: 4287
Re: MS Keeps Crashing
We answered this via support.
- Thu Oct 10, 2019 3:36 pm
- Forum: Technical / Scripting
- Topic: xlGetSheetDims returns wrong number of rows
- Replies: 4
- Views: 3082
Re: xlGetSheetDims returns wrong number of rows
I think Grovkillen is on the right track. I wouldn't mind betting if you were to copy and paste those 1061x18 into a new sheet it'll find the correct dimensions.
- Tue Oct 08, 2019 10:19 am
- Forum: Technical / Scripting
- Topic: Logging scripts makes it slow. Need an alternative
- Replies: 4
- Views: 2747
Re: Logging scripts makes it slow. Need an alternative
Another possible method is the to use the "_WRITE_LOG_FILE" system variable. When it is set to "0" logging is suspended until you reset it back to "1". If the script always fails in the same place or places, those may be the only places that need to be logged. Let>_WRITE_LOG_FILE=0 //Lines of code ...
- Mon Oct 07, 2019 12:49 pm
- Forum: Beginners
- Topic: Trying to click the "desktop" image in a Internet Explorer "Choose file to upload" window
- Replies: 1
- Views: 2444
Re: Trying to click the "desktop" image in a Internet Explorer "Choose file to upload" window
I'd be more inclined to use GetFileList to get the list of files in the folder, then enter each path and filename as you loop through all the files.
- Mon Oct 07, 2019 12:46 pm
- Forum: Technical / Scripting
- Topic: Pressing two keys simultaneously
- Replies: 5
- Views: 4386
Re: Pressing two keys simultaneously
I think I just answered this question via the help desk, so you'll see a more in-depth answer there.
Code: Select all
Press Shift
Press Tab
Release Shift
- Mon Oct 07, 2019 12:42 pm
- Forum: Technical / Scripting
- Topic: Logging scripts makes it slow. Need an alternative
- Replies: 4
- Views: 2747
Re: Logging scripts makes it slow. Need an alternative
The System Variable _LINE_NUM returns the current line being executed and may be a good starting point for what you're trying to do.
See it in action :
See it in action :
Code: Select all
MessageModal>%_LINE_NUM%
- Fri Oct 04, 2019 8:59 am
- Forum: Technical / Scripting
- Topic: Calculation problem
- Replies: 3
- Views: 2078
Re: Calculation problem
I asked Marcus about this and his response it's because the numbers are floating point numbers internally.
- Wed Oct 02, 2019 2:12 pm
- Forum: Technical / Scripting
- Topic: A few scripting questions :) for a Noob
- Replies: 2
- Views: 1945
Re: A few scripting questions :) for a Noob
1. Is there a good way to automate clicking a button on a webpage, when a) the button is not currently shown on the page - it is scrolled down a few pages? and b) if the mouse is hovering over the button causing the tiny little pop up box to pop up and "cover" up the button... (in the situation whe...
- Wed Oct 02, 2019 1:42 pm
- Forum: General Discussion
- Topic: everyday logon and print
- Replies: 3
- Views: 5359
Re: everyday logon and print
Hi,
I think this article might answer your question : https://help.mjtnet.com/article/14-why- ... logged-out
I think this article might answer your question : https://help.mjtnet.com/article/14-why- ... logged-out
- Wed Oct 02, 2019 1:35 pm
- Forum: Technical / Scripting
- Topic: Calculation problem
- Replies: 3
- Views: 2078
Re: Calculation problem
That isn't what I'd have expected either. I'll ask Marcus about this, but in the meantime I would use the format command.
Code: Select all
Let>a=8.98
Let>b=8.1
Let>c=%a%-%b%
Format>%.2n,c,c
MessageModal>%c%
- Wed Oct 02, 2019 1:28 pm
- Forum: Technical / Scripting
- Topic: Generating multiple mock-ups (please read description for deatil)
- Replies: 1
- Views: 1294
Re: Generating multiple mock-ups (please read description for deatil)
If I am understanding correctly, you want to process all the files in one folder, and save each output with the same file name as it's "master". The code below should give you enough to play with, if that is the case. //Set the location Let>FileLocation=d:\MJT\files //Get a list of all files in fold...
- Tue Oct 01, 2019 1:25 pm
- Forum: Technical / Scripting
- Topic: Find Text, do math, select right answer, enter
- Replies: 6
- Views: 4172
Re: Find Text, do math, select right answer, enter
There are quite a few obstacles here, and these systems are designed to prevent humans from cheating in games. Getting around that isn't really what we're about at MJT. I would imagine the question text is not grabbable, but you can try using the Text Capture Wizard . If that fails, try OCRArea . OC...
- Mon Sep 30, 2019 11:43 am
- Forum: Technical / Scripting
- Topic: Entering text into a form from a txt file.... text is truncated?
- Replies: 5
- Views: 3281
Re: Entering text into a form from a txt file.... text is truncated?
I have another workaround for you on this. Sometimes the performance of the target app can be a real issue. I've seen apps or forms that wouldn't accept all the characters unless SK_delay was in the region of 400. This is a problem when some web forms won't accept the usual methods of using any Macr...