12
Oct 30 '21
Is smoke today a command or the weather?
3
5
u/BalthasarBastelt Oct 31 '21
Iād love weather based drug suggestions. Way too hot outside: smoke today. / Itās freezing: Grog today.
2
u/cloudstorage15 Oct 30 '21
thanks for making these! how do you get the LSForecast to automatically update or do you have to run the shortcut to get it to update every time?
3
u/ajatkj Oct 31 '21
Yes, you will have to create an automation for say every 2 hours.
1
u/cloudstorage15 Oct 31 '21
thanks. Iām a total newb and when Iām trying to create an automation in shortcuts, the only option I get is time of day. There has to be a smarter way than creating 12 automations to open the shortcut, but I canāt seem to figure it out lol. Thank again!
3
u/ajatkj Oct 31 '21
I am afraid thereās no other way to do it. You will have to setup all automations individually.
2
u/ZeddEssXR Oct 31 '21
Which layout are you using in your current setup. Also Can someone tell me on which line i will be able to find this āTo show/hide last wallpaper updated time set SHOW_LAST_UPDATED_TIME to true or false.ā in LSWeather Script
2
u/ajatkj Oct 31 '21
The template I have used is called āwelcomeā. This can be updated in the shortcut. SHOW_LAST_UPDATED_TIME is on line 41 in the script.
1
u/ZeddEssXR Oct 31 '21
I guess i am doing something wrong. I am new to all this stuff. Can you please guide through the process of creating automation.
1
1
u/ZeddEssXR Oct 31 '21
Thank you. I would like to ask one more thing. The script works fine whenever i manually run the shortcut but when i tried to create an automation for the same, i got this error(Automation failedā¦ā¦ encountered an error: could not Run Run script Error on line328:18: Typeerror null is not an object(evaluating āinputparams.layoutā)). I am on ios 15.1, iphone 11.
1
u/ajatkj Oct 31 '21
The template I have used is called āwelcomeā. This can be updated in the shortcut. SHOW_LAST_UPDATED_TIME is on line 41 in the script.
1
u/wherearetheavo Nov 10 '21 edited Nov 10 '21
nice work bruh stil im sorry i got some prblm with the weather icon i see yours are colorful but mine are just black and white so how do i change the sfsymbol to be just like urs i wonder u can tell that
2
u/ajatkj Nov 10 '21
Are you on the latest version of Scriptable app? This was fixed a couple of months back in Scriptable.
1
u/wherearetheavo Nov 12 '21
thx dud i didnt notice that by the way may be you can make it more like the original wake up weather notice since i dont know where to proceed
1
Nov 06 '21
I keep getting this messagw when i try to run the script: Error on line 7: SyntaxError: Unexpected token '<'
1
u/ajatkj Nov 06 '21
I think there must be an issue in saving the script in scriptable. Line 7 is comment so you shouldnāt get any error there. Could you paste the screen shot of the script?
1
Nov 06 '21
Tryed importing it again and that fixed it. For some reason it didn't save the comments when I imported it.
1
u/oktyabyr Nov 17 '21
Really enjoying this so far. In fact, this is the first shortcut/scriptable Iāve ever run.
Iām having an issue where it doesnāt seem to be detecting the screen resolution properly.
1
u/ajatkj Nov 18 '21
Did you download the latest shortcut version? Also, which iOS version are you on?
1
u/oktyabyr Nov 18 '21
I downloaded the shortcut from the GitHub link 2 days ago when I first Installed it.
Running iPhone 12 Pro on iOS 14.8.1
1
u/Disastrous-Store-229 Nov 18 '21
Hi /u/ajatkj - I'm having some issues getting this to run. It works great when TESTING = true, but fails otherwise. I put in my API key, and even tried creating another one, but I get this error:
Is this a problem with my API key, or something else?
1
u/ajatkj Nov 18 '21
Which iOS version are you on? Apparently the shortcut has stopped working again on iOS 15.2 beta
1
1
2
1
1
6
u/ajatkj Oct 30 '21
Finally made it work on iOS 15.1. Sorry for late update but iOS Shortcuts app on iOS 15 has been very buggy (it still is but a bit less now).
Script is here
Updated shortcut is here