在阅读了很多关于此的不同主题并尝试了一堆脚本后,我挠头,但似乎都没有工作。
我想使用 Automator 自动将 Word 2016 的精选 docx 文件转换为 pdf。
使用了以下 Automator 服务:
使用了以下脚本:
on run {input, parameters}
tell application id "com.microsoft.Word"
activate
open input
set doc to name of active window
set theOutputPath to (input & ".pdf")
save as active document file name theOutputPath file format format PDF
end tell
end run
Run Code Online (Sandbox Code Playgroud)
这会导致错误:Microsoft Word 出现错误:活动文档不理解“另存为”消息。
一直在尝试使用大量设置/env-vars/tf-versions,但不起作用..
在我的本地机器上,这是有效的:AWS_ACCESS_KEY_ID=XXX AWS_SECRET_ACCESS_KEY=XXX AWS_REGION=eu-west-1 tensorboard --logdir="s3://my-bucket/tflogs/"
在 AWS 实例上,这将抛出:
I tensorflow/core/platform/s3/aws_logging.cc:54] Creating HttpClient with max connections2 and scheme http
I tensorflow/core/platform/s3/aws_logging.cc:54] Initializing CurlHandleContainer with size 2
I tensorflow/core/platform/s3/aws_logging.cc:54] Creating Instance with default EC2MetadataClient and refresh rate 900000
I tensorflow/core/platform/s3/aws_logging.cc:54] Found secret key
I tensorflow/core/platform/s3/aws_logging.cc:54] Initializing CurlHandleContainer with size 25
I tensorflow/core/platform/s3/aws_logging.cc:54] Found secret key
I tensorflow/core/platform/s3/aws_logging.cc:54] Pool grown by 2
I tensorflow/core/platform/s3/aws_logging.cc:54] Connection has been released. Continuing.
E tensorflow/core/platform/s3/aws_logging.cc:60] Curl returned error code 6
W tensorflow/core/platform/s3/aws_logging.cc:57] If …Run Code Online (Sandbox Code Playgroud) amazon-s3 ×1
applescript ×1
automator ×1
macos ×1
ms-word ×1
tensorboard ×1
tensorflow ×1
word-2016 ×1