⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 savewin

📁 这是个UNIX下的文件,用来读取心电图的.大家可以在此基础上进行修改,完善它的功能,他只是一个基础的平台.
💻
字号:
#! /bin/sh# file: savewin		G. Moody	27 November 2001#			Last revised:    3 December 2001# This program captures a window (optionally, the entire screen) to a ppm file.# It then opens the ppm file in the Gimp so that it can be cropped if# necessary.  The ppm file is then compressed and saved.# Hint: to capture WAVE's exit confirmation box, run WAVE with the -Wfsdb# option (see xview(7)) to disable the full-screen grab.CROP="no"F=''HELP="no"XWDFLAGS="-frame"for i in $*do  case $i in    -c*) CROP="yes" ;;    -h*) HELP="yes" ;;    -r*) XWDFLAGS="-root" ;;    *) F=$i ;;  esacdoneif [ "x$F" = "x" ]then  HELP="yes"fiif [ "$HELP" = "yes" ]then  echo "usage: $0 [-crop] [-root] NAME"  echo  echo "Click left within the window you wish to save after starting $0."  echo "Use -crop if you want to crop or otherwise edit the image in the Gimp"  echo " before saving the output files."  echo "Use -root if you want a screen capture after a 10-second pause."  echo "Output is saved as NAME.ppm.gz ."  exitfiif [ "$XWDFLAGS" = "-root" ]then  sleep 1; echo -n 10 ...  sleep 1; echo -n 9 ...  sleep 1; echo -n 8 ...  sleep 1; echo -n 7 ...  sleep 1; echo -n 6 ...  sleep 1; echo -n 5 ...  sleep 1; echo -n 4 ...  sleep 1; echo -n 3 ...  sleep 1; echo -n 2 ...  sleep 1; echo -n 1 ...  sleep 1; echofixwd $XWDFLAGS | xwdtopnm >$F.ppmif [ "$CROP" = "yes" ]then  echo $F.ppm written.  Starting the Gimp ...  echo Crop and save $F.ppm, then exit from the Gimp to finish saving image.  gimp $F.ppmfigzip $F.ppm

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -