Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-28-2019, 11:25 AM
pc7 pc7 is offline
Registered User
 
Join Date: Feb 2019
Posts: 1
Menu bar passing argument to VBS script

Can I get an example of how to pass an argument to a script from the menu bar?

How can I pass an argument or variable to the vbs script?

MENUITEM "test", "RUN", "C:\Program Files\VanDyke Software\SecureCRT\Scripts\test.vbs"
Reply With Quote
  #2  
Old 02-28-2019, 01:20 PM
berdmann berdmann is offline
VanDyke Technical Support
 
Join Date: Aug 2017
Posts: 339
Hi pc7,

The functionality that you desire is not currently available with SecureCRT.

I have submitted a feature request on your behalf to add support for passing arguments to a script in a custom menu. Should a future release of SecureCRT include this functionality, notification will be posted here.

If you prefer direct email notification, send an email to support@vandyke.com and include "Feature Request - Forum Thread #13423" in the subject line.

You can, however, pass arguments to a script with a mapped button.

For more information about mapping buttons on the Button Bar please refer to our YouTube videos:

- Button Bar Video
https://youtu.be/olyCcUWRimI

- Button Bar Enhancements in SecureCRT
https://youtu.be/qp82UWxGB8I
__________________
Thanks,
--Brittney

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 09:27 PM.