Solved

Is it possible to trigger an action / open a file when a website is visited?

Posted on 2014-09-05
7
213 Views
Last Modified: 2014-09-17
I want to have some type of event fire when a user visits a specific web address, is this possible?

To be more specific, when a user goes to a payment portal, I want to have a file open (or similar) that will have 'On Open'  code in it to send an email.

To clarify, what will actually take place I have covered, I only outlined to give perspective, but the bit I am missing is making this fire based on a web address being visited.
0
Comment
Question by:altosax
  • 3
  • 3
7 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 40306313
javascrip has an onload event that will fire when a web page loads.  I expect you could use that, though it will only work in browsers that have javascript.
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 40306442
And be careful of what you try to do. LOTS of people take offence at automation on a page that they never consented to.
0
 

Author Comment

by:altosax
ID: 40309965
Thanks very much Paul, I will learn how to do just that, it sounds like exactly what I need.

Thanks for the concern Neil, very valid point, however this is something they will welcome with open arms as they constantly forget to do the required actions after visiting this site. Appreciate the thought though.
0
Too many email signature changes to deal with?

Are you constantly being asked to update your organization's email signatures? Do they take up too much of your time? Wouldn't you love to be able to manage all signatures from one central location, easily design them and deploy them quickly to users. Well, you can!

 

Author Comment

by:altosax
ID: 40326907
Just to double check Paul, I am not the writer of the website. Not sure if that got lost in translation. I just want to trigger a batch file or vb file or some such, to kick off whenever someone visits a particular website. To put it in perspective, it is a webpage where our users take a credit card payment, but they invariably forget to then add the payment into our system, so I want the fact that they visited the site to trigger a pop up that will ask them if they took a payment whilst on the webpage.

Is this still feasible with your suggestion?
0
 
LVL 34

Accepted Solution

by:
Paul MacDonald earned 500 total points
ID: 40327969
My suggestion would require a change to the web page itself.  If you don't own the site, or can't compel the owner to make the change, my suggestion won't do you much good.

Indeed, short of writing an application that opened the web page and simultaneously prompted the user to do their due diligence, I can't think of another way to accomplish what you want.  I suppose you could set up some sort of batch file, but the user would have to launch the batch file each time, and if they can remember to do that, they can remember to enter the payment into your payment system.

Aside from some sort of checklist, I don't see any other way to do what you're after.
0
 

Author Comment

by:altosax
ID: 40328545
I think you have hit on about the best we can get. I will have a batch file that opens the site and then also runs vb code that will accomplish the other stuff. Thanks Paul.

I will install a different browser for everyone and have it open in that, so normal browsing isn't affected and will have a pause in the batch file and then close the site after a period of time they define for me.

Thanks again.
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 40328656
Happy to have helped!
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How can MDaemon MRK files and MSG files work together? We can also say that, how worldclient and Outlook connecter works, using both application collectively you can view your mails, contacts, calendar, task, notes. In this article you can unders…
Are you using email marketing software? If not, you're missing out on effortless marketing and the reaching of desired conversion rates through email marketing software.
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now