AnonSec Shell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.193
Web Server : Apache
System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : awebpaca ( 35430)
PHP Version : 8.5.0
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/a/w/e/awebpaca/Dolibarr/dev/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/a/w/e/awebpaca/Dolibarr/dev//resize_window.sh
#!/bin/sh
#----------------------------------------------------
# Script to resize browser window to 1280x1024 to
# be able to make size fixed screenshots using
# ALT+Print screen.
#----------------------------------------------------

# Syntax
if [ "x$1" = "x" ]
then
	echo "resize_windows.sh (list|0x99999999) [1280 1024]"
fi

# To list all windows
if [ "x$1" = "xlist" ]
then
	wmctrl -l
fi

# To resize a specific window
if [ "x$1" != "xlist" -a "x$1" != "x" ]
then
	if [ "x$2" = "x" ]
	then
		width=1280
	else
		width=$2
	fi
	if [ "x$3" = "x" ]
	then
		height=1024
	else
		height=$3
	fi
	wmctrl -i -r $1 -e 0,0,0,$width,$height
	echo Size of windows $1 modified to $width x $height
fi


Anon7 - 2022
AnonSec Team