stewartblair Posted January 8, 2009 Share Posted January 8, 2009 Hi there i am a newbie at work here and i have the following application that i am trying to integrate into a portal. SPeil below Bluespier is a Windows executable program and can be called using command line parameters as follows: BPMRUN.EXE /EXTERNAL U=UserName P=Password C=PatientID The /EXTERNAL tells Bluespier that it is being opened from an outside application. UserName is the Bluespier username that the user would normally use to login to Bluespier. (Passed in as a parameter) Password is the Bluespier password associated with the UserName. (PAssed in as a parameter) PatientID is the hospital number of the patient to be opened. (PAssed in as a parameter) e.g. BPMRUN.EXE /EXTERNAL U=GWEBB P=HAPPY C=123456 The Bluespier application will open as if GWEBB logged in and will immediately open the Patient Details screen for patient 123456. Basicly i am lost as the syntax to get this to run through the command line Is there any kind soul out there who would not mind helping the NHS out and tell me the syntax to run this through the Run(@ComSpec & " /c " & 'commandName', "", @SW_HIDE) ; Thanks for any help Link to comment Share on other sites More sharing options...
StSchnell Posted January 9, 2009 Share Posted January 9, 2009 Hello Stewart, so far I understand your problem is Run("BPMRUN.EXE /EXTERNAL U=GWEBB P=HAPPY C=123456") your solution. @ComSpec is only necessary if you need a console to execute your commend. Hope it helps. Cheers Stefan Meet me at XING Visit my private homepage Visit my commercial homepage Look at my book inter alia about AutoIt and SAP Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now