Search found 8 matches
- Thu Sep 28, 2017 4:00 pm
- Forum: Technical / Scripting
- Topic: WaitForImage not working on multiple monitors
- Replies: 7
- Views: 5703
Re: WaitForImage not working on multiple monitors
Ok, snapping the image from the secondary monitor made it work. So, although the monitors seemed to be identical and the resolution was the same, there must have been some microscopic difference between the two monitors. But isn't the CCOEF matching algorithm supposed to account for small difference...
- Thu Sep 28, 2017 3:19 pm
- Forum: Technical / Scripting
- Topic: WaitForImage not working on multiple monitors
- Replies: 7
- Views: 5703
Re: WaitForImage not working on multiple monitors
I just tested it again to be sure. And it is definitely not seeing the image in the secondary monitor. As soon as I brought the browser to the main monitor, the application popped - meaning the image was recognized. So something isn't working as expected about this.
- Thu Sep 28, 2017 3:11 pm
- Forum: Technical / Scripting
- Topic: WaitForImage not working on multiple monitors
- Replies: 7
- Views: 5703
Re: WaitForImage not working on multiple monitors
Yes, sorry - I mean WaitScreenImage. I'm using version 14.3.12, the very latest I believe. I'm waiting on an image that's in a tab of Chrome, could this make a difference? I doubt it. I expected it to work across all monitors, but sure enough, I ran it with the Chrome browser in the secondary monito...
- Wed Sep 27, 2017 1:49 pm
- Forum: Technical / Scripting
- Topic: WaitForImage not working on multiple monitors
- Replies: 7
- Views: 5703
WaitForImage not working on multiple monitors
I have a situation where I'm issuing a WaitForImage and the script is only recognizing the image when it is displayed on the primary monitor. It doesn't pick it up if it's on the secondary monitor. Is there a way to make this work with multiple monitors and recognize the image regardless of which mo...
- Tue Jul 11, 2017 3:39 pm
- Forum: Technical / Scripting
- Topic: Writing a DLL for MacroScheduler - Won't load
- Replies: 3
- Views: 4716
Re: Writing a DLL for MacroScheduler - Won't load
I found the solution to my problem. It was to compile the C# DLL as x86. I guess because Macro Scheduler is x86 it wants to load x86 DLL's(?). But once I compiled my C# DLL as x86, it loaded and successfully called the HideWnd and ShowWnd functions from the Macro Scheduler script.
- Tue Jul 11, 2017 3:38 pm
- Forum: Technical / Scripting
- Topic: Trying to load a C# DLL for Macro Scheduler, won't load
- Replies: 1
- Views: 2782
Re: Trying to load a C# DLL for Macro Scheduler, won't load
I found the solution to my problem. It was to compile the C# DLL as x86. I guess because Macro Scheduler is x86 it wants to load x86 DLL's(?). But once I compiled my C# DLL as x86, it loaded and successfully called the HideWnd and ShowWnd functions from the Macro Scheduler script.
- Tue Jul 11, 2017 3:11 pm
- Forum: Technical / Scripting
- Topic: Trying to load a C# DLL for Macro Scheduler, won't load
- Replies: 1
- Views: 2782
Trying to load a C# DLL for Macro Scheduler, won't load
I'm writing a DLL in C# using the NuGet Package "Unmanaged Exports (DllExport for .Net)". I'm trying to write a supplemental DLL to Macro Scheduler that allows me to hide and show client windows. Here's the C# code: [DllExport("HideWnd", CallingConvention.StdCall)] public static int HideWnd(string s...
- Tue Jul 11, 2017 2:52 pm
- Forum: Technical / Scripting
- Topic: Writing a DLL for MacroScheduler - Won't load
- Replies: 3
- Views: 4716
Re: Writing a DLL for MacroScheduler - Won't load
I'm trying to write a DLL for Macro Scheduler using C#. I'm using the NuGet package "Unmanaged Exports (DllExport for .Net)". I'm exporting two functions, HideWnd and ShowWnd. [DllExport("HideWnd", CallingConvention.StdCall)] public static int HideWnd(string sTitle) { int ret = 0; var win = FindWind...