#1
|
|||
|
|||
Active app thru LISP
I have searched the documents and was unable to find the function to verify if WorkManager is running.
Could somebody let me know what function to use to verify if WM is running? |
#2
|
|||
|
|||
HI
If your function has to work on a win OS you can use the DDE functions of the OSD Integration Kit. By using the functions you can check, if you can open a DDE-Channel. If you can't open a channel, so you can be sure, in the most situations your Application doesn't work. On the UX Os exists a similar command SD-INTF. Sincerely Dieter |
#3
|
|||
|
|||
Hi. Maybe this can help you:
(defun workamanger-active-p () (not (eq (sd-dde-initiate "HP_WORKMANAGER" "GENERAL") :error)) ) I have written this function on the fly, without testing it... anyway it should work. But I am not sure of the dde service name of workmanager. This function should return t if WorkManager is active and false otherwise. fabrizio |
#4
|
|||
|
|||
fabrizio
This works well. Thank You Where would I find a list of servicenames that would be used for this function? The only thing I found was SET wm_dde="HP_WORKMANAGER" in a dv2sd.bat file. What other topicnames could be used? Thank You BDining |
#5
|
||||
|
||||
Hello Bill,
These are the only other ones I know of. "PESD" for SolidDesigner "SD_ACCESS" for SolidDesigner Access "ME10F" for ME10 Cheers Thom |
#6
|
|||
|
|||
For the topic, if I remember well, I have always used "GENERAL" for Me10, SolidDesigner and Workamanager.
Also the following pairs could be useful: Service=WinWord Topic=System for MSWord Service=Excel Topic=System for MSExcel bYeZ Fabrizio |
#7
|
|||
|
|||
Hi,
DDE only works on Windows platform You should use (sd-intf "HP PEWM IL" "WAIT 0") ) to check if yout WM server is UNIX based. If you simply want to check whether the DataManagement module is set active Simply use (if (not (oli::sd-license-free-module-active-p "PEWMSD")) .... Sinan http://www.solidgenius.com |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|