Search found 211 matches

by CyL0N
01 Dec 2018, 12:12
Forum: Bug Reports
Topic: Hotstring Bug? Topic is solved
Replies: 20
Views: 8028

Re: What am I doing wrong? Topic is solved

Works fine on my v1.1.30.01 64-bit/Unicode, Win7Ultimate X64.
by CyL0N
01 Dec 2018, 12:00
Forum: Ask for Help (v1)
Topic: When open multiple folders, ask user to enter password
Replies: 4
Views: 954

Re: When open multiple folders, ask user to enter password

Kay,this is by nooooo means foolproof,but it should deter & protect against the average snooper, like your little sister,mom,or average roommate. Active Directory Protection.ahk #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assis...
by CyL0N
01 Dec 2018, 11:13
Forum: Ask for Help (v1)
Topic: need help on this script
Replies: 3
Views: 829

Re: need help on this script

Ehmmm... that's 200 tabs,somethin's gonna crashhhh,if your' trying to test server load i suggest LOIC(low orbit ion cannon),i don't think i' can to link it though.
But...

Code: Select all

Shift::
SetBatchLines -1
Loop 200
	Click Middle
Return
by CyL0N
01 Dec 2018, 10:52
Forum: Ask for Help (v1)
Topic: extract and save single words from txt files Topic is solved
Replies: 8
Views: 2052

Re: extract and save single words from txt files Topic is solved

Loop, Files, C:\*.txt { If IsAlpha(StrReplace(StrSplit(A_LoopFileName,".")[1],A_Space)){ ;if file name has no numbers or symbols... FileRead, thisFile, % A_LoopFileFullPath wordlist .= wordlist ? "`n" GetStringWordList(thisFile) : GetStringWordList(thisFile) } } ;MsgBox % finalWordList := GetString...
by CyL0N
30 Nov 2018, 18:38
Forum: Ask for Help (v1)
Topic: Screen margin (with scale change) Topic is solved
Replies: 6
Views: 2362

Re: Screen margin (with scale change) Topic is solved

Oops, Fixed. I used NumLock instead of ScrollLock :facepalm:
by CyL0N
29 Nov 2018, 23:14
Forum: Ask for Help (v1)
Topic: Screen margin (with scale change) Topic is solved
Replies: 6
Views: 2362

Re: Screen margin (with scale change) Topic is solved

Alt+F toggles overlay ScrollLock on - color is pink ScrollLock off - color is greenish ScrollLock either changes color or specifies what color is going to be when overlay is toggled. EDIT: I used NumLock instead of ScrollLock ,Fixed! I assumed you don't have gdip,so it's included... #SingleInstance...
by CyL0N
29 Nov 2018, 21:15
Forum: Scripts and Functions (v1)
Topic: [Function] - RegExEsc() - Escape RegEx Special Characters Automatically!
Replies: 5
Views: 2249

Re: [Function] - RegExEsc() - Escape RegEx Special Characters Automatically!

It looks like something i could really use, but better examples could really be handy to showcase use-cases. And by better i mean like a sentence with punctuation... Yea,i'm not really handy with regex,i always use a regex generator...
by CyL0N
29 Nov 2018, 00:15
Forum: Ask for Help (v1)
Topic: Screen margin (with scale change) Topic is solved
Replies: 6
Views: 2362

Re: Screen margin (with scale change) Topic is solved

Hi there,me again, the Icon should now rescale to display size,but as an alternative i've also included a easy to use DrawLine function that will draw a very thin line on the right edge of the screen(easily tweakable),play around with the lines' color,trasparency & thickness to find one least obtrus...
by CyL0N
28 Nov 2018, 22:18
Forum: Scripts and Functions (v1)
Topic: [Editor] Browser Automation Macro Editor (TagIE)
Replies: 80
Views: 24826

Re: [Editor] Browser Automation Macro Editor (TagIE)

adegard wrote:
28 Nov 2018, 14:42
@CylON: do you speak about examples of Gist.
Thanks, have a good night (sorry afternoon)
Yes,i tend to clone repos's that i find useful so it's more intuitive that way,and others can even contribute examples to your repo where as only you can post to your gist... & good morning to you...
by CyL0N
28 Nov 2018, 08:09
Forum: Scripts and Functions (v1)
Topic: [Editor] Browser Automation Macro Editor (TagIE)
Replies: 80
Views: 24826

Re: [Editor] Browser Automation Macro Editor (TagIE)

Neat,it's more convenient if you pack the examples within the github repo though.
by CyL0N
28 Nov 2018, 07:50
Forum: Ask for Help (v1)
Topic: Indicate on the screen Topic is solved
Replies: 13
Views: 2994

Re: Indicate on the screen Topic is solved

Yeah, CyL0N . It worked on Windows 7 Ultimate 64 bits. But... In Windows 10 64 bits it is not working. :( I am using the latest version 1809 of Windows 10. Fixed. ~F2:: ~NumLock:: if GetKeyState(LTrim(A_ThisHotkey,"~"),"T"){ Menu, Tray, Icon, C:\Windows\System32\shell32.dll, 100 ShowShell32Icon(100...
by CyL0N
27 Nov 2018, 00:49
Forum: Ask for Help (v1)
Topic: Indicate on the screen Topic is solved
Replies: 13
Views: 2994

Re: Indicate on the screen Topic is solved

Rather basic, but You can move the icons anywhere,it should remember where the icons were last moved...just drag & drop... EDIT: fixed win10 issue. ~F2:: ~NumLock:: if GetKeyState(LTrim(A_ThisHotkey,"~"),"T"){ Menu, Tray, Icon, C:\Windows\System32\shell32.dll, 100 ShowShell32Icon(100) }else{ Menu, T...
by CyL0N
26 Nov 2018, 22:19
Forum: Ask for Help (v1)
Topic: Executes the given code as a new AutoHotkey process (As Administrator)
Replies: 3
Views: 1389

Re: Executes the given code as a new AutoHotkey process (As Administrator)

TBH I don't really think that's possible, because if it were it would be a huge security hole,because it would allow user mode applications to interact with COM.Objects of privileged processes. https://docs.microsoft.com/en-us/windows/desktop/shell/shell-shellexecute https://ss64.com/vb/exec.html VB...
by CyL0N
26 Nov 2018, 21:55
Forum: Ask for Help (v1)
Topic: Stuck with simple problem Topic is solved
Replies: 8
Views: 2086

Re: Stuck with simple problem Topic is solved

Ahh, that's easy enough... [general] var1 = some text scheme = var1 {Tab} var2 var3 var2 = some more text var3 = . MsgBox % scheme := rINI("general","scheme") F2::SendInput, %scheme% ;for var's referenced in key's to autoexpand, they must be space delimited... rINI(ini_section, ini_key, ini_file:="s...
by CyL0N
26 Nov 2018, 20:50
Forum: Scripts and Functions (v1)
Topic: [Editor] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 204
Views: 117237

Re: [Editor] CodeQuickTester - Write and run code without saving to a temporary file

kczx3 wrote:
26 Nov 2018, 20:36
https://docs.microsoft.com/en-us/window ... tlinecount

Though maybe word wrap messes it up for this tool?
Works well,updated my post accordingly.

Cheers.
by CyL0N
26 Nov 2018, 20:37
Forum: Ask for Help (v1)
Topic: script "dies" after several hours runing
Replies: 7
Views: 1056

Re: script "dies" after several hours runing

theres nothing wrong with static init := MyFunc() . it calls itself once at script startup, avoiding the need to call it explicitly. it doesnt do so recursively, if thats what ure thinking I stand corrected, apparently Gosubs have much like functions a limit of sorts(1673 'recursive' calls WITHIN F...
by CyL0N
26 Nov 2018, 20:23
Forum: Scripts and Functions (v1)
Topic: [Editor] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 204
Views: 117237

Re: [Editor] CodeQuickTester - Write and run code without saving to a temporary file

kczx3 wrote:
26 Nov 2018, 19:28
I bet there is a way to directly he the number of lines in the control instead of looping over them
Perhaps,but even internally looping is how the line number is retrieved. Search for this.Settings.Gutter.Width.
by CyL0N
26 Nov 2018, 13:09
Forum: Ask for Help (v1)
Topic: disable right click menu on gui
Replies: 2
Views: 1070

Re: disable right click menu on gui

tmplinshi's solution below is far superior to that i offered,hence...
by CyL0N
26 Nov 2018, 12:57
Forum: Ask for Help (v1)
Topic: Executes the given code as a new AutoHotkey process (As Administrator)
Replies: 3
Views: 1389

Re: Executes the given code as a new AutoHotkey process (As Administrator)

You don't need to modify it, you just need to start the parent script as admin, and any script launched by ExecScript() will have admin privileges,add snippet below to the autoexec/top/ section of your script from which ExecScript() is executed. full_command_line := DllCall("GetCommandLine", "str") ...
by CyL0N
26 Nov 2018, 12:50
Forum: Ask for Help (v1)
Topic: script "dies" after several hours runing
Replies: 7
Views: 1056

Re: script "dies" after several hours runing

It's not GoSubs, it's init := MyFunc() , though swagfag is right,you can only ever call the function itself so many times,before a stackoverflow... Do this instead, init := !init ? MyFunc() : "".

Example of a stackoverflow:

Code: Select all

x()

x(){
	Static
	i := i ? (i+1) : 1
	ToolTip % i
	x()
}

Go to advanced search