Author Topic: sprintf()  (Read 3782 times)

Offline PhyrePhoX

  • Global Moderator
  • Guru Member
  • *****
  • Posts: 2254
  • make RAW not WAR
    • PhyreWorX
Re: sprintf()
« Reply #15 on: 16 / April / 2008, 01:45:14 »
a rename feature has long been asked for, you would do us all a great favour :)
see File/script editor maybe you can help wontolla or use some of the ideas expressed in that thread.
regarding the question: dont know that much about c & gcc & arm yet, maybe it has to do with the order of compilation, when will things be needed and stuff.

Offline wontolla

  • Sr. Member
  • ****
  • Posts: 413
  • S3 & G9 & A720
Re: sprintf()
« Reply #16 on: 16 / April / 2008, 17:29:21 »
Hello m2tk

I haven't try your patch yet but those modifications sound like a good idea.

Question: Are you planning to change the filesize automatically according to the size of the file?
Ex: If the file is greater than 1024kb the file browser shows 1mb.


Regarding the rename feature:
It would be great if you could work on it, as PhyrePhox says, many people has asked for this. The only drawback is that if the filename is changed, Canon's firmware won't be able to recognize it and display the picture, etc.

Other problem is with the present filebrowser popup menu. It seems there is no longer space to add new features unless major changes to it. See Erase JPG along with corresponding CRW in any folder - done


Quote
moving navi keys [up-down] changes available chars (..,D,E<-F->G,H,.. ),
moving [left-right] position (F->I->L->..), [set] ok, [?] cancel


I like it because it is simple but this way you can only rename the files one-at-the-time. I think people soon will ask you for a batch solution. My suggestion is having text file with a "mask" like this:

MyBirthday*.JPG

this could rename all selected files: MyBirthday_1234.JPG or whatever.

Of course, this mask could be modified in the field. We just have to wait for that wontolla guy to fancy continue with the File/Script editor.



Offline m2tk

  • Jr. Member
  • **
  • Posts: 50
  • Sheet happens ...
Re: sprintf()
« Reply #17 on: 16 / April / 2008, 22:17:56 »
Question: Are you planning to change the filesize automatically according to the size of the file?
Ex: If the file is greater than 1024kb the file browser shows 1mb.
exactly!
-----------
 1023 b
  1,0 k
999,9 k
  1,2 M
-----------


...
Regarding the rename feature:
It would be great if you could work on it, as PhyrePhox says, many people has asked for this. The only drawback is that if the filename is changed, Canon's firmware won't be able to recognize it and display the picture, etc.
...
I like it because it is simple but this way you can only rename the files one-at-the-time. I think people soon will ask you for a batch solution.
...
that's why i'm not going to implement batch renaming, there is no point of renaming many JPG files (apart from hiding g-f nude photos  :-[ ),
it's for some special cases when we really need to change the filename...

EDIT: first i have to do 'any' then will see...

it's quite dirty and hard coded though ...

EDIT: rename feature is (sometimes) working, it still needs some polish and bugfixes...
as i found you can't use some letters in the names and all are UPPERCASE,
"|" stands for end of name i.e "FileN.ame|.TXT" will be saved as "FILEN.AME"

usage: LEFT->DOWN->DOWN->DOWN->SET->(LEFT|RIGHT|UP|DOWN)->SET->(LEFT|RIGHT)->SET

here it is if someone wants to try it and fix bugs ;)
there is also filebrowser modification in it (no time to remove).
« Last Edit: 20 / April / 2008, 17:28:33 by m2tk »
S5IS 1.01bc

Offline m2tk

  • Jr. Member
  • **
  • Posts: 50
  • Sheet happens ...
Re: sprintf()
« Reply #18 on: 17 / April / 2008, 02:11:48 »
[skasowano]
« Last Edit: 19 / April / 2008, 23:59:51 by m2tk »
S5IS 1.01bc

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal