quickadd icon indicating copy to clipboard operation
quickadd copied to clipboard

Creating the movies Macro doesn't work[BUG]

Open creativefibro opened this issue 3 years ago • 6 comments

Describe the bug When I watched your video you had the Editor Comand set to Copy and the z.js entered in the User Scripts box when you hit add the Z was added as a first step. I added movies.js into the box (I created a Scripts folder in my .obsidian folder and saved the script in there) and nothing happens

To Reproduce See the steps provided above

Expected behavior I expected to see the 1.movies in the top row under the title movies.

Screenshots image

Desktop (please complete the following information):

  • OS: [Mac OS 2.1]
  • Browser [chrome]
  • Version [98.0.4758.109]

Additional context Add any other context about the problem here.

creativefibro avatar Feb 26 '22 17:02 creativefibro

Hi @creativefibro!

QuickAdd is not able to detect scripts placed 'outside' of your vault, which unfortunately .obsidian is (slightly unintuitive, unfortunately). If you instead place the scripts folder (anywhere) in your vault, it should detect the script.

Hope this helps!

chhoumann avatar Feb 26 '22 21:02 chhoumann

Hi @creativefibro!

QuickAdd is not able to detect scripts placed 'outside' of your vault, which unfortunately .obsidian is (slightly unintuitive, unfortunately). If you instead place the scripts folder (anywhere) in your vault, it should detect the script.

Hope this helps!

Hi, sorry if I am wrong, currently the route is:

My Vault Folder .obsidian folder Scripts Folder (The same layer as themes, plugins and snippets) The script

So surely as the script is inside the Vault as the whole .obsidian folder is inside it? Or does it have a problem reading the .obsidian folder? I'm just trying to get my head around it.

creativefibro avatar Feb 28 '22 15:02 creativefibro

Hi! I have encountered de same issue. I've placed the script on a folder inside my vault. When I search for a movie or TV show the message "No results found" shows up. OS: [Arch Linux] Browser [brave] Version [V1.37.109]

EhuddR avatar Mar 31 '22 04:03 EhuddR

Hi, sorry if I am wrong, currently the route is:

My Vault Folder .obsidian folder Scripts Folder (The same layer as themes, plugins and snippets) The script

So surely as the script is inside the Vault as the whole .obsidian folder is inside it? Or does it have a problem reading the .obsidian folder? I'm just trying to get my head around it.

Hi @creativefibro, I didn't log the issue, but had the same. The plugin wouldn't recognize the .js file if it was in the .obsidian folder. I moved it to the same folder as my templates and then it could locate it fine.

spasticginger avatar Apr 14 '22 12:04 spasticginger

Hi! I have encountered de same issue. I've placed the script on a folder inside my vault. When I search for a movie or TV show the message "No results found" shows up. OS: [Arch Linux] Browser [brave] Version [V1.37.109]

Hi @EhuddR, had the same issue when I was setting it up. Double check the E-mail you received with the API key. There's a link to actually activate the key, and its easy to overlook. I was troubleshooting for 45 minutes before I realized I missed that. 😅

spasticginger avatar Apr 14 '22 12:04 spasticginger

HI @spasticginger, I don't know what I'm doing wrong, I'm sure the API key is active, however, I couldn't get the script to work. 😥

EhuddR avatar Jun 27 '22 18:06 EhuddR