Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Maximize / restore down wow window attached to wrobot process

Featured Replies

Hey!

How can I do this by c#? Without chanching resolution.  Does the wrobot api has kind of this? Or need the big code? :)

Just for use this button
image.png.67f43e16869a7e963831c458be7f1b42.png
 

  • Author
2 hours ago, Droidz said:

hi, try 


robotManager.Helpful.Win32.Native.ShowWindow(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, 3);

(no tested)

Parfait, Mr. Droidz! What would I do without you?!!! Number 4 for minimize :)

You need more code 

using System;
using System.Runtime.InteropServices;
using System.Windows.Forms;

public class Main : wManager.Plugin.IPlugin
{
    [DllImport("user32.dll", SetLastError = true)]
    static extern int GetWindowLong(IntPtr hWnd, int nIndex); 
    public const uint WS_MINIMIZE = 0x20000000;
    public const uint WS_MAXIMIZE = 0x01000000;
    public const int GWL_STYLE = -16;

    void GetState()
    {
        int style = GetWindowLong(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, GWL_STYLE);
        if ((style & WS_MAXIMIZE) == WS_MAXIMIZE)
        {
            MessageBox.Show("maximized");
        }
        else if ((style & WS_MINIMIZE) == WS_MINIMIZE)
        {
            MessageBox.Show("minimized");
        }
        else
        {
            // normal style?
            MessageBox.Show("Normal??? > style=" + style.ToString("x8"));
        }
    }

    public void Initialize()
    {
        GetState();
        robotManager.Helpful.Win32.Native.ShowWindow(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, 6);
        GetState();
        robotManager.Helpful.Win32.Native.ShowWindow(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, 3);
        GetState();
        robotManager.Helpful.Win32.Native.ShowWindow(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, 4);
        GetState();
    }

    public void Dispose()
    {
    }

    public void Settings()
    {
    }
}

 

  • Pudge changed the title to Maximize / restore down wow window attached to wrobot process
  • 4 weeks later...
  • Author

 

Is it possible to perform such actions with a bot?

On 8/23/2020 at 3:01 PM, Droidz said:

robotManager.Helpful.Win32.Native.ShowWindow(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, 3);

cant find method how get WindowHandle value for wrobot application, if it works

  • Author
10 hours ago, Droidz said:

hi, try  


System.Diagnostics.Process.GetCurrentProcess().MainWindowHandle

 

this is the one, thank you again

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.