Search found 39 matches

by Sjc1000
05 Feb 2014, 04:59
Forum: Ask For Help
Topic: Adobe flash fullscreen with ctrl+f Topic is solved
Replies: 6
Views: 2918

Re: Adobe flash fullscreen with ctrl+f Topic is solved

Hi atotmtm,

This should work.

Code: Select all

WinGetPos, winX, winY, winWidth, winHeight, ahk_class ShockwaveFlash

if ( winX = 0 && winY = 0 && winWidth = A_ScreenWidth && winHeight = A_ScreenHeight )
{	MsgBox, The window is full screen
	WinActivate, ahk_class ShockwaveFlash
}
by Sjc1000
22 Jan 2014, 04:59
Forum: Ask For Help
Topic: Swap/move lines in text file
Replies: 31
Views: 6737

Re: Swap/move lines in text file

Hi kiwichick, Welcome to the Ahkscript forum. fileSwapLines( fileDirectory, line1, line2 ) This function will swap line 1 with line 2 of the file at fileDirectory. fileSwapLines("D:\HTML\css test\style.css", 1, 2 ) fileSwapLines( fileDir, line1, line2 ) { fileRead, data, % fileDir FileDelete, % file...
by Sjc1000
18 Jan 2014, 03:56
Forum: Scripts and Functions
Topic: Directory Tree Class [AHK_1.1]
Replies: 14
Views: 4729

Re: Directory Tree Class [AHK_1.1]

Very nice... Really fast ( for me anyway ).
I always feel compelled to run your neat as classes, they're always good. :D
by Sjc1000
06 Jan 2014, 20:54
Forum: Scripts and Functions
Topic: [ Proof Of Concept ] Scrollable image list ( supports .gifs)
Replies: 11
Views: 4020

Re: [ Proof Of Concept ] Scrollable image list ( supports .g

Thanks for all the positive feedback.. Feel free to ab[use] the code!

I also changed it around a bit. You can click to select one ( highlight ) and now double click to activate.
by Sjc1000
05 Jan 2014, 00:16
Forum: Scripts and Functions
Topic: [ Proof Of Concept ] Scrollable image list ( supports .gifs)
Replies: 11
Views: 4020

[ Proof Of Concept ] Scrollable image list ( supports .gifs)

This is just a small proof of concept. Fully working code that puts an image list control in your GUI ( can be any GUI and size etc. ). It uses MSHTML and embeds a website into the GUI with images. It supports .gifs and alpha channel. Here is everything you need. Enjoy. Select a folder with image in...
by Sjc1000
30 Dec 2013, 16:33
Forum: Offtopic
Topic: Potential CSS for the forum
Replies: 4
Views: 1783

Re: Potential CSS for the forum

Ahh, i fully understand. I guess ill hold onto this CSS until the time is right. Thanks for the clarification tank :)
by Sjc1000
30 Dec 2013, 03:59
Forum: Offtopic
Topic: Potential CSS for the forum
Replies: 4
Views: 1783

Re: Potential CSS for the forum

Don't get me wrong, i liked the nostalgia of the old forum feel.. I just thought this forum should have a little more 'bells and whistles'.
by Sjc1000
29 Dec 2013, 17:56
Forum: Offtopic
Topic: Potential CSS for the forum
Replies: 4
Views: 1783

Potential CSS for the forum

I've noticed that compared to the 'other forum' this one doesn't have quite the same updated look to it. So ill be posting potential CSS for the forum. Even if it doesn't get approved it is still good to learn some CSS tricks. Also, if anyone else has some ideas / CSS they are also welcome here. Cau...
by Sjc1000
25 Dec 2013, 04:23
Forum: Tips and Tricks
Topic: [ ComObj IE ] Get an element from it's displayed text.
Replies: 16
Views: 46332

Re: [ ComObj IE ] Get an element from it's displayed text.

Sorry n00b13, i didn't even notice someone had posted on this. I need to check my own things more often :| Ill have to thank tank who cleared things up with the innertext / value thing. My script goes off innerHTML, but with a small change it should use the value. While ( value <> "COMPOSE" ) value ...
by Sjc1000
21 Dec 2013, 03:01
Forum: Scripts and Functions
Topic: Simple Color Dialog
Replies: 18
Views: 8066

Re: Simple Color Dialog

@Guest10
Nice script. I like the opposite of what color you're hovering over. Very nice.
by Sjc1000
10 Dec 2013, 19:24
Forum: General Discussion
Topic: A Github organisation for ahkscript
Replies: 211
Views: 114118

Re: A Github organisation for ahkscript

Seems like a good idea to me. And my github name is the same as my forum one ;)
by Sjc1000
17 Nov 2013, 02:38
Forum: Tutorials
Topic: [How To] Scroll listbox, listview and edit controls
Replies: 4
Views: 6356

Re: [How To] Scroll listbox, listview and edit controls

Nice trick. I also saw this from you on IRC, though i did not fully try it out. Good job. Totally bookmarked this page. :D
by Sjc1000
17 Nov 2013, 02:01
Forum: About This Community
Topic: Shall we have an official AHK channel without Ops and rules?
Replies: 21
Views: 9583

Re: Shall we have an official AHK channel without Ops and ru

Im in favor of having rules and ops. Considering AHK is for all ages, we need to make it clean for anyone who may be too young to see any kind of offensive or 18+ material. The idea of having another channel where anything is permitted is a good idea though, just as a general chat, since #ahk and or...
by Sjc1000
04 Nov 2013, 20:48
Forum: Ask For Help
Topic: GUI Picture Positioning
Replies: 11
Views: 3860

Re: GUI Picture Positioning

Try this out.. I just used the same math for the y. Very simple formula. http://www.autohotkey.com/board/topic/98686-how-to-center-something-with-no-center-option/ guiW := A_ScreenWidth / 4.5 guiH := A_ScreenHeight / 8 guiPadding := 10 numberOfGUIs := floor( A_ScreenWidth / guiW ) myX := A_ScreenWid...
by Sjc1000
04 Nov 2013, 19:13
Forum: Ask For Help
Topic: GUI Picture Positioning
Replies: 11
Views: 3860

Re: GUI Picture Positioning

Hi PuzzledGreatly, Try this out. The GUI's are always an 8th of the screen height. And they're always a quarter ( roughly ) of the screen width. And they're positioned in the center. guiW := A_ScreenWidth / 4.5 guiH := A_ScreenHeight / 8 guiPadding := 10 numberOfGUIs := floor( A_ScreenWidth / guiW )...
by Sjc1000
25 Oct 2013, 23:55
Forum: Tips and Tricks
Topic: [ ComObj IE ] Get an element from it's displayed text.
Replies: 16
Views: 46332

[ ComObj IE ] Get an element from it's displayed text.

This is a simple trick that will let you get an element in ComObj from its displayed text or innerText . It is useful for when the element has no ID or anything of the like. Example that clicks the "COMPOSE" button in Gmail. While ( value <> "COMPOSE" ) value := Pwb.document.getElementsByTagName( "d...
by Sjc1000
21 Oct 2013, 19:03
Forum: Scripts and Functions
Topic: Simple Color Dialog
Replies: 18
Views: 8066

Re: Simple Color Dialog

Whoops, one thing lead to another, i ended up making a whole colour picker :P guiColor := 0x333333 fontColor := 0xFFFFFF guiWidth := A_ScreenWidth / 4 controlW := guiWidth - 130 guiX := 10 guiY := 10 timeout := 6000 Random, red, 0, 255 Random, green, 0, 255 Random, blue, 0, 255 Gui, Color, % guiColo...
by Sjc1000
19 Oct 2013, 23:57
Forum: Scripts and Functions
Topic: Simple Color Dialog
Replies: 18
Views: 8066

Re: Simple Color Dialog

Nice RGB function. I've been looking for one of these for a while.. Mind if i re-make this function?
by Sjc1000
02 Oct 2013, 03:32
Forum: Forum Issues
Topic: Thanks tank!
Replies: 30
Views: 11959

Re: Thanks tank!

Glad to see that the community now has a place to be where they actually matter, and their voice will be heard. :D
Thanks tank. ;)

Go to advanced search