View Single Post
Old 04-28-2010, 03:39 PM   #6
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,082
Karma: 315558332
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by bpwhistler View Post
Could I take a Python script that is designed for another similar task, and just replace every instance of the Python script currently in the script...and get similar functions? Do you use this "wrapper" on all of your Python scripts?
Note that this Applescript doesn't have the name of the python script in the code - it's stored when you choose the script to use. So to use it with a script that uses the same paramters, just choose the different script.

If you want to use it with a script that takes different parameters, you'll need to change the code that builds the command to be executed.
pdurrant is offline   Reply With Quote