Search found 455 matches
- 17 Feb 2014, 17:04
- Forum: Ask for Help (v1)
- Topic: Associative Arrays question
- Replies: 19
- Views: 5521
Re: Associative Arrays question
You are an amazing teacher trismarck :) This was a great learning experience for me. Many thanks to you! Now I have a much deeper understanding of how to deal with these arrays that was so mysterious to me before. Its very fun to be abled to utilize different methods from simple arrays to multi-dime...
- 17 Feb 2014, 13:24
- Forum: Ask for Help (v1)
- Topic: Associative Arrays question
- Replies: 19
- Views: 5521
Re: Associative Arrays question
Hi trismarck! Thanks for the workaround and not giving up that easy. It works very well. Didnt realize you could place the commas like that and still have a functional array. On the downside this array got huge and are taking most of the space in the config section. Im hesitant to use it at all, bec...
- 16 Feb 2014, 13:45
- Forum: Ask for Help (v1)
- Topic: Associative Arrays question
- Replies: 19
- Views: 5521
Re: Associative Arrays question
No, objects does not allow semicolons in expressions to disable keys in arrays. Using trismarcks example i get in trouble if disabeling the first key, ahk complains about an unexpected comma. It seems the thing i wanna do is impossible using Associative Arrays. I think I will go with strobos advise ...
- 16 Feb 2014, 07:53
- Forum: Ask for Help (v1)
- Topic: Associative Arrays question
- Replies: 19
- Views: 5521
Re: Associative Arrays question
OMG! Coco, i missed your example cuz i was writing my own post during yours. That is the most efficient code I have seen. These are objects if im not mistaken. Having difficulties to tell things apart you see :) I will experiment with it to see if I can get it to work for my cases. Big thanks! zcooler
- 16 Feb 2014, 07:22
- Forum: Ask for Help (v1)
- Topic: Associative Arrays question
- Replies: 19
- Views: 5521
Re: Associative Arrays question
Aha, so it was a join that was missing! Never could have figured that out. Many thanks trismarck.
Thanks guys for your great help. It was a very needed lesson for me. Now I think i can put the rest together.
Yeah, Olympic gold for Sweden
Thanks guys for your great help. It was a very needed lesson for me. Now I think i can put the rest together.
Yeah, Olympic gold for Sweden
- 16 Feb 2014, 04:49
- Forum: Ask for Help (v1)
- Topic: Associative Arrays question
- Replies: 19
- Views: 5521
Re: Associative Arrays question
Fantastic efficiency, I like it much more. I tweaked it a bit for my needs: for Key1, Value1 in My_Channels { str := "" for Key2, Value2 in Value1 { str .= Value2 . "," } AllChannels .= rtrim(str, ",") . "`n" } StringSplit, OutputArray, AllChannels, "`n" ChannelsForComskip_ini_1 := OutputArray1 Chan...
- 15 Feb 2014, 15:29
- Forum: Ask for Help (v1)
- Topic: Associative Arrays question
- Replies: 19
- Views: 5521
Re: Associative Arrays question
Hmm, im not that familiar with this xml dom looping code and what is possible to accomplish. I was wondering if there is a way to make it even more efficient with fewer lines and still do what it does today? Maybe its possible to loop all keys and still output all the 5 variables in a single "for ke...
- 15 Feb 2014, 15:11
- Forum: Ask for Help (v1)
- Topic: Associative Arrays question
- Replies: 19
- Views: 5521
Re: Associative Arrays question
If using linux i think Wine should take care of launching comskip for u. Wine makes it possible for u to run most windows applications on linux and osx as well. That is what i heard anyway. Could be well worth to investigate further.
Best regards
zcooler
Best regards
zcooler
- 15 Feb 2014, 14:36
- Forum: Ask for Help (v1)
- Topic: Associative Arrays question
- Replies: 19
- Views: 5521
Re: Associative Arrays question
Im using dvbviewer recording service and launching comskip with an ahk script i found on that forum. Trying to clean up amongst the setupvariables and make it more readable and easier to configure.
What pvr, comskip setup do you use?
What pvr, comskip setup do you use?
- 15 Feb 2014, 13:46
- Forum: Ask for Help (v1)
- Topic: Associative Arrays question
- Replies: 19
- Views: 5521
Re: Associative Arrays question
Aha, so thats how its done...and concatenated and all
Many thanks from
zcooler
Many thanks from
zcooler
- 15 Feb 2014, 13:14
- Forum: Ask for Help (v1)
- Topic: Associative Arrays question
- Replies: 19
- Views: 5521
Associative Arrays question
Hi! Having problems with these Associative Arrays again. Spent lots of hours on this but cant find any solution reading the docu. How to get all values from each key separately? I wanna loop through the values in key4 only (NoComskipOnTheseChannels:) and ignore key1, key2 and key3, but cant find a w...
- 12 Feb 2014, 16:53
- Forum: Ask for Help (v1)
- Topic: Every three month reminder
- Replies: 4
- Views: 1812
Re: Every three month reminder
Aha, that explains it. Thanks again kon for helping me. I think I get this now.
Now my parkingreminder script is complete
Now my parkingreminder script is complete
- 12 Feb 2014, 15:38
- Forum: Ask for Help (v1)
- Topic: Every three month reminder
- Replies: 4
- Views: 1812
Re: Every three month reminder
Greetings just me :) After giving it some thought the LDOM function will do what im after. Im not sure if i complicate things more than necessary. Here is the script im playing with, which also answers your questions. However I cant get the associative array with keys to work though. What have i don...
- 12 Feb 2014, 11:30
- Forum: Ask for Help (v1)
- Topic: Every three month reminder
- Replies: 4
- Views: 1812
Every three month reminder
Hi! I find it quite hard doing scripts using time, days, months and years. I was looking for some script already made that could help me get a reminder the day before every three months period has passed. There are scripts that retrieves the first or last day of every month, but cant seem to find an...
- 30 Jan 2014, 15:00
- Forum: Ask for Help (v1)
- Topic: Find second monday of each month
- Replies: 26
- Views: 8447
Re: Find second monday of each month
That isn't what was originally asked for in this thread. You don't need to loop through the year to get the occurrence of the weekday for a given date... Greetings just me! Yes, you are right there's no need to loop the whole year. I'm quite fond of the idea to also display the occurrence of the we...
- 28 Jan 2014, 15:17
- Forum: Ask for Help (v1)
- Topic: Find second monday of each month
- Replies: 26
- Views: 8447
Re: Find second monday of each month
Wow, what a lesson...i am actually understanding this and my learning curve is very steep atm, thanks to this great example and your good teaching ability. This will come in handy in my other scripts. I can already think of several where I could use 2-dimensional arrays. You and tomoe_uehara are the...
- 28 Jan 2014, 14:15
- Forum: Ask for Help (v1)
- Topic: Find second monday of each month
- Replies: 26
- Views: 8447
Re: Find second monday of each month
H*ell YES, that's it! Genius stuff!! Now that was a lesson in the higher school and it first felt like you were pulling rabbits out of the hat. I assume the Dayz variable contains an array and at first I have difficulties to follow it. The array seem to be divided into 4 keys, numbered from left (1)...
- 28 Jan 2014, 11:38
- Forum: Ask for Help (v1)
- Topic: Find second monday of each month
- Replies: 26
- Views: 8447
Re: Find second monday of each month
(glad to see my Rosetta Code submission is getting some practical use and nice modifications by tomoe_uehara) :) Hi kon! Haha...yes indeed! This script is going to save me lots of money for unnecessary parkingtickets. I keep forgetting when those damned dates are and it's beginning to be expensive ...
- 27 Jan 2014, 17:04
- Forum: Ask for Help (v1)
- Topic: Find second monday of each month
- Replies: 26
- Views: 8447
Re: Find second monday of each month
Unfortunately I'm totally stuck and seem to only produce brainfarts trying to solve it. I do think I'm supposed to use some kind of array, but haven't got that far in my AHK study. I wanna use the same two variables "Dayz" and "Num" but putting in multiple values to search for and passing them to th...
- 26 Jan 2014, 12:25
- Forum: Ask for Help (v1)
- Topic: Modify dmg's Log Out logger to standby/hibernate logger
- Replies: 3
- Views: 1540
Re: Modify dmg's Log Out logger to standby/hibernate logger
-2147483648 = 0xFFFFFFFF80000000 (64 bit and signed problem I guess) That is what puzzles me. I'm on Windows 7 32-bit and using AHK_H 32-bit and still it didn't work with 0x80000000. Well, it doesn't matter as long as it works with -2147483648. Nice script by DMG btw...have been searching for somet...