logo

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.

Notification

Icon
Error

Options
Go to last post Go to first unread
Jeffrey  
#1 Posted : Friday, June 6, 2014 5:43:19 PM(UTC)
Jeffrey


Rank: Advanced Member

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 6/2/2014(UTC)
Posts: 42
Canada

Thanks: 2 times
Was thanked: 5 time(s) in 5 post(s)
I made a very simple AutoHotkey (http://www.autohotkey.com/) script which I compile to an executable and throw in my toolbox. Allows me to get clients attention when I need them. Thought some people here might find it handy. Autohotkey compiles kind of large (675k) for such a small script but it was quick and easy and works well enough with modern high speed connections.

Quote:
TrayTip, Alert, Your technician is trying to get your attention.,20,2
SoundGet, master_mute, , mute
if master_mute = On
SoundSet, +1, , mute
Sleep, 500
SoundSet, 75
SoundBeep, 500, 100
SoundBeep, 1000, 100
SoundBeep, 2000, 100
SoundBeep, 3000, 200
SoundBeep, 500, 100
SoundBeep, 1000, 100
SoundBeep, 2000, 100
SoundBeep, 3000, 200
SoundBeep, 500, 100
SoundBeep, 1000, 100
SoundBeep, 2000, 100
SoundBeep, 3000, 200
Sleep, 1000
SoundBeep, 500, 100
SoundBeep, 1000, 100
SoundBeep, 2000, 100
SoundBeep, 3000, 200
SoundBeep, 500, 100
SoundBeep, 1000, 100
SoundBeep, 2000, 100
SoundBeep, 3000, 200
SoundBeep, 500, 100
SoundBeep, 1000, 100
SoundBeep, 2000, 100
SoundBeep, 3000, 200
Sleep, 1000


I prefer not to post binaries but if someone really wants it and can not figure out how to compile it on their own (its really simple), i guess i could.

Edited by user Friday, June 6, 2014 5:48:47 PM(UTC)  | Reason: Haha changed the subject and description to reflect that it uses audio to alert the guest.

thanks 1 user thanked Jeffrey for this useful post.
ClaudioH on 8/12/2015(UTC)

promptcare  
#2 Posted : Tuesday, June 17, 2014 6:40:03 PM(UTC)
promptcare


Rank: Advanced Member

Medals: ScreenConnect Advisor: Focus Group MemberLevel 2: Lent a Helping Hand! 10 Thanks!

Joined: 9/14/2011(UTC)
Posts: 360
Location: ON, Canada

Thanks: 31 times
Was thanked: 14 time(s) in 11 post(s)
I've been using a combination of NirCMD (http://www.nirsoft.net/utils/nircmd.html) and a batch file in my toolbox that I'll edit on the fly.

Send over NirCMDc (cmd version) first. It'll popup a dos window and nothing else.
Send over your batch which will then interact with NirCMDc.exe

Among dozens of other features (seriously, go look), it has a text-to-speech feature so my batch file default contents is:
nircmdc speak "dummy" "Prompt Care needs your interaction"

I've also tried running this from the background command window but, because that runs as System, there's no sounds.
dw5304  
#3 Posted : Wednesday, June 18, 2014 6:27:22 PM(UTC)
dw5304


Rank: Advanced Member

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 1/9/2013(UTC)
Posts: 45
Location: usa

Thanks: 1 times
Was thanked: 3 time(s) in 3 post(s)
you can also do the fallowing via power shell with out neededing any tools :).(for a modern os anyways):

[System.Windows.Forms.MessageBox]::Show("Alert, Your technician is trying to get your attention.")
[System.Console]::Beep(1000,100)
[System.Console]::Beep(2000,100)
[System.Console]::Beep(3000,200)
[System.Console]::Beep(500,100)
[System.Console]::Beep(1000,100)
[System.Console]::Beep(2000,100)
[System.Console]::Beep(3000,200)
MrEastwood  
#4 Posted : Tuesday, April 14, 2015 12:43:06 AM(UTC)
MrEastwood


Rank: Advanced Member

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 3/23/2015(UTC)
Posts: 113
United States
Location: Los Angeles

Thanks: 11 times
Was thanked: 9 time(s) in 8 post(s)
I know this is a little old, but is there a way to save that powershell script to a file that I can add to my toolbox?
Jeffrey  
#5 Posted : Tuesday, April 14, 2015 3:31:35 AM(UTC)
Jeffrey


Rank: Advanced Member

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 6/2/2014(UTC)
Posts: 42
Canada

Thanks: 2 times
Was thanked: 5 time(s) in 5 post(s)
That is why I use autohotkey, because you can publish the script as an exe file that is super easy to run from the toolbox with no pre-req.
KBrownConsulting  
#6 Posted : Sunday, May 3, 2015 2:16:51 AM(UTC)
KBrownConsulting


Rank: Advanced Member

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 3/11/2014(UTC)
Posts: 70
United States

Thanks: 13 times
Was thanked: 8 time(s) in 5 post(s)
You should be able to call powershell from a batch file & then concatenate your commands with a semicolon. It looks a little messy (there's probably a better way to do it) but drop this into a standard batch file for my favorite powershell alert:


powershell [console]::beep(440,500); [console]::beep(440,500); [console]::beep(440,500); [console]::beep(349,350); [console]::beep(523,150); [console]::beep(440,500); [console]::beep(349,350); [console]::beep(523,150); [console]::beep(440,1000); [console]::beep(659,500); [console]::beep(659,500); [console]::beep(659,500); [console]::beep(698,350); [console]::beep(523,150); [console]::beep(415,500); [console]::beep(349,350); [console]::beep(523,150); [console]::beep(440,1000)



;)
MrEastwood  
#7 Posted : Sunday, May 3, 2015 4:27:24 AM(UTC)
MrEastwood


Rank: Advanced Member

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 3/23/2015(UTC)
Posts: 113
United States
Location: Los Angeles

Thanks: 11 times
Was thanked: 9 time(s) in 8 post(s)
That's pretty good, though it's blocked by GPO by default even on standalone Win 7 machines
itworksllc  
#8 Posted : Tuesday, May 26, 2015 12:37:04 PM(UTC)
itworksllc


Rank: Newbie

Joined: 5/22/2015(UTC)
Posts: 6
United States
Location: Akron, OH

Thanks: 3 times
Originally Posted by: dw5304 Go to Quoted Post
you can also do the fallowing via power shell with out neededing any tools :).(for a modern os anyways):

[System.Windows.Forms.MessageBox]::Show("Alert, Your technician is trying to get your attention.")
[System.Console]::Beep(1000,100)
[System.Console]::Beep(2000,100)
[System.Console]::Beep(3000,200)
[System.Console]::Beep(500,100)
[System.Console]::Beep(1000,100)
[System.Console]::Beep(2000,100)
[System.Console]::Beep(3000,200)


I prefer using

[System.Windows.Forms.MessageBox]::Show("Alert, Your technician is trying to get your attention.")
[System.Console]::Beep(2000,200)
[System.Console]::Beep(2000,200)
[System.Console]::Beep(2000,200)
[System.Console]::Beep(2000,100)
[System.Console]::Beep(2000,100)
[System.Console]::Beep(2000,200)
[System.Console]::Beep(1500,100)




Because nothing gets the attention of my clients quicker than their computer humming, "Ice Ice Baby."
MrEastwood  
#9 Posted : Friday, May 29, 2015 5:56:30 PM(UTC)
MrEastwood


Rank: Advanced Member

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 3/23/2015(UTC)
Posts: 113
United States
Location: Los Angeles

Thanks: 11 times
Was thanked: 9 time(s) in 8 post(s)
Originally Posted by: itworksllc Go to Quoted Post

Because nothing gets the attention of my clients quicker than their computer humming, "Ice Ice Baby."


lol nice
ebell  
#10 Posted : Friday, June 26, 2015 4:05:35 AM(UTC)
ebell


Rank: Member

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 5/13/2014(UTC)
Posts: 28
United States
Location: Texas

Thanks: 29 times
Was thanked: 6 time(s) in 4 post(s)
Very good suggestions!

For PowerShell, I had to place the Alert Box below the sound. As written, the sounds did not play until after you clicked OK on the Alert Box.

For the AutoHotKey, I would recommend setting the volume back down to a level lower than 75 once complete. :)
jonmcknight  
#11 Posted : Friday, June 26, 2015 1:02:35 PM(UTC)
jonmcknight


Rank: Advanced Member

Medals: Level 1: Random Act of Kindness! Received One Thanks!

Joined: 1/30/2015(UTC)
Posts: 47
United States

Was thanked: 7 time(s) in 5 post(s)
Another option is to have your client's pc speak to them. Also an entertaining way to get annoying users to stop touching the computer while you're working on it. ;-)

This can be executed straight from the "Commands" tab on your website.

Code:

powershell Add-Type -AssemblyName System.speech; $speak = New-Object System.Speech.Synthesis.SpeechSynthesizer; $speak.Speak('Just calm down and walk away')
thanks 1 user thanked jonmcknight for this useful post.
computern on 7/2/2016(UTC)
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.