Question

PythonCaller Question


Badge +14

I have a unique request from a user to create shortcuts (desktop shortcuts) in a folder based on a field in a table. I am guessing I need to attempt to use the PythonCaller, but before I went too far down this rabbit hole, I figured I'd reach out to see if anyone had any ideas. Any information or guidance is appreciated.


3 replies

Userlevel 4

You'll probably have to install something like the winshell and/or win32 extensions, but then it should be fairly easy. You can find several examples here:

https://stackoverflow.com/questions/53268792/create-shortcut-files-in-windows-10-using-python-3-7-1

There are also several tutorials, e.g.: https://www.blog.pythonlibrary.org/2010/01/23/using-python-to-create-shortcuts/

Badge +14

I appreciate it. A few other processes/translations were just as effective and much easier to maintain. I am hoping they go along with one of those.

Userlevel 4

Come to think of it, I'm sure you could use Powershell through a SystemCaller, might just be the easiest solution. For example: https://superuser.com/a/836818

Reply