First committing

This commit is contained in:
2022-04-08 17:39:57 +02:00
commit 6b9d1f4a61
71 changed files with 10349 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
[Desktop Entry]
Type=Application
Terminal=true
Name=AFM_thumbs
Icon=/home/<username>/bin/AFM_thumbs/AFM_thumbs_icon.png
Exec=/usr/bin/python /home/<username>/bin/AFM_thumbs/AFM_thumbs.py

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB

Binary file not shown.

View File

@@ -0,0 +1,35 @@
@echo off & setlocal
:: Source: http://www.administrator.de/forum/verkn%C3%BCpfung-auf-desktop-per-batch-anlegen-155061.html
:: Zielpfad
set "zielpfad=%userprofile%\Desktop"
::Name der Verknüpfung (ohne ".lnk")
set "progtitel=AFM_thumbs Starter"
::Speicherort der Programmdatei (wird auch für "Ausführen in:" verwendet)
set "progdir=%cd%"
set "progexe=Windows Batch Starter.bat"
::Kommentar
set "beschreibung=Run AFM_thumbs.py"
::Icon
set "iconpath=%progdir%\AFM_thumbs Icon.ico"
::Bei Bedarf Ordner erstellen:
md "%zielpfad%" 2>nul
md "%progdir%" 2>nul
::temporäres VBScript erzeugen ...
>%temp%\MakeShortCut.vbs echo Set objShell=WScript.CreateObject("Wscript.Shell")
>>%temp%\MakeShortCut.vbs echo Set objShortcut=objShell.CreateShortcut("%zielpfad%\%progtitel%.lnk")
>>%temp%\MakeShortCut.vbs echo objShortcut.TargetPath="%progdir%\%progexe%"
>>%temp%\MakeShortCut.vbs echo objShortcut.Description="%beschreibung%"
>>%temp%\MakeShortCut.vbs echo objShortcut.WorkingDirectory="%progdir%"
>>%temp%\MakeShortCut.vbs echo objShortcut.IconLocation = "C:\Users\Niklas\Documents\Python Scripts\AFM_thumbs_v1.7x_04.10.14\AFM_thumbs Icon.ico"
>>%temp%\MakeShortCut.vbs echo objShortcut.Save
::... ausführen ...
cscript //nologo %temp%\MakeShortCut.vbs
::... und wieder löschen.
del %temp%\MakeShortCut.vbs

View File

@@ -0,0 +1,3 @@
@echo off
cmd /C "python AFM_thumbs.py"