源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

PDF的VBS小程序代码

  • 时间:2020-09-01 09:28 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:PDF的VBS小程序代码
Dim ls_File Set objArgs = WScript.Arguments    '命令行参数 if objArgs.Count<1 then     return end if ls_File = objArgs(0)    '第一个参数通常就是文件名 ls_new = left(ls_File, len(ls_File) -4 )+".pdf" Set pptApp = CreateObject("PowerPoint.Application") '申明调用函数 pptApp.Visible = True '在使用PowerPoint时,一定要有此句,否则会出错 Set MyPress = pptApp.Presentations.Open( ls_file) 'Presentation 对象 MyPress.Saveas ls_new,32 pptApp.Quit
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部