Search found 94 matches

by enthused
08 Feb 2015, 17:44
Forum: Ask for Help (v1)
Topic: [SOLVED] How to link contextually to a .chm file.
Replies: 8
Views: 4206

Re: How to link contextually to a .chm file.

Hey Capbat I think you have to point to the chm file and send the topic: Loop %A_AhkPath%\Help\MyApp.chm path := A_LoopFileFullPath topic := "/docs/whatevertopic.htm" Run hh.exe ms-its:%path%::%topic% What is hh.exe: HH.EXE is distributed with HTML Help so you can rely on it being present. It lives ...
by enthused
04 Feb 2015, 23:09
Forum: Ask for Help (v1)
Topic: [SOLVED] How To Paste Into an EditBox?
Replies: 12
Views: 4431

Re: How To Paste Into an EditBox?

@enthused: I think you may have misread that line to be a GuiControl line or something because the change you suggested looks like you're trying to stuff the contents of the edit box into the control, but ControlFocus is just putting focus onto it, if you were to identify it correctly. I may have m...
by enthused
04 Feb 2015, 22:24
Forum: Ask for Help (v1)
Topic: [SOLVED] How To Paste Into an EditBox?
Replies: 12
Views: 4431

Re: How To Paste Into an EditBox?

I am not sure I understand but is this what you are going for? #Singleinstance Force Gui,Add, Edit, x10 y10 w630 h250 vEditNewProcedure Gui,Add, Button, x10 y270 vSaveProcedureBtn , Save Gui,Add, Button, x55 y270 vGetFileBtn gGetfileBtn , Get File Gui,Add, Text, x110 y275 vGetFileInstruction , Type ...
by enthused
28 Jan 2015, 09:06
Forum: Ask for Help (v1)
Topic: [SOLVED] Error at line 1 (illegal character: ";")
Replies: 8
Views: 3976

Re: Error at line 1 (illegal character: ";")

suggestion: open file in a hex editor?
by enthused
27 Jan 2015, 01:21
Forum: Ask for Help (v1)
Topic: Tab Control Within a Tab Control
Replies: 15
Views: 4562

Re: Tab Control Within a Tab Control

MJs wrote:exactly
except the line wasn't missing, it's just some what there is no need for it, just hide the tabs expect the first one, but you fixed it, good
Yes, Actually I liked Hidden better because I think it is more efficient than calling a label. :D
by enthused
27 Jan 2015, 01:09
Forum: Ask for Help (v1)
Topic: help to understand a script
Replies: 11
Views: 3380

Re: help to understand a script

regarding question 1: += is the same for variable = variable + 1 A way to increment written in short hand. It is very similar to lots of programming languages so it is quite common. regarding question 3: why not? you want the User to know what wasn't copied, right? If I copy a folder, and nothing te...
by enthused
27 Jan 2015, 01:01
Forum: Ask for Help (v1)
Topic: Tab Control Within a Tab Control
Replies: 15
Views: 4562

Re: Tab Control Within a Tab Control

nice we have 2 solutions. Love AHK for flexibility. It is Awesome. :bravo:
by enthused
27 Jan 2015, 00:51
Forum: Ask for Help (v1)
Topic: Tab Control Within a Tab Control
Replies: 15
Views: 4562

Re: Tab Control Within a Tab Control

@Mjs Forgive me for jumping in but I liked this topic and question. I can confirm that still "case 5" shows on starting application on tab 1 and 2 of vTab1 but after changing (clicking) tabs it updates correctly. Just when it first launches, but after that it behaves correctly after switching tabs. ...
by enthused
26 Jan 2015, 23:11
Forum: Scripts and Functions (v1)
Topic: [Editor] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 204
Views: 119607

Re: CodeQuickTester

Now this is very nice and very compact too.
Thank you GeekDude
by enthused
25 Jan 2015, 14:06
Forum: Ask for Help (v1)
Topic: help to understand a script
Replies: 11
Views: 3380

Re: help to understand a script

*.* is a mask that says everything under "C:\My Folder\*.*" If you wanted only text files copied: *.txt The first Astrix *. makes all file names eligible. The second Astrix .* makes all extensions eligible The folder: "C:\My Folder\*.*" is SourcePattern which is a variable that will hold "C:\My Fol...
by enthused
25 Jan 2015, 13:26
Forum: Ask for Help (v1)
Topic: help to understand a script
Replies: 11
Views: 3380

Re: help to understand a script

ErrorCount := ErrorLevel ErrorLevel : This is a built-in variable that is set to indicate the success or failure of some of the commands (not all commands change the value of ErrorLevel). A value of 0 usually indicates success, and any other value usually indicates failure. You can also set the val...
by enthused
25 Jan 2015, 11:18
Forum: Ask for Help (v1)
Topic: abbreviation not found Topic is solved
Replies: 7
Views: 3172

Re: abbreviation not found Topic is solved

why not place the serials in an Array and check against the array. If serial not in Array pop a msgbox
by enthused
25 Jan 2015, 03:16
Forum: Ask for Help (v1)
Topic: 4 digit login macro
Replies: 2
Views: 1408

Re: 4 digit login macro

Another way of doing this, thanks to Lexikos for providing answer : #SingleInstance, Force Gui,Add,Button,x10 y200 w230 h21 vButtonGo Default,Go Gui,Add,Listbox,x10 y10 w230 h190 HWNDhLB, Gui,Show,x388 y234 w250 h230 , Loop example Return ButtonGo: Loop, 10000 { Myvar := % Format("{:04}", (A_Index-1...
by enthused
25 Jan 2015, 02:47
Forum: Ask for Help (v1)
Topic: [Solved] arrays inclusion like [A..Z] or [001..999]
Replies: 4
Views: 1798

Re: arrays inclusion like [A..Z] or [001..999]

lexikos wrote:Given the index, you can easily compute that string.

Code: Select all

Loop 10
    MsgBox % format("{:04}", A_Index-1)  ; requires v1.1.17+
this works very well.

I was hoping to iterate array for 10,000 numbers, but I guess I can populate the array with a loop.
by enthused
25 Jan 2015, 01:50
Forum: Ask for Help (v1)
Topic: help to understand a script
Replies: 11
Views: 3380

Re: help to understand a script

I'm not sure I understand your question. This, CopyFilesAndFolders is a function and has a return . return ErrorCount CopyFilesAndFolders(SourcePattern, DestinationFolder, DoOverwrite = false) ; Copies all files and folders matching SourcePattern into the folder named DestinationFolder and ; returns...
by enthused
25 Jan 2015, 01:17
Forum: Ask for Help (v1)
Topic: [Solved] arrays inclusion like [A..Z] or [001..999]
Replies: 4
Views: 1798

Re: arrays inclusion like [A..Z] or [001..999]

Code: Select all

MyArray := [0000-9999]
MsgBox, % MyArray.1
Shows -9999 for me.
Why not 0 to 9999?

On second question, yes I'm working with 0000 as string but I was hoping there is a digit formatting that keeps 0000 intact.
by enthused
25 Jan 2015, 00:48
Forum: Ask for Help (v1)
Topic: [Solved] arrays inclusion like [A..Z] or [001..999]
Replies: 4
Views: 1798

[Solved] arrays inclusion like [A..Z] or [001..999]

is there a way to say MyArray := [0000-9999]?

Another question is that integer 0000 is treated as 0. but what if I want to keep it as integer and keep it as 0000
by enthused
24 Jan 2015, 22:28
Forum: Ask for Help (v1)
Topic: 4 digit login macro
Replies: 2
Views: 1408

Re: 4 digit login macro

Here is a simple script that "cheats" a bit to deliver four digits from "0000" to "9999". You can see what it's doing which is very simple Loop #SingleInstance, Force Gui,Add,Button,x10 y200 w230 h21 Default,Go Gui,Add,Listbox,x10 y10 w230 h190 HWNDhLB, Gui,Show,x388 y234 w250 h230 , Loop example Re...
by enthused
24 Jan 2015, 00:19
Forum: Ask for Help (v1)
Topic: Pls help with script
Replies: 3
Views: 1777

Re: Pls help with script

are all the files the same and all in the same folder?

try FileMove: Moves or renames one or more files.

FileMove, SourcePattern, DestPattern [, Flag]
by enthused
23 Jan 2015, 01:18
Forum: Ask for Help (v1)
Topic: How to read filelist from INI-filelist
Replies: 11
Views: 3200

Re: How to read filelist from INI-filelist

INI files are ideal when the there is relatively little data (INI files have a 64K charachter limit). INI files are archaic.
see this thread and look for Lexikos post: http://www.autohotkey.com/board/topic/1 ... rkarounds/

Go to advanced search