elnadav12
-
Posts
18 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by elnadav12
-
-
2 minutes ago, DrewOS said:
You might be able to do something using Shortcuts with the Music app Shortcuts can be called from command line so can be added to Alfred workflows.
Cool idea, but music app shortcuts are only useful for library stuff from my experience…
You can’t really input a song or artist and make it play the right one… Lacks Siri’s intelligence (better than nothing right?🤪).
Also, Siri can understand stuff like “shuffle my library”, “play my station” etc.
Seems like this workflow will take a lot of work and many shortcuts to do basic things…
Do you have any smart ideas regarding the implementation? I tried something similar here but it didn’t work well…
-
29 minutes ago, flowt said:
This is absolutely amazing. Solid work! I love it so so so so much!!!!
Thanks!
I was looking for something that will fit well in Monterey and ended up on this design...
Which version do you like best?
-
Hello friends,
I've been struggling with Apple Music for a long time.
I really like Siri's "play some music" feature, which plays a random personalized station.
But, to my knowledge the only way to invoke it is using Siri or through the recently played menu in the app.
In general, I'd like to give commands to Siri using Alfred, but the only way I've come up with is using "type to Siri", causing an annoying pop up menu that takes decades to disappear...
Do you have any ideas for improvement?
Thanks
-
Hey guys,
Seems like many of you enjoyed my old minimal theme:
https://www.alfredforum.com/topic/16333-minimal-theme-refined-apr-6th-2021/
So here's the new one I created for my M1 Pro MacBook.
Light:https://www.alfredapp.com/extras/theme/7TdSQcdigK/
Dark:https://www.alfredapp.com/extras/theme/nerw5iDkVy/
Black (for night owls): https://www.alfredapp.com/extras/theme/piaj5hcWlE/
-
With a new MusicKit API dropping in Monterey (you can now ask for music app access permission), could you replace the mini player with integrated music search and playback?
-
-
-
This is my latest revision.
Enjoy
-
Hey, this is my minimal theme.
Inspired by google search and spotlight😃
Minimal: https://www.alfredapp.com/extras/theme/zNHmoYfnWK/
Minimal Dark: https://www.alfredapp.com/extras/theme/9ImSLfi2gz/
Minimal Dark edit by @poirpom: https://www.alfredapp.com/extras/theme/hYQD9vS5TR/
-
14 hours ago, Andrew said:
Just to let you know, I'm working on new theming options which will allow for rounded corners and also to use the native macOS Visual Effect view (the blur effect you get in Spotlight and various windows around macOS). A side effect of the using this native view type is getting proper window surround, and no fuzzy corners.
Here is an example:
That's great!
-
-
For the Dark Sky fans among us (who registered for the API before apple took over), here's a folder with dark sky's weather icons, with names matched for the weather workflow:
Click on the workflow, open in finder -> icons and unzip the folder.
Then, select it via the Alfred search bar, WTO keyword, icons option -> dark sky.
-
14 minutes ago, vitor said:
I have no idea what that means. Don’t change the code, just add a Workflow Environment Variable named api_key and set the Value to your API key.
Ohh I see...
Thanks a lot!
Great workflow for conversions, stock prices and quick general search.
-
1 minute ago, vitor said:
Make a Script Filter with ruby as the language and this code:
require 'cgi' require 'json' require 'net/http' query = ARGV[0] escaped_query = CGI.escape(query) simple_api = 'https://api.wolframalpha.com/v1/simple?i=' + escaped_query + '&appid=' + ENV['api_key'] short_answers_api = 'https://api.wolframalpha.com/v1/result?i=' + escaped_query + '&appid=' + ENV['api_key'] result = Net::HTTP.get_response(URI.parse(short_answers_api)).body puts({ items: [ title: result, subtitle: query, arg: result, quicklookurl: simple_api ] }.to_json)
Results are inline and you can press ⇧ or ⌘Y to get a quicklook preview of the page.
It assumed you’ve got an API key and placed it in a api_key Workflow Environment Variable.
Thanks a lot!
The API is limited to 2000 calls a month, will this script call the api each time I write a new letter?
-
1 hour ago, deanishe said:
Either. Or Ruby. Pretty much any general-purpose language has the features you need (URL encoding, HTTP client & JSON).
Thanks for the help!
Is this code any good?
Quoterequire("workflows.php");
$wf = new Workflows();
// $word = "{query}";
$word = str_replace(' ', '+', "{query}");
$url = "http://api.wolframalpha.com/v1/result?appid=DEMO&i=".$word;
// replace file_get_contents with $wf->request
// it's not better, it's cleaner IMHO
$answer = $wf->request( $url );
// $raw = file_get_contents( $url );
$wf->result( time(), $url, $answer, 'WolframAlpha search result', 'icon.png', 'yes', $url);
echo $wf->toxml(); -
Hello,
After some looking around I found this workflow that uses WolframAlpha's api to get direct search results.
https://www.packal.org/workflow/wolframalpha
This workflow is very cool but takes ages to load.
WolframAlpha has a cool short answer api that returns answer to a url with the question.
https://products.wolframalpha.com/short-answers-api/documentation/
Since it's that simple I imagine that making a workflow that fetches the url, for example "http://api.wolframalpha.com/v1/result?appid=DEMO&i={query}", and returns the result as an Alfred title wouldn't be hard to make, and should run fast...
What's the right language for the job? PHP? Python? I'm not really sure.
I have no experience with both so where should I begin?
Thanks for your time!
Play song from Apple Music (Monterey only)
in Share your Workflows
Posted
Thanks for the tip!
Did that using Alfred 5.
I don't get why the built in Alfred music control is so bad....
The ability to request songs & playlists from AM should be built in, especially now with the music kit api available...