[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖
回复 2# locoman


    我没有用过这个工具
我帮忙写的代码不需要付钱。如果一定要给,请在微信群或QQ群发给大家吧。
【微信公众号、微信群、QQ群】http://bbs.bathome.net/thread-3473-1-1.html
【支持批处理之家,加入VIP会员!】http://bbs.bathome.net/thread-67716-1-1.html

TOP

回复 4# locoman


    我找不到使用说明和详细用法
我帮忙写的代码不需要付钱。如果一定要给,请在微信群或QQ群发给大家吧。
【微信公众号、微信群、QQ群】http://bbs.bathome.net/thread-3473-1-1.html
【支持批处理之家,加入VIP会员!】http://bbs.bathome.net/thread-67716-1-1.html

TOP

回复 1# locoman


BeePhoto 用法:
http://bbs.bathome.net/thread-7755-1-1.html#pid51205
我帮忙写的代码不需要付钱。如果一定要给,请在微信群或QQ群发给大家吧。
【微信公众号、微信群、QQ群】http://bbs.bathome.net/thread-3473-1-1.html
【支持批处理之家,加入VIP会员!】http://bbs.bathome.net/thread-67716-1-1.html

TOP

批处理调用 BeePhoto 在屏幕上居中显示一个图片(手工设置图片宽度和高度)
  1. @echo off
  2. set "PictureName=屏幕水印001.bmp"
  3. set "PictureWidth=800"
  4. set "PictureHeight=700"
  5. cd /d "%~dp0"
  6. for /f "tokens=1-2" %%a in ('mshta VBScript:Execute("CreateObject(""Scripting.Filesystemobject"").GetStandardStream(1).Write(screen.width&"" ""&screen.height)"^)(close^)') do (
  7.     set "ScreenWidth=%%a"
  8.     set "ScreenHeight=%%b"
  9. )
  10. set /a PositionX=(ScreenWidth-PictureWidth)/2
  11. set /a PositionY=(ScreenHeight-PictureHeight)/2
  12. BeePhoto /p:"%PictureName%" /x:%PositionX% /y:%PositionY%
复制代码
我帮忙写的代码不需要付钱。如果一定要给,请在微信群或QQ群发给大家吧。
【微信公众号、微信群、QQ群】http://bbs.bathome.net/thread-3473-1-1.html
【支持批处理之家,加入VIP会员!】http://bbs.bathome.net/thread-67716-1-1.html

TOP

批处理调用 BeePhoto 在屏幕上居中显示一个图片(调用 nconvert 获取图片的宽度和高度)
  1. @echo off
  2. set "PictureName=屏幕水印001.bmp"
  3. cd /d "%~dp0"
  4. for /f "tokens=1,3" %%a in ('nconvert -info "%PictureName%"') do (
  5.     set "str=%%a"
  6.     if "%%a" equ "Width" (
  7.         set "PictureWidth=%%b"
  8.     ) else if "%%a" equ "Height" (
  9.         set "PictureHeight=%%b"
  10.     )
  11. )
  12. for /f "tokens=1-2" %%a in ('mshta VBScript:Execute("CreateObject(""Scripting.Filesystemobject"").GetStandardStream(1).Write(screen.width&"" ""&screen.height)"^)(close^)') do (
  13.     set "ScreenWidth=%%a"
  14.     set "ScreenHeight=%%b"
  15. )
  16. set /a PositionX=(ScreenWidth-PictureWidth)/2
  17. set /a PositionY=(ScreenHeight-PictureHeight)/2
  18. BeePhoto /p:"%PictureName%" /x:%PositionX% /y:%PositionY%
复制代码
我帮忙写的代码不需要付钱。如果一定要给,请在微信群或QQ群发给大家吧。
【微信公众号、微信群、QQ群】http://bbs.bathome.net/thread-3473-1-1.html
【支持批处理之家,加入VIP会员!】http://bbs.bathome.net/thread-67716-1-1.html

TOP

回复 10# 0475
  1. @echo off
  2. set "PictureName1=img\209.png"
  3. set "PictureName2=img\201.jpg"
  4. set "PictureName3=img\202.jpg"
  5. cd /d "%~dp0"
  6. for /f "tokens=1-2" %%a in ('mshta VBScript:Execute("CreateObject(""Scripting.Filesystemobject"").GetStandardStream(1).Write(screen.width&"" ""&screen.height)"^)(close^)') do (
  7.     set "ScreenWidth=%%a"
  8.     set "ScreenHeight=%%b"
  9. )
  10. for %%i in (%PictureName1% %PictureName2% %PictureName3% ) do (
  11.     call :GetPicSize "%%i"
  12. )
  13. goto :eof
  14. :GetPicSize
  15. for /f "tokens=1,3" %%a in ('nconvert -info "%~1"') do (
  16.     set "str=%%a"
  17.     if "%%a" equ "Width" (
  18.         set "PictureWidth=%%b"
  19.     ) else if "%%a" equ "Height" (
  20.         set "PictureHeight=%%b"
  21.     )
  22. )
  23. set /a PositionX=(ScreenWidth-PictureWidth)/2
  24. set /a PositionY=(ScreenHeight-PictureHeight)/2
  25. BeePhoto /p:"%~1" /x:%PositionX% /y:%PositionY%
复制代码
我帮忙写的代码不需要付钱。如果一定要给,请在微信群或QQ群发给大家吧。
【微信公众号、微信群、QQ群】http://bbs.bathome.net/thread-3473-1-1.html
【支持批处理之家,加入VIP会员!】http://bbs.bathome.net/thread-67716-1-1.html

TOP

返回列表