Sign in to follow this  
Followers 0
joeloyzaga

function using tray tip accepting the title and message

3 posts in this topic

 I will use autoit it command called tray tip and I will run it using this command 

WshShell.Run "C:Program FilesAutoIt3AutoIt3.exe PathtoAutofile.au3",1,True 

 

 

how can I write an autoit script to accept the title and message when run from .vbs using the WshShell.Run command

 

Share this post


Link to post
Share on other sites



hello, and welcome to AutoIt and to the forum.

AutoIt scripts accept command-line parameters. look-up CmdLine in the AutoIt help.

Share this post


Link to post
Share on other sites

thanks orbs and I just looked at the CmdLine - what would the vbs code look like the for 2 params?

kinda like this?

WshShell.Run "C:Program FilesAutoIt3AutoIt3.exe PathtoAutofile.au3 param1 "this is another param" param2 "this is another param2"", 1,True

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0