First committing
This commit is contained in:
7
Utilities/Linux/Ubuntu_unity/AFM_thumbs.desktop
Executable file
7
Utilities/Linux/Ubuntu_unity/AFM_thumbs.desktop
Executable 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
|
||||
|
||||
BIN
Utilities/Windows/AFM_thumbs_icon.ico
Executable file
BIN
Utilities/Windows/AFM_thumbs_icon.ico
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 361 KiB |
BIN
Utilities/Windows/AFM_thumbs_starter.lnk
Executable file
BIN
Utilities/Windows/AFM_thumbs_starter.lnk
Executable file
Binary file not shown.
35
Utilities/Windows/Create_Windows_shortcut.bat
Executable file
35
Utilities/Windows/Create_Windows_shortcut.bat
Executable 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
|
||||
3
Utilities/Windows/Windows_batch_starter.bat
Executable file
3
Utilities/Windows/Windows_batch_starter.bat
Executable file
@@ -0,0 +1,3 @@
|
||||
@echo off
|
||||
|
||||
cmd /C "python AFM_thumbs.py"
|
||||
Reference in New Issue
Block a user