r/Scriptable • u/Fantasy-Intern • Jun 01 '21
Request Android
Any hope to bring scriptable to android ?
r/Scriptable • u/Fantasy-Intern • Jun 01 '21
Any hope to bring scriptable to android ?
r/Scriptable • u/CAT_GOES_MEOOOOOOOOW • May 31 '21
I have an issue at the moment that doesn't make sense to me. I'm accessing an undocumented / private API endpoint that requires a couple of OAuth Headers. I make sure to provide all the needed headers/tokens along with ensuring that the request method is a GET request.
The weird part is I get back a JSON 400 response indicating a failure occurred. This doesn't make sense to me at all because when I copy the EXACT same header data that contains the required tokens and put it inside Postman I get back the data I want. I even tried making the request through Axios and it worked correctly.
The even weirder part is my Scriptable file accesses MANY of the same OAuth API endpoints with the needed header tokens and it works through the app, but for whatever reason, this one doesn't seem to work when it is run on my phone/through Scriptable.
I know it probably seems like I'm messing up somewhere in the request code but I'm 10000000% positive that it is correctly set up. Has anyone else experienced something similar with Request()? My only guess right now is that I need to include some extra headers that Postman / Axios is using because this endpoint doesn't seem to accept mobile devices?
r/Scriptable • u/CaliRagah • May 31 '21
Hi all!
I am noob in javascript and other stuff, but trying to make a widget that is showing cell-value, calculated in Excel file stored on OneDrive for Business.
At first, I made a GET URL for getting cell's data in MSGraph sandbox (I have been granted access to 1drive for MSGraph). I have application ID registered in Azure also.
What’s my next move to make Scriptable get data (all these auth things and so on)?
As a next step - help me to choose what Quickstart guide section in Azure fits for Scriptable?
What type of application are you building?
Web application
Single-page application (SPA)
r/Scriptable • u/Both_Willingness_619 • May 31 '21
r/Scriptable • u/-SeeS- • May 31 '21
r/Scriptable • u/FORGOT_MY_PASSWORD_4 • May 30 '21
Hello, I've got to the point where I have spent way too long then I'm proud of trying to design this layout for my Widget. What I'm trying to do is create something like this, https://imgur.com/a/O1DZtnV where the blue rectangles represent an image (top being the biggest and the remaining 4 all have equal sizes and contain a top and bottom text field).
After some looking around I found a project posted on GitHub that has a grid of images. After looking and using some aspects of the code I got something that I think is really close to what I want. Here is what it looks like right now, https://imgur.com/a/fnonIxM.
The issue I have right now is, I can't seem to get the grid of 4 images/text to be in the centre like the main image. I also have trouble increasing the size of the images in the grid. If I change the
folderElement.imageSize = new Size(110, 50)it seems to affect the whole widget and miss-aligns the top image along with the top and bottom text that is supposed to follow each of the four images in the grid.
I'm not sure if my approach in designing/creating the grid elements is completely wrong or if this design is too complicated to be done in Scriptable. Any help or insights at all would be great, thank you!
Link to the layout source code of what I have at the moment (code is a little messy): https://pastebin.com/Qzr45rpq
r/Scriptable • u/Nicolas-kings007 • May 30 '21
r/Scriptable • u/gebet0 • May 28 '21
Hello everybody! Now I am working on one simple project that will allows you to create your scriptable apps using VSCode, main features is:
You can check it now(and maybe give a stars for it😄): https://github.com/gebeto/scriptables
Work in progress, and I am just wondering is it will be interesting for any of you? Feel free to ask any questions or make some suggestions😄
r/Scriptable • u/Ilyumzhinov • May 29 '21
I have been re-writing my shortcuts with Scriptable but got stuck trying to get the result of a user's choice. My requirement is that I should be able to complete the script from the lock-screen.
I already tried x-callback-url from Scriptable to Shortcuts: it works, but iOS launches Scriptable then jumps to Shortcuts to prompt the menu; otherwise, if I uncheck "Run In App", it crashes with "Error: XCallbackURL is not supported in Siri."

r/Scriptable • u/rekkep • May 27 '21
r/Scriptable • u/thursd4ys • May 26 '21
r/Scriptable • u/Appropriate-Yak-1528 • May 26 '21