| View previous topic :: View next topic |
| Author |
Message |
nerdyguy609
Joined: 25 Aug 2006 Posts: 31 Location: East Windsor NJ
|
Posted: Fri Oct 26, 2007 7:40 pm Post subject: SplashImage |
|
|
Hi Everyone...I am using splashimage to place a jpeg image on the screen. The image height is bigger than the screen height. The image contains a graph that I am trying to analyze. A significant part of the graph is below the bottom of the screen. If I had right-side slide bar, I could move the bottom of the graph up and get the full graph on the screen. But the image produced by splashimage has no right-hand slide bar. How do I add a right-hand slide bar or can I set some parameter so that the full image appears on the screen. I tried all of the parameters in the AutoHotKey Help File, but none of them did the job. Thanks for any help solving this problem. Nerdyguy609
AutoHotKey Program:
#b::
;Create a simple SplashImage window:
SplashImage,c:\My Documents\My Received Files\solar1.jpg
Return _________________ May the magical powers of the universe work in your favor |
|
| Back to top |
|
 |
Superfraggle
Joined: 02 Nov 2004 Posts: 970 Location: London, UK
|
Posted: Fri Oct 26, 2007 7:43 pm Post subject: |
|
|
| Code: | #b::
;Create a simple SplashImage window:
SplashImage,c:\My Documents\My Received Files\solar1.jpg,,H500 W500
Return |
_________________ Steve F AKA Superfraggle
http://r.yuwie.com/superfraggle |
|
| Back to top |
|
 |
nerdyguy609
Joined: 25 Aug 2006 Posts: 31 Location: East Windsor NJ
|
Posted: Fri Oct 26, 2007 7:51 pm Post subject: |
|
|
Hi Superfraggle...I tried adding
,,h500 w500
There was no difference in the appearance of the screen. Do I have to capitalize h and w? Thanks. Nerdyguy609 _________________ May the magical powers of the universe work in your favor |
|
| Back to top |
|
 |
maximina
Joined: 17 Oct 2007 Posts: 16
|
Posted: Fri Oct 26, 2007 8:02 pm Post subject: |
|
|
If all else fails, you could try using a regular gui:
| Code: | Gui, 10: +AlwaysOnTop +Disabled -SysMenu +Owner -Caption +LastFound
Gui, 10: Add, Picture, x0 y0 w500 h500, c:\My Documents\My Received Files\solar1.jpg
Gui, 10: Show, NoActivate w500 h500 |
|
|
| Back to top |
|
 |
Superfraggle
Joined: 02 Nov 2004 Posts: 970 Location: London, UK
|
Posted: Fri Oct 26, 2007 8:03 pm Post subject: |
|
|
Sorry my bad hit the comma key twice.
should be
| Code: | | SplashImage,c:\My Documents\My Received Files\solar1.jpg,H500 W500 |
i dont think its case sensitive. _________________ Steve F AKA Superfraggle
http://r.yuwie.com/superfraggle |
|
| Back to top |
|
 |
nerdyguy609
Joined: 25 Aug 2006 Posts: 31 Location: East Windsor NJ
|
Posted: Fri Oct 26, 2007 8:56 pm Post subject: |
|
|
Hi nSuperfraggle...Your suggestion created an image with height 500 and witdth 500 centered on the screen. However, the distances of 500 pixels are measured from the upper left hand corner of the image. The graph I am interested in is located at the bottom of the full image. Consequently, the graph is still truncated. Any other ideas? Thanks. nerdyguy609 _________________ May the magical powers of the universe work in your favor |
|
| Back to top |
|
 |
Superfraggle
Joined: 02 Nov 2004 Posts: 970 Location: London, UK
|
Posted: Sat Oct 27, 2007 12:48 am Post subject: |
|
|
Ok This should work
| Code: | | SplashImage,c:\My Documents\My Received Files\solar1.jpg,ZH500 ZW500 |
_________________ Steve F AKA Superfraggle
http://r.yuwie.com/superfraggle |
|
| Back to top |
|
 |
nerdyguy609
Joined: 25 Aug 2006 Posts: 31 Location: East Windsor NJ
|
Posted: Mon Oct 29, 2007 2:08 pm Post subject: |
|
|
Hi Superfraggle...Your suggestion was very good. It looks like the top of the graph stays at the stop of the screen, but I think the result is good enough. I adjusted the parameters of ZH and ZW to make the graph fill the screen. I will now work on the rest of the problem. I will attempt to get AutoHotKey to examine values along the x-axis, find the corresponding y values on the (x,y) graph and then store the results in a file. If I have any more problems, I will be back. Thanks. Nerdyguy609 _________________ May the magical powers of the universe work in your favor |
|
| Back to top |
|
 |
|