How to watch a folder for spesific file name - Tasker Tips & Tricks

Hi all,
i need to achieve a task with tasker. On my non-rooted Samsung Galaxy A70 has camera folder on "/storage/emulated/0/DCIM/Camera/".
I have different camera apps and their save location cannot be change but their file name prefix different.
I specially look for files which start with "IMG_" prefix in Camera folder and would like to move automatically to another
folder named "CC"on"/storage/emulated/0/DCIM/Camera/CC/".
Is it possible to do that?
Thanks in advance.

Yes, that's possible. I use something similar myself.
The words to inhale are: trigger at a specific time, like once a day, some for loop / loops to fill arrays, and some regex expressions. At last you can move the files.
If you need specific help tell us where exactly you got to the problem. Just try to start somewhere, it is definetely possible
Gesendet von meinem HD1903 mit Tapatalk

Hello xe0r, Event/File Modified does the trigger job.
I need help about the task itself. I can get notification for any kind of new images at specified folder at "/DCIM/Camera/".
But don't know how to do that for just only for files named as "IMG_". Where and how should i define the file name like "IMG_*.jpeg".
Possible to share your code maybe i can figure it out from yours.
Thank you

I would try the "list files" task together with the "match" option (your regular expression) and store the result in a variable. Tasker stores the files than as an pseudo array. Your variable is for example "%myfile", after that you have your files listed one after another in %myfile1, %myfile2 etc.
Than you can simply loop over the array of your files and move the files.
Does this help you?
Gesendet von meinem HD1903 mit Tapatalk

Related

How do I link ifonez icons to built in apps?

Hi
I am new to this forum and to HTC. I have set up my new phone with S2UL, Ifonez and Icontact. I have got a number of my apps working fine from Ifonez but I cant seem to find the files or commnads to load Windows Mobile 6 built in applications such as the following
Communication Manager
Task Manager
Programmes.
I have been searching through Google and these forums in order to find out but cant seem to find anything, so sorry if this is an obvious question.
I am also using Icontact Burt edition which is mostly working fine. However I am finding one or two contacts are displaying underneath the top bar so that I cannot really make out the entry. I only discovered it by searching for an entry that I knew was there but couldn't see in the list. Icontact seems to display a screen at a time rather than a continuous list so I am finding it difficult to see who these entries relate to. Is this a bug or am I missing something?
Thanks in advance for any help.
Greg
this thread may help you...
http://forum.xda-developers.com/showthread.php?t=340974
strikeone said:
this thread may help you...
http://forum.xda-developers.com/showthread.php?t=340974
Click to expand...
Click to collapse
Thanks for the quick reply.
If I understand this correctly I create a text file with the appropriate code in it and then rename the file with the extension lnk. Then I point one of ifonez launch icons towards this file. Is that correct?
If it is I still cant seem to see a code for Communication Manager or to open the Programs folder. Have I misunderstood?
You would simply make a .txt file with the "data" of the thing you want to link to, save the file, and then change the extension of the file from .txt to .lnk.
For example, to create a shortcut to Settings>System>Memory>Main, you would make a text document with this in it:
20#ctlpnl cplmain.cpl,4
Save the file as "Memory", and then use a file explorer/manager to change the extension from "Memory.txt" to "Memory.lnk"
The link to the Comm Manager is: 39#"\Windows\CommManager.exe"
The link to the Programs folder [in the Start Menu] is 40#"Windows\Start Menu\Programs\"
Sorry for the delay in replying, I have been caught up with work and unable to look at this forum until now. So thanks for your reply it was really helpful.

[Q] How can I change the Folder name in TouchWhiz ?

This might sound lousy but I am not being able to edit the names of folders in the TouchWhiz. I am trying to group the apps into folders but the names like Folder 1 and Folder 2 piss me off. I tried looking for the options to rename the folder but couldn't find any.
Can someone assist ?
Open the folder, long press the title bar (-:
Oops. That was easy. Thanks

Changing Photo Save Names

Hello just wondering if anyone knows of a way to change the names an xperia t saves its photos as, each time I use syncme to backup my photos to the pc, then delete the photos on the xperia it starts using dsc_0001 dsc_0002 and so on again, which then causes problems with repeated file names.
On my old nokia I could set it to use the date as photo file name. Is there something along these lines I could use for the xperia?
Thanks
This is my problem too...
I think that they exists a lot of application which solve this problem. Try to see this:
Code:
http://android.stackexchange.com/questions/13954/how-can-i-change-the-naming-convention-of-the-stock-camera-gallery-app
Or other solution is bulk renaming all files in PC.
Cheers for the help, I couldn't find a solution that would do it simply on the phone so decided to just use this program http://www.digicamsoft.com/softnamexif.html on the pc which instantly renames the picture to dates. Perfect, job sorted
Cheers

XML database or Sqlite?

Hi,
I'm trying to create a small DB, at first i thought about using Sqlite, but since my Xposed model doesn't always have context, it seems impossible.
So i thought using XML file (eventually, my DB contains only one table, each row has 2 values). but it seems there' s no good way to manage the XML file (i need to read & write every once in a while)...
What is the best practice?
Thanks,
I don't think there's a "best practice" – you'll just need to see what you want and what's best suited for your use case.
You could try getting a context using AndroidAppHelper.currentApplication().

Photo Gallery Question - any help or suggestions on replacement app?

Hi... I've recently gone through most of the pictures I had on my SD card and placed them in folders that are appropriately named. I have a question with nested folders. As an example set up, I have created a folder called Animals. Inside the Dogs folder, there are several sub-folders named for the animals they represent - i.e. "Dogs", "Cats", "Birds", etc. In the file manager program they are arranged neatly with no problems. I open the stock gallery app that comes with the ROM I have on my Galaxy Note 4 and I have the option for FOLDER and TIME. When I choose FOLDER, it shows me all the folders I have created - all at one time. Is there a way to simply show the Animals folder, and then when I tap on that, I can then see the sub folders?? I placed pictures in sub folders for this reason so that I would not see a boat-load of folders on the initial screen, but I could narrow things down by folder, then sub-folder (and even, perhaps another layer of sub-folder?)? Am I missing a setting, or did I arrange things wrong, or is there another app that might show things this way, or is it just S.O.L. for what I'd like?
Thank you in advance for your answers and suggestions
Wingmann

Categories

Resources