Hi @Awesome_E Have you looked into how user variables are saved? Meaning are they saved locally on the users device? And can/could your tool be used to access or change the contents of a user variable?
Ok, yeah. Didn’t expect they’d be in the project JSON but thought perhaps it’d still be possible to change one with a shortcut tool. It’s coded with JS?
That would only be possible as a share sheet shortcut run on an iOS page, unless iOS app user variables are stored in a file that’s accessible from the files app.
It’s in hopscotch_metdata, in zprojectdata.
Cool! Then it might be worth some time to learn how to edit SQL with JS
Agree with that
AE, did you say that using JS we could change variables on the web using share sheet shortcuts?
That would be cool if someone made that
Only “Save HS Project”
@Awesome_E i’m running save hs project from
your composer, it takes me to shortcuts and runs it. The file does appear in hopscotch > json projects but not in my drafts any idea why?
That also happens to me
Yeah – on iOS 15, you need to edit the last “Save file” action since it won’t ask you to replace the file anymore.
Tap on “Show more” and turn on “Overwrite if file exists”. Next time you save it, it should overwrite the file instead of saving a copy of it.
Save HS Project = Project Builder?
It still doesn’t work… the secret blocks don’t get added in…
Yes, I am using the builder… not the shortcut
So that means you would edit the “Save HS Project” shortcut and turn on “Overwrite if file exists” in the last save file action.
Then when you save, make sure it is to iPad > Hopscotch > json_project. Right?
I didn’t really check in files, I’ll check and confirm
I checked and it didn’t, fixed it, thank you very much
No problem, glad that fixed your issue
@Awesome_E done that already. It saves in files but it doesn’t show up in drafts on the app