AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SplashImage

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
nerdyguy609



Joined: 25 Aug 2006
Posts: 31
Location: East Windsor NJ

PostPosted: Fri Oct 26, 2007 7:40 pm    Post subject: SplashImage Reply with quote

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
View user's profile Send private message Send e-mail
Superfraggle



Joined: 02 Nov 2004
Posts: 970
Location: London, UK

PostPosted: Fri Oct 26, 2007 7:43 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
nerdyguy609



Joined: 25 Aug 2006
Posts: 31
Location: East Windsor NJ

PostPosted: Fri Oct 26, 2007 7:51 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
maximina



Joined: 17 Oct 2007
Posts: 16

PostPosted: Fri Oct 26, 2007 8:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Superfraggle



Joined: 02 Nov 2004
Posts: 970
Location: London, UK

PostPosted: Fri Oct 26, 2007 8:03 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
nerdyguy609



Joined: 25 Aug 2006
Posts: 31
Location: East Windsor NJ

PostPosted: Fri Oct 26, 2007 8:56 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Superfraggle



Joined: 02 Nov 2004
Posts: 970
Location: London, UK

PostPosted: Sat Oct 27, 2007 12:48 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
nerdyguy609



Joined: 25 Aug 2006
Posts: 31
Location: East Windsor NJ

PostPosted: Mon Oct 29, 2007 2:08 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group