Towanda
4 discussion posts
Hi!
I found a script that helps me out very much and is the main reason I got DisplayFusion. After purchasing a license now I get the follwoing error message (translated from swedish, dunno why its in swedish. I have set language to Engliesh).
Compile Failed.
Line 1: A name area can not contain direct members as fields or methods
[System.Exception]
The script is the following:
scripet som lägger easy teams i focusläge och lägger på luren:
using System;
using System.Drawing;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
BFS.Window.Focus(BFS.Application.GetMainWindowByFile("*easy teams.exe"));
//send the H key.
BFS.Input.SendKeys("H");
}
}
easy teams.exe is highlighted in red text.
I would very much appreciate som help on why its suddenly invalid, It's worked the entire test period.
Also, is there a way to get a line in the jump list to execute this script?
Thanks in advance!
Could you try exporting the script in the DF settings window and attaching it here so that I can test it out?
Thanks!
Towanda
4 discussion posts
Thanks! I removed the script since I found another one that worked. Tried now to and copied the old script back to DP and now the same script i posted works again...