Search found 26 matches

by GarryP
Fri Sep 06, 2024 11:56 am
Forum: Technical / Scripting
Topic: msNet Webhook ignore errors
Replies: 0
Views: 594

msNet Webhook ignore errors

I have my MSP software send a webhook to MSP msNet receiver to log any messages send through my MSP client. If someone sends a message with unacceptable characters (such as ?) my MSP script throws an error and then sits until I notice the message and clear it. My msp software doesn't have the abilit...
by GarryP
Tue Sep 03, 2024 6:31 pm
Forum: Technical / Scripting
Topic: Code Signing
Replies: 5
Views: 1217

Re: Code Signing

Thank you. That is what I thought and that is why I am looking at purchasing a code signing certificate. Since I have never done that before I was looking for any insight before I do. Such as any reason to get an OV instead of a PV, who would be a recommended provider, etc. . . . Anything else I nee...
by GarryP
Tue Sep 03, 2024 12:30 pm
Forum: Technical / Scripting
Topic: Code Signing
Replies: 5
Views: 1217

Re: Code Signing

From what I understand a self-signed would work fine in a domain environment, but I have enough clients where I have random compiled scripts would that work for random workgroups as well?
by GarryP
Mon Sep 02, 2024 3:07 pm
Forum: Technical / Scripting
Topic: Code Signing
Replies: 5
Views: 1217

Code Signing

I am finally going to have to break down and purchase a code signing certificate for my compiled MSP macros. I am just curious if anyone has any insight or "best practices" before I do this. I have never done this before and thought it may be best to reach out to experts before I "Learn the hard way...
by GarryP
Thu Jul 12, 2012 12:52 am
Forum: Technical / Scripting
Topic: Help with STDOUT and console app
Replies: 1
Views: 2863

Figured it out.

I knew it would make sense once I figured it out. I run the compiled console app with the syntax of C:\mycompiledapp.exe /htp=192.168.1.1 and if ping is successful I receive an exit code of 0, anything else and I receive an exit code of 99. Thanks, Garry VBSTART Function IsAlive(strHost) '----------...
by GarryP
Wed Jul 11, 2012 4:04 pm
Forum: Technical / Scripting
Topic: Help with STDOUT and console app
Replies: 1
Views: 2863

Help with STDOUT and console app

I do not completely understand how to use STDOUT. Sorry if this is discussed somewhere but I have searched and cannot find anything more than cursory information. I am calling this sample compiled script from another app that monitors output, and it always reads the exit code=0. What am I doing wron...
by GarryP
Tue Dec 07, 2010 2:04 am
Forum: Technical / Scripting
Topic: Need URL from email body in background processing
Replies: 5
Views: 7704

After lots and lots of looking, I have found a way to send and/or receive SSL emails from MSP with a couple of open source utilities. Let me know if you are still looking and I will give the solution I am using.
by GarryP
Thu Nov 11, 2010 12:26 am
Forum: Technical / Scripting
Topic: How to open with
Replies: 3
Views: 4288

That worked, thank you very much. I have defined the windows file association as "C:\MyDir\MyCompiled.exe" "/source=%1" But this has lead to another question. I was going to add RegistryReadKey to verify/create the appropriate entries. For some reason, I am unable to read the appropriate registry en...
by GarryP
Wed Nov 10, 2010 11:05 pm
Forum: Technical / Scripting
Topic: How to open with
Replies: 3
Views: 4288

Thank you, that should work. I kept trying to figure out how to interpret %1 but I never thought of actually defining a variable via windows file association.

I will try that this evening and post the results.
by GarryP
Wed Nov 10, 2010 10:20 pm
Forum: Technical / Scripting
Topic: How to open with
Replies: 3
Views: 4288

How to open with

I hope this hasn't been answered before, but I have not been able to find anything close. I have compiled a macro that creates a new encrypted document in format of "file.xyz" and transmits this file via ftp to a another client. That client has a compiled script that will decrypt the "file.xyz". Cur...
by GarryP
Wed Feb 18, 2009 11:45 pm
Forum: Technical / Scripting
Topic: Relabel mscheckbox caption
Replies: 2
Views: 3863

Yes, that is the way I have it working now, but to make the dialog a little more user-friendly I made the checkbox 300 wide with no text. I then placed the label over it. The wide checkbox makes it easier to check. This works great on XP, but on an older OS (W2K) the label is not is not visible. So ...
by GarryP
Wed Feb 18, 2009 6:27 pm
Forum: Technical / Scripting
Topic: Relabel mscheckbox caption
Replies: 2
Views: 3863

Relabel mscheckbox caption

I am not very proficient with dialog boxes so please be gentle ;) I script mainly for background processes. I have a dialog box with a checkbox that the caption is defined by a variable. When that variable changes and the script returns to the dialog box, the original caption is still showing. How c...
by GarryP
Wed Oct 08, 2008 2:55 pm
Forum: Technical / Scripting
Topic: File Open Dialog
Replies: 2
Views: 3869

Set INPUT_BROWSE
A value of 1 is for selecting files, a value of 2 is for selecting directories



Let>INPUT_BROWSE=2
Input>currentdir,Select desired directory,NONE
by GarryP
Thu Aug 07, 2008 7:59 pm
Forum: Technical / Scripting
Topic: GetFileList
Replies: 3
Views: 4866

Let>filelistsource=C:\temp\sally\jda*.xls Let>filelistdestination=C:\Telmp\Sally\Archive GoSub>performarchive Let>filelistsource=C:\temp\jessie\xyz*.doc Let>filelistdestination=C:\Telmp\jessie\Archive GoSub>performarchive Let>filelistsource=C:\temp\raphael\abc*.jpg Let>filelistdestination=C:\Telmp\r...
Sign up to our newsletter for free automation tips, tricks & discounts