« What's on your mind? »

Talk about anything
RijulAhuja
Posts: 44
Joined: 30 Sep 2013, 07:29

Re: « What's on your mind? »

02 Nov 2013, 07:25

tomoe_uehara wrote:Shubh Diwali @ smorgasboard, Rihul Ahuja, SKAN Image
Thanks! That was unexpected. :D
User avatar
tidbit
Posts: 1159
Joined: 29 Sep 2013, 17:15
Location: USA

Re: « What's on your mind? »

02 Nov 2013, 09:30

Seems tomoe has her emote database on dropbox now :P
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
User avatar
joedf
Posts: 7561
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: « What's on your mind? »

02 Nov 2013, 12:13

emote database???
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x8GB G.Skill RipJaws V - DDR4 3280 MHz | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
User avatar
smorgasbord
Posts: 490
Joined: 30 Sep 2013, 09:34

Re: « What's on your mind? »

02 Nov 2013, 12:15

RijulAhuja wrote:
tomoe_uehara wrote:Image
John ... you working ?
User avatar
joedf
Posts: 7561
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: « What's on your mind? »

02 Nov 2013, 12:19

oh!!! emoticons!! :D
^_^ (゜o゜) (^_^)/ (^O^)/ (^o^)/ (^^)/ (≧∇≦)/ (^o^)丿 ∩( ・ω・)∩ ( ・ω・) ^ω^

http://en.wikipedia.org/wiki/List_of_emoticons
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x8GB G.Skill RipJaws V - DDR4 3280 MHz | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
User avatar
smorgasbord
Posts: 490
Joined: 30 Sep 2013, 09:34

Re: « What's on your mind? »

02 Nov 2013, 12:25

@joedf
+1
you caught us off guard :x
foul play detected :lol:
:| :| :| :| :|
;)
John ... you working ?
User avatar
TLM
Posts: 1582
Joined: 01 Oct 2013, 07:52
GitHub: TLMcode
Contact:

Re: « What's on your mind? »

02 Nov 2013, 13:48

http://www.youtube.com/watch?v=qBXrncdEifo
crazy new crypto ransom virus
User avatar
joedf
Posts: 7561
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: « What's on your mind? »

02 Nov 2013, 14:36

woah.
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x8GB G.Skill RipJaws V - DDR4 3280 MHz | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
timeFlies
Posts: 146
Joined: 22 Oct 2013, 20:54
Location: Somewhere in the northern hemisphere.

Re: « What's on your mind? »

02 Nov 2013, 16:01

Cookies!

Via BlackBerry Q10
Attachments
IMG_00000379.png
Cookies!
Alibaba
Posts: 479
Joined: 29 Sep 2013, 16:15
Location: Germany

Re: « What's on your mind? »

02 Nov 2013, 16:14

Don't take the cookies.
They are infected with some crazy virus. ;)
"Nothing is quieter than a loaded gun." - Heinrich Heine
User avatar
joedf
Posts: 7561
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: « What's on your mind? »

02 Nov 2013, 17:17

Alibaba wrote:looks like you ate 10! put them back! :x ;)
Alibaba wrote:Don't take the cookies.
They are infected with some crazy virus. ;)
Awwww!! crap... :(
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x8GB G.Skill RipJaws V - DDR4 3280 MHz | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
Alibaba
Posts: 479
Joined: 29 Sep 2013, 16:15
Location: Germany

Re: « What's on your mind? »

03 Nov 2013, 04:18

@tomoe_uehara:

i found your snowfall script on the other forum:
http://www.autohotkey.com/board/topic/5 ... ade/page-2

I added a feature that generates a growing snow layer on the bottom of the desktop and a function to use it like a screensaver. :D
(it's compatible with rainbow mode and tidbit mode.)

Code: Select all

;You need the GDI+ Lib to run this script!
;#Include gdip.ahk

/* 
AutoHotkey Version: 1.x 
Language:   English 
Platform:   Win9x/NT 
Author:      tomoe_uehara 
Script Function: 
   Creates snowfall on your screen... 
Date of Creation: 
   18/12/2010 - 09:23:00 
Special Thanks; 
   Frankie (http://www.autohotkey.com/forum/viewtopic.php?t=66180)
History:
   Edited RainbowMode   19/12/2010 - 03:55:21
   Added tidbitMode     20/12/2010 - 17:24:50
*/ 


#NoEnv 
#SingleInstance, Force 
SendMode Input 
SetWorkingDir %A_ScriptDir% 
SetBatchLines, -1 
;-------------------[ Configurable Section ]--------------------- 
Total = 50            ; Object total (if aliMode = 1, this will also affect the growing speed of the snow layer)
XSpeedMin = -3.0 
YSpeedMin = 0.4 
XSpeedMax = 3.0
YSpeedMax = 2.0
SnowWidth = 10
SnowHeight = 10 
SnowColor = FFFFFF 
SnowOpacity = FF 
Rainbow = 0            ; Set to 0/1/2
tidbitMode = 1         ; Set to 0/1 (1=the bigger they are, the faster they fall)
tidbitMinSize = 2      ; Only works if tidbitMode = 1
tidbitMaxSize = 15     ; Only works if tidbitMode = 1
aliMode = 1            ; Set to 0/1 (1=snow flakes will create a growing snow layer on your desktops bottom)
aliLayerQuality = 100  ; Choose any integer. The higher this number, the better the layer will look.
screensaver = 0        ; Set to 0/1 (1=Program gets terminated on any user input)
;---------------------------------------------------------------- 

If !pToken := Gdip_Startup() 
{ 
   MsgBox, 48, gdiplus error!, Gdiplus failed to start. Please ensure you have gdiplus on your system 
   ExitApp 
} 
OnExit, Exit 

;aliMode variables
layercounter := 0
grow_layer := 0
growth_speed := (Total / 10000)
layer := 0
layers := Array()
layertile := (A_ScreenWidth / 25)
If tidbitMode
	layerMaxSize := (tidbitMaxSize * 1.5)
else
	layerMaxSize := (SnowHeight * 1.5)
layerheight := (layerMaxSize / -4)
moves := 0

If screensaver
{
	lastTIP := A_TimeIdlePhysical
	SetTimer, Check, 100
}

Width := A_ScreenWidth, Height := A_ScreenHeight 
Gui, 1: -Caption +E0x80000 +LastFound +OwnDialogs +Owner +AlwaysOnTop 
Gui, 1: Show, NA 
hwnd1 := WinExist() 
hbm := CreateDIBSection(Width, Height) 
hdc := CreateCompatibleDC() 
obm := SelectObject(hdc, hbm) 
G := Gdip_GraphicsFromHDC(hdc) 

Loop, %Total% 
{ 
Random, x%A_Index%, -100, %A_ScreenWidth% 
Random, y%A_Index%, % (-1 * A_ScreenHeight), -50
Gosub, SetSpeed 
} 
Gdip_SetSmoothingMode(G, 4) 
SetTimer, Move, 20

move: 
moves ++
Loop, %Total% 
{ 
if ((y%A_Index% >= A_ScreenHeight) or (aliMode and (y%A_Index% >= (A_ScreenHeight - layerheight)))) or (x%A_Index% >= A_ScreenWidth) 
{ 
if (y%A_Index% >= A_ScreenHeight)
	grow_layer := 1
Random, x%A_Index%, 1, %A_ScreenWidth% 
y%A_Index% := 1 
Gosub, SetSpeed
If Rainbow = 2
{
Gosub GetColor
Snow%A_Index% = 0x%SnowOpacity%%a1%%a2%%a3%
LayerColor%A_Index% = 0xFF%a1%%a2%%a3%
}

} 
} 
Gdip_GraphicsClear(G) 
Loop, %Total% 
{
x%A_Index% += x%A_Index%Speed 
y%A_Index% += y%A_Index%Speed 
If Rainbow = 0
{
Snow = 0x%SnowOpacity%%SnowColor% 
LayerColor = 0xFF%SnowColor% 
}
If Rainbow = 1 
{ 
Gosub GetColor
Snow = 0x%SnowOpacity%%a1%%a2%%a3%
LayerColor = 0xFF%a1%%a2%%a3%
}
If Rainbow = 2
pBrush := Gdip_BrushCreateSolid(Snow%A_Index%)   
else
pBrush := Gdip_BrushCreateSolid(Snow)
if tidbitMode = 1
SnowWidth := SnowHeight := Snow%A_Index%Size
Gdip_FillEllipse(G, pBrush, x%A_Index%, y%A_Index%, SnowWidth, SnowHeight) 
If (aliMode and grow_layer and (A_Index = Total))
{
	If Rainbow = 2
		pLayerBrush := Gdip_BrushCreateSolid(LayerColor%A_Index%)   
	else
		pLayerBrush := Gdip_BrushCreateSolid(LayerColor)
	layer := 1
	layerheight += growth_speed
	layer_y := A_ScreenHeight - layerheight
	Gdip_FillRectangle(G, pLayerBrush, 0, layer_y, A_ScreenWidth, layerheight)
	If (layercounter < aliLayerQuality)
	{
		layercounter ++
		Random, layertopsize, %tidbitMinSize%, %layerMaxSize%
		Random, rel_width, 5, 20
		Random, rel_xpos, 0, 24
		xpos := layertile * rel_xpos
		ypos := layer_y - (layertopsize / 2)
		layerwidth := layertile * (rel_width / 10)
		layers.Insert(Object("lts", layertopsize, "lw", layerwidth, "xpos", xpos, "ypos", ypos))
	}
	If layer
	{
		For index, object in layers
		{
			If (object["ypos"] < (A_ScreenHeight - layerheight))
			{
				Gdip_FillEllipse(G, pLayerBrush, object["xpos"], object["ypos"], object["lw"], object["lts"])
			}
			else
			{
				layercounter --
				layers.Remove(index)
			}
		}
	}
}
Gdip_DeleteBrush(pBrush) 
} 
UpdateLayeredWindow(hwnd1, hdc, 0, 0, Width, Height) 
return 

SetSpeed:
if tidbitMode = 0
{
Random, x%A_Index%Speed, XSpeedMin, XSpeedMax 
Random, y%A_Index%Speed, YSpeedMin, YSpeedMax 
}
if tidbitMode = 1
{
Random, Snow%A_Index%Size, %tidbitMinSize%, %tidbitMaxSize%
Random, x%A_Index%Speed, XSpeedMin, XSpeedMax
y%A_Index%Speed := Round((YSpeedMin+(Snow%A_Index%Size*((YSpeedMax-YSpeedMin)/((tidbitMaxSize-tidbitMinSize)+1))))/1.1,2)

}
return 

esc::        ; Press esc to exit 
Exit: 
SelectObject(hdc, obm) 
DeleteObject(hbm) 
DeleteDC(hdc) 
Gdip_DeleteGraphics(G) 
Gdip_Shutdown(pToken) 
ExitApp 
Return 

Color(N) {                ; Function borrowed from Wicked (http://www.autohotkey.com/forum/viewtopic.php?t=57368&postdays=0&postorder=asc&start=0) 
   SetFormat, Integer, Hex 
   N += 0 
   SetFormat, Integer, D 
   StringTrimLeft, N, N, 2 
   If(StrLen(N) < 2) 
      N = 0%N% 
   Return N 
}

GetColor:
max = 255
Random, aa, 1, 300
n := Round(255/50,0) 
if aa between 1 and 50 
{ 
a1 := Color(max) 
ab := aa*n 
a2 := Color(ab) 
a3 := Color(0) 
} 
if aa between 51 and 100 
{ 
a2 := Color(max) 
ab := (max-aa)*n 
a1 := Color(ab) 
a3 := Color(0) 
} 
if aa between 101 and 150 
{ 
a2 := Color(max) 
ab := (aa-100)*n 
a3 := Color(ab) 
a1 := Color(0) 
} 
if aa between 151 and 200 
{ 
a3 := Color(max) 
ab := (max-(aa-150))*n 
a2 := Color(ab) 
a1 := Color(0) 
} 
if aa between 201 and 250 
{ 
a3 := Color(max) 
ab := (aa-200)*n 
a1 := Color(ab) 
a2 := Color(0) 
} 
if aa between 251 and 300 
{ 
a1 := Color(max) 
ab := (max-(aa-250))*n 
a3 := Color(ab) 
a2 := Color(0) 
}
return

;screensaver function
Check:
IF (A_TimeIdlePhysical < lastTIP)
	ExitApp
lastTIP := A_TimeIdlePhysical
Return
How do you like it? :)
"Nothing is quieter than a loaded gun." - Heinrich Heine
User avatar
tomoe_uehara
Posts: 210
Joined: 05 Oct 2013, 12:37
Contact:

Re: « What's on your mind? »

03 Nov 2013, 13:01

Oh wow it's now even prettier than before, thanks Alibaba! Image
Actually I want to make the snow to grow on top of current active window and clear them when the window being dragged/inactive, but I don't know how Image
User avatar
nnnik
Posts: 4444
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: « What's on your mind? »

03 Nov 2013, 13:46

Now I want real snow :D
Recommends AHK Studio
sTrolling
Posts: 7
Joined: 30 Sep 2013, 19:24
Location: Charlestown, IN

Re: « What's on your mind? »

03 Nov 2013, 13:47

:mrgreen: Greek salad :)
User avatar
joedf
Posts: 7561
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: « What's on your mind? »

03 Nov 2013, 13:55

it doesnt work for me... ive included gdip.ahk, but nothing... no errors appear.. :(
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x8GB G.Skill RipJaws V - DDR4 3280 MHz | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]
Alibaba
Posts: 479
Joined: 29 Sep 2013, 16:15
Location: Germany

Re: « What's on your mind? »

03 Nov 2013, 14:06

joedf wrote:it doesnt work for me... ive included gdip.ahk, but nothing... no errors appear.. :(
:o :shock:
"Nothing is quieter than a loaded gun." - Heinrich Heine
Alibaba
Posts: 479
Joined: 29 Sep 2013, 16:15
Location: Germany

Re: « What's on your mind? »

03 Nov 2013, 14:09

tomoe_uehara wrote:Actually I want to make the snow to grow on top of current active window and clear them when the window being dragged/inactive, but I don't know how Image
It hink that's not impossible.
But what should happen, if you move a window with snow on its top?
"Nothing is quieter than a loaded gun." - Heinrich Heine
User avatar
tomoe_uehara
Posts: 210
Joined: 05 Oct 2013, 12:37
Contact:

Re: « What's on your mind? »

03 Nov 2013, 14:37

joedf wrote:it doesnt work for me... ive included gdip.ahk, but nothing... no errors appear.. :(
Have you put the gdip.ahk on your lib folder?
Alibaba wrote:But what should happen, if you move a window with snow on its top?
The snow should be cleared or fall on the bottom
User avatar
joedf
Posts: 7561
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: « What's on your mind? »

03 Nov 2013, 15:03

i copied gdip.ahk and pasted it directly into the script..
-------------------------------------------------------------------------------------------------------------------
EDIT: Whoops! i didnt realize! post #400!! :D yay!
Image
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x8GB G.Skill RipJaws V - DDR4 3280 MHz | [About Me] | [ASPDM - StdLib Distribution]
[Populate the AHK MiniCity!] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library] | [About the AHK Foundation]

Return to “Offtopic”

Who is online

Users browsing this forum: greg_test and 25 guests