Hi, recent lurker and Scriptable newbie here. I just published a little “chat” widget for Scriptable. You can quickly start a conversation with a predefined list of contacts through SMS, Call, FaceTime + Audio, and WhatsApp. Thought some of you might find it useful.
Hi erkka,the code jump to system calendar is very useful, but it always kump to scriptable first before go to calendar when I run the widge on the desk.Can the widget jump to calendar directly or there is something wrong with my setting?
I created a weather widget supporting netatmo and openweathermap as sources. It can be installed multiple times in small, medium and/or large. Location can be provided or it will take the current one. Data is cached, so it will always display something (even if there is no internet connection).
The newest update (courtesy of @theguy69) allows you to set the locale (in the SETUP section), which will determine the language of the dates displayed. Hope that helps!
This looks great, got it working fast, even a a complete noob.
Where do I have to change code to get it perfect for iPhone X? It looks like sunset / sunrise should be smaller font, or the “border” should be smaller?
In Medium size I think it can be tweaked as well, looks “cut off” on top and bottom
Look at the light mode screenshots provided, the sunset time appears in 1 line, not 2. The medium widget also has a larger “white border” at the top. To my guess, the looks have to be tweaked according to the screen size, but I have no idea how/where to do that
I wonder if you are on an older version of Scriptable? Try going to the App Store app and updating - version 1.5.1 of Scriptable came out a few days ago with support for WidgetStacks.
Yep that was it! I was able to get the widget to work, but the background image doesn’t show up. I set both imagebackground and foreceimageupdate to “true”, it shows the background image in Scriptable, but when I look on my home screen, it just shows a grey background. What am I doing wrong? Thank you for your help!
Set forceImageUpdate to false, and it should work! I know it’s a bit clunky, but that variable is meant to only be “true” when you’re running the script inside Scriptable and selecting a new image.
Ohhh, what did I do to deserve a generous shout out for this? The widget looks great. I’ll be applying some of your techniques in Conversable soon (I like how you’re able to define columns and what goes in each easily).
Edit: I think the credit goes to @theguy69 instead. I just checked the PR for Weather-Cal and it seems like he was the one who added the locale strings.
Hi, I’m trying to add a module to show today’s reminders to this but I’m running into a few roadblocks. I’m completely new to JavaScript so I’ve tried adapting some of the code from other widgets posted in this thread and so far this is what I’ve got:
The overall code seems to work when I try to run it as a standalone script, but when I try to run it as part of mzeryck’s widget I get this error: “SyntaxError: Unexpected identifier ‘Reminder’. Expected ‘;’ after variable declaration.” in regards to this line of code: const allTasks = await Reminder.incompleteDueToday([])
Anyone have any suggestions on what’s going on/how I can fix it?
Ahh you are right! I am a total GitHub noob - I saw Conversable on @theguy69’s GitHub page and made an assumption but I do love Conversable, such an awesome design!