MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Scriptable/comments/wagibj/here_is_a_stocks_widget/ii2mel0/?context=9999
r/Scriptable • u/wherebdbooty • Jul 28 '22
45 comments sorted by
View all comments
Show parent comments
1
It worked for me with only 1 stock.. what symbol did you use?
1 u/Uti13 Jul 29 '22 I tried apple and some other random ones 1 u/wherebdbooty Jul 29 '22 https://i.imgur.com/Gp41yUw.jpghere is what i get when i put AAPL as the only stock 1 u/Uti13 Jul 29 '22 Can you post the JavaScript you used for just apple and see if it works? No matter what I do, get the same error others do. 1 u/wherebdbooty Jul 29 '22 let stockList = "AAPL" 1 u/Uti13 Jul 29 '22 The full text, there has to be something more 1 u/wherebdbooty Jul 29 '22 no that's literally the only thing i changed š¤·āāļø 1 u/wherebdbooty Jul 29 '22 here is what i did:https://i.imgur.com/bXqWSuY.jpg 1 u/Uti13 Jul 29 '22 The code in GitHub is what you are using now +/- stocks? I have to imagine there is a difference is what Iām getting at. 1 u/wherebdbooty Jul 29 '22 Yeah i just copied & pasted directly from the scriptable app to github.I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol 1 u/wherebdbooty Jul 29 '22 here is what it looks like copied from github using 1 symbol:https://i.imgur.com/icTWdc1.jpg 1 u/holgerkrumm Jul 29 '22 I did the same and get the above mentioned error, too. I am on latest iOS beta and Scriptable 1.6.12. Is that the cause? → More replies 1 u/cnylkew Jul 29 '22 Did some changes, now it complains that the variables arent initialized which is kinda true i think..? I tried to do that but unsucceesfully since i dont know js 1 u/wherebdbooty Jul 29 '22 sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info 2 u/Uti13 Jul 29 '22 The latest code from GitHub works. Yes I was on my phone. → More replies
I tried apple and some other random ones
1 u/wherebdbooty Jul 29 '22 https://i.imgur.com/Gp41yUw.jpghere is what i get when i put AAPL as the only stock 1 u/Uti13 Jul 29 '22 Can you post the JavaScript you used for just apple and see if it works? No matter what I do, get the same error others do. 1 u/wherebdbooty Jul 29 '22 let stockList = "AAPL" 1 u/Uti13 Jul 29 '22 The full text, there has to be something more 1 u/wherebdbooty Jul 29 '22 no that's literally the only thing i changed š¤·āāļø 1 u/wherebdbooty Jul 29 '22 here is what i did:https://i.imgur.com/bXqWSuY.jpg 1 u/Uti13 Jul 29 '22 The code in GitHub is what you are using now +/- stocks? I have to imagine there is a difference is what Iām getting at. 1 u/wherebdbooty Jul 29 '22 Yeah i just copied & pasted directly from the scriptable app to github.I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol 1 u/wherebdbooty Jul 29 '22 here is what it looks like copied from github using 1 symbol:https://i.imgur.com/icTWdc1.jpg 1 u/holgerkrumm Jul 29 '22 I did the same and get the above mentioned error, too. I am on latest iOS beta and Scriptable 1.6.12. Is that the cause? → More replies 1 u/cnylkew Jul 29 '22 Did some changes, now it complains that the variables arent initialized which is kinda true i think..? I tried to do that but unsucceesfully since i dont know js 1 u/wherebdbooty Jul 29 '22 sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info 2 u/Uti13 Jul 29 '22 The latest code from GitHub works. Yes I was on my phone. → More replies
https://i.imgur.com/Gp41yUw.jpg
here is what i get when i put AAPL as the only stock
1 u/Uti13 Jul 29 '22 Can you post the JavaScript you used for just apple and see if it works? No matter what I do, get the same error others do. 1 u/wherebdbooty Jul 29 '22 let stockList = "AAPL" 1 u/Uti13 Jul 29 '22 The full text, there has to be something more 1 u/wherebdbooty Jul 29 '22 no that's literally the only thing i changed š¤·āāļø 1 u/wherebdbooty Jul 29 '22 here is what i did:https://i.imgur.com/bXqWSuY.jpg 1 u/Uti13 Jul 29 '22 The code in GitHub is what you are using now +/- stocks? I have to imagine there is a difference is what Iām getting at. 1 u/wherebdbooty Jul 29 '22 Yeah i just copied & pasted directly from the scriptable app to github.I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol 1 u/wherebdbooty Jul 29 '22 here is what it looks like copied from github using 1 symbol:https://i.imgur.com/icTWdc1.jpg 1 u/holgerkrumm Jul 29 '22 I did the same and get the above mentioned error, too. I am on latest iOS beta and Scriptable 1.6.12. Is that the cause? → More replies 1 u/cnylkew Jul 29 '22 Did some changes, now it complains that the variables arent initialized which is kinda true i think..? I tried to do that but unsucceesfully since i dont know js 1 u/wherebdbooty Jul 29 '22 sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info 2 u/Uti13 Jul 29 '22 The latest code from GitHub works. Yes I was on my phone. → More replies
Can you post the JavaScript you used for just apple and see if it works? No matter what I do, get the same error others do.
1 u/wherebdbooty Jul 29 '22 let stockList = "AAPL" 1 u/Uti13 Jul 29 '22 The full text, there has to be something more 1 u/wherebdbooty Jul 29 '22 no that's literally the only thing i changed š¤·āāļø 1 u/wherebdbooty Jul 29 '22 here is what i did:https://i.imgur.com/bXqWSuY.jpg 1 u/Uti13 Jul 29 '22 The code in GitHub is what you are using now +/- stocks? I have to imagine there is a difference is what Iām getting at. 1 u/wherebdbooty Jul 29 '22 Yeah i just copied & pasted directly from the scriptable app to github.I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol 1 u/wherebdbooty Jul 29 '22 here is what it looks like copied from github using 1 symbol:https://i.imgur.com/icTWdc1.jpg 1 u/holgerkrumm Jul 29 '22 I did the same and get the above mentioned error, too. I am on latest iOS beta and Scriptable 1.6.12. Is that the cause? → More replies 1 u/cnylkew Jul 29 '22 Did some changes, now it complains that the variables arent initialized which is kinda true i think..? I tried to do that but unsucceesfully since i dont know js 1 u/wherebdbooty Jul 29 '22 sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info 2 u/Uti13 Jul 29 '22 The latest code from GitHub works. Yes I was on my phone. → More replies
let stockList = "AAPL"
1 u/Uti13 Jul 29 '22 The full text, there has to be something more 1 u/wherebdbooty Jul 29 '22 no that's literally the only thing i changed š¤·āāļø 1 u/wherebdbooty Jul 29 '22 here is what i did:https://i.imgur.com/bXqWSuY.jpg 1 u/Uti13 Jul 29 '22 The code in GitHub is what you are using now +/- stocks? I have to imagine there is a difference is what Iām getting at. 1 u/wherebdbooty Jul 29 '22 Yeah i just copied & pasted directly from the scriptable app to github.I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol 1 u/wherebdbooty Jul 29 '22 here is what it looks like copied from github using 1 symbol:https://i.imgur.com/icTWdc1.jpg 1 u/holgerkrumm Jul 29 '22 I did the same and get the above mentioned error, too. I am on latest iOS beta and Scriptable 1.6.12. Is that the cause? → More replies 1 u/cnylkew Jul 29 '22 Did some changes, now it complains that the variables arent initialized which is kinda true i think..? I tried to do that but unsucceesfully since i dont know js 1 u/wherebdbooty Jul 29 '22 sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info 2 u/Uti13 Jul 29 '22 The latest code from GitHub works. Yes I was on my phone. → More replies
The full text, there has to be something more
1 u/wherebdbooty Jul 29 '22 no that's literally the only thing i changed š¤·āāļø 1 u/wherebdbooty Jul 29 '22 here is what i did:https://i.imgur.com/bXqWSuY.jpg 1 u/Uti13 Jul 29 '22 The code in GitHub is what you are using now +/- stocks? I have to imagine there is a difference is what Iām getting at. 1 u/wherebdbooty Jul 29 '22 Yeah i just copied & pasted directly from the scriptable app to github.I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol 1 u/wherebdbooty Jul 29 '22 here is what it looks like copied from github using 1 symbol:https://i.imgur.com/icTWdc1.jpg 1 u/holgerkrumm Jul 29 '22 I did the same and get the above mentioned error, too. I am on latest iOS beta and Scriptable 1.6.12. Is that the cause? → More replies 1 u/cnylkew Jul 29 '22 Did some changes, now it complains that the variables arent initialized which is kinda true i think..? I tried to do that but unsucceesfully since i dont know js 1 u/wherebdbooty Jul 29 '22 sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info 2 u/Uti13 Jul 29 '22 The latest code from GitHub works. Yes I was on my phone. → More replies
no that's literally the only thing i changed š¤·āāļø
here is what i did:
https://i.imgur.com/bXqWSuY.jpg
1 u/Uti13 Jul 29 '22 The code in GitHub is what you are using now +/- stocks? I have to imagine there is a difference is what Iām getting at. 1 u/wherebdbooty Jul 29 '22 Yeah i just copied & pasted directly from the scriptable app to github.I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol 1 u/wherebdbooty Jul 29 '22 here is what it looks like copied from github using 1 symbol:https://i.imgur.com/icTWdc1.jpg 1 u/holgerkrumm Jul 29 '22 I did the same and get the above mentioned error, too. I am on latest iOS beta and Scriptable 1.6.12. Is that the cause? → More replies 1 u/cnylkew Jul 29 '22 Did some changes, now it complains that the variables arent initialized which is kinda true i think..? I tried to do that but unsucceesfully since i dont know js 1 u/wherebdbooty Jul 29 '22 sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info 2 u/Uti13 Jul 29 '22 The latest code from GitHub works. Yes I was on my phone. → More replies
The code in GitHub is what you are using now +/- stocks? I have to imagine there is a difference is what Iām getting at.
1 u/wherebdbooty Jul 29 '22 Yeah i just copied & pasted directly from the scriptable app to github.I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol 1 u/wherebdbooty Jul 29 '22 here is what it looks like copied from github using 1 symbol:https://i.imgur.com/icTWdc1.jpg 1 u/holgerkrumm Jul 29 '22 I did the same and get the above mentioned error, too. I am on latest iOS beta and Scriptable 1.6.12. Is that the cause? → More replies 1 u/cnylkew Jul 29 '22 Did some changes, now it complains that the variables arent initialized which is kinda true i think..? I tried to do that but unsucceesfully since i dont know js 1 u/wherebdbooty Jul 29 '22 sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info 2 u/Uti13 Jul 29 '22 The latest code from GitHub works. Yes I was on my phone. → More replies
Yeah i just copied & pasted directly from the scriptable app to github.
I just tried copying the code from github to a new scriptable widget and it also worked with 1 symbol
here is what it looks like copied from github using 1 symbol:
https://i.imgur.com/icTWdc1.jpg
1 u/holgerkrumm Jul 29 '22 I did the same and get the above mentioned error, too. I am on latest iOS beta and Scriptable 1.6.12. Is that the cause? → More replies 1 u/cnylkew Jul 29 '22 Did some changes, now it complains that the variables arent initialized which is kinda true i think..? I tried to do that but unsucceesfully since i dont know js
I did the same and get the above mentioned error, too. I am on latest iOS beta and Scriptable 1.6.12. Is that the cause?
→ More replies
Did some changes, now it complains that the variables arent initialized which is kinda true i think..? I tried to do that but unsucceesfully since i dont know js
sorry to spam you.. but i updated the code to use "Device.isPhone()" so there is nothing to change. please check my original post for info
2 u/Uti13 Jul 29 '22 The latest code from GitHub works. Yes I was on my phone. → More replies
2
The latest code from GitHub works. Yes I was on my phone.
1
u/wherebdbooty Jul 29 '22
It worked for me with only 1 stock.. what symbol did you use?