Timeline for Making ArcGIS for Desktop play sound on speaker when model completes?
Current License: CC BY-SA 3.0
17 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 22, 2015 at 19:00 | comment | added | Aaron♦ | @MichaelB I would advise posting your inquiry to Stack Overflow. | |
Jun 22, 2015 at 18:53 | comment | added | Michael B | Thanks for the help. I am not good with python at all. I have tried experimenting using that example, but I cannot seem to make it work. The script your provided on this page is different enough from the example on stackoverflow to confuse me. | |
Jun 22, 2015 at 17:29 | comment | added | Aaron♦ |
@MichaelB Check out the following post regarding CC'ing users using smtplib.email : stackoverflow.com/a/1546435/1446289
|
|
Jun 22, 2015 at 16:08 | comment | added | Michael B | This script works great, but what if I wanted to cc another address using this same script? Does anyone know how I could modify the above script to do that? | |
Jun 27, 2014 at 16:06 | history | edited | Paul | CC BY-SA 3.0 |
Added code formatting.
|
Jun 27, 2014 at 15:52 | history | edited | Aaron♦ | CC BY-SA 3.0 |
Fixed IDLE and added link
|
Jun 27, 2014 at 13:55 | comment | added | Aaron♦ | @Aaron I included more details on creating the script tool to address your comments. | |
Jun 27, 2014 at 13:55 | history | edited | Aaron♦ | CC BY-SA 3.0 |
Added more details to address OP's comments
|
Jun 27, 2014 at 1:18 | comment | added | Michael Stimson | Read this resources.arcgis.com/en/help/main/10.2/index.html#/… about making a script into a tool that can be used in modelbuilder. Each sys.argv relates to a parameter in the tool, sys.argv[1] is the first, sys.argv[2] is the second and so on.. Note: it also works on the command line if you want to use the script in VB using shell. | |
Jun 27, 2014 at 0:05 | comment | added | om_henners | If it helps anyone, I've put up an example gist that shows how to use @Aaron 's answer as a wrapper to notify on success or failure of a script. | |
Jun 27, 2014 at 0:04 | comment | added | om_henners | @Aaron sys.argv is the list containing the arguments passed to the Python script from the command line. It is the equivalent of using arcpy.GetParameterAsText(i) | |
Jun 26, 2014 at 22:46 | comment | added | Aaron | OK. This is very promising! I dont quite understand where to put my actual email address. Do i substitute it for the phrase "gmail_user"? or is that the variable? What are the "sys.argv[#]" things? Is that where I put my information? | |
Jun 26, 2014 at 22:22 | history | edited | Aaron♦ | CC BY-SA 3.0 |
Added more details
|
Jun 26, 2014 at 22:16 | comment | added | Michael Stimson | I work with an Aaron, he's cool too. I was referring to outgoing email, essentially I would be emailing myself.. message from me to me sent from work computer and read/notify on home computer on VPN. Outlook can be configured to play a sound when an email comes in. | |
Jun 26, 2014 at 22:11 | comment | added | Aaron♦ | @ Michael Miles-Stimson Funny coincidence, there are not too many Aaron's anymore. This script tool works directly through the e-mail service and is independent of outlook. However, if Outlook can read you e-mail and your phone can notify you when you get a e-mail via Outlook, it should work just fine. | |
Jun 26, 2014 at 22:03 | comment | added | Michael Stimson | Hey, you've got the same name? are you related? That's a nice ouside-the-box solution, I like it. That way you don't need to be in the same room. Can that be configured for outlook/exchange or to they work differently? | |
Jun 26, 2014 at 21:59 | history | answered | Aaron♦ | CC BY-SA 3.0 |