SAP Jobsuche bei DV-Treff
amarokWPcom
vor 5 Jahre
Dear Friends,

I want to start a simple sapscript in .vbs format by pressing a Pushbutton made with GuiXT

I tried several variations but it is not working.

If I doubleclick the .vbs file itself it's working fine.

In GuiXT the pushbutton looks like this:

Pushbutton (toolbar) "Open PREQ" process="C:\Users\th61a3\Desktop\openPREQ 1.0.vbs"

The button is in the toolbar of my ZCOR Transaction but by pressing the script doesn't start.

I am an absolute beginner... 😞

Förderer

ScriptMan
vor 5 Jahre
Hi amarokWPcom,

welcome to this German SAP forum. Starting a VBS script via pushbutton is only possible indirectly via InputScript file.

for example:

Pushbutton (toolbar) "Open PREQ" process="C:\GuiXT\Scripts\preq.txt"

InputScript preq.txt contains:

start "C:\Users\th61a3\Desktop\openPREQ 1.0.vbs"

Regards,

ScriptMan

http://www.synactive.de/index_e.html 

Benutzer, die gerade dieses Thema lesen