Search found 455 matches

by zcooler
01 Sep 2014, 13:52
Forum: Ask for Help (v1)
Topic: Combine drop parameter on script and named pipe script
Replies: 20
Views: 4406

Re: Combine drop parameter on script and named pipe script

trismarck, it's a very interesting approach. Some questions emerges just to wrap my head around this. Mainly, where do i check what's in the cache? Also, can you elaborate on why the script must be persistent? Perhaps a timer could be used instead, which possibly could eliminate the need for F10 to ...
by zcooler
31 Aug 2014, 11:27
Forum: Ask for Help (v1)
Topic: Combine drop parameter on script and named pipe script
Replies: 20
Views: 4406

Re: Combine drop parameter on script and named pipe script

So, how would this scheduler look like i wonder?
by zcooler
31 Aug 2014, 11:03
Forum: Ask for Help (v1)
Topic: Combine drop parameter on script and named pipe script
Replies: 20
Views: 4406

Re: Combine drop parameter on script and named pipe script

I think I get now why there are four instances of the main script. They are there, so multiple CPUs can be used to work simultaneously on the task. No not quite. I can only configure the recording server to launch same script for each after recording tasks. That is why each after recording task run...
by zcooler
31 Aug 2014, 10:57
Forum: Ask for Help (v1)
Topic: Combine drop parameter on script and named pipe script
Replies: 20
Views: 4406

Re: Combine drop parameter on script and named pipe script

Thanks for trying to help me out, trismarck! You're always very helpful. I still don't follow how you would pull something like that off. Sorry, i having fever right now but are quite slow under normal circumstance anyway when it comes to coding. I did prepare some code which comes closest to how th...
by zcooler
31 Aug 2014, 09:00
Forum: Ask for Help (v1)
Topic: Combine drop parameter on script and named pipe script
Replies: 20
Views: 4406

Re: Combine drop parameter on script and named pipe script

So the scheme looks like this: recording server -(pipes)-> main ahk script main ahk script (multiple instances) -> commercial removal script (single instance) The main ahk script could be like this: thread1 (high priority, fast) insert filepath into the queue of all files from which the commercials...
by zcooler
31 Aug 2014, 02:25
Forum: Ask for Help (v1)
Topic: Combine drop parameter on script and named pipe script
Replies: 20
Views: 4406

Re: Combine drop parameter on script and named pipe script

I mean the latter. Lexikos script is a kind of command-line parameter server and the fact you can't have an AHK-script accept command line parameters while it is running is no longer true. However Im having troubles with it. I use a recording server that records TV-shows. When a recording ends it la...
by zcooler
30 Aug 2014, 10:18
Forum: Ask for Help (v1)
Topic: Combine drop parameter on script and named pipe script
Replies: 20
Views: 4406

Combine drop parameter on script and named pipe script

Hi! It got too overwhelming for me and have to ask for help. I have a named pipe reciever script (from lexikos) which works great and it's purpose is to recieve filenames as command-line parameters and pass them to other scripts. Since it stays open and waits for connections from the "pipe caller sc...
by zcooler
23 Aug 2014, 07:27
Forum: Scripts and Functions (v1)
Topic: ToolTipEx - custom fonts and colors in ToolTips
Replies: 40
Views: 19366

Re: ToolTipEx - custom fonts and colors in ToolTips

Yes, I was hoping to be abled to customize the win explorer tooltips. Ok, so no other application...thanks for this info! I have been contemplating how to modify the property labels for years. The shell extension properties seems to be made for Radio more than TV.

Best regards
zcooler
by zcooler
23 Aug 2014, 06:45
Forum: Scripts and Functions (v1)
Topic: ToolTipEx - custom fonts and colors in ToolTips
Replies: 40
Views: 19366

Re: ToolTipEx - custom fonts and colors in ToolTips

Hi just me! This is very cool :D I have a shell extension installed which displays dynamic data for certain media file types (.TS) on the tooltip in windows explorer. It would be awesome to be abled to make those quite boring looking tooltips nicer (which seems easy to do with this function). It wou...
by zcooler
05 Aug 2014, 14:52
Forum: Ask for Help (v1)
Topic: Optimizing If (expressions)
Replies: 7
Views: 1968

Re: Optimizing If (expressions)

Oh, I quickly realize I shouldn't use the efficiency term, cuz it often have different definitions for a programmer versus non-programmers. Add to that if English isn't your native language either, but I get what you're saying. This code is from my first AHK script and it was for a long time as basi...
by zcooler
01 Aug 2014, 15:00
Forum: Ask for Help (v1)
Topic: Optimizing If (expressions)
Replies: 7
Views: 1968

Re: Optimizing If (expressions)

@jNizM Oh,..MG this is so efficient coding. Struggled a bit to understand it, but now I have it going and it works beautiful. I suppose you did use global variables in case of me using the code inside a function, right or did you have an alterior motive for it? Works fine without the global though, ...
by zcooler
01 Aug 2014, 11:59
Forum: Ask for Help (v1)
Topic: Optimizing If (expressions)
Replies: 7
Views: 1968

Re: Optimizing If (expressions)

jNizM wrote:or shorter with Ternary
Wow, that is fantastic coding :mrgreen: Amazingly compact :D
I will test it and see if I can get it working.
Great lesson for me. Big THANKs jNizM :D
by zcooler
01 Aug 2014, 09:27
Forum: Ask for Help (v1)
Topic: Optimizing If (expressions)
Replies: 7
Views: 1968

Optimizing If (expressions)

Hi guys! I need a fresh perspective for my script I did wrote quite long ago using classical If's and Else's. The conditioning section got huge, which have bugging me for a while, with plenty of repeating code as a result (mainly repeating function calls). I'm trying to optimize it using expressions...
by zcooler
01 Aug 2014, 08:54
Forum: Ask for Help (v1)
Topic: URLtoVar function automatically escape reserved XML chars?
Replies: 7
Views: 2132

Re: URLtoVar function automatically escape reserved XML char

I would like to see this xml in question. Since my interest is piqued i would also like to actively look into resolving it with you Hi tank! I had a chance to dig deeper into this and it turns out the WebAPI for the server automatically (for unknown reasons) removes the type="4" timers i was lookin...
by zcooler
30 Jul 2014, 04:27
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 835
Views: 626267

Re: SciTE4AutoHotkey v3.0.05.01 [Updated April 5 2014]

True, it can be confusing. UTF-8: no BOM <<------ I guess this could be "UTF-8 without BOM" UTF-8 with BOM: has BOM BOM does not "technically matter" in UTF8 : The Unicode Standard permits the BOM in UTF-8, but does not require or recommend its use. [...] Byte order has no meaning in UTF-8 [...] se...
by zcooler
30 Jul 2014, 01:41
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 835
Views: 626267

Re: SciTE4AutoHotkey v3.0.05.01 [Updated April 5 2014]

Hi!

Im trying the SciTE4AutoHotkey for the first time. It's probably reported before, but the Encoding menu is somewhat confusing. The UTF-8 options are "UTF-8 with BOM" and "UTF-8". I suppose it should be "UTF-8 without BOM" right?
by zcooler
21 Jul 2014, 22:24
Forum: Ask for Help (v1)
Topic: URLtoVar function automatically escape reserved XML chars?
Replies: 7
Views: 2132

Re: URLtoVar function automatically escape reserved XML char

Thanks guys for educating me!
Now its vacationtime and will be away for some time. Will take a closer look at it when back home.
Best regards
zcooler
by zcooler
20 Jul 2014, 23:47
Forum: Ask for Help (v1)
Topic: URLtoVar function automatically escape reserved XML chars?
Replies: 7
Views: 2132

Re: URLtoVar function automatically escape reserved XML char

I was thinking something in the line of this URLToVar(URL) { ComObjError(0) WebRequest := ComObjCreate("WinHttp.WinHttpRequest.5.1") WebRequest.Open("GET", URL) WebRequest.EscapePercentInURL WebRequest.Send() for key, val in [["&", "&"], [">", ">"], ["<", "<"], ["%", "%"]] ;Escape special XML ch...
by zcooler
20 Jul 2014, 13:08
Forum: Ask for Help (v1)
Topic: URLtoVar function automatically escape reserved XML chars?
Replies: 7
Views: 2132

URLtoVar function automatically escape reserved XML chars?

Is it possible to have the URLtoVar function escape all reserved XML characters before download takes place?
http://technet.microsoft.com/en-US/libr ... 90%29.aspx
That would be amazing.
by zcooler
20 Jul 2014, 04:10
Forum: Ask for Help (v1)
Topic: URLtoVAR bug
Replies: 16
Views: 4004

Re: URLtoVAR bug

@coco I did got into trouble from the get go trying to load the xml from the recording server using get_xml function. The recording server stores the XMLs in html format and the function doesnt like my Url accordingly. The RS API also parses the htmlxml excluding the recording description and adding...

Go to advanced search