Search found 20 matches

by florisvos
14 Jun 2016, 01:57
Forum: Ask For Help
Topic: IniWrite issue
Replies: 14
Views: 1956

Re: IniWrite issue

Example from one of my scripts:

Code: Select all

IniWrite, %email% , h:\script\watgedaan.INI, %date%, %cnummer%  
as you see, all the vars need %'s arround them. Maybe this helps?
by florisvos
08 Jun 2016, 14:43
Forum: Ask For Help
Topic: Generating MIDI files [SOLVED]
Replies: 4
Views: 748

Re: Generating MIDI files [SOLVED]

Yep! Totally works!
Listening to some pretty awesome Organ music at the moment ;) Still got some bugs in my script to fix (i think i'm using an old version by accident), and then a whoooole lot of stuff to add now that I can make MIDI's, I'm really happy.
by florisvos
08 Jun 2016, 13:45
Forum: Ask For Help
Topic: Generating MIDI files [SOLVED]
Replies: 4
Views: 748

Re: Generating MIDI files

Thank you thank you thank you!!!!!!!!!!!!!
Means a lot to me :)

Still gotta change my script to create proper CSV files that can be made into midi's, but at least now I know I WILL be able to convert it once I'm done :D
by florisvos
08 Jun 2016, 13:37
Forum: Ask For Help
Topic: Capitalise first letter on multiple optional strings
Replies: 8
Views: 1167

Re: Capitalise first letter on multiple optional strings

Update of my script with info from other post: array := [0,0] ; make the array Loop, Read, C:\Users\f-vos\Desktop\a.txt ; path to .txt file which has 1 word on each line { StringUpper, word, a_loopreadline, t ; capitalise first letter and make the rest small array[a_index] := word } loop % array.len...
by florisvos
07 Jun 2016, 04:55
Forum: Ask For Help
Topic: Generating MIDI files [SOLVED]
Replies: 4
Views: 748

Generating MIDI files [SOLVED]

Hi, I'm working on a random music generator. I started it when I discovered SoundBeep so I now have a music generator that generates alot of soundbeeps in an interesting way. I'd love to convert it to MIDI, but not sure how to do it. I found an EXE file somewhere that was supposed to be able to do t...
by florisvos
06 Jun 2016, 23:23
Forum: Ask For Help
Topic: Capitalise first letter on multiple optional strings
Replies: 8
Views: 1167

Re: Capitalise first letter on multiple optional strings

I made some code that works. array := [0,0] ; make the array Loop, Read, C:\Users\f-vos\Desktop\a.txt ; path to .txt file which has 1 word on each line { firstletter:=substr(a_loopreadline, 1, 1) ; get first letter StringUpper, first, firstletter ; capitalise first letter Stringright, rest, a_loopre...
by florisvos
30 May 2016, 23:39
Forum: General Discussion
Topic: AHK is a *bad* language?
Replies: 36
Views: 13243

Re: AHK is a *bad* language?

I know I'm going offtopic now but since we are talking about some useful coding practises I have a question about loops. I only recently started learning about a_index (it's fantastic), break and continue. Is there some ultimate way of using loops that I should know of (similar to the way there are ...
by florisvos
29 May 2016, 12:29
Forum: General Discussion
Topic: AHK is a *bad* language?
Replies: 36
Views: 13243

Re: AHK is a *bad* language?

nnnik wrote: varstring := var1 . "`n" . var2
Thanks so much! That' s the one I'll use from now on.
by florisvos
29 May 2016, 03:00
Forum: General Discussion
Topic: AHK is a *bad* language?
Replies: 36
Views: 13243

Re: AHK is a *bad* language?

always using only "=" might make things easier until you need to do math or use functions or arrays or objects :P learning and using := and always (or almost always, once you understand the differences) using it will be easier. Of course, of course. I was in the habbit of always using := until I wa...
by florisvos
28 May 2016, 15:05
Forum: General Discussion
Topic: AHK is a *bad* language?
Replies: 36
Views: 13243

Re: AHK is a *bad* language?

Though I never bothered to check thoroughly, it always seemed to me that for example: In build-in functions the order of Inputvar - Outputvar - Conditions is not always the same. The use of ""'s, %%'s, or neither is not always very clear, especially in relation to using :=, .= or just = though just ...
by florisvos
28 May 2016, 15:01
Forum: Offtopic
Topic: Why do you use AHK?
Replies: 31
Views: 7393

Re: Why do you use AHK?

Everytime I get a office job I use it to automate my work so I can daydream the day away from 9 to 5. AHK is fine, it was easy to learn so I never bothered with something else. I share my scripts with collegaes, and can easily make the scripts perfect according to their wishes in a matter of minutes...
by florisvos
26 May 2016, 12:52
Forum: Ask For Help
Topic: Need help editing an text with gui control
Replies: 2
Views: 456

Re: Need help editing an text with gui control

Mind your comma's:

GuiControl, NotificationGui:, Preset, 321
by florisvos
26 May 2016, 12:49
Forum: Scripts and Functions
Topic: Masonjar13's Library List
Replies: 33
Views: 10202

Re: Masonjar13's Library List

Masonjar13 wrote:
florisvos wrote:I suppose it is very helpfull to have a list of functions stored somewhere where you can always turn to when making a new script.
You can save these to your standard library, so you won't ever need to include them. Check here.
Thanks so much! Never knew that! So simple but so helpful, I'm sure!
by florisvos
26 May 2016, 12:23
Forum: Scripts and Functions
Topic: Masonjar13's Library List
Replies: 33
Views: 10202

Re: Masonjar13's Library List

Interesting! I very often turn to google to find the exact way of typing certain AHK functions, or I turn to previous scripts to find some code-lines I need (instead of writing it again from scratch). I suppose it is very helpfull to have a list of functions stored somewhere where you can always tur...
by florisvos
26 May 2016, 12:00
Forum: Ask For Help
Topic: Detecting colour changes on active window
Replies: 1
Views: 420

Re: Detecting colour changes on active window

Yeah, many of my scripts use the following little loop to check if a page has loaded: (I don't have my scripts here so not 100% sure if I will write it 100% correct, I just write it from memory) PixelGetColor, Color, X, Y while Color != 0xFFFFFF { PixelGetColor, Color, X, Y sleep 200 } Or possibly: ...
by florisvos
26 May 2016, 04:05
Forum: Scripts and Functions
Topic: AHK Chat Program
Replies: 0
Views: 784

AHK Chat Program

I made a little chat program with AHK, thought I'd share it with you. It's just the bare essentials, and it has a lot of room for improvement and addition but I'll leave that up to anyone who wants to. I'll probably add some stuff myself later on. If anybody wants tips or explanation or whatever, fe...
by florisvos
26 May 2016, 03:54
Forum: Ask For Help
Topic: Online INI
Replies: 8
Views: 1142

Re: Online INI

Sorry if I was unclear - tidbit gets the point. It's a chat, so all users should both upload and download. I checked into the dropbox thing but it doesn't seem to be the solution. FTP sounds interesting though it might be a bit above my abilities, though I really want to learn it! I'm gonna try to. ...
by florisvos
25 May 2016, 12:38
Forum: Ask For Help
Topic: My first script help
Replies: 2
Views: 578

Re: My first script help

You understand the concept of: InputBox, OutputVar, MsgBox, First Whats Your Name? if (OutputVar = Michael) How about: InputBox, OutputVar, MsgBox, What is 1+1 if (OutputVar = 2) etc. And maybe throw a loop around it: loop { InputBox, OutputVar, MsgBox, What is 1+1 if OutputVar = 2 break msgbox Try ...
by florisvos
25 May 2016, 12:30
Forum: Ask For Help
Topic: Online INI
Replies: 8
Views: 1142

Re: Online INI

Hi, Thanks for the help! Just wondering - if I use UrlDownloadToFile, how do I store my Variables back into the file that's in my DropBox? (i hope this isn't a stupid question) I will look into FTP hosting. To give an update - I managed to make a very small (1kb) program that makes chatting possible...
by florisvos
24 May 2016, 08:59
Forum: Ask For Help
Topic: Online INI
Replies: 8
Views: 1142

Online INI

Hello, Today I made a script that's like a really basic chat program using an INI file stored on a shared folder which updates every second. I was wondering if it would be possible to create a similar program that stores variables in a file that's online. Seems like it's more difficult than I though...

Go to advanced search