Search found 446 matches

by burque505
22 Jun 2018, 18:00
Forum: Ask For Help
Topic: Help with EPPlus.dll and AHK Topic is solved
Replies: 3
Views: 130

Re: Help with EPPlus.dll and AHK Topic is solved

Encouraged by tmplinshi's kind assistance above, I'm delving into this further. I will post small scripts here that illustrate different things that I can get to work with EPPlus. There is a lot of trial and error involved. So far, using it in AHK don't quite match the docs. Script 1 (selects a sing...
by burque505
22 Jun 2018, 15:48
Forum: Ask For Help
Topic: Problem bei der Ausführung meines Makros
Replies: 3
Views: 79

Re: Problem bei der Ausführung meines Makros

Hallo, Ich habe keine seitliche Maustaste, aber Folgendes funktionert. Vielleicht für dich auch, mit den notwendigen Änderungen: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; ...
by burque505
22 Jun 2018, 14:59
Forum: Ask For Help
Topic: Prevent/disable text selection in Edit control?
Replies: 9
Views: 110

Re: Prevent/disable text selection in Edit control?

Thanks, wolf_II. I'm the kind of guy who uses a screwdriver as a hammer, may have something to do with it :)
by burque505
22 Jun 2018, 14:28
Forum: Ask For Help
Topic: Prevent/disable text selection in Edit control?
Replies: 9
Views: 110

Re: Prevent/disable text selection in Edit control?

Another hack --- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a c...
by burque505
22 Jun 2018, 14:06
Forum: Scripts and Functions
Topic: Class_Excel - Create excel file from array or listview
Replies: 3
Views: 110

Re: Class_Excel - Create excel file from array or listview

I saw that, thank you!!!!!! After using dnspy that qwerty12 mentioned, I thought, gee, this is going to be easy. Everything is listed! But :headwall: .
That is really great, you made my weekend.
Regards,
burque505
by burque505
22 Jun 2018, 14:04
Forum: Ask For Help
Topic: Help with EPPlus.dll and AHK Topic is solved
Replies: 3
Views: 130

Re: Help with EPPlus.dll and AHK Topic is solved

Thank you!!!!!!!! I doubt very seriously I would have ever found that reference to mscorlib on my own.
You are the best. 你是最棒的。
Regards,
burque505
by burque505
22 Jun 2018, 09:57
Forum: Scripts and Functions
Topic: Class_Excel - Create excel file from array or listview
Replies: 3
Views: 110

Re: Class_Excel - Create excel file from array or listview

@tmplinshi, thanks for this also! For those who may not have the classes, I've attached a .7z archive with your examples, Class_Excel.ahk and Class_LV_Colors.ahk. By the way, have you done anything with EPPlus.dll? I have seen your post here about ExcelLibrary, and I thought you might be interested ...
by burque505
22 Jun 2018, 07:43
Forum: Scripts and Functions
Topic: ExcelToArray - Read excel data to AHK array
Replies: 1
Views: 76

Re: ExcelToArray - Read excel data to AHK array

@tmplinshi, thank you! That works very well. Nice trick using dat* to add any number of colums.
Regards,
burque505
by burque505
20 Jun 2018, 11:40
Forum: Ask For Help
Topic: Help with EPPlus.dll and AHK Topic is solved
Replies: 3
Views: 130

Help with EPPlus.dll and AHK Topic is solved

Hello, after trying the code from tmplinshi's question answered by qwerty12 , I have been trying to adapt that code to EPPLus.dll, for working with Excel .xlsx files without needing Excel installed. URL: EPPlus github repository . From that page: Create advanced Excel spreadsheets using .NET, withou...
by burque505
18 Jun 2018, 18:16
Forum: Ask For Help
Topic: AHK Custom Ribbon
Replies: 1
Views: 57

Re: AHK Custom Ribbon

@Delta Pythagorean, I'm certainly glad you brought this up. I'd be very interested in customizing the ribbon without using VS as well.
Regards,
burque505
by burque505
18 Jun 2018, 13:31
Forum: Ask For Help
Topic: Need help with CLR and DocX.dll
Replies: 0
Views: 44

Need help with CLR and DocX.dll

Hi all, I've been trying to get DocX.dll, which is now actually Xceed.Words.NET.dll (a library for working with docx Office documents) working with CLR. The following code works fine in LinqPad: <Query Kind="VBStatements"> <Reference Relative="System.Drawing.dll">C:\DocX Dll\Syst...
by burque505
16 Jun 2018, 08:19
Forum: Ask For Help
Topic: Running a PowerShell script from AHK when its path include space Topic is solved
Replies: 11
Views: 204

Re: Running a PowerShell script from AHK when its path include space Topic is solved

Hi, Flipeador's suggestion of course works perfectly, and I have a question or two, just for my own edification: 1) Will the script 'pause1.ps' always be in the same directory as the AHK script? Because if it is, I don't believe you need the Target Directory or A_WorkingDir parameter at all. From th...
by burque505
15 Jun 2018, 14:19
Forum: AutoHotkey v2 Development
Topic: ObjCount() - Call to nonexistent function | 2.0-a097-60f26de
Replies: 6
Views: 203

Re: ObjCount() - Call to nonexistent function | 2.0-a097-60f26de

I see what you mean now. Point taken.
EDIT: As you say, it works in V1, with the appropriate tweaking:

Code: [Select all]GeSHi © Codebox Plus

myObject := Array("1","2","3","4")
x := myObject.Count()
msgbox %x% ; "4"

y := ObjCount(myObject) ; also "4"
msgbox %y%
by burque505
15 Jun 2018, 14:08
Forum: AutoHotkey v2 Development
Topic: ObjCount() - Call to nonexistent function | 2.0-a097-60f26de
Replies: 6
Views: 203

Re: ObjCount() - Call to nonexistent function | 2.0-a097-60f26de

Not in the list of methods, but the example is there below: Count := Object.Count() Returns the number of key-value pairs present in the object. MsgBox % {A: 1, Z: 26}.Count() ; 2 MsgBox % ["A", "B", "C"].Count() ; 3 MsgBox % ["A", , "C"].Count() ; 2...
by burque505
15 Jun 2018, 12:30
Forum: Ask For Help
Topic: Running a PowerShell script from AHK when its path include space Topic is solved
Replies: 11
Views: 204

Re: Running a PowerShell script from AHK when its path include space Topic is solved

@JnLlnd, yes, I tested it on my system and it works. Although it chokes on "A_ScriptDir . "\pause.ps1", PowerShell can at least change directory with quotes around the path, if you do a Set-Location or "cd", and even if it couldn't cmd.exe of course can. :) If you need to mo...
by burque505
15 Jun 2018, 09:28
Forum: Ask For Help
Topic: Running a PowerShell script from AHK when its path include space Topic is solved
Replies: 11
Views: 204

Re: Running a PowerShell script from AHK when its path include space Topic is solved

Hi JnLlnd, the script you posted doesn't work on my system either. This is ugly but works: #SingleInstance force ; Skips the dialog box and replaces the old instance automatically strPsScriptFile := ".\pause.ps1" ;Run, cmd /c cd C:\ && dir && pause ; For testing Run, cmd /c...
by burque505
14 Jun 2018, 11:42
Forum: Wish List
Topic: Switch/Case statement
Replies: 14
Views: 6671

Re: Switch/Case statement

Donec Perficiam! :D
Has llegit ' Catalunya durant la Guerra de Successió', oi?
Per cert, t'he enviat un PM.
Salutacions,
burque505
by burque505
14 Jun 2018, 09:54
Forum: Wish List
Topic: Switch/Case statement
Replies: 14
Views: 6671

Re: Switch/Case statement

:bravo:

Code: [Select all]GeSHi © Codebox Plus

	  default:       
Msgbox % "NO SÉ QUÈ CONY VOLS OBRIR!!!" curt


Quin tip de riure!
Salutacions,
burque505
by burque505
13 Jun 2018, 18:08
Forum: Ask For Help
Topic: Adobe Acrobat Pro via COM
Replies: 28
Views: 4017

Re: Adobe Acrobat Pro via COM

Thanks, FG, once again, for this super-helpful stuff.
Regards,
burque505
by burque505
13 Jun 2018, 12:05
Forum: Ask For Help
Topic: Adobe Acrobat Pro via COM
Replies: 28
Views: 4017

Re: Adobe Acrobat Pro via COM

Kudos again to FG, as usual :) Manny, did your final code look anything like this? App := ComObjCreate("AcroExch.App") oAcrobatdoc := ComObjCreate("acroExch.avdoc") ; create an document object ;oAcrobat.maximize(1) ; maximize the application window (-1 = true) oAcrobatdoc.Open(A_...

Go to advanced search