Search found 344 matches

by YoucefHam
12 Jun 2019, 16:18
Forum: Ask For Help
Topic: Help to understand Hotkey Script Topic is solved
Replies: 6
Views: 733

Re: Help to understand Hotkey Script Topic is solved

Hotkey, IfWinActive, WindowTitle HotKey work only in this window called "WindowTitle" Hotkey, IfWinActive, ahk_exe notepad.exe work in all windows running from "notepad.exe" process in your case Hotkey, IfWinActive, Calculadora Gui, Font, s12 Gui, Add, Text, x20, Press your Hotkey below: Gui, Add, ...
by YoucefHam
12 Jun 2019, 15:02
Forum: Ask For Help
Topic: How to disable changes made with AutoHotKey? Accidentally disabled windows and alt key?
Replies: 5
Views: 1050

Re: How to disable changes made with AutoHotKey? Accidentally disabled windows and alt key?

try this

Code: Select all

F4::
Active := !Active
return


#if Active

; Disable Alt+Tab
!Tab::Return
; Disable Windows Key + Tab
#Tab::Return
; Disable Left Windows Key
LWin::Return
; Disable Right Windows Key
RWin::Return

#if
by YoucefHam
12 Jun 2019, 14:59
Forum: Ask For Help
Topic: Help to understand Hotkey Script Topic is solved
Replies: 6
Views: 733

Re: Help to understand Hotkey Script Topic is solved

try this Gui, Font, s12 Gui, Add, Text, x20, Press your Hotkey below: Gui, Add, Hotkey, w200 vHKV Gui, Add, Checkbox, x20 vActive gActiveHotkeyG, Active Hotkey Gui, Show, w240 h120, `t return ActiveHotkeyG: Gui, Submit, NoHide if (Active) { GuiControl, disable, HKV Hotkey, IfWinActive, ahk_exe notep...
by YoucefHam
12 Jun 2019, 12:57
Forum: Ask For Help
Topic: AHK won't detect "Confirm Save As" button Topic is solved
Replies: 4
Views: 811

Re: AHK won't detect "Confirm Save As" button Topic is solved

ErrorLevel mean done waiting for the window

Code: Select all

	WinWaitActive, Confirm Save As, , 20
	if ErrorLevel
	{
		msgbox, I waited 20 second and the window didn't Activated
	}
	else
	{
		msgbox, I found the window send your keys now
	}
by YoucefHam
12 Jun 2019, 12:54
Forum: Gaming
Topic: Problems with diablo 3 script
Replies: 8
Views: 1756

Re: Problems with diablo 3 script

try this if Not A_IsAdmin AND A_OSVersion <> WIN_XP { Run *RunAs "%A_ScriptFullPath%" ExitApp } #NoEnv #MaxHotkeysPerInterval 99000000 #HotkeyInterval 99000000 #KeyHistory 0 SetWorkingDir %A_ScriptDir% ListLines Off Process, Priority, , A SetBatchLines, -1 SetKeyDelay, -1, -1 SetMouseDelay, -1 SetDe...
by YoucefHam
12 Jun 2019, 12:26
Forum: Ask For Help
Topic: AHK won't detect "Confirm Save As" button Topic is solved
Replies: 4
Views: 811

Re: AHK won't detect "Confirm Save As" button Topic is solved

try putting some sleep after win Activate and I swap Confirm Save As Activatation WinWaitActive, Save As,, 20 if ErrorLevel { MsgBox, Try saving manually please. } else { Sleep, 250 ;added Sleep Send {Home} Send CNM Send {Space}{Enter} WinWaitActive, Confirm Save As, , 20 if ErrorLevel { Sleep 300 }...
by YoucefHam
12 Jun 2019, 12:10
Forum: Ask For Help
Topic: pass object key ByRef?
Replies: 7
Views: 1229

Re: pass object key ByRef?

One potential solution, would be functions that accept a string like "obj.key" and could dereference it. hi jeeswg, I am learning from you post about RegEx So when I see RegEx challenge I go for it, I tried this, and I am not expert in objects stuff obj := {} obj.key1 := "1" obj.key2 := "2" Swap("o...
by YoucefHam
12 Jun 2019, 11:26
Forum: Ask For Help
Topic: How to copy text from a cell in a excel spreadsheet and paste into a different window and search the page?
Replies: 1
Views: 482

Re: How to copy text from a cell in a excel spreadsheet and paste into a different window and search the page?

this is how to get text from Excel IfWinNotExist, ahk_exe Excel.exe ;Check if there is and existing Excel application { MsgBox, There is no Excel Application Opened. ExitApp } msExcel := ComObjActive("Excel.Application") ;Attatch to Active Excel Application msExcel.ActiveSheet.Range("A1").Value := "...
by YoucefHam
12 Jun 2019, 11:13
Forum: Ask For Help
Topic: Problem Clearing Hotkeys with GUI Topic is solved
Replies: 10
Views: 1160

Re: Problem Clearing Hotkeys with GUI Topic is solved

try this TemplatePreset1=^1 TemplatePreset2=^2 TemplatePreset3=^3 gui, add, Hotkey, x25 y25 w350 vTemplatePreset1, ^1 gui, add, Hotkey, y+10 w350 vTemplatePreset2, ^2 gui, add, Hotkey, y+10 w350 vTemplatePreset3, ^3 gui,add, button, ,hello Gui, Show, w500 h500 gosub, refreshhotkeys return GuiClose: ...
by YoucefHam
12 Jun 2019, 11:08
Forum: Scripts and Functions
Topic: HotKey Launcher - By YoucefHam
Replies: 6
Views: 1723

Re: HotKey Launcher - By YoucefHam

Ridwan wrote:
12 Jun 2019, 09:34
Ctrl + Backspace isn't supported?
And it always say "Hotkey Exist".
Thank you
Code Updated [12/06/2019 17:08:15]
by YoucefHam
12 Jun 2019, 09:53
Forum: Ask For Help
Topic: Problem Clearing Hotkeys with GUI Topic is solved
Replies: 10
Views: 1160

Re: Problem Clearing Hotkeys with GUI Topic is solved

use this

Code: Select all

refreshhotkeys:
gui, submit, nohide
if (TemplatePreset1 <> "")
	Hotkey,%TemplatePreset1%,ChooseTemplate1
if (TemplatePreset2 <> "")
	Hotkey,%TemplatePreset2%,ChooseTemplate2
if (TemplatePreset3 <> "")
	Hotkey,%TemplatePreset3%,ChooseTemplate3
return
by YoucefHam
12 Jun 2019, 02:09
Forum: Ask For Help
Topic: Solved:Need simple example,real time calculating and output the result
Replies: 40
Views: 5540

Re: Solved:Need simple example,real time calculating and output the result

xd sorry my bad, I focused on the other and removed the first one. here You good Now. MsgBox, % calc_Percent( "125.2%" ) MsgBox, % calc_Percent( "((5+15)*4)/20%+20+3%" ) MsgBox, % (calc_Percent( "150+50%" )) MsgBox, % (calc_Percent( "150-50%" )) MsgBox, % (calc_Percent( "150-50%+2%" )) ;cal 2% of 50...
by YoucefHam
12 Jun 2019, 01:20
Forum: Ask For Help
Topic: Matching stuff in .Ini Topic is solved
Replies: 24
Views: 2555

Re: Matching stuff in .Ini Topic is solved

I am done with RegEX, if this doesn't work wait for someone can use RegEX beter. #SingleInstance,Force File:="C:\Users\Hellbent\Desktop\AHK Tools\BitMap Maker\HB Bitmap Maker Folder\Saved Bitmaps Data\abbcc 1.ini" KeyList:=INI_Keys_From_Section(File,"Bitmap Element 1") Gui,1:+AlwaysOnTop Gui,1:Add, ...
by YoucefHam
12 Jun 2019, 00:25
Forum: Ask For Help
Topic: Help to understand Hotkey Script Topic is solved
Replies: 6
Views: 733

Re: Help to understand Hotkey Script Topic is solved

try this Gui, Font, s12 Gui, Add, Text, x20, Press your Hotkey below: Gui, Add, Hotkey, w200 vHKV Gui, Add, Checkbox, x20 vActive gActiveHotkeyG, Active Hotkey Gui, Show, w240 h120, `t return ActiveHotkeyG: Gui, Submit, NoHide if (Active) { GuiControl, disable, HKV Hotkey, % HKV, On, UseErrorLevel H...
by YoucefHam
12 Jun 2019, 00:04
Forum: Ask For Help
Topic: Matching stuff in .Ini Topic is solved
Replies: 24
Views: 2555

Re: Matching stuff in .Ini Topic is solved

Now it's working You make me go fast learn RegEX, Thank you. :D #SingleInstance,Force File:="C:\Users\Hellbent\Desktop\AHK Tools\BitMap Maker\HB Bitmap Maker Folder\Saved Bitmaps Data\abbcc 1.ini" KeyList:=INI_Keys_From_Section(File,"Bitmap Element 1") Gui,1:+AlwaysOnTop Gui,1:Add, DDL, xm w250 r10 ...
by YoucefHam
11 Jun 2019, 23:57
Forum: Ask For Help
Topic: Matching stuff in .Ini Topic is solved
Replies: 24
Views: 2555

Re: Matching stuff in .Ini Topic is solved

Can you post your ini file so i can test it
by YoucefHam
11 Jun 2019, 23:17
Forum: Ask For Help
Topic: Matching stuff in .Ini Topic is solved
Replies: 24
Views: 2555

Re: Matching stuff in .Ini Topic is solved

After Reading more tutorials I got it lol #SingleInstance,Force File:="C:\Users\Hellbent\Desktop\AHK Tools\BitMap Maker\HB Bitmap Maker Folder\Saved Bitmaps Data\abbcc 1.ini" KeyList:=INI_Keys_From_Section(File,"Bitmap Element 1") Gui,1:+AlwaysOnTop Gui,1:Add, DDL, xm w250 r10 vMyList,% KeyList Gui,...
by YoucefHam
11 Jun 2019, 22:17
Forum: Ask For Help
Topic: Matching stuff in .Ini Topic is solved
Replies: 24
Views: 2555

Re: Matching stuff in .Ini Topic is solved

Simple, just add Choose1, xd RegEX it's not that hard, https://www.autohotkey.com/boards/viewtopic.php?f=7&t=28031 #SingleInstance,Force File:="C:\Users\Hellbent\Desktop\AHK Tools\BitMap Maker\HB Bitmap Maker Folder\Saved Bitmaps Data\abbcc 1.ini" KeyList:=INI_Keys_From_Section(File,"Bitmap Element ...

Go to advanced search