Search found 125 matches
- 26 Feb 2014, 13:30
- Forum: Ask for Help (v1)
- Topic: Mouse wheel emulation
- Replies: 13
- Views: 5033
Re: Mouse wheel emulation
local a implies (for the interpreter, afaik) global , i.e. the function has global scope and gets the value of the global declared II_MSE_LASTX. My MouseToKey didn't use that globals, then, did I've forgotten one comma in traytip? but the values for x and y are all over the place No surprise. ; mak...
- 26 Feb 2014, 11:27
- Forum: Ask for Help (v1)
- Topic: Mouse wheel emulation
- Replies: 13
- Views: 5033
Re: Mouse wheel emulation
while I hold the button down Needless to ask, You were also trying to roll your ball/move your mouse/whatever while holding down. So, no luck today (my device works that way). IIRC there are AHKHID example scripts to print out some information about signals, devices etc, but I have no experience wr...
- 26 Feb 2014, 09:50
- Forum: Ask for Help (v1)
- Topic: Mouse wheel emulation
- Replies: 13
- Views: 5033
Re: Mouse wheel emulation
I interpret your answer as confirmation that the script works as intended. #include <AHKHID> ; TheGoods lib. Gui, +LastFound hGui:=WinExist() OnMessage(0xFF,"MouseToKey") RIDEV_INPUTSINK:=0x00000100 RIDEV_REMOVE:=0x00000001 return *mbutton:: a_thk:=regexreplace(a_thishotkey,"\W") HID_Register(1,2,hG...
- 26 Feb 2014, 06:10
- Forum: Ask for Help (v1)
- Topic: Mouse wheel emulation
- Replies: 13
- Views: 5033
Re: Mouse wheel emulation
You could test whether (holding down) mbutton disables cursor movement: *mbutton:: a_thk:=regexreplace(a_thishotkey,"\W") BlockInput,MouseMove keywait,% a_thk,T0.3 if (!ErrorLevel && a_thishotkey="*mbutton") send,% "{" a_thk "}" keywait,% a_thk BlockInput,MouseMoveOff return esc:: BlockInput,MouseMo...
- 25 Feb 2014, 05:36
- Forum: Ich brauche Hilfe
- Topic: Funktion 64 bit fähig machen
- Replies: 17
- Views: 5183
Re: Funktion 64 bit fähig machen
MIt dem "Selbstbau bla" Satz meinte ich nicht, dass er schlussendlich Dateien nutzen soll, nur dass er vllt mal ein bisschen mit Dateien übt. Dann bemerkt man schnell wie man offsets berechnet und was man in einen Dateikopf schreiben muss, damit es auslesbar ist (meinet wegen auch Meta-Data).
- 25 Feb 2014, 03:32
- Forum: Ich brauche Hilfe
- Topic: Funktion 64 bit fähig machen
- Replies: 17
- Views: 5183
Re: Funktion 64 bit fähig machen
http://www.autohotkey.com/board/topic/64481-include-virtually-any-file-in-a-script-exezipdlletc/ ? Einfach einen bekannten Archiv/Container-Typ benutzen? Selbstbau, wie nnnik schon vorschlug? Wenn du (z.B.) mit dem FileObject zwei Dateien zusammenkleben und wieder sauber trennen kannst, hast du es s...
- 21 Feb 2014, 03:39
- Forum: AutoHotkey Development
- Topic: return ErrorLevel from functions
- Replies: 15
- Views: 8129
Re: v2-thoughts Discussion
"They need to read the documentation" means that they can't guess? I don't think tank meant it that strictly. How to earn here such indulgence? "They do not need to guess", which in no way means that they can't guess. edited: I agree, and, I have never written it (the implication: need not guess ==...
- 21 Feb 2014, 01:15
- Forum: AutoHotkey Development
- Topic: return ErrorLevel from functions
- Replies: 15
- Views: 8129
Re: v2-thoughts Discussion
That's a hypothetical that has no relevance to the discussion. I agree, although I warned two times that it might not be relevant (for this audience at least), so, I haven't keep it alive. Don't take it out of context. Read the topic before posting. I haven't. I have. I said they can, not that they...
- 20 Feb 2014, 07:56
- Forum: AutoHotkey Development
- Topic: return ErrorLevel from functions
- Replies: 15
- Views: 8129
Re: v2-thoughts Discussion
They do not need to guess. let me quote Lexikos They can... I prefer a guessable, easy to remember API, but it's only me. If they are unwilling to do that why should we assume they will pay any attention to how the function signature is defined... Like it or not Errorlevel is going to require some ...
- 20 Feb 2014, 05:36
- Forum: Ich brauche Hilfe
- Topic: AHK v2 --- Bugreport
- Replies: 28
- Views: 8720
Re: AHK v2 --- Bugreport
Achso...
Dann wäre es aber mehr als unglücklich, wenn die floats (als string) nicht standardmäßig bis zur letzten Stelle ausgegeben werden.
Dann wäre es aber mehr als unglücklich, wenn die floats (als string) nicht standardmäßig bis zur letzten Stelle ausgegeben werden.
- 20 Feb 2014, 05:28
- Forum: AutoHotkey Development
- Topic: return ErrorLevel from functions
- Replies: 15
- Views: 8129
Re: v2-thoughts Discussion
Afaik q := 1 is expression q ++ is not (IIRC). Then, what about q += 1 I guess it is expression;) It isn't inherently clearer at all; The user could use the function letter-by-letter as in your example, if the function returns a meaningfull value. So, no difference there. And, if the user uses some ...
- 20 Feb 2014, 03:58
- Forum: Ich brauche Hilfe
- Topic: AHK v2 --- Bugreport
- Replies: 28
- Views: 8720
Re: AHK v2 --- Bugreport
Hier hab ich ne kürzere Funktion für die Nullen am Ende auf mein Rechner gefunden ;) (Author unbekannt) Das war wohl ich. x/1 würd ich aber jetzt durch x+0.0 ersetzen (ungetestet). und warum nicht nur so? (einfach /1 entfernen) weil integer möglicherweise ohne . dargestellt werden und . in der need...
- 20 Feb 2014, 02:25
- Forum: AutoHotkey Development
- Topic: return ErrorLevel from functions
- Replies: 15
- Views: 8129
Re: v2-thoughts Discussion
Such as? I think you're mistaken p ++ Also, your example produces all blank results on v2 Great news. So then you don't know what ErrorLevel means? How then is it clearer to use ErrorLevel via the comma operator? Why are you interested in the ErrorLevel and not the return value? The guy who don't k...
- 19 Feb 2014, 09:59
- Forum: AutoHotkey Development
- Topic: return ErrorLevel from functions
- Replies: 15
- Views: 8129
Re: v2-thoughts Discussion
@Variables IIRC (sorry if not), fincs: non-numerics --> 0 just me: empty var contains empty string --> throw exception (math operator context) strobo: all the same to me, but keep it consistent. I mention it because last time I checked, msgbox,% ++p ; blank ++p msgbox,% ++p ; 2 a := {} msgbox,% ++a[...
- 18 Feb 2014, 06:32
- Forum: AutoHotkey Development
- Topic: return ErrorLevel from functions
- Replies: 15
- Views: 8129
return ErrorLevel from functions
EDIT: The friendly splitting mod/admin did not even marked this topic as being a topic split. And as coincidence(?) the subject (-header) turns out to be related to a topic I've recommended to neglect at least two times. Lol, obedience over capacity? BIVs, Subcommands, StdLib, Settings : Imho, AHK....
- 16 Feb 2014, 06:44
- Forum: Ask for Help (v1)
- Topic: Associative Arrays question
- Replies: 19
- Views: 5494
Re: Associative Arrays question
If sth like array := { bla : "bla" } is not supported (time ago it wasn't), then, one can try VideoReDo_Output := {dummy : "" ; ,MPEG2_ts : [".ts /p:""MPEG2 Transport Stream"""] ,dummy : ""} or plain (and not quirky) VideoReDo_Output := {} VideoReDo_Output.MPEG2_ts := [".ts /p:""MPEG2 Transport Stre...
- 16 Feb 2014, 03:28
- Forum: Ask for Help (v1)
- Topic: Associative Arrays question
- Replies: 19
- Views: 5494
Re: Associative Arrays question
for Key1, Value1 in My_Channels { str := Key1 . ": " for Key2, Value2 in Value1 { str .= Value2 . "," } AllChannels .= rtrim(str, ",") . "`n" } msgbox,% AllChannels There are a many string from/to array functions in the forum(s), and also some json/xml stuff which helps to dump/print objects.
- 15 Feb 2014, 14:59
- Forum: Ask for Help (v1)
- Topic: Associative Arrays question
- Replies: 19
- Views: 5494
Re: Associative Arrays question
Now, I am using tvheadend + xbmc + some scripts and no comskip setup, I just haven't found comskip software for linux. Though I've seen comskip.exe which IIRC You are using. I simply have hoped You are using comskip-something for linux;) On Windows I had used wmc (whose pvr scheduler is superior to ...
- 15 Feb 2014, 14:00
- Forum: Ask for Help (v1)
- Topic: Associative Arrays question
- Replies: 19
- Views: 5494
Re: Associative Arrays question
pleasure to help. btw, offtopic, what is your pvr, comskip setup?
- 15 Feb 2014, 13:32
- Forum: Ask for Help (v1)
- Topic: Associative Arrays question
- Replies: 19
- Views: 5494
Re: Associative Arrays question
My_Channels := {"ChannelsForComskip_ini_1": ["Kanal 5", "TV4 Sport", "TV6", "TV8", "Discovery Channel"] , "ChannelsForComskip_ini_2": ["TV3", "Sjuan", "Animal Planet"] , "ChannelsForComskip_ini_3": ["TV4"] , "NoComskipOnTheseChannels": ["SVT1 HD", "SVT2 HD", "SVTB/SVT24", "Kunskapskanalen"] } for K...