this has NOT been updated for 1.910 beta
Variables [ Back To Top | CFileFind | CComboBox | HACCEL | CCheckListBox | preferencesdlg | CRect | float | int | double | BOOL | CString | CString* ]
(renamefiledlg.h)
CFileFind finder; [ Back To Variables ]
- finder : used when renaming the files and folders
CComboBox ofnn,csc; [ Back To Variables ]
- ofnn : value of IDC_COMBO1 ... contains the folder lists
- csc : value of IDC_COMBO2 ... contains the FAV locations
HACCEL myAccelerator; [ Back To Variables ]
- myAccelerator : used to load the Accelerator keys
CCheckListBox ocboxes1,ocboxes2; [ Back To Variables ]
- ocboxes1 : contains output when done (.txt), include subfiles, confirmation msg, beep on completion, create an undo backup
- ocboxes2 : contains remove extra periods, remove numbers, remove letters, remove others, remove extra spaces, remove extra underscores, remove file extensions, remove preceding zeros, remove enclosures ()[]{}
preferencesdlg per; [ Back To Variables ]
- per : allows for the manipulation of all values and functions within [preferencesdlg.h] ... in other words, it connects all of the Preferences values and fuctions with the main windows
CRect s; [ Back To Variables ]
- s : gets the windows (x,y) position on closing and saves it to [startup.ini] ... these values are then are uploaded from [startup.ini] to be used in the window's positioning if remember windows last position (x,y), from the Preferences window, is checked
float d,icr,posi; [ Back To Variables ]
- d : an extra variable ... use it anyway u want b/c i couldn't find its use
- icr : an extra variable ... use it anyway u want b/c i couldn't find its use
- posi : an extra variable ... use it anyway u want b/c i couldn't find its use
int nsf,x,z,ync,yncc,ynccc,fnf,fno,pl,tfn,tfnn,tfnnn,tfo,tfoo,tfooo,rmr,bon,brnn,brn; [ Back To Variables ]
int stoprepeatc,repeatss;
- nsf : contains the number of folders found if subfiles are included
- x : temporary value used throughout the program where needed
- z : an extra variable ... use it anyway u want b/c i couldn't find its use
- ync : the yes no confirmation box that is displayed during the renaming of the files and folders
- yncc : the yes no confirmation box that is displayed if a program update is found
- ynccc : the yes no confirmation box that is displayed if there was an issue finding a program update
- fnf : contains the current folder count of the folder currently being renamed ...
- fno : contains the current file count of the file currently being renamed ...
- pl : temporary value used in for loops that contains the length of the current file or folder up to the period that starts the extension
- tfn : value of IDC_NFIF ... contains the number of files found
- tfnn : value of IDC_NFIR ... contains the number of files renamed
- tfnnn : value of IDC_NFINR ... contains the number of files not renamed
- tfo : value of IDC_NFOF ... contains the number of folders found
- tfoo : value of IDC_NFOR ... contains the number of folders renamed
- tfooo : value of IDC_NFONR ... contains the number of folders not renamed
- rmr : an extra variable ... use it anyway u want b/c i couldn't find its use
- bon : a temporary value used in a for loop
- brnn : an extra variable ... use it anyway u want b/c i couldn't find its use
- brn : an extra variable ... use it anyway u want b/c i couldn't find its use
- stoprepeatc : helps decide whether or not the renaming process should continue ... in other words if the first file or folder during the renaming process was going to be renamed again (2nd time around renaming process), this check prevents the second renaming process from being initiated ... in other words its a saftey check
- repeatss : this value is used by SubSearch(CString,bool,bool) to detect whether or not the search for subfiles and subfolders is repeating itself over and over again [if it is repeating itself, SubSearch(CString,bool,bool) is stopped] ... this value is only used if include subfiles is checked
double calper,calpert,version; [ Back To Variables ]
- calper : its the amount calpert is incremented by during SubSearch(CString,bool,bool) ... this value is only used if include subfiles is checked
- calpert : its the percentage value displayed during the second stage of the renaming process // [2/3] memory allocation ... calpert% allocated // this value is only used if include subfiles is checked
- version : contains the program's version
BOOL isf,ren,sc,scc,rpz,rep,rfe,nmb,bWorking,sWorking,gn,uc,lc,space,underscore,confirm,opb,fo,ufo,dwup,updw,nubeg,nuend,apend,apbeg,beepp,cancel,rnb,rlt,rnnl,res,reu;
BOOL repall,createundob,makesureundo,movewindowq,movewindowf;
BOOL opbt,beeppt,createundobt,confirmt,isft;
BOOL rept,rnbt,rltt,rnnlt,rest,reut,rfet,rpzt,rent; [ Back To Variables ]
- isf : value of ocboxes1 ... used for include subfiles
- ren : value of ocboxes2 ... used for remove enclosures ()[]{}
- sc : used during the renaming of files and folders ... its takes note of any rename failures
- scc : used during the renaming of files and folders ... if there are any rename failures, this value opens [output_fail.txt]
- rpz : value of ocboxes2 ... used for remove preceding zeros
- rep : value of ocboxes2 ... used for remove extra periods
- rfe : value of ocboxes2 ... used for remove file extensions
- nmb : used during the renaming of files and folders when the current folder list selection of IDC_COMBO1 is double checked to make sure it has specified a type of extension to look for during the renaming process
- bWorking : used during the renaming of files and folders ... decides whether there are any files or folders left to rename
- sWorking : used during the subsearch of folders ... decides whether there are any folders left to search for
- gn : used when loading the folder list from [renamelocations.txt] ... prevents the "\n" character from showing in the folder list of IDC_COMBO1
- uc : value of IDC_CHECK2 ... used for UPPERCASE
- lc : value of IDC_CHECK1 ... used for lowercase
- space : value of IDC_CHECK3 ... used for space
- underscore : value of IDC_CHECK4 ... used for underscore
- confirm : value of ocboxes1 ... used for confirmation msg
- opb : value of ocboxes1 ... used for output when done (.txt)
- fo : value of IDC_CHECK8 ... used for Formal
- ufo : value of IDC_CHECK10 ... used for uNFORMAL
- dwup : value of IDC_CHECK15 ... used for dOwNuP
- updw : value of IDC_CHECK14 ... used for UpDoWn
- nubeg : value of IDC_CHECK11 ... used for numerate beg
- nuend : value of IDC_CHECK9 ... used for numerate end
- apend : value of IDC_CHECK13 ... used for append end ... the append value of IDC_EDIT5 is used for the appending
- apbeg : value of IDC_CHECK12 ... used for append beg ... the append value of IDC_EDIT5 is used for the appending
- beepp : value of ocboxes1 ... used for beep on completion
- cancel : used for canceling the rename or undo process
- rnb : value of ocboxes2 ... used for remove numbers
- rlt : value of ocboxes2 ... used for remove letters
- rnnl : value of ocboxes2 ... used for remove others
- res : value of ocboxes2 ... used for remove extra spaces
- reu : value of ocboxes2 ... used for remove extra underscores
- repall : value of IDC_CHECK16 ... used for change all names (excluding extensions)
- createundob : value of ocboxes1 ... used for create an undo backup
- makesureundo : when the program starts up, if there is no [startup.ini], this value sets create an undo backup to checked
- movewindowq : if remember windows last position (x,y), from the Preferences window, is checked, this value will allow the program to be repositioned on its next startup using its previous (x,y) coordinate
- movewindowf : when the program starts up, if [startup.ini] doesn't exist, this value prevents the window from being repositioned using its previous (x,y) coordinate
- opbt : if [startup.ini] exist and set these boxes checked on startup, from the Preferences window, is checked, this value temporarily stores opb ... this value is also used during Refresh : {Entire Program} or {Left | Center Options}
- beeppt : if [startup.ini] exist and set these boxes checked on startup, from the Preferences window, is checked, this value temporarily stores beepp ... this value is also used during Refresh : {Entire Program} or {Left | Center Options}
- createundobt : if [startup.ini] exist and set these boxes checked on startup, from the Preferences window, is checked, this value temporarily stores createundob ... this value is also used during Refresh : {Entire Program} or {Left | Center Options}
- confirmt : if [startup.ini] exist and set these boxes checked on startup, from the Preferences window, is checked, this value temporarily stores confirm ... this value is also used during Refresh : {Entire Program} or {Left | Center Options}
- isft : if [startup.ini] exist and set these boxes checked on startup, from the Preferences window, is checked, this value temporarily stores isf ... this value is also used during Refresh : {Entire Program} or {Left | Center Options}
- rept : if [startup.ini] exist and set these boxes checked on startup, from the Preferences window, is checked, this value temporarily stores rep ... this value is also used during Refresh : {Entire Program} or {Right Options}
- rnbt : if [startup.ini] exist and set these boxes checked on startup, from the Preferences window, is checked, this value temporarily stores rnb ... this value is also used during Refresh : {Entire Program} or {Right Options}
- rltt : if [startup.ini] exist and set these boxes checked on startup, from the Preferences window, is checked, this value temporarily stores rlt ... this value is also used during Refresh : {Entire Program} or {Right Options}
- rnnlt : if [startup.ini] exist and set these boxes checked on startup, from the Preferences window, is checked, this value temporarily stores rnnl ... this value is also used during Refresh : {Entire Program} or {Right Options}
- rest : if [startup.ini] exist and set these boxes checked on startup, from the Preferences window, is checked, this value temporarily stores res ... this value is also used during Refresh : {Entire Program} or {Right Options}
- reut : if [startup.ini] exist and set these boxes checked on startup, from the Preferences window, is checked, this value temporarily stores reu ... this value is also used during Refresh : {Entire Program} or {Right Options}
- rfet : if [startup.ini] exist and set these boxes checked on startup, from the Preferences window, is checked, this value temporarily stores rfe ... this value is also used during Refresh : {Entire Program} or {Right Options}
- rpzt : if [startup.ini] exist and set these boxes checked on startup, from the Preferences window, is checked, this value temporarily stores rpz ... this value is also used during Refresh : {Entire Program} or {Right Options}
- rent : if [startup.ini] exist and set these boxes checked on startup, from the Preferences window, is checked, this value temporarily stores ren ... this value is also used during Refresh : {Entire Program} or {Right Options}
CString c,swap,with,f,fn,fnu,fns,fnoc,fnof,append,temp,ofn,at,filenamee,glr,glu,glo,glf,gl1,gl2,gl3; [ Back To Variables ]
CString repalls,stoprepeat,stoprepeatt,gl4,gl5,gl6,gl7,gl8,gl9,repeatagain,versionb,versiont,dl;
- c : an extra variable ... use it anyway u want b/c i couldn't find its use
- swap : value of IDC_EDIT3, contains the value that will be be replaced from the current file or folder name being renamed (is replaced by the with value)
- with : value of IDC_EDIT2, contains the value that will be used to replace a portion of the current file or folder name being renamed (replaces the swap value in the name)
- f : contains the original file or folder name currently being renamed
- fn : contains the current edited file or folder name being renamed
- fnu : contains the current edited file or folder name being renamed and replaces all the spaces with underscores
- fns : contains the current edited file or folder name being renamed and replaces all the underscores with spaces
- fnoc : contains the current file count of the file currently being renamed ... the count value is appended either to the beginning or the end of the file name (numerate beg or numerate end)
- fnof : contains the current folder count of the folder currently being renamed ... the count value is appended either to the beginning or the end of the folder name (numerate beg or numerate end)
- append : value of IDC_EDIT5, contains the value that will be either appended to the beginning or end of the file name
- temp : temporarily contains a portion of the file or folder name being renamed
- ofn : value of IDC_COMBO1, temporarily contains the value of the whole folder location when renaming and updating the folder list in [renamelocations.txt]
- at : an extra variable ... use it anyway u want b/c i couldn't find its use
- filenamee : temporarily stores each file location from [renamelocations.txt] when refreshing the folder list
- gl1 : contains the location of the [Fav1], which gets loaded and saved in the regsitry
- gl2 : contains the location of the [Fav2], which gets loaded and saved in the regsitry
- gl3 : contains the location of the [Fav3], which gets loaded and saved in the regsitry
- repalls : value of IDC_EDIT6, contains the value that will be used to replace the entire file or folder name if change all names (excluding extensions) is checked
- stoprepeat : this value helps decide whether or not the renaming process should stop ... if the first file or folder during the renaming process is about to be renamed a second time around, the renaming process stops ... in other words its a saftey check ... it is given the value of stoprepeatt if the first file or folder during the first renaming process was renamed succesfully, or it is given the value of f if the first file or folder during the first renaming process was not renamed succesfully
- stoprepeatt : contains the name of the first file or folder being renamed ... if the renaming process is a success for this first file or folder being renamed, its name is given to stoprepeat
- gl4 : contains the location of the [Fav4], which gets loaded and saved in the regsitry
- gl5 : contains the location of the [Fav5], which gets loaded and saved in the regsitry
- gl6 : contains the location of the [Fav6], which gets loaded and saved in the regsitry
- gl7 : contains the location of the [Fav7], which gets loaded and saved in the regsitry
- gl8 : contains the location of the [Fav8], which gets loaded and saved in the regsitry
- gl9 : contains the location of the [Fav9], which gets loaded and saved in the regsitry
- repeatagain : stores the value of the first file or folder detected during SubSearch(CString,bool,bool) and if this value is comeupon again, the SubSearch(CString,bool,bool) is stopped ... in other words this value helps prevent continuous searching for subfiles and subfolders ... this value is only used if include subfiles is checked
- versionb : contains the program's build ... either alpha, beta, or stable (stable is left with a blank "")
- versiont : contains the program's version
- dl : contains the letter of the drive from ofn (example: D:\ or C:\) ... it is used during SubSearch(CString,bool,bool) to make sure that only the specified drive, from ofn, is being renamed
CString *nosf; [ Back To Variables ]
- *nosf : contains the list of all the folders names to be used in renaming ... does not contain the extension type for the files being renamed
Functions [ Back To Top ]
(renamefiledlg.h)
afx_msg void OnBnClickedCheck1(); [ Back To Functions ]
- used in coordination with IDC_CHECK1 ... if lowercase is checked, the following will be hidden: UPPERCASE, Formal, uNFORMAL, UpDoWn, and dOwNuP ... if lowercase is unchecked, the following will be unhidden: UPPERCASE, Formal, uNFORMAL, UpDoWn, and dOwNuP
afx_msg void OnBnClickedCheck2(); [ Back To Functions ]
- used in coordination with IDC_CHECK2 ... if UPPERCASE is checked, the following will be hidden: lowercase, Formal, uNFORMAL, UpDoWn, and dOwNuP ... if UPPERCASE is unchecked, the following will be unhidden: lowercase, Formal, uNFORMAL, UpDoWn, and dOwNuP
afx_msg void OnBnClickedCheck3(); [ Back To Functions ]
- used in coordination with IDC_CHECK3 ... if space is checked, the following will be hidden: underscore ... if space is unchecked, the following will be unhidden: underscore
afx_msg void OnBnClickedCheck4(); [ Back To Functions ]
afx_msg void OnBnClickedCheck8(); [ Back To Functions ]
afx_msg void OnBnClickedCheck9(); [ Back To Functions ]
afx_msg void OnBnClickedCheck10(); [ Back To Functions ]
afx_msg void OnBnClickedCheck11(); [ Back To Functions ]
afx_msg void OnBnClickedCheck12(); [ Back To Functions ]
afx_msg void OnBnClickedCheck13(); [ Back To Functions ]
afx_msg void OnBnClickedCheck14(); [ Back To Functions ]
afx_msg void OnBnClickedCheck15(); [ Back To Functions ]
afx_msg void OnBnClickedCheck16(); [ Back To Functions ]
afx_msg void OnBnClickedButton1(); [ Back To Functions ]
afx_msg void OnBnClickedButton5(); [ Back To Functions ]
afx_msg void OnBnClickedButton7(); [ Back To Functions ]
afx_msg void OnBnClickedButton8(); [ Back To Functions ]
afx_msg void OnBnClickedButton10(); [ Back To Functions ]
afx_msg void OnBnClickedButton12(); [ Back To Functions ]
afx_msg void OnBnClickedButton15(); [ Back To Functions ]
afx_msg void OnBnClickedButton13(); [ Back To Functions ]
afx_msg void OnBnClickedButton17(); [ Back To Functions ]
afx_msg void OnBnClickedButton0(); [ Back To Functions ]
afx_msg void OnBnClickedButtond(); [ Back To Functions ]
afx_msg void OnProgramGuide(); [ Back To Functions ]
afx_msg void OnRenamingExamples(); [ Back To Functions ]
afx_msg void OnFavoritesFav6(); [ Back To Functions ]
afx_msg void OnFavoritesFav7(); [ Back To Functions ]
afx_msg void OnFavoritesFav8(); [ Back To Functions ]
afx_msg void OnFavoritesFav9(); [ Back To Functions ]
afx_msg void OnHelpQuestions(); [ Back To Functions ]
afx_msg void OnHelpIssues(); [ Back To Functions ]
afx_msg void OnHelpOnlineforum(); [ Back To Functions ]
afx_msg void OnExtrasPreferences(); [ Back To Functions ]
afx_msg void inicheck(); [ Back To Functions ]
afx_msg void loadtags(); [ Back To Functions ]
afx_msg void OnOptions32816(); [ Back To Functions ]
afx_msg void OnMenu32817(); [ Back To Functions ]
afx_msg void OnOtherSpyware(); [ Back To Functions ]
afx_msg void OnCbnSelchangeCombo2(); [ Back To Functions ]
afx_msg void OnDC(); [ Back To Functions ]
afx_msg void OnEMULE(); [ Back To Functions ]
afx_msg void OnMIRC(); [ Back To Functions ]
afx_msg void OnDEM(int); [ Back To Functions ]
afx_msg void OnPROG(); [ Back To Functions ]
afx_msg void OnEMAIL(); [ Back To Functions ]
afx_msg void OnHOME(); [ Back To Functions ]
afx_msg void OnOtherExit(); [ Back To Functions ]
afx_msg void OnAboutAbout(); [ Back To Functions ]
afx_msg void OnAboutThanks(); [ Back To Functions ]
afx_msg void OnAboutUpdate(); [ Back To Functions ]
afx_msg void SubSearch(CString,bool,bool); [ Back To Functions ]
afx_msg void OnCheckchangeList1(); [ Back To Functions ]
afx_msg void OnCheckchangeList2(); [ Back To Functions ]
afx_msg virtual void OnCancel(); [ Back To Functions ]
afx_msg virtual void OnOK(); [ Back To Functions ]
afx_msg BOOL PreTranslateMessage(MSG* pMsg); [ Back To Functions ]
afx_msg void OnContextMenu(CWnd *pWnd, CPoint point); [ Back To Functions ]
afx_msg void DoEvents(); [ Back To Functions ]
afx_msg void filelistrefresh(); [ Back To Functions ]
afx_msg void cfp(int); [ Back To Functions ]
afx_msg void reg(int); [ Back To Functions ]
Variables [ Back To Top | CCheckListBox | CComboBox | int ]
(preferencesdlg.h)
CCheckListBox one,two; [ Back To Variables ]
- one : value of IDC_LIST2 ... contains output when done (.txt), include subfiles, confirmation msg, beep on completion, create an undo backup
- two : value of IDC_LIST3 ... contains remove extra periods, remove numbers, remove letters, remove others, remove extra spaces, remove extra underscores, remove file extensions, remove preceding zeros, remove enclosures ()[]{}
CComboBox tagsbox,valuebox; [ Back To Variables ]
- tagsbox : value of IDC_COMBO1 ... contains the tags, which are saved and loaded from [tags.txt]
- valuebox : value of IDC_COMBO2 ... contains the values of the tags, which are saved and loaded from [tags.txt]
int onetwo,savewp,onetwofirst; [ Back To Variables ]
- onetwo : value of IDC_PCHECK2 ... used for set these boxes checked on startup ... its value is saved to [startup.ini]
- savewp : value of IDC_PCHECK1 ... used for remember windows last position (x,y) ... its value is saved to [startup.ini]
- onetwofirst : if [startup.ini] does not exist, this value is given to onetwo before onetwo's value is saved to a new [startup.ini]
Functions [ Back To Top ]
(preferencesdlg.h)
afx_msg void OnBnClickedButton2(); [ Back To Functions ]
- used in coordination with IDC_BUTTON2 ... if Apply is selected, all the values within IDC_LIST2 and IDC_LIST3 are saved to [startup.ini]
afx_msg void OnBnClickedButton3(); [ Back To Functions ]
- used in coordination with IDC_BUTTON3 ... if Close is selected, this function hides the Preferences window
afx_msg void OnBnClickedButton4(); [ Back To Functions ]
- used in coordination with IDC_BUTTON4 ... if the button Edit Tags is selected, this function is called and opens [tags.txt]
afx_msg void OnBnClickedButton7(); [ Back To Functions ]
- used in coordination with IDC_BUTTON7 ... if the button Refresh Tags is selected, this function is called and [tags.txt] is opened and read, and finally the tags and their values are refreshed onto the drop down menus (tags would go to IDC_COMBO1 and values would go to IDC_COMBO2)
afx_msg void OnCbnSelchangeCombo1(); [ Back To Functions ]
- used in coordination with IDC_COMBO1 ... everytime a tag is selected from this drop down menu, its corresponding value is loaded in IDC_COMBO2)
afx_msg void OnCbnSelchangeCombo2(); [ Back To Functions ]
- used in coordination with IDC_COMBO2 ... everytime a value is selected from this drop down menu, its corresponding tag is loaded in IDC_COMBO1)
afx_msg void OnBnClickedPcheck1(); [ Back To Functions ]
- used in coordination with IDC_PCHECK1 ... if remember windows last position (x,y) is selected, Apply button is enabled if disabled
afx_msg void OnBnClickedPcheck2(); [ Back To Functions ]
- used in coordination with IDC_PCHECK2 ... if set these boxes checked on startup is selected, Apply button is enabled if disabled
afx_msg void OnLbnSelchangeList2(); [ Back To Functions ]
- used in coordination with IDC_LIST2 ... if output when done (.txt), include subfiles, confirmation msg, beep on completion, or create an undo backup is selected, Apply button is enabled if disabled
afx_msg void OnLbnSelchangeList3(); [ Back To Functions ]
- used in coordination with IDC_LIST3 ... if remove numbers, remove letters, remove others, remove extra spaces, remove extra underscores, remove file extensions, remove preceding zeros, or remove enclosures ()[]{} is selected, Apply button is enabled if disabled
afx_msg virtual void OnOK(); [ Back To Functions ]
- stops the Preferences window from closing when Enter on the keyboard is pressed
afx_msg virtual void OnCancel(); [ Back To Functions ]
- if there is an attempt to close the Preferences window, this function is called, which then calls the OnBnClickedButton3() to hide the Preferences window
afx_msg BOOL PreTranslateMessage(MSG* pMsg); [ Back To Functions ]
- stops the Preferences window from closing when Escape on the keyboard is pressed ... instead it calls the OnBnClickedButton3() to hide the Preferences window
afx_msg void DoEvents(); [ Back To Functions ]
- used to update program real time ... more information on this function can be found here