Skip to main content
Question

PythonCaller Question


wisegis
Contributor
Forum|alt.badge.img+15

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

david_r
Celebrity
  • June 13, 2022

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/


wisegis
Contributor
Forum|alt.badge.img+15
  • Author
  • Contributor
  • June 21, 2022

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.


david_r
Celebrity
  • June 22, 2022

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings