[Android Q&A, Help & Troubleshooting] quantemplation:
[Edit] Discontinued indefinitely. App creation was a little out of my league when I began trying to make it. Then Snapchat started encrypting files in more complicated ways than I had experience with, so I couldn't keep up and unfortunately had to drop all efforts. This project will no longer work and no further effort has been made to continue progress. I apologize for the lack of communication.

There are other resources out there that are still working, however. If you need help finding such things, you're welcome to PM me to ask what I'm referring to.

Discontinued until further notice. Currently working on an app that does all of this and more. For those who previously downloaded this and find it suits their needs for the most part, enjoy it, and consider checking out the app in the future. To others, I will let you know when I release the app. It should be much improved from the current project (and it doesn't require Tasker).

Due to a request to release my tasker project, which silently, neatly, and automatically copies and renames the snapchats you receive to a separate folder, I created this thread. Please try the latest version before asking for help with an issue. Most issues have probably been solved at this point.

There are still bound to be a few kinks in this, but I have spent lots of time getting it to work as much as possible (I am rather proud of the regular expressions that I created myself, even if they might be overkill).

Attached is the project if you just want to import it and let it go to work. Just extract from the zip and import in tasker by clicking a Project at the bottom of the Profiles tab (not the + sign, but an icon to the left of it)

To describe it simply: upon receiving a notification from snapchat and noticing a file change in the directory where the files are stored, it runs a series of commands that copies and saves them to the SDcard/Snapchat/Saves(/Vids) with filenames of "[DATE] - [TIMEMS] [NAME OF SENDER].jpg" (or .mp4). TIMEMS is the time in milliseconds from some time in January 1970. It keeps the task from overwriting your saves and it orders them nicely.

If I end up making any drastic changes, I'll probably come back and include them here. If you take it and make any changes that simplifies the process or makes it work better, feel free to share.

Good luck!

The new version (5-8_v5) has been released (small update from v4)! PLEASE READ BEFORE USING:

Requires Tasker's Accessibility service to be running (Android Settings> Accessibility> Tasker) to catch the notifications—only if you want the usernames to be automatically parsed and used; if you don't turn it on, it'll give you a Variable Query every time it finds a file loaded. Also if you don't turn it on, run the Folder Fixes task on your own, cause it's supposed to run the first time you get a notification.

When this first runs, it assumes that you have the folder/directories created. I don't know when snapchat creates them (during install or after receiving the first snap), so if you get errors related to not finding the file then try re-running the Folder Fixes associated task.

If you see something asking for text with the title Username, that's the Variable Query I mentioned. That's asking for the person's name who sent it, if you know it. If you don't know it at the time of asking, you can put anything in there and it'll copy with that attached (you can always go to the folder and rename it yourself)—otherwise, you can close it (or wait 15 seconds) and rerun the task on your own time.

Besides that, don't touch anything and you should be fine! :)

Changelog (5-8_v5):

Small update to 5-6 which stops the task and, therefore, the %Last[whatever] variables from being created if the Username variable is unset when it gets to the part where it copies (equating to no copies being made, regardless).

Because of that, now you shouldn't have to delete variables manually.

An unmentioned change in 5-6 was that I changed the flash message. It now flashes the names of each file it creates. This can be turned off—Action 37 in the Copy/Rename tasks.

(v2) Figured out the other reason why duplicates were happening with images. It has now been updated. (The only way this could backfire [same for videos] is if you get two different snaps of the exact same filesize in the same time period—very unlikely)

(v2) Made the Variable Query nicer looking.

(v3) Fixed some variable references that were funky

(v4) Fixed the profiles getting turned off and staying off by accident under certain scenarios

(v5) Changed it so no user input is required to turn off the profiles. If the 4.2+ one runs at all, it stops and turns off the other one.

(v5) Changed the %Last[etc] variables from creating excessive arrays with the same numbers.

Changelog (5-6):

Revamped the way it checks for previously copied snaps. It should be foolproof now, giving no duplicates while still not missing any.

Added an Array Clear for the %Username variable at the end of the copy/rename tasks.

Added a Variable Query if it's going to copy something but %Username is not set (see above for usage)

You can delete the Variable Set %Notification from the Update Username task if you want. It's just there for me so I can check it as a global variable. It isn't referenced anywhere else in the project.

Changelog (5-4_v2):

TONS of error fixes caused by insufficient permissions and directories are now included in the run-once profile.

Added profile (and associated tasks) which should fix the problem that users were having about the video folder not existing

(v2) Optimized the way it turns off profiles. This should automate the above-listed stuff. So even if you have all the profiles on, it should turn off the ones that don't work (unless both of them work). Still, in case the run-once wasn't turning off when done, now it will.

(v2) I consider this the first fully stable release. However, you're welcome to note if it doesn't work for you.

Changelog (5-3):

The received_video_snaps folder will no longer be allowed to be deleted by Snapchat

No more error messages when saving video snaps

If the %Username(1) variable is unset, it will flash a Variable Query, which you should type the person's name in.

The only issue with this is for videos. You will just need to go back to the other screen and load the video again.

If/Then was deleted in the Username catching task to catch multiple usernames better.

Profiles should now only trigger once per file change. I would check from time to time to make sure they are still in the "on" position. It should be fine, but I won't assume anything.

Project icon changed to Snapchat icon

Changelog (4-29):

has been significantly enhanced from the original. It now does a much better job:

Preventing duplicates saves

Not running indefinitely

Running efficiently and quicker

Having less confusing global variables

Picking up the username (currently testing to see if this can be done even better, but I basically need to wait for a certain type of notification. It should be better regardless)

Edit, I think it's safe to delete the

If

and

End If

in the Update Username task, which might work for trying to pick up multiple usernames at the same time. This hasn't been extensively tested, but I'm pretty sure it's the correct decision

Automatically catching videos when they're loaded

I also fixed a few rather large errors that might have been in the previous release

Donations are accepted! :)

NEWEST Version is on the bottom (I'm not really sure why people are downloading the original version at this point...:rolleyes: it's just there for reference. I may just remove that one if it tricks people that much...)