Search found 33 matches

by emmanuel d
13 Oct 2018, 13:39
Forum: Scripts and Functions
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 299
Views: 111335

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

after reading this toppic, i made a media player. No icons where used yet, just some fancy fonts. with a fake progress on the top(blue) 2 channel volume progress(red) fully clickable titlebar to seek, drag to move window and double-click to maximize. minimal player shows by accident on the bottom ri...
by emmanuel d
13 Oct 2018, 13:11
Forum: Ask For Help
Topic: Move a window with no title bar
Replies: 5
Views: 683

Re: Move a window with no title bar

automaticaly? Not that i know of

you know this:
Gui, Show, x0 y400 w300 h400 NoActivate ; put new sizes and positions whenever you want
by emmanuel d
28 Sep 2018, 05:09
Forum: Ask For Help
Topic: Object.MyVar syntax ?
Replies: 5
Views: 561

Re: Object.MyVar syntax ?

Maybe use the := operator
MySortVariable := Coordinate(1)
by emmanuel d
28 Sep 2018, 05:07
Forum: Ask For Help
Topic: Object.MyVar syntax ?
Replies: 5
Views: 561

Re: Object.MyVar syntax ?

Pretty sure if i do
MsgBox % Object.Coordinate(1) 
It wil give error or nothing. There is nothing in it.
by emmanuel d
27 Sep 2018, 11:23
Forum: Ask For Help
Topic: Object.MyVar syntax ?
Replies: 5
Views: 561

Re: Object.MyVar syntax ?

Verry unclear.
by emmanuel d
27 Sep 2018, 10:57
Forum: Ask For Help
Topic: Force a dynamic var inside a function to local scope
Replies: 4
Views: 446

Re: Force a dynamic var inside a function to local scope

It is very unclear what you want.
Did you read just me his post?
Put local as the first line in your function, thats it.
Function(){
Local
Global totifruti
Msgbox,all vars are local exept totifruti
}
by emmanuel d
27 Sep 2018, 10:47
Forum: Ask For Help
Topic: ComboBox: +Sort Visually / but most recent choice on AutoComplete Topic is solved
Replies: 3
Views: 451

Re: ComboBox: +Sort Visually / but most recent choice on AutoComplete Topic is solved

It would be nice if you would post the code for the solution, so others could benefit from your hard work ;)
by emmanuel d
25 Sep 2018, 14:58
Forum: Ask For Help
Topic: %USERPROFILE% variable Topic is solved
Replies: 3
Views: 521

Re: %USERPROFILE% variable Topic is solved

if it's the desktop you want, use a CLSID

Code: Select all

run shell:::{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}
by emmanuel d
25 Sep 2018, 14:23
Forum: Ask For Help
Topic: Probably somthing simple
Replies: 3
Views: 390

Re: Probably somthing simple

#SingleInstance force ;|ignore|off] ListOfHostrings: Gui, 30: Destroy FileRead, HotstringList, %A_Desktop%\Hotstring List.txt Gui, 30:Add, Edit, w550 h500 ReadOnly hwndhMyEdit, %HotstringList% ; EM_SETSEL := 0x0B1 ; wParam = (WPARAM)(INT) nStart; ; lParam = (LPARAM)(INT) nEnd; ; Parameters ; nStart...
by emmanuel d
25 Sep 2018, 13:55
Forum: Ask For Help
Topic: Need help with sequence =)
Replies: 6
Views: 617

Re: Need help with sequence =)

affebroman wrote:klick [X]
Do you want to close a window ore something?? :clap:
affebroman wrote:[MOUSE1]
Never seen Mouse1 before :geek:

Something like:

Code: Select all

Space Down::
	Send X
	Send {LButton down}
	Return
Space Up::
	Send {LButton up}
	Send X
	Return
by emmanuel d
25 Sep 2018, 11:48
Forum: Scripts and Functions
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 299
Views: 111335

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

i forgot to mention that the breadcrumb bar in that file explorer is made of a bunch of text controls put next to each other and hidden and shown when needed. when clicked in the background, you click on a editbox, and all the text controls hide. its an ugly solution but it does the job. #SingleInst...
by emmanuel d
24 Sep 2018, 13:52
Forum: Scripts and Functions
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 299
Views: 111335

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

Same Style of Gui for my ahk texteditor
The app icons opens the menu

one listview one treeview and a scintella textcontrol

Image
by emmanuel d
24 Sep 2018, 13:44
Forum: Scripts and Functions
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 299
Views: 111335

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

FileExplorer with BroadcrumbBar and 3 Listviews
simple but it does the job.

the listviews are on 2 or 3 child Gui's so the scrollbar can be hidden :D

Image
20180924202501_screenshot.jpg
(394.21 KiB) Not downloaded yet
by emmanuel d
26 Feb 2015, 08:26
Forum: AutoHotkey v2 Development
Topic: [Wish] One line while loop (similar to if)
Replies: 45
Views: 16008

Re: [Wish] One line while loop (similar to if)

; Ahk v2 if (ErrorLevel="Timeout") , b:=var1, TurnOn(a) ,... , ..., ... else if (ErrorLevel="NewInput") , b:=var2, TurnOff(a) ,... , ..., ... else if (Errorlevel="Max") , b:=var3, Toggle(a) ,... , ..., ... else , b:=var4, Switch(a) ,... , ..., ... ; Ahk v1 if (ErrorLevel="Timeout"){ b:=var1 , TurnO...
by emmanuel d
21 Jan 2015, 12:09
Forum: AutoHotkey v2 Development
Topic: [Wish] One line while loop (similar to if)
Replies: 45
Views: 16008

Re: [Wish] One line while loop (similar to if)

; Ahk v2 if (ErrorLevel="Timeout") , b:=var1, TurnOn(a) ,... , ..., ... else if (ErrorLevel="NewInput") , b:=var2, TurnOff(a) ,... , ..., ... else if (Errorlevel="Max") , b:=var3, Toggle(a) ,... , ..., ... else , b:=var4, Switch(a) ,... , ..., ... This comparison is not fair. If each coder would la...
by emmanuel d
27 Apr 2014, 07:03
Forum: Scripts and Functions
Topic: [LIB] TC_EX - Some functions for AHK GUI Tab2 controls
Replies: 9
Views: 3143

Re: [LIB] TC_EX - Some functions for AHK GUI Tab2 controls

Changed TC_EX_Delete() to TC_EX_RemoveLast() because of: Why to use delete instead of removelast when do you use it? if your gui has 20 tabs and one listview(not owned by any tab control). if you swich tabs you change the listview contents. So deleting any tabs makes perfect sence. sure lots of peo...
by emmanuel d
17 Dec 2013, 12:40
Forum: Ask For Help
Topic: Limiting WheelUp [Problems Resolved]
Replies: 6
Views: 1911

Re: Limiting WheelUp [Problems Resolved]

1 return for each hotkey will suffice: #IfWinActive, ahk_class Photoshop ^WheelUp:: if (A_PriorHotkey = A_ThisHotKey and A_TimeSincePriorHotkey > 200) Send ^!{Up} return ^WheelDown:: if (A_PriorHotkey = A_ThisHotKey and A_TimeSincePriorHotkey > 200) Send ^!{Down} return or onliners, untested: #IfWin...
by emmanuel d
16 Dec 2013, 14:30
Forum: Ask For Help
Topic: Limiting WheelUp [Problems Resolved]
Replies: 6
Views: 1911

Re: Limiting WheelUp [Problems Resolved]

What do you meen perfect? And whats whit the "A_TimeSincePriorHotkey > 0"? thats always true so if this is what you want, just remove it #IfWinActive, ahk_class Photoshop WheelUp:: if (A_PriorHotkey = A_ThisHotkey and A_TimeSincePriorHotkey > 200) Send !{Up} return WheelDown:: if (A_PriorHotkey = A_...
by emmanuel d
15 Dec 2013, 08:21
Forum: Ask For Help
Topic: How to make Middle Click Continuous Scroll for Notepad++
Replies: 7
Views: 3845

Re: How to make Middle Click Continuous Scroll for Notepad++

Untested, i have no midlebutton :lol: #IfWinActive,ahk_exe Notepad++.exe ~mbutton:: if (A_ThisHotkey = A_PriorHotkey and A_TimeSincePriorHotkey < 200) { ; if doubleclick SendInput,^v ; paste Return ; exit the sub } MouseGetPos, orginalX, originalY while GetKeyState("MButton","P") { MouseGetPos, curX...
by emmanuel d
15 Dec 2013, 08:11
Forum: Ask For Help
Topic: How to make Middle Click Continuous Scroll for Notepad++
Replies: 7
Views: 3845

Re: How to make Middle Click Continuous Scroll for Notepad++

Something in the way of:

Code: Select all

if (A_ThisHotkey=A_PriorHotkey and A_TimeSincePriorHotkey>200)
    msgbox,doubleclicked
Ps it schould be

Code: Select all

while GetKeyState("MButton", "P")

Go to advanced search