Comments (5)
Hey there @amit-coditas,
Is this the Apple Music Script-Command or is that the extension in the store? If it is related to the Script-Command, maybe @StevenRCE0 can help here since he is the author. In any case, I will suggest you to try the Apple Music Store extension?
from script-commands.
I do have the extension installed, but it doesn't have the 'search' option at all, hence was trying out the script.
@StevenRCE0 would it be possible to have a quick look? thank you for your help!!
from script-commands.
Thanks for your feedback. Just to make it clear, are you referring to what you input in the 1st argument did not paste into the music app as expected? (That's how it work, really straight forward: save your clipboard, copy the argument, reveal the Music app, paste into the search box, restore your clipboard) If this happens, it could be a hassle. However, if you're expecting what you've copied to automatically appear in the argument's field, the behaviour is handled by Raycast.
from script-commands.
Hello @StevenRCE0 ,
thank you for the reply. I understand now, you are using the clipboard to 'transfer' what was passed in the argument/text in raycast to Apple Music app.
I was hoping of a workflow where I see a song or an artist on any webpage (for e.g. Reddit), I copy the song name or Artist Name, and fire a workflow on raycast which then takes me to apple music, does a Ctrl V and makes the search (Basically avoiding an extra CTRL + V in Raycast)
I imagined the argument being Optional was either reading it from the input OR from the clipboard.
I edited the script to remove the argument and just read from the clipboard directly, and assigned a hotkey to this script.
Now it works perfectly! Copy anything, Hit a hotkey and voila, it's on AM with the results.
from script-commands.
For this use case, you may find Raycast's Quicklink helpful. To get it working, copy the Deeplink of the script command, and create a Quicklink like this:
raycast://script-commands/apple-music-search?arguments={Query}
Assign a shortcut for the Quicklink instead of the Script Command and make sure you've turned on Pass selected text as argument
under Raycast settings
-> Extensions
-> Quicklinks
.
After setting the whole thing up, just select any text on the web page for example, press the shortcut (no CTRL+C needed!), and it'll do.
from script-commands.
Related Issues (20)
- highjacks current terminal window instead of opening new terminal window HOT 2
- I'm not sure If this is just me not knowing how scripts work or if it's a bug HOT 4
- allow recursive search in script directory HOT 1
- "Running script" continues indefinitely HOT 2
- My script commands is occasionally missing HOT 16
- I hope to set the default value and memory ability. HOT 2
- AppleScript missing icons HOT 1
- Can't stop script from running in the background HOT 5
- Script causes the dock to come into focus as if Finder was right-clicked HOT 5
- Integrating Automation workflows HOT 1
- audio-output-switch.template no longer works -- suggested changes below (verified on Intel MBP 16" running macOS Ventura 13.4.1) HOT 2
- default-browser-XXX scripts - Mac OS Sonoma HOT 4
- Toggle Natural Scrolling script does not work on Sonoma HOT 4
- Failing to start Raycast command scripts - MacOS Sonoma HOT 3
- Feature Request: Interactive mode HOT 4
- execute script via hotkey without opening raycast? HOT 1
- Disabling 'reopen windows' feature while using system restart command HOT 1
- Default browser scripts not working on Sonoma HOT 4
- commands/system/copy-availability.swift throws an error when run - "Symbols not found" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from script-commands.