Giter Site home page Giter Site logo

jiwenxing / qimage-mac Goto Github PK

View Code? Open in Web Editor NEW
103.0 6.0 11.0 6.63 MB

Mac 版本的 Markdown 一键贴图工具,基于 Alfred 实现,支持本地文件、截图、网络图片一键上传七牛云,使用简单方便

Home Page: http://jverson.com/2017/04/28/alfred-qiniu-upload/

License: MIT License

AppleScript 100.00%
markdown-image qshell alfred markdown qiniu image workflow

qimage-mac's Issues

mac下的markdown地址有问题

debug的信息:

[2018-02-15 14:02:44][trigger.hotkey] Processing output of 'action.script' with arg ''
[2018-02-15 14:02:48][action.script] Processing output of 'output.clipboard' with arg '![](http://ouat6a0as.bkt.clouddn.com/
ouat6a0as.bkt.clouddn.com
ouat6a0as.bkt.clouddn.com
http://ouat6a0as.bkt.clouddn.com/7a143992735e591eca588ab79c7eedad.jpg)
'
[2018-02-15 14:02:48][action.script] Processing output of 'output.notification' with arg '![](http://ouat6a0as.bkt.clouddn.com/
ouat6a0as.bkt.clouddn.com
ouat6a0as.bkt.clouddn.com
http://ouat6a0as.bkt.clouddn.com/7a143992735e591eca588ab79c7eedad.jpg)
'

按照你的文件出现运行错误

debug 内容如下: 可以解释一下是哪里的问题吗 谢谢

[2019-03-18 13:13:32][ERROR: action.script] /Users/wangxiaoyao/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Scripts/36DC5873-6F58-4398-95A5-06A330035037:2424:2455: execution error: Error: command account receives zero or three args, received 2

Usage:
  qshell account [<AccessKey> <SecretKey> <Name>] [flags]

Flags:
  -h, --help        help for account
  -w, --overwrite   overwrite account or not when account exists in local db, by default not overwrite

Global Flags:
  -C, --config string   config file (default is $HOME/.qshell.json)
  -d, --debug           debug mode
  -L, --local           use current directory as config file path
  -v, --version         show version

command account receives zero or three args, received 2

【feature request】剪贴板里的图片上传以时间戳命名

你好,我希望能加个功能,加一个flag来配置剪贴板上传的图片自动以时间戳+.png命名

如果flag开启的话,自动命名类似这样:

20200130195801.png

我本来想自己改,但是我对workflow不熟,这个改起来应该不费事。picgo现在就是自动命名,我觉得好用。

自己命名有点犯难

怎么得到图片地址呢?

您好,是直接截图到键贴版,再按⌥+⌘+V就可以了吗?
为什么我按⌥+⌘+V后出来的不是地址,而是alfred的框,
上面是七牛云的图标和“please type in the file name”

控制台报错:ERROR: Qiniu[Run Script] 2331:2362: execution error: Error: command account receives zero or three args, received 2

控制台信息报错

[19:56:49.105] Qiniu[Hotkey] Processing complete
[19:56:49.112] Qiniu[Hotkey] Passing output '' to Run Script
[19:56:51.288] Qiniu[Run Script] Processing complete
[19:56:51.291] Qiniu[Run Script] Passing output '' to Copy to Clipboard
[19:56:51.292] Qiniu[Run Script] Passing output '' to Post Notification
[19:57:00.529] Qiniu[Hotkey] Processing complete
[19:57:00.535] Qiniu[Hotkey] Passing output '' to Run Script
[19:57:01.047] ERROR: Qiniu[Run Script] 2331:2362: execution error: Error: command account receives zero or three args, received 2

Usage:
  qshell account [<AccessKey> <SecretKey> <Name>] [flags]

Flags:
  -h, --help        help for account
  -w, --overwrite   overwrite account or not when account exists in local db, by default not overwrite

Global Flags:
  -C, --config string   config file (default is $HOME/.qshell.json)
  -d, --debug           debug mode
  -L, --local           use current directory as config file path
  -v, --version         show version

command account receives zero or three args, received 2
 (1)
[19:57:01.060] Qiniu[Run Script] Processing complete
[19:57:01.061] Qiniu[Run Script] Passing output '' to Copy to Clipboard
[19:57:01.062] Qiniu[Run Script] Passing output '' to Post Notification

环境

  • Alfred
    • 已安装Qiniu.alfredworkflow,
    • 配置workflow环境变量,创建新的存储空间和使用老的存储空间(bucket&bucketDomain)都会报以上错误,AccessKey & SecretKey是从https://portal.qiniu.com/user/key进行复制粘贴的
  • qshell
    • 已确认版本qshell version v2.4.0

请麻烦作者帮忙看一下,如还需提供信息可说明,谢谢~

复制文件路径包含空格会导致上传失败

[2017-10-24 16:38:40][ERROR: action.script] /Users/tony/Library/Mobile Documents/comappleCloudDocs/Screenshots/[email protected]
/Users/tonyxu/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Scripts/1E9DFC7E-FDCF-42DC-977A-65C8204AA8E5:2497:2527: execution error: Local file error stat /Users/tony/Library/Mobile: no such file or directory (1)

剪贴板有图片的情况下,按下热键报错,请问该怎么解决。

[2019-01-30 10:39:22][ERROR: action.script] *** Error creating a JP2 color space: falling back to sRGB
*** Error creating a JP2 color space: falling back to sRGB
/Users/huangwenjun/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Scripts/6DE62051-2A67-4E0F-B1DD-DDA7FA44B741:2331:2362: execution error: Error: command account receives zero or three args, received 2

上传报错 404 Bad Request

[ERROR: action.script] /Users/jin2511/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Scripts/BD68391D-34B3-424E-B27D-95FA133728ED:2500:2530: execution error: Put file error: query region error, <html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>openresty</center>
</body>
</html> (1)

{"error":"Document not found"}

能够通过cmd + alt + v 来粘贴出正确的地址,但是查看地址的时候发现并没有上传到七牛云,然后报错了这个错误,请问是什么原因?

Alfred 版本问题

这个支持的 Alfred 版本是多少?
我的显示有新 feature 需要升级 Alfred

qshell account最新版本参数

qshell account [--overwrite | -w]
增加了一个参数,qimage-mac只有两个参数

set account_commond to "/usr/local/bin/qshell account " & AccessKey & " " & SecretKey

能否加一个输出 图片url地址

默认 :

![](http://7.028www.com/8e04c7c2759cc509d62edcf716b28fa4.jpg)

能否加入一个设置选项输出是

http://7.028www.com/8e04c7c2759cc509d62edcf716b28fa4.jpg

貌似sh没有,请帮助

/Users/j.applesid/Library/Caches/com.runningwithcrayons.Alfred-3/Workflow Scripts/FAECC616-DE24-42E5-BD30-A73ECDABCFB5:2424:2455: execution error: sh: /usr/local/bin/qshell: No such file or directory (127)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.