Is there a way to sort icons in a folder with an embedded number, regardless of their name in Windows? - sorting

I am looking for a way to have many icons.png that I numbered always stay in order regardless of the name I give those folders?
I created the icons, simple .png. I only change the number in Photoshop, that's all.
Example picture:
https://i.gyazo.com/ded5b2246584f07b1526be0285d8be61.png
Example:
Icon [1] "Zebra" - Icon [2] "Cat" - Icon [3] "Bird" - Icon [4] "Hedgehog" - Icon [5] "Bear"
And those folders would stay in this order, because Icon [1] has an embedded number of [1] somehow, or some other way.
Or the folders could start with an invisible number "1 - Zebra".
Thank you
I right clicked in the general folder
Sort by
More...
Added "Album" in the list
Then I applied "Sort by Album"
If I rename the folders, it will still order them by "Name".

Related

How do I tell PowerPoint to map two placeholders when switching slide layouts?

I start with a working example:
Open PowerPoint with a blank presentation.
Right-click the title slide and choose "Layout - Title and Content".
You see "• Click to add text"? Click and add some text.
Right-click the slide again and choose "Layout - Two Content".
See how smart PowerPoint can be?
The text you entered in the single placeholder before is now in one the of two placeholders.
Specifically, the left one.
My questions:
Why? (And not in an extra one?)
Why? (And not in the right one?)
My questions arises because I have received a set of master slides in which the above is not working, and I am trying to repair it without having to regenerate everything.
This is a site for programming issues, but the background behind this issue might be sufficiently complex. Modern PowerPoint files are XML. In the XML for each slide layout, each placeholder has an idx reference number. PowerPoint uses these on numbers to decide where to place content.
Lazy Designer Syndrome is the cause of what you're seeing. Instead of creating new placeholders in order, so the idx numbers would increment in a logical order, the designer has copied and pasted placeholders to avoid extra formatting work. The pasted placeholders all have the same idx number. As a result, PowerPoint has no idea of placeholder order and inserts content randomly.
This isn't always easy to solve without editing the XML, but you can try deleting all but the leftmost placeholder. Then create new placeholders by inserting them one at a time and reformatting them manually to match the first.
At first my attempts to follow the above failed, but now I got it working as well.
There are two different, but similar tags, id="" and idx="".
All objects in the slide has an id="" tag, this is not the tag to solve this problem.
The idx="" tag is only on Placeholder objects, except the those of Type=Title.
As described above you can set it to an integer value 1 and greater (I assume).
Make a plan for what Placeholder objects should be replaced across your layouts. I think of these as "groups" or "families", then assign the idx-values consistently throughout your slide layouts.
These "groups" or "families" of placeholders needs to be compatible for this to work, i.e. matching Type. The absence of Type means the placeholder is a general Content Type and match all Types.
During layout change, if Placeholders has incompatible Type while having the same idx-tag, PPT will look for the next Placeholder with matching Type.
#JohnKorchok's accepted answer provides the technical details for the procedure described here. Note that I only had "Content Placeholders" in my presentation.
Install 7-Zip and your favorite text editor (you can use one with an XML formatter, which will simplify things, but it's not required).
Open your file.pptx in 7-Zip (no need to rename to .zip, just right-click and "Open Archive")
Navigate to ppt/slideLayouts.
See a list of slideLayout....xml files.
Identify the ones you want to edit, e.g., by opening each one and looking for <p:cSld name. (The numbers may be indicative only of the order the layouts have been created, not of the order in which they are now shown in PowerPoint - although saving a .pptx files in PowerPoint 2016 does modify the slide layouts for me so that the display order matches the file name numbers.)
Look for <p:ph until you find the ones you want to edit. You probably want to ignore the ones with type="title", type="ftr", type="sldNum".
Change the idx of all other placeholders to 1, 2, ... in the order in which you want them filled (use the <p:cNvPr ... name= to identify the placeholders).
Save the .xml files, close your editor, and be asked by 7-Zip to update the archive. Answer "Yes".
So I set the idx to 1 for the one placeholder in my 1-content layout, to 1 for the left placeholder in my 2-content layout, and to 2 for the right placeholder in my 2-content layout.

Meaning of "IconResource= ..\.. ,(number)"

My first question in Stackoverflow, I'm thinking in making a litle program to edit some folder icons on Windows, I searched for the meaning of the number after the path of the icon but find no answer, the system icons have diferent values, i.e:
Music Folder
IconResource=%SystemRoot%\system32\imageres.dll,-108
Pictures Folder
IconResource=%SystemRoot%\system32\imageres.dll,-113
When we manually change an icon from a folder,usually is used(to keep it in a removable media):
IconResource=..\Icons\icon.ico,0
There is any influence in that last number? Or it doesn't matter for that purpose?
.EXE and .DLL files can contain more than one icon. ,0 is the first icon in the file, this syntax can also be used for .ICO files that only contain one icon.
Positive numbers simply refer to the order the icons are stored in the executable file (,0 is the first, ,1 is the second and ,2 is the third etc.). This order is the same as the order of icons in the standard pick icon dialog in Windows (shortcut properties etc.).
A negative number is the resource id of the icon, this is a number chosen by the author of said executable and can be stable over time even if the number if icons changes if the author chooses to use stable resource ids.
See also:
How the shell converts an icon location into an icon

Sublime Text 3 Show capitalized folders on top

Is it possible to sort the folders in the sidebar in a way, that shows capitalized folders on the top?
The folders are shown in the order they are listed in the project. You can rearrange them as you see fit. Nothing built in, but you write a script to modify the sublime-project files so they look like what you want.

Perform Search on Whole Directory in Sublime Text 2?

Is there any directory-wide search functionality in Sublime for the directory currently opened in the editor?
Or optionally a search all opened files? (If this exists do the files have to be opened in a tab or just visible on the sidebar?)
Yes there is.
On Windows
CTRL + SHIFT + F
On Macintosh
CMD + SHIFT + F
The Where field in the search panel determines where to search. You can define the scope of the search in several ways.
More: https://docs.sublimetext.io/guide/usage/search-and-replace.html
In Sublime Text 3
Right click on FOLDERS Navigation bar
Choose Find in Folder
*/folder_name/*
In the "Where" section of the find-all dialogue (CtrlShift+F or ⌘Shift+F ), */folder_name/* will search folders called "folder_name" that are represented in your current session. For instance, if you have a file open with a path of C:\Users\joe\folder_name\file.js, you can use the *//* pattern to search any of those folders or combinations of folders: */joe/* and */Users/joe/* will both work. However, if you have a file like this C:\Users\timmy\folder_name\file.js that's not open, it won't search that (unless you explicitly name it, like in the next example).
C:\path\to\folder
You can also put in the absolute path to the folder you want to search. This is useful if you want to search a folder that is not represented in sublime (no files within that folder are currently open in sublime), or if you have two dirs with the same name, and you only want to search one. Personally, I never use this.
C:\path\to\folder, */folder_name/*
You can also combine them.
To answer your last question, at some point Sublime started automatically searching all open files and represented folders, but if you want to be sure you can use one or all of these variables:
<project>,<current file>,<open files>,<open folders>
You can read more about searching at the unofficial sublime documentation. Or from this post, which is similar to your own.

Ignore folders in solution compare with Beyond Compare

I am trying to compare two large Visual Studio 2010 solutions using Beyond Compare. These solutions have 60 projects, the only way I can find to ignore differences in the bin and obj folders of each project is by right-clicking these in the compare results window. I don't want to have to do this 60 times, so is there any other way I can tell Beyond Compare to ignore these folders in each solution?
This is for version 3,
While you are comparing two folders you can go the menu Session->Session settings and go to the tab named Name Filters. There are several boxes to include or exclude files or folders; locate the one on the bottom right and on each line you can declare the folders that you want to exclude. There is an important combo box on the lower left corner where you can specify if you are going to use this settings for just this time or to use them everytime.
Another way to do this is simple look for the File Filters Toolbar (the one with a combo box and a pair of icons with a pair of glasses), in this combo box you can set your filter, for example -bin\;-obj\ and this will exclude the bin and obj folders.
I know this is old, but I came here looking for the same info for version 4.
Version 4 supports the same functionality but expose on the top toolbar in the session, just add the same -bin\;-obj\ in the "Filters:" text box:

Resources