Search found 13 matches

by payback87
12 Oct 2016, 02:07
Forum: Tutorials
Topic: MS Office COM Basics
Replies: 110
Views: 86940

Re: MS Office COM Basics

And to add to the answer below: Since you asked what would be useful for an Office worker - well it's that, really. Office VBA. If you work a lot with Excel at work or even at home - go for writing macros in VBA. Excel is a good option since it has a macro recorder that can sometimes help you find o...
by payback87
04 Oct 2016, 00:32
Forum: Ask For Help
Topic: Stringsplit -> Problems with Numbers
Replies: 10
Views: 1569

Re: Stringsplit -> Problems with Numbers

btw, there's "strSplit()" which already uses a real array. "stringSplit" does not. arr:=strSplit(line, "=") msgbox, % arr[1] "=" arr[2] Thank you all guys, I've made it work. Nr. 1 I trimmed `r`n off each line end, Nr. 2 I used StrSplit rather than the old one. Works like a charm. I'll make sure to...
by payback87
01 Oct 2016, 09:31
Forum: Ask For Help
Topic: Stringsplit -> Problems with Numbers
Replies: 10
Views: 1569

Re: Stringsplit -> Problems with Numbers

btw, there's "strSplit()" which already uses a real array. "stringSplit" does not. arr:=strSplit(line, "=") msgbox, % arr[1] "=" arr[2] also, made this a while ago, iniToArr() ; Version 1.0 (Sun November 02, 2014) ; Created: Sun November 02, 2014 ; Author: tidbit ; ini=%A_ScriptDir%\ini.ini ; out:=...
by payback87
30 Sep 2016, 09:19
Forum: Ask For Help
Topic: Stringsplit -> Problems with Numbers
Replies: 10
Views: 1569

Re: Stringsplit -> Problems with Numbers

just me wrote:
payback87 wrote:(I left all the loops out, no need for that in this example code)
Do you remove the carriage return `r when splitting the file contents?
Nope haven't thought of that. I'll try as soon as I'll be back to work. Thanks!
by payback87
30 Sep 2016, 07:58
Forum: Ask For Help
Topic: Stringsplit -> Problems with Numbers
Replies: 10
Views: 1569

Re: Stringsplit -> Problems with Numbers

Hm, this leaves me with another problem: assigning to settings like this in a loop will always overwrite the first key value pair...
by payback87
30 Sep 2016, 07:02
Forum: Ask For Help
Topic: Stringsplit -> Problems with Numbers
Replies: 10
Views: 1569

Stringsplit -> Problems with Numbers

Hey there, I have a settingsfile that I read in with fileopen(filename, "r"). Then I split the lines up with StringSplit. After that I go through each line that looks as follows: FirstSetting=1 So I split each line up again, using StringSplit. Following up on that I send Part1 and Part2 to an associ...
by payback87
16 Sep 2016, 03:38
Forum: Scripts and Functions
Topic: .NET Framework Interop (CLR, C#, VB)
Replies: 145
Views: 45842

Re: .NET Framework Interop (CLR, C#, VB)

Thanks for your reply, will try to look into it. A lot to learn, I have still! :)
by payback87
15 Sep 2016, 13:27
Forum: Scripts and Functions
Topic: .NET Framework Interop (CLR, C#, VB)
Replies: 145
Views: 45842

Re: .NET Framework Interop (CLR, C#, VB)

Hey there, I was just playing around with your cool library and wondered if it is possible to recreate Automating Lync with Lync SDK via the lib in ahk. I tried to translate the following powershell script to CLR but it's going totally wrong: import-module "path to module\Microsoft.Lync.Model.dll" $...
by payback87
01 Sep 2016, 03:08
Forum: AHK Studio
Topic: AHK Studio
Replies: 1065
Views: 263011

Re: AHK Studio

Alright after fiddling around a little, I found two issues. 1. Code Folding -> I can't fold / unfold from the menu. None of the menu entries work. I downloaded the Fold.ahk plugin. 2. BookMarks -> same as above, doesn't work although BookMarks.ahk is installed. Unfortunately there is no Error unlik...
by payback87
01 Sep 2016, 02:33
Forum: AHK Studio
Topic: AHK Studio
Replies: 1065
Views: 263011

Re: AHK Studio

Alright after fiddling around a little, I found two issues. 1. Code Folding -> I can't fold / unfold from the menu. None of the menu entries work. I downloaded the Fold.ahk plugin. 2. BookMarks -> same as above, doesn't work although BookMarks.ahk is installed. Unfortunately there is no Error unlike...
by payback87
01 Sep 2016, 01:03
Forum: AHK Studio
Topic: AHK Studio
Replies: 1065
Views: 263011

Re: AHK Studio

maestrith wrote:Alt+M theme {enter} and download the plugin. There will be an option in the preview to the left that says download click that and it will show you a list of themes
Ah ok might have to check that out at home, work doesn't allow me to download via ahk script... :)
by payback87
01 Sep 2016, 00:52
Forum: AHK Studio
Topic: AHK Studio
Replies: 1065
Views: 263011

Re: AHK Studio

Hey man, I just downloaded AHK Studio - and the first look is fantastic! I've usually been using ScITE4Autohotkey but I'll certainly be looking into AHK Studio now! :+1: Let me know if you need help with it. I sure will. Actually, one question: is there a site or thread that provides styles for ahk...
by payback87
01 Sep 2016, 00:33
Forum: AHK Studio
Topic: AHK Studio
Replies: 1065
Views: 263011

Re: AHK Studio

Hey man,
I just downloaded AHK Studio - and the first look is fantastic! I've usually been using ScITE4Autohotkey but I'll certainly be looking into AHK Studio now!
:+1:

Go to advanced search