Code Monkey home page Code Monkey logo

Comments (11)

caslan34 avatar caslan34 commented on August 15, 2024 4

here it is. reminderStack.url = "x-apple-reminderkit://REMCDReminder/

from weather-cal.

jianyu-li avatar jianyu-li commented on August 15, 2024 1

I wanted to just chime in here and let everyone know about a workaround for opening the iOS weather app when the weather items are tapped. I couldn’t find an X callback URL for this but there is one for the shortcuts app. If you create a shortcut called Weather that opens the weather app you can use this URL in preferences to trigger the shortcut. (Not perfect because it opens scriptable, shortcuts, and THEN weather. Still...it works.

shortcuts://x-callback-url/run-shortcut?name=Weather

from weather-cal.

mzeryck avatar mzeryck commented on August 15, 2024 1

I'm going to close this issue since it was resolved. @jianyu-li I'm working on some better documentation, once it's a bit more ready I'd love to have you contribute this Shortcuts tip if you're interested. Stay tuned!

from weather-cal.

djbeadle avatar djbeadle commented on August 15, 2024 1

Note for anyone in the future looking for this, in iOS 15 the "URL to open when [current/hourly/daily] weather is tapped" can be set to weather:// to open the built in weather app!

from weather-cal.

jianyu-li avatar jianyu-li commented on August 15, 2024 1

Note for anyone in the future looking for this, in iOS 15 the "URL to open when [current/hourly/daily] weather is tapped" can be set to weather:// to open the built in weather app!

Nice

from weather-cal.

mzeryck avatar mzeryck commented on August 15, 2024

Hi Andreas, I'm glad you like Weather Cal! It's potentially possible to change those, although in many cases, there's no way to do it. For example, I haven't been able to make the reminders open in the Reminders app. For other apps, it's possible if they have a URL scheme. I can look into adding this!

from weather-cal.

mzeryck avatar mzeryck commented on August 15, 2024

@caslan34 I searched all over and couldn't find this - thank you! Would you be willing to submit a pull request with this added?

from weather-cal.

caslan34 avatar caslan34 commented on August 15, 2024

@mzeryck firstly thank you for this widget.

I do not want to update now, because I added something.

I have two suggestions.
First, check attached picture. You will see, I added widget two reminders list. If you can, when we add two list in selectList, program must show both of lists. But also numberOfReminders Must be for two lists.

Second, if you can find code about background of widget to be live and changeable with weather conditions. If it is rain, background will be rain, if it snow, background will be snow...

Thanks
3B2497A3-F3D2-4405-AC56-1132ABF9BD93

from weather-cal.

TheRealEvan584 avatar TheRealEvan584 commented on August 15, 2024

I would also like to know if it is possible to change the background of the widget depending on if your phone is in light or dark mode.

from weather-cal.

mzeryck avatar mzeryck commented on August 15, 2024

@caslan34 Just so you know, if you run the "Update code" function from the settings menu, it will not reset your widget. So it's safe to do it! If you update, I added in customization for URL tap targets, and added your reminders URL (thank you!)
For your other two requests, I am not currently planning to implement them, although if you did you'd be welcome to submit a pull request.

@TheRealEvan584 I promise this is coming at some point!

from weather-cal.

jianyu-li avatar jianyu-li commented on August 15, 2024

I wanted to just chime in here and let everyone know about a workaround for opening the iOS weather app when the weather items are tapped. I couldn’t find an X callback URL for this but there is one for the shortcuts app. If you create a shortcut called Weather that opens the weather app you can use this URL in preferences to trigger the shortcut. (Not perfect because it opens scriptable, shortcuts, and THEN weather. Still...it works.

shortcuts://x-callback-url/run-shortcut?name=Weather

I did hear that opening apps from shortcuts doesn’t require opening the shortcuts app in the newest iOS beta so there may be a silver lining

from weather-cal.

Related Issues (20)

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.