Search found 1352 matches
- Fri Aug 16, 2019 12:44 pm
- Forum: Technical / Scripting
- Topic: I am running a script in the macro scheduler... and need a daily time check
- Replies: 6
- Views: 3939
Re: I am running a script in the macro scheduler... and need a daily time check
Hi Diamondrail, There's lots of ways of doing this. This is just one of them. It works with 0935 or 935. Whichever you choose. For anyone wanting to use this method after 12pm, it uses the 24hr clock, so simply use 1335, 1435, and so on. I included a small wait to avoid a tight loop : Label>Start Ho...
- Thu Aug 15, 2019 12:44 pm
- Forum: Technical / Scripting
- Topic: multiple instances of a single macro
- Replies: 1
- Views: 1634
Re: multiple instances of a single macro
I'm wondering if one of your .dat files have become corrupted. In which case an uninstall/reinstall following these steps should fix the issue. The .001/2/3/4/5 files are indeed backups. From within the Script Editor, you can see the following : Backup Options : >Tools >Backup Options View Backups :...
- Thu Aug 15, 2019 12:33 pm
- Forum: Technical / Scripting
- Topic: Running an executable, Screen Resolution for Multiple Monitors
- Replies: 12
- Views: 7932
Re: Running an executable, Screen Resolution for Multiple Monitors
Sometimes all it takes is bouncing off someone else, eh?
- Wed Aug 14, 2019 2:29 pm
- Forum: Technical / Scripting
- Topic: Running an executable, Screen Resolution for Multiple Monitors
- Replies: 12
- Views: 7932
Re: Running an executable, Screen Resolution for Multiple Monitors
Both say 3840x2160, which is what I was expecting the PS output to be. I think you've helped me figure it out. It's the zoom level. Monitor 2 3840 x 2160 is scaled at 300% 1280 x 720 is 3840 x 2160 / 3 Monitor 1 3840 x 2160 is scaled at 250% 1536 x 824 is 3840 x 2160 / 2.5 Even though 2.5 x 824 is 2...
- Tue Aug 13, 2019 12:32 pm
- Forum: Technical / Scripting
- Topic: Running an executable, Screen Resolution for Multiple Monitors
- Replies: 12
- Views: 7932
Re: Running an executable, Screen Resolution for Multiple Monitors
Hi JRL. Thank you for that input. Most appreciated. I have a question, as someone who knows nothing about Powershell. Right now I am using a 4k laptop connected with a USB Type-C > HDMI adapter to a 49 inch 4k TV as a secondary monitor. Are the results you see below what you'd expect from that setup...
- Tue Aug 13, 2019 12:18 pm
- Forum: Beginners
- Topic: [IE] File download window
- Replies: 2
- Views: 2390
Re: [IE] File download window
I think these articles may help?
https://help.mjtnet.com/article/14-why- ... logged-out
https://help.mjtnet.com/article/29-can- ... -is-locked
https://help.mjtnet.com/article/14-why- ... logged-out
https://help.mjtnet.com/article/29-can- ... -is-locked
- Mon Aug 12, 2019 10:23 pm
- Forum: Beginners
- Topic: How to Maximize MS Internet Explorer Window?
- Replies: 7
- Views: 8926
Re: How to Maximize MS Internet Explorer Window?
If you don't have any luck, feel free to fire the list over and we'll have a play with it.
- Mon Aug 12, 2019 1:18 pm
- Forum: Beginners
- Topic: random variable help
- Replies: 1
- Views: 2239
Re: random variable help
I think this does roughly what you're looking for. We'll use the Image Recognition Wizard to find the top left corner of an image, add a random number from 1-100 to those coordinates, move the mouse to the newly created coordinates, and then click. This should get you started and enable you to adapt...
- Mon Aug 12, 2019 12:55 pm
- Forum: Beginners
- Topic: How to Maximize MS Internet Explorer Window?
- Replies: 7
- Views: 8926
Re: How to Maximize MS Internet Explorer Window?
Hi Don, Automation is like one big experiment. There are often multiple ways of doing something. You're not doing anything wrong, it's just that things don't always behave as expected. It takes experience to know which other methods to try. Here's an edit for you. It gets the Browse button and text ...
- Mon Aug 12, 2019 12:23 pm
- Forum: Scripts and Tips
- Topic: Debug from middle of Script
- Replies: 3
- Views: 6788
Re: Debug from middle of Script
I employ both those methods very frequently.
- Fri Aug 09, 2019 2:30 pm
- Forum: Technical / Scripting
- Topic: Running an executable, Screen Resolution for Multiple Monitors
- Replies: 12
- Views: 7932
Re: Running an executable, Screen Resolution for Multiple Monitors
Regarding question 1, I had a Google around, and found this : https://www.windows-commandline.com/get-screen-resolution-command-prompt/ Which may mean this could be a good starting point for you. Obviously you'd need to edit those output paths. Can be a temp directory if required. let>RP_WINDOWMODE=...
- Fri Aug 09, 2019 1:57 pm
- Forum: Technical / Scripting
- Topic: Running an executable, Screen Resolution for Multiple Monitors
- Replies: 12
- Views: 7932
Re: Running an executable, Screen Resolution for Multiple Monitors
I'm not too sure about question 1, but this might help with question 2. The most basic answer is to use SetFocus at the beginning of the script. The question is, do you know the name of the window? If not, then maybe we can figure that out. You're correct in saying that the hot key causes the curren...
- Fri Aug 09, 2019 1:03 pm
- Forum: Scripts and Tips
- Topic: Debug from middle of Script
- Replies: 3
- Views: 6788
Re: Debug from middle of Script
You could try the Refocus Windows option (>Debug >Refocus Windows / ALT-df) but there's no guarantee that this can cope mid-keystroke. You could put a breakpoint after your first section of code. >Debug >Insert BreakPoint / ALT-di Maybe also put a SetFocus after the breakpoint to ensure the correct ...
- Wed Jul 31, 2019 2:03 pm
- Forum: Technical / Scripting
- Topic: Need some intel on a timing script that compares current time with an interval
- Replies: 1
- Views: 1596
Re: Need some intel on a timing script that compares current time with an interval
It seems to me this is something that can be achieved in the Scheduler, which may be preferable to having the script constantly running and waiting. Below is a simple script which we can use to test. It just writes the time to a text file. //Get time and date Year>TheYear Month>TheMonth Day>TheDay H...
- Sat Jul 20, 2019 9:26 am
- Forum: Beginners
- Topic: Different hotkeys for move mouse and send text
- Replies: 1
- Views: 2427
Re: Different hotkeys for move mouse and send text
If there's no discernible difference other than the text he's sending, then you could either : 1. Have a different script for each text version, where the only thing that changes if the text that's sent, and the hotkey. or 2. If the scenario allows, just have one script which asks the user which tex...