Search found 1346 matches
- Mon Oct 21, 2019 9:53 am
- Forum: General Discussion
- Topic: MS Keeps Crashing
- Replies: 1
- Views: 4235
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: 3015
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: 2696
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: 2407
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: 4279
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: 2696
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: 2061
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: 1915
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: 5309
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: 2061
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: 1273
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: 4134
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: 3208
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...
- Mon Sep 30, 2019 11:19 am
- Forum: Technical / Scripting
- Topic: Excel/VBScript & LastRow Function
- Replies: 3
- Views: 3076
Re: Excel/VBScript & LastRow Function
You're welcome.
And we're always happy to see any examples or samples that may help other users. Plus it's always interesting to see how other people do things.
And we're always happy to see any examples or samples that may help other users. Plus it's always interesting to see how other people do things.
- Mon Sep 30, 2019 11:16 am
- Forum: Beginners
- Topic: UIGetValue
- Replies: 1
- Views: 2184
Re: UIGetValue
The usage for UIGetValue is this : UIGetValue>Window Title,Object Name, Values,Positions If more than one object is found the values and positions will be delimited by the "|" character. So if there was more than one found you would use Separate Here's a script to play with (tested in Win10) //Open ...