Run and edit a Perl/Python/non-Powershell – Script in Powershell_ISE (Windows Server)

I am on a Windows Server (2012) with Powershell_ISE and befor installing additional software I wanted to edit and test a script in the Powershell_ISE (it’s a better native solution than using notepad + cmd.exe because of tabbed editing for example) Idea: Keyboard Shortcut to a menu-entry (under “Add-Ons” in the menu) where the perl.exe … Read more

LibreOffice Impress: script to download images from file

I would like to export all images contained in slideshow files with command-line instructions. I am aware that I could convert the files into PDF documents and then use pdfmod to export the images. In that case, though, I have noted that the images that had been rotated in the slideshow also maintain that rotation … Read more

Use xinetd to make a script telnetable

I have a script, which has to be run via telnet localhost port I have a script (USER.sh), and configured /etc/xinetd.d/user. But whenever I connect, I get an error message saying: TERM environment variable not set. So I tried to add the following line to the script: export TERM=xterm-256color But that didn’t work either. Attempt … Read more

PHP calling Bash-script

I have real problems getting this PHP-script “search.php” that is called from a “form.htm” to work. What am I doing wrong here? <?php $old_path = getcwd(); chdir(‘/var/www/html/SOKHJALPMEDEL/’); $term1 = $_POST[‘query1’]; $argument1 = $_GET[‘$term1’]; $term2 = $_POST[‘query2’]; $argument2 = $_GET[‘$term2’]; echo $nu_kor_vi1; $outcome = shell_exec(“sokare $argument1 $argument2”); chdir($old_path); echo “<pre>$outcome</pre>”; ?> The script is calling a … Read more

Auto Hotkey- script which checks if bandicam recording is “running”

I would like to have your thoughts or help about how make this script to look Bandicam up running and recording at that moment. I have successfully made one script which is working at short of level. I found it from Auto Hotkey’s help forum topic named to “If” program is not running “then” start … Read more

User Groups. Is there a group for just standard users?

I know that there is a group for Admins but I need one for just standard users for this command. FOR /f “skip=6 delims=” %%u IN (‘net localgroup (Group here)’) DO (IF “%%u” NEQ “The command completed successfully.” echo %%u) I need it to list all of the standard users. BTW I use batch and … Read more

Automatically add domain suffix in google chrome?

I sometimes use a personal proxy, which works by adding an address to the domain address of any website. For example, if I am browsing this webpage: (1) http://www.awebsite.com/home/index.html Then, to access it from my proxy, I just type: (2) http://www.awebsite.com.myproxy.net/home/index.html I want to automate this process. Basically, I would like to add a button … Read more