Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - JanKowal

Pages: [1]
1
I am not looking for a way to execute a Python script, but for a Python function that allows me to execute an existing script. So perfect situation would be something like
Code: [Select]
eaRep.ExecuteScript("scriptName") after dispatching EA.App and fetching Repository object.

2
Yes, I do that all time.

 
Code: [Select]
eaApp = win32com.client.Dispatch("EA.App")
eaRep = eaApp.Repository

q.
Yes, we got the same code, but what is the exact function call for script execution? I could not find any documentation on this matter.

3
We have got a script written in JScript that utilizies the EA's API like Repository.GetPackageByGuid() etc. What we want to do is to execute the script from an external application that is written in Python that uses Win32 API to communicate with EA. We can not rewrite the primary script to work in Python. Is it possible? We are fine tho to execute the script not necessarily from Python but PowerShell or Java instead.

Pages: [1]