Search found 136 matches

by Djek
Wed Jul 06, 2016 6:50 am
Forum: Technical / Scripting
Topic: Windows 10?
Replies: 9
Views: 7809

Re: Windows 10?

Microsoft Edge in Windows 10 (internet browser) is not useable for interacting with MS and yes, im also "afraid" what the UI improvements in the latest upgrade will do with performance and useabillity. But i have not upgraded yet to the latest version, im too scared... :shock: Anyone here has applie...
by Djek
Thu Apr 14, 2016 9:45 pm
Forum: Technical / Scripting
Topic: Randomizing elements of a string
Replies: 13
Views: 4941

Re: Randomizing elements of a string

hi Hagchr,
i just run a test with 50.000 elements, and your solution runs amazingly fast; 2 seconds.
Thank you.
And for you explanation,
kind regards,
Djek
by Djek
Fri Apr 08, 2016 5:58 pm
Forum: Technical / Scripting
Topic: Randomizing elements of a string
Replies: 13
Views: 4941

Re: Randomizing elements of a string

pfff its a long way to Ottawa from here, slightly to far to fetch a beer. But its tempting though... look at let>maxr=%max%*30 if you change 30 into 100 or 400 (if time is not an issue) than the odd that randomize takes the same value is minimized. Indeed thank you for submitting this question, and ...
by Djek
Fri Apr 08, 2016 2:41 pm
Forum: Technical / Scripting
Topic: Randomizing elements of a string
Replies: 13
Views: 4941

Re: Randomizing elements of a string

hah !
it a bug,
it looks like its the zero that is missed by the Teller counter

change
let>teller=0
into
let>teller=-1

and then the bug is exterminated

... i hope...
:D
by Djek
Fri Apr 08, 2016 1:34 pm
Forum: Technical / Scripting
Topic: Randomizing elements of a string
Replies: 13
Views: 4941

Re: Randomizing elements of a string

hi JRL,
thats because of the Randomize function isnt always random.

But we kan "help' that
just change the

let>maxr=%max%*30
into
let>maxr=%max%*60
and look again,
you will notice a better score !!

(ahum, i know that this isnt properly programming, but for only use at home, this is allowed)
:oops:
by Djek
Fri Apr 08, 2016 12:39 pm
Forum: Technical / Scripting
Topic: Randomizing elements of a string
Replies: 13
Views: 4941

Re: Randomizing elements of a string

hi Andrew, i guess the solution JRL offers is a good one, but i think difficult to follow? :lol: here i have a quick and dirty way i created : let>max=6 let>maxr=%max%*30 ArrayDim>name,%max% ArrayDim>order,%max% let>name_1=1Bob let>name_2=2Mary let>name_3=3Bill let>name_4=4Thomas let>name_5=5Djek le...
by Djek
Wed Nov 11, 2015 7:58 pm
Forum: Technical / Scripting
Topic: Do you want to save your changes? [SOLVED]
Replies: 8
Views: 3116

Re: Do you want to save your changes?

hi Abiven look at this: https://www.mjtnet.com/forum/viewtopic.php?f=2&t=8897 Hagchr had the answer, its a discrepancy if you answer No, it stil will save the script after you have run the script. Re: Bug? unwanted save if exit script after run Postby hagchr » Fri Oct 09, 2015 12:05 pm Hi, under the...
by Djek
Fri Oct 09, 2015 12:43 pm
Forum: Technical / Scripting
Topic: Bug? unwanted save if exit script after run
Replies: 2
Views: 1459

Re: Bug? unwanted save if exit script after run

???
..what?
Yes !
did not know that that was there,
thanks for pointing that out to me, Hagchr !
kind regards,
Djek
by Djek
Fri Oct 09, 2015 11:53 am
Forum: Technical / Scripting
Topic: Bug? unwanted save if exit script after run
Replies: 2
Views: 1459

Bug? unwanted save if exit script after run

hi all, there seems to be a bug. Perhaps someone can confirm this behavior? The last update did not fix it, but its a bit annoying create a script, for instance: let>answer=six MessageModal>answer run it; message says "six" save it, and open it again change let>answer=six into let>answer=seven run i...
by Djek
Thu May 14, 2015 8:07 am
Forum: Technical / Scripting
Topic: Solved: Magic Packet Wake on LAN Python parse error
Replies: 1
Views: 1685

Re: Solved: Magic Packet Wake on LAN Python parse error

hi for anyone who likes to use the straightened version: //macaddress of the pc let>mac=54-be-f7-02-e1-d7 //broadcast mask let>brdcst=192.168.170.255 //convert hex to bytes let>t=-2 let>tt=0 label>leeswaarde let>t=t+3 let>tt=tt+1 MidStr>mac,%t%,2,macuit VBEval>CLng("&h" & "%macuit%"),macchar VBEval>...
by Djek
Tue May 12, 2015 5:03 pm
Forum: Technical / Scripting
Topic: Date not updating?
Replies: 2
Views: 1836

Re: Date not updating?

hey Dom, seems to me that Day>Day Month>Month Year>Year Let>todayDate=%Year%%Month%%Day% must be on a position in the script AFTER you notice that there s a new file in the folder. The only reason that the date isnt refreshed, is because the date is init once, at the beginning of the script. Perhaps...
by Djek
Tue May 12, 2015 8:52 am
Forum: Technical / Scripting
Topic: Solved: Magic Packet Wake on LAN Python parse error
Replies: 1
Views: 1685

Solved: Magic Packet Wake on LAN Python parse error

hey all, i try to broadcast a packet over UDP, containing the mac address of a pc, and formatted to turn a pc on. more info about wol: http://nl.wikipedia.org/wiki/Wake-on-LAN btw: You need the Python lib to be properly installed; To my surprise, the script works :D , the pc turns on, but i get an s...
by Djek
Sun Mar 08, 2015 2:54 pm
Forum: Technical / Scripting
Topic: Mouse movement
Replies: 3
Views: 1253

Re: Mouse movement

hmm hard to say, your questions are like random shooting at your fellow forum members...
:D
I guess that you must determine the image you want to drag, locate this and drag it.

But i read the clear answers that Jerry Thomas gave to you, and i think you can manage that !

kind regards,
Djek
by Djek
Sun Mar 08, 2015 10:24 am
Forum: Technical / Scripting
Topic: Mouse movement
Replies: 3
Views: 1253

Re: Mouse movement

eugekiller wrote:Ok wondering if possible to hold left mouse button while moving the mouse around in a specific program?
Yes eugekiller

take a look at this example

MouseMove>960,240
wait>1
LDown
mouseMove>1069,240
Lup
wait>1

kind regards
Djek
by Djek
Mon Nov 17, 2014 12:24 pm
Forum: Technical / Scripting
Topic: Python code test from example help
Replies: 4
Views: 2195

Re: Python code test from example help

Thanks Marcus, in the debugger i saw that the defined python value was assigned on the right way to pcode so i didnt get it. :shock: it looked all right But i figured it out; :D on top i have the line: Let>VAREXPLICIT=1 In the debugger the value of pcode is different as the value from %pcode% If i c...
Sign up to our newsletter for free automation tips, tricks & discounts