Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From Photoshop to Bridge
Message
From
16/05/2016 07:07:02
 
 
To
15/05/2016 19:42:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01636402
Message ID:
01636427
Views:
53
If a python library exists, you can hook vfp to python rather easy via activeX. Did a bit of cross-process comm with that more than half dozen years ago.
Helpful for that was an o'Reilly book about Python and Win32, had an alligator or crocodile on the label, nothing you could not find on the net, but a fast and cheap way to get skeletons for some tasks without searching or probing.



>The reason I ask is that ImageMagick is the program used for most web image conversion processes. You can run it through shell execution. There's also a Python library, which you could site behind CherryPy (a 12-line web service) to easy access from VFP.
>
>Hank
>
>>Hi:
>>Is it possible to do a createobject to a) bring up instances of Photoshop and Bridge b) and to check if their processes have already instantiated? There seems to be more than one name for Photoshop-type objects?
>>
>>At the moment, I have Photoshop up. In Foxpro, with the following, I can see that oMyObject = "C" but that does not reflect whether the process itself exists. Maybe there is another way to tell? I can't find my book by Tamar that tells, I believe, how to know if an instance of Excel exists?
>>
>>
>>set step on
>>oMyObject = "Photoshop.Application"
>>IF VARTYPE(oMyObject)<>"O"    ** or if I use "C"
>>    oMyObject=CreateObject(oMyObject)
>>ENDIF
>>
>>
>>Thank you,
>>Steve
Previous
Reply
Map
View

Click here to load this message in the networking platform