Search found 1352 matches

by Dorian (MJT support)
Thu Dec 10, 2020 3:05 pm
Forum: Scripts and Tips
Topic: Get scale/zoom percentage setting.
Replies: 2
Views: 14559

Get scale/zoom percentage setting.

Tested in Windows 10. I was asked how to do this today, and thought it might be useful to someone. This snippet returns a result code for the given scale/zoom percentage. For example, mine is set to 250%, and Result is returned as 240. LibFunc>User32,GetDC,hDC,0 LibFunc>GDI32,GetDeviceCaps,Result,hD...
by Dorian (MJT support)
Wed Dec 09, 2020 9:41 am
Forum: The Water Cooler
Topic: Something wrong with your server?
Replies: 5
Views: 13017

Re: Something wrong with your server?

Thanks guys. I'm not sure what's going on here, but will make Marcus aware of this post.
by Dorian (MJT support)
Tue Dec 08, 2020 5:24 pm
Forum: Technical / Scripting
Topic: 009E8EBB
Replies: 2
Views: 1482

Re: 009E8EBB

Grovkillen is right. And using the debugger to see which line is causing this would help immensely. However, in my experience, the most common reason we see this reported is using the Excel commands without having used XLOpen first.
by Dorian (MJT support)
Fri Nov 27, 2020 8:35 am
Forum: Enhancement Suggestions
Topic: One key to run a macro
Replies: 3
Views: 11401

Re: One key to run a macro

I frequently use my mouse to fire scripts. I have a mouse with extra programmable buttons, and assign those to macro shortcuts. So button 1 on the side presses Ctrl alt F to fire a macro, button 2 is Ctrl alt g, and so on. This way I don't have to remember all the shortcuts and don't have to move my...
by Dorian (MJT support)
Thu Nov 26, 2020 7:27 pm
Forum: Technical / Scripting
Topic: Passing Variables from VBA in Excel to MS
Replies: 4
Views: 2389

Re: Passing Variables from VBA in Excel to MS

Is there a reason you can't use Macro Scheduler's native Excel commands such as XLGetCell
by Dorian (MJT support)
Thu Nov 26, 2020 10:48 am
Forum: Technical / Scripting
Topic: XML Parse Error when name contains "&"
Replies: 4
Views: 2655

Re: XML Parse Error when name contains "&"

Hi Phil,

I will pass this on to dev for inspection.
by Dorian (MJT support)
Thu Nov 26, 2020 10:34 am
Forum: Enhancement Suggestions
Topic: One key to run a macro
Replies: 3
Views: 11401

Re: One key to run a macro

This is already possible, but be aware if you assign R as a hotkey, your script will activate while you're typing. In the Hot Key tab : Instead of checking "Assign the Following Windows Hotkey to this Macro", Check "Type a HotKey" Enter a letter into the box to the right. Save your macro. Then get u...
by Dorian (MJT support)
Tue Nov 17, 2020 10:20 pm
Forum: Technical / Scripting
Topic: Using String Functions in If>{..} causes Endif problems
Replies: 11
Views: 5138

Re: Using String Functions in If>{..} causes Endif problems

Dev is investigating this. If it is indeed a bug, a fix will be worked on.
by Dorian (MJT support)
Tue Nov 17, 2020 10:19 pm
Forum: Technical / Scripting
Topic: Parsing bug when having comments and/or nested IF's?
Replies: 6
Views: 3228

Re: Parsing bug when having comments and/or nested IF's?

As a courtesy i also ran the above code as-is, it worked as normal and jumped to the correct location as expected. on Registered MS15.0.14. No word yet on my If> problems, I had to visit the Indian version of pirate bay MS15 forums to get a hint of my problem, its amazing how large of an Indian fol...
by Dorian (MJT support)
Tue Nov 17, 2020 11:14 am
Forum: Technical / Scripting
Topic: Parsing bug when having comments and/or nested IF's?
Replies: 6
Views: 3228

Re: Parsing bug when having comments and/or nested IF's?

I can't seem to replicate what's happening in your gif. Each time it's simply jumping to the end.

Tested in 14.5.6 Pro, 15.0.13 Pro, and 15.0.14 Pro.
by Dorian (MJT support)
Tue Nov 10, 2020 10:42 am
Forum: Technical / Scripting
Topic: MACRO record
Replies: 5
Views: 2492

Re: MACRO record

Also, if you take the image recognition route, you might want to edit your plot so none of the plots are hidden behind anything, as they are behind the billboard.
by Dorian (MJT support)
Tue Nov 10, 2020 10:40 am
Forum: Technical / Scripting
Topic: MACRO record
Replies: 5
Views: 2492

Re: MACRO record

i cant use x y cordinates bcz foreground window wont always be same If you were to ensure the window size and position was always the same every time, and the field was in the same position every time, this should work. ResizeWindow with MoveWindow will help with that, or if the window allows, Wind...
by Dorian (MJT support)
Tue Nov 10, 2020 8:46 am
Forum: Technical / Scripting
Topic: MACRO record
Replies: 5
Views: 2492

Re: MACRO record

Could you provide a screenshot and explain what you're trying to click on please?
by Dorian (MJT support)
Mon Nov 09, 2020 1:12 pm
Forum: Beginners
Topic: How to open links in new tab in chrome browser
Replies: 7
Views: 6455

Re: How to open links in new tab in chrome browser

I was just in the process of trying to create something like that for you. Nice work thinking outside the box. :D

Yes, you can use DeleteFile before the loop containing WriteLn.
by Dorian (MJT support)
Mon Nov 09, 2020 10:22 am
Forum: Beginners
Topic: How to open links in new tab in chrome browser
Replies: 7
Views: 6455

Re: How to open links in new tab in chrome browser

In that case Image Recognition would fit the bill here.
Sign up to our newsletter for free automation tips, tricks & discounts