The ConnectWise Control forum has moved to ConnectWise University! This forum has been locked and is in read-only mode. Click here for instructions on how to access the new forum.

Welcome Guest! You can not login or register.



Go to last post Go to first unread
#1 Posted : Thursday, May 24, 2018 8:15:54 PM(UTC)

Rank: Guest

Joined: 5/24/2018(UTC)
Posts: 1
United States

Hi, I was wondering if it would be possible to launch the SessionEvent QueuedTool with command line arguments? I've made a program that I would like to change how it runs based on the command line arguments passed in.

#2 Posted : Monday, June 4, 2018 2:37:57 PM(UTC)

Rank: Administration

Medals: Level 4: Wise Old Owl! Received 100 Thanks!

Joined: 3/28/2014(UTC)
Posts: 2,862
United States

Thanks: 3 times
Was thanked: 351 time(s) in 303 post(s)
So with the current architecture the QueuedTool event specifies which tool via the Data field, which represents the filename itself. I cannot think of a reliable way to allow for arguments to be passed into the tool this way.

With that said, you could always compile several copies of the tool; each with a pre-compiled value for the argument(s) and named accordingly.
ScreenConnect Team
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.