Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From Photoshop to Bridge
Message
De
16/05/2016 07:07:02
 
 
À
15/05/2016 19:42:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01636402
Message ID:
01636427
Vues:
52
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform