Search found 39 matches

by emmanuel d
31 Mar 2020, 14:15
Forum: Scripts and Functions
Topic: Toggle Windows 1O LightMode - DarkMode
Replies: 2
Views: 727

Re: Toggle Windows 1O LightMode - DarkMode

Updated with screenshots and download link.
by emmanuel d
30 Mar 2020, 14:54
Forum: Ask For Help
Topic: looping a folder
Replies: 2
Views: 235

Re: looping a folder

Check your file attrubutes maybe it is system or readonly
by emmanuel d
30 Mar 2020, 14:50
Forum: Ask For Help
Topic: StringReplace
Replies: 4
Views: 371

Re: StringReplace

If you dont like regex: (untested code):

Code: Select all

Loop,25
	StringReplace, stitle, stitle,% SubStr(00 A_Index,-1) A_SPACE,,All
Substring is there so we always have 2 digits
by emmanuel d
30 Mar 2020, 14:18
Forum: Ask For Help
Topic: ListView populating incorrect information
Replies: 8
Views: 566

Re: ListView populating incorrect information

;In all thes lines where you do this, like: isCell and isTelco and all others wil receive the 0 from your Log file. If InStr(SubStr(Field%A_Index%, 1, 1), 3) ;-- Cell isCell := SubStr(Field%A_Index%,3) ; Always returns 0 or something else, but never empty If InStr(SubStr(Field%A_Index%, 1, 1), 4) ;...
by emmanuel d
29 Mar 2020, 15:27
Forum: Ask For Help
Topic: From a Nested class, call a Parent Method?
Replies: 11
Views: 1821

Re: From a Nested class, call a Parent Method?

Or you can use StrSplit and This.__Class instead. Here is a example of how to get all parents or sub parents or however you want to call it oArray := new a.b.c.d ;note: this will trigger the 'hello' MsgBox return class a { class b { class c { class d { __new(){ parents := StrSplit(This.__Class,".") ...
by emmanuel d
28 Mar 2020, 16:01
Forum: Scripts and Functions
Topic: Toggle Windows 1O LightMode - DarkMode
Replies: 2
Views: 727

Toggle Windows 1O LightMode - DarkMode

This post will demonstrate how to toggle lightmode on windows 10 Normally you go to Settings to change it. The first script will do this for you. The second one shows you how to implement it in your scripts. have fun. The compiled version with icon (next to startbutton in the screenshots. #SingleIns...
by emmanuel d
13 Oct 2018, 13:39
Forum: Scripts and Functions
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 309
Views: 148806

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: 1284

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: 904

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: 904

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: 904

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: 707

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: 735

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: 1331

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: 617

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: 982

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: 309
Views: 148806

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: 309
Views: 148806

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: 309
Views: 148806

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: 19781

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...

Go to advanced search