Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
MrBayman
1 discussion post
Hello, how you probably found with the title of my topic I'm not very good coding level but I try to improve myself, I explain.

I would like with the option Script macro creates a while loop and can exit this loop by pressing a key for example, unfortunately it does not work or so I put wrong, can you help me please?

Code

using System;
using System.Drawing;

public static class VoiceBotScript
{
public static void Run(IntPtr windowHandle)
{

        
while(BFS.Input.SendKeys("j") )
{
    
//press the "F" key
BFS.Input.SendKeys("f");

BFS.General.ThreadWait(100);

}

}
}

This is a example.

Or if it is possible to do the loop without coding I am also a taker

Thank you in advance for your answer (sorry my english is not very good )
Dec 30, 2017 (modified Dec 30, 2017)  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Try something like the code in the attached text file :)
• Attachment: sample.txt [427 bytes]
Jan 2, 2018  • #2
FluffyBunnyFeet's profile on WallpaperFusion.com
Keith,

I tried downloading copying/pasting the example script you provided, but Voicebot says it's an invalid script.

Please advise.

thanks,

Van
• Attachment: 2018-11-01_voicebotMacroError.png [22,326 bytes]
2018-11-01_voicebotMacroError.png
2018-11-01_voicebotMacroError.png
Nov 1, 2018  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Try this one :)
• Attachment: sample (2).txt [466 bytes]
Nov 2, 2018  • #4
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)