Skip to content

Latest commit

 

History

History
55 lines (43 loc) · 4.33 KB

Resources.md

File metadata and controls

55 lines (43 loc) · 4.33 KB

docs » Resources


Add a resource to https://carleslc.me/resources with the copied url

Download: https://github.com/Carleslc/Spoons/raw/master/Spoons/Resources.spoon.zip

API Overview

API Documentation

Variables

path
Signature Resources.path
Type Variable
Description Required. Path to get_info.py script.
python
Signature Resources.python
Type Variable
Description Python command. Defaults to python3

Methods

add
Signature Resources:add()
Type Method
Description Open the add resources form with prefilled information about an URL
Parameters
  • url - URL of the resource to add
addWithCopiedUrl
Signature Resources:addWithCopiedUrl()
Type Method
Description Open the add resources form with prefilled information about the copied URL
Parameters
  • None
bindHotkeys
Signature Resources:bindHotkeys(mapping)
Type Method
Description Binds hotkeys for Resources
Parameters
  • mapping - A table containing hotkey modifier/key details for the following items:
  • add - Open the add resources form with prefilled information about the copied URL