Search found 495 matches

by Phil Pendlebury
Mon Dec 31, 2007 5:45 pm
Forum: Technical / Scripting
Topic: Access Violation (v10)
Replies: 16
Views: 12869

Access Violation (v10)

Happy New Year all! The below script causes access violation errors (v10). This happens whenever the OK or cancel button are pressed. The script seems to work normally though once the violation error is cleared. [code] Dialog>Dialog1 Caption=Dialog1 Width=156 Height=157 Top=219 Left=1103 Label=Filen...
by Phil Pendlebury
Sat Dec 15, 2007 5:42 pm
Forum: Technical / Scripting
Topic: remove duplicate jpegs from folder
Replies: 11
Views: 13614

Presumably they're not named the same otherwise they wouldn't be allowed in the same folder... I think the only easy way to do this is as steven mentioned - using file sizes. It would take hours upon hours to compare thousands of actual bitmaps one at a time (that's if they were bitmaps). Surely you...
by Phil Pendlebury
Sat Dec 08, 2007 3:52 pm
Forum: Technical / Scripting
Topic: Odd looping using IfWindowOpen>
Replies: 3
Views: 4323

Thank you Marcus.

I only recently added all the commas - because I thought I had been doing something wrong due to the exact reason you mention in the (codebuilder).

Very helpful to have suspicions confirmed so quickly.

Thank you once again.

:-)
by Phil Pendlebury
Sat Dec 08, 2007 3:10 pm
Forum: Technical / Scripting
Topic: Odd looping using IfWindowOpen>
Replies: 3
Views: 4323

Odd looping using IfWindowOpen>

In order to test this please open a Notepad default window (with Untitled as file name.) I have had major trouble with this. I am sure it something obvious. I have got around it by adding some lines but would like to know exactly what is going wrong. By my reckoning The first loop should check for t...
by Phil Pendlebury
Sat Nov 17, 2007 8:56 am
Forum: Technical / Scripting
Topic: Question about logging
Replies: 4
Views: 4749

OK well I have insert this into a short cut of the macro:

/LOGFILE=%SCRIPT_DIR%\logs\blahblah.log

and it seems to do what I need for now although i do not seem to be able to control the type of logging.

Anyway any further insights into this would be cool.
by Phil Pendlebury
Sat Nov 17, 2007 8:15 am
Forum: Technical / Scripting
Topic: Question about logging
Replies: 4
Views: 4749

Ok I have tried entering:

Code: Select all

/LOGFILE=%SCRIPT_DIR%\logs\%logfile_var%.log

Code: Select all

Let>LOGFILE=%SCRIPT_DIR%\logs\%logfile_var%.log
into my code...

I am getting no results.

:cry:
by Phil Pendlebury
Sat Nov 17, 2007 8:06 am
Forum: Technical / Scripting
Topic: Question about logging
Replies: 4
Views: 4749

OK never mind I found it /LOGFILE

I found this command by looking at the tool to make an exe and noticed the command for disabling log file.

It does not appear if you type log file or logging into help.

Sorry.

:oops:
by Phil Pendlebury
Sat Nov 17, 2007 8:04 am
Forum: Technical / Scripting
Topic: Question about logging
Replies: 4
Views: 4749

Question about logging

Greetings, I have searched help and the forum but can find no way to do this. In the help it says that to enable logging you must use the Macro Properties Window. This works fine and creates a log in the given directory etc. However, the script I want to log is distributed as an .exe file. I can fin...
by Phil Pendlebury
Mon Nov 12, 2007 12:00 pm
Forum: Technical / Scripting
Topic: Problems with other languages?
Replies: 16
Views: 13541

Marcus I can;t thank you enough for th time you take to explain these things. Your support as usual goes beyond "support".

It makes sense now and putting it into practise should work. I will post up just in case anyone else is following this thread.

Thank you once again.
by Phil Pendlebury
Mon Nov 12, 2007 6:41 am
Forum: Technical / Scripting
Topic: Problems with other languages?
Replies: 16
Views: 13541

Hi Marcus have you had any chance to look at this?

Could it be that VB has trouble with regionalism? I'm not really sure what to do next. Can anyone help please?

Thank you.
by Phil Pendlebury
Thu Nov 08, 2007 6:12 pm
Forum: Technical / Scripting
Topic: Problems with other languages?
Replies: 16
Views: 13541

PAP Time Calculator: Line 87-89 Line 112-114 Line 137-139 VBEval>Round(%seconds%,2),seconds let>divby8=barsx/8 VBEval>Round(%divby8%,2),divby8 -------------------- PAP Delay Calculator: line 129: let>millisec={round(%premath%)} line 149: let>tempocalc={round(%premath%)} --------------------- It is c...
by Phil Pendlebury
Thu Nov 08, 2007 6:01 pm
Forum: Technical / Scripting
Topic: Problems with other languages?
Replies: 16
Views: 13541

I have reposted with HTML off and smilies off. There is still a lot of extra space being added but you were right the line was made wrong by the forum.

I will now step through and post back.

Thank you.
by Phil Pendlebury
Thu Nov 08, 2007 5:20 pm
Forum: Technical / Scripting
Topic: Problems with other languages?
Replies: 16
Views: 13541

For script number 1:
Invalid Parameters to ROUND
cannot read String as Float

For script number 2:
Microsoft VBScript Runtime error: 450
Wrong number of arguments or invalid property assignment: "Round"

I am sorry but this is beyond me to solve.

Please help. :oops: :oops: :oops:
by Phil Pendlebury
Thu Nov 08, 2007 12:19 pm
Forum: Technical / Scripting
Topic: Problems with other languages?
Replies: 16
Views: 13541

Ok I will give a more detailed report as soon as time permits. Thank you. :-)
by Phil Pendlebury
Thu Nov 08, 2007 11:52 am
Forum: Technical / Scripting
Topic: Problems with other languages?
Replies: 16
Views: 13541

OK tested with German and French and neither of the second two scripts work. The one that you edited does work.

I can't see what I am doing wrong sorry.
cron
Sign up to our newsletter for free automation tips, tricks & discounts