Coder Social home page Coder Social logo

scriptable's Issues

Distance not according to Strava

The distance in the widget is not the same as it is on Strava profile. I can compare on bikeing and running. Running has a deviation of 900km and biking 500km. Is there a difference between public and private activities in the API?

url error

I set my country Hungary and if I test scribptable app run all good but if I set widget I choose script and paramater Hungary widget say this.
IMG_1828
IMG_1827

COVID Trend Widget: 2 word countries problem?

Any problems with a two word country? As example “South Africa”.

If I set in in line 39:
const country = args.widgetParameter?args.widgetParameter:'South Africa'
i get a:
2021-12-05 14:35:08: Error: The URL is invalid.
error.

Any one word country work flawless.

Suggestion for Upcoming Calendar Widget

Hey,

since one of my favorite apps "Agenda+" is no longer being developed, I have a little great feature suggestion:

Hide Calendar and only show upcoming events in this way:

image

Store set-up settings between updates

Is there a way of storing the menu settings between updates, so the whole menu doesn't have to be reran between each update? I have seen settings stored in iCloud or Reminders app for example for shortcuts.

Running the whole menu between each update is a bit annoying. Even if the menu could astrix current setting whilst running, would be a big help - for example (yes*/no) meaning yes was selected last time. Meaning the same options could quickly be selected when running the setup. Any new options wouldn't have an astrix so the question could be read thoroughly before selecting an option.

Also making "update" standing out on the widget would be beneficial. Maybe in red/yellow to stand out.

Great work on the updates! My most-frequently used widget by far!

Add Background Color to Weekend Columns

Hello,

Excellent widget! Is it possible to add a background color to the weekend dates and change the font color of the day names, like the example below?

B6B8CF0D-B6A4-4E24-BCFA-5AB3DC30BE09

Put overline above some entries

Hi, I found your widget script and made a few tweaks (that probably no one would like!) to make a hyper-dense presentation. The one thing I would like to add would be an overline on the entries that include the day. The overline would help visually separate the days. Do you know how I might accomplish that? I’m an old school and out of practice programmer who has never touched javascript, so it was about all I could do to adapt your script to make this version. Any help is appreciated!
56F09276-A8AC-498A-90A4-A01E5572AC56

Not working anymore?

Even if I’m the last one using this widget I’m interested why ist not working anymore.

The error messeng is:
Error: Die Daten konnten nicht gelesen werden, da sie nicht das korrekte Format haben.
[Error: The data could not be read because it is not in the correct format.]

So what’s the reason? It’s the end? Delete it?

OpenWeather 2.5 is deprecated, 3.0 required

currentData = await new Request(`https://api.openweathermap.org/data/2.5/weather?lat=${LAT}&lon=${LON}&appid=${API_KEY}`).loadJSON()

Today, OpenWeather emailed me to say:

We would like to inform you about our plans to complete the migration from One Call 2.5 to One Call 3.0 that started 2 years ago. In line with this, access to One Call 2.5 will be finally closed in June 2024.

One Call 3.0 provides you with significantly advanced business-demanded features such as a minute forecast for 1 hour, 4 days forecast for any timestamp, a daily forecast for 8 days, including a human-readable summary, historical data (45-year archive) for timestamps, and with daily aggregation, 1.5-year long-term forecast with daily aggregation, and others.

Click here for One Call 3.0 migration guide
One Call 3.0 is free 1,000 calls/day

One Call 3.0 offers a flexible monthly subscription with a ‘pay-as-you-call’ scheme. You have 1,000 calls/day for free and pay only £0.0012 for each additional call.

One Call 3.0 for business

For demanded projects, we provide custom One Call 3.0 packages, tailored to your specific needs. These can include a certain volume of calls per month at a fixed monthly price, an OpenWeather end-user license (as opposed to an open CC license applicable by default), SLAs, and premium support options.

https://openweathermap.org/one-call-transfer

Line below day names

Hi,

Great widget! In the calendar section, is it possible to add a line between the day and dates, something similar to this:
9EFCBA3C-696D-4C99-A121-D2ACBCA134CB

Change

How do I add a username

Problem and features request

Firstly,Thanks for your contribution of the codes.

Problem I met:
it works very well if I don't set photos as background,but when I set the background with a photo sliced by the no background js, everything was good on setting and I could see the widget display result on the final setting step,but on the screen it tells Alerts are not supported in a widget.

6CB951B7-FD62-498E-9552-E83C3407C574

Feature request:
The widget looks better if the words color can change into white above the photo background. Like the below ones,it seems that there is a transparent layer between the words and photo, they look nice.

5FF71E9B-FE29-4E83-BDBF-6B1AFFA7206C.

Thanks.

Cal indicator script- random events populating

I’m getting some random calendar events populate in my widget. The colours for these events also don’t match any that I have (the events are all grey).

I feel it has connected to some random calendar somehow. Any ideas?

Events such as “fair” and “New Year” on 11th Jan. doesn’t make sense. It’s also not pulling all events for calendars. As you can see, it has skipped some blue calendar events, but listed the next.

not sure how I can debug. But could prove a privacy nightmare

> No, I‘m talking about the events you can see. Sorry that was not clear to understand. Would be nice to see the events of the next view weeks (i. e. 14 days).

No, I‘m talking about the events you can see. Sorry that was not clear to understand. Would be nice to see the events of the next view weeks (i. e. 14 days).
84B33D3C-97EE-43B2-8E34-CDBBFE4DE2D4

The answer to my question then is, yes, not, no.

You're looking to have additional functionality for a large size widget added. That view looks interesting. I'll see what I can do

Originally posted by @mvan231 in #3 (comment)

Not able to check users with an underscore

When trying to set the widget with a user that has an underscore, there's an error:
2022-01-20 09:44:59: Error on line 151:25: TypeError: undefined is not an object (evaluating 'json[0].user')

Where line 151 has url of username set to anything that has an underscore:
url = 'CNAC_GN' //'ps5uknews'

Alexa to Reminders Access.js quits with an error

Unfortunately, the script quits with an error. Do you have any tips on what could be wrong?

IMG_3842

Log says:

2024-05-18 13:59:23: index of "Sign in"
is -1
2024-05-18 13:59:23: logged in
2024-05-18 13:59:23: /private/var/mobile/
¡ Library/Mobile Documents/
iCloud~dk~simonbs~Scriptable/Documents/ lastCreatedDateTime.txt
2024-05-18 13:59:23: lastDate is 0
2024-05-18 13:59:26: Error: Die Daten konnten nicht gelesen werden, da sie nicht das korrekte Format haben.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.