AutoHotkey Community

It is currently May 25th, 2012, 8:04 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: October 22nd, 2007, 4:18 pm 
Offline

Joined: June 9th, 2005, 3:35 am
Posts: 29
Location: Clearwater, Florida
I have a website http://www.sundaycrosswords.com/sudokushop/SPSudoku.htm that has a Java button for printing a sudoku puzzle. I want to compose a script that brings up the browser to that web page and clicks on the print button so that it prints in the pre-arranged size and format.

I can do it with the browser print function but it produces a smaller copy. I suspect the only way to do what I want is with mouse controls, a feature I have yet to get a handle on. Every time I set out to learn how, I get frustrated.

Any help I can get would be appreciated.

Thanks.[/url]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 22nd, 2007, 4:20 pm 
I guess you would have find the correct X/Y coords and use MouseMove or Click


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 22nd, 2007, 4:47 pm 
Online
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8666
Location: Salem, MA
an easy way top get frustrated is to try and automate webpages. you could use a javascript bookmarklet to push the button, maybe.

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 23rd, 2007, 10:07 am 
Offline

Joined: March 23rd, 2005, 7:53 am
Posts: 321
Location: Germany
Unfortunately the button is not controlled by JavaScript but part of an embedded Flash object. So you couldn't do anything else than mouse clicking, I fear.

_________________
Hasso

Programmers don't die, they GOSUB without RETURN


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: engunneer, Google [Bot], Google Feedfetcher, kwfine, rbrtryn, tomL, vsub, Yahoo [Bot] and 37 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group