gr4pyShotor = gr4viton’s shortcut-creator

If anybody has disabled automatic indexing in windows (for me it was win7), but still wants to have his programs / files searchable via startup quick search menu. You would need to create shortcuts of the items and insert them into directory which is „allways“ quick-searchable one by one. For automating this process I’ve developed a python 3.4.0 program.

You can get it on github here.

Creative commons licence which applies to it: CC BY-NC-SA

I started to develope this script [2014_11_21], as I wanted to get the shortcuts for google drive shared files without turning on the Windows indexing option.
You can change the settings of script through its config file located in [conf/confi.vim].

Which looks like this:

#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# Config file for https://github.com/gr4viton/gr4pyShotor
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
#::TAG LEGEND
# '/shopath' # where to create shortcuts
# '/shoext' # shortcut extension (without dot) = lnk
# '/new' # new shortcut search bundle - and subdirectory in shopath
# '/dir' # directory where to search for files to create shortcut of
# '/re' # files regex strings - which files to create shortcut of
# '/ext' # extension of files searched for to create shortcut of
# '/printit' # printit level integer (0 - nothing, 5 - default, 100 - max)
# '/ignored' # ignored filenames (with extension)
# # comment # text comment - ignored
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
#::standard
# where to create subdirs for found shortcuts 
/shopath
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\_ALL\GENERATED
/shoext
lnk
/ignored
update26.exe
DSRDGUI0.exe
#_ATKOSD2.exe
grub.exe
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# gdocs and sheets
/new
ACT_SHEET
/dir
E:\GDRIVE\_LISTS
E:\GDRIVE\_PROJECTS
E:\GDRIVE\_BUY
/re
ls.*
p.*
log.*
/ext
gsheet
/printit
5

Run with [main.py] and it will create the shortcuts according to the config file.Happy Shotoring! 😉

May the gr4vitons be with you!

Napsat komentář

Vaše e-mailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *