Search found 495 matches

by Phil Pendlebury
Mon Feb 19, 2007 11:08 am
Forum: Technical / Scripting
Topic: Adding leading zero
Replies: 4
Views: 5280

Aha...

Well both solutions work for me and both help me learn more about how the commands work which is great.

Thank you once again.
by Phil Pendlebury
Mon Feb 19, 2007 10:33 am
Forum: Technical / Scripting
Topic: Adding leading zero
Replies: 4
Views: 5280

Did the job great except had to add:

Code: Select all

IF>kount<10
ENDIF

etc.

as it was stripping the 1st digit from any number greater than 10.

Thanks, I wish I knew more about he VB stuff it is obviously really handy.
by Phil Pendlebury
Mon Feb 19, 2007 9:34 am
Forum: Technical / Scripting
Topic: Adding leading zero
Replies: 4
Views: 5280

Adding leading zero

Hi again,

In one of my scripts I have a file counter which adds a number to a file name.

Users have pointed out that adding 1_filename, 2_filename etc. causes sorting problems in explorer.

Is there an obvious way to add leading zero?

01_filename, 02_filename etc.

TY.
by Phil Pendlebury
Mon Feb 19, 2007 9:21 am
Forum: Technical / Scripting
Topic: How would I make an area grey out if a box is checked?
Replies: 12
Views: 20466

That's great thank you. :-)

On a similar subject I have been having real trouble with default values for Drop Down lists but I will post this separately.

Thanks again, I'm sure others will also find this useful.
by Phil Pendlebury
Sat Feb 17, 2007 1:01 pm
Forum: Technical / Scripting
Topic: How would I make an area grey out if a box is checked?
Replies: 12
Views: 20466

Hi again. I now need to do this to another two edit boxes. the code you gave me before: //Get Handle of filename Edit Box LibFunc>User32,FindWindowA,dlgHwnd,TForm,Export Settings LibFunc>User32,FindWindowExA,editHwnd,dlgHwnd,0,TEdit,yourfile Label>ActionLoop GetDialogAction>Dialog1,result if>Dialog1...
by Phil Pendlebury
Sat Feb 17, 2007 12:19 am
Forum: Technical / Scripting
Topic: Allowing only certain characters?
Replies: 3
Views: 4420

Well this will have to do for me I guess. Not the most elegant solution but it will do: // ENTER DISALLOWED CHARACTERS Let>notallowed=ENTER CHARS HERE FOR SOME REASON THIS FORUM WON'T ALLOW THEM TO BE ENTERED - COMMAS BRACKETS ETC. Length>%notallowed%,naloop // INPUT SOMETHING Input>blah,DO IT!,Put ...
by Phil Pendlebury
Fri Feb 16, 2007 9:00 pm
Forum: Technical / Scripting
Topic: Allowing only certain characters?
Replies: 3
Views: 4420

Thanks Bob, I haven't a clue about VB script.

Still I can use Google like anyone else I guess...

:-)
by Phil Pendlebury
Fri Feb 16, 2007 8:14 pm
Forum: Technical / Scripting
Topic: Allowing only certain characters?
Replies: 3
Views: 4420

Allowing only certain characters?

Once again I have searched and found some close but not close enough for my limited understanding. I have a section in my script that enters the result of a variable into a file save dialog. However, as you know, Windows hates certain characters in file names. So I am trying to strip them from the v...
by Phil Pendlebury
Thu Feb 15, 2007 11:40 pm
Forum: General Discussion
Topic: Tools upload area
Replies: 1
Views: 3858

Added my 2P. :-)
by Phil Pendlebury
Thu Feb 15, 2007 6:41 pm
Forum: Technical / Scripting
Topic: SetFocus problem in Windows Vista
Replies: 4
Views: 5027

Hi Phil, Playing around today I managed to replicate it with one particular window. We've looked into it and can see that there could be instances where this preview window is focused, instead of the one you want. We will work on a mod to ignore these ThumbnailClass windows for the next maintenance...
by Phil Pendlebury
Thu Feb 15, 2007 2:49 pm
Forum: Technical / Scripting
Topic: SetFocus problem in Windows Vista
Replies: 4
Views: 5027

I'm running Vista and have never seen this happen. Do you get this with all/any windows, or just one in particular? Have you checked the View System Windows tool to see if there are more than one window with the same title? Are you using the asterisk or the explicit window title? Have you used WF_T...
by Phil Pendlebury
Thu Feb 15, 2007 2:14 pm
Forum: Technical / Scripting
Topic: SetFocus problem in Windows Vista
Replies: 4
Views: 5027

SetFocus problem in Windows Vista

Greetings, I am noticing this quite regularly now. When a set focus command is sent from my script the main window itself is not getting focus... Instead the small preview window (that appears when you hover over the window label in the lower task bar) gets focus instead. Of course this means that t...
by Phil Pendlebury
Thu Feb 08, 2007 4:41 pm
Forum: Technical / Scripting
Topic: Error Initialising MSSCRIPT control - WIN2K
Replies: 2
Views: 5263

Hi JRL. Thanks for your reply, it does look like a similar problem.

I can't quite figure out what I should suggest to the person who is having this trouble.

He says that the script seems to be running OK although he gets this error every time he starts it.

Sorry :oops:
by Phil Pendlebury
Thu Feb 08, 2007 10:19 am
Forum: Technical / Scripting
Topic: Error Initialising MSSCRIPT control - WIN2K
Replies: 2
Views: 5263

Error Initialising MSSCRIPT control - WIN2K

Hi, I have just had this message from one of my users. My script (which is always an exe) uses dialogs and key send and really nothing glamorous other than reading from ini files and a little bit of code that you added for me to grey out a dialog. ... it doesn’t seem to hinder the script func...
by Phil Pendlebury
Thu Feb 01, 2007 7:30 pm
Forum: Technical / Scripting
Topic: Using variable in message labels... odd problem
Replies: 5
Views: 6815

Thanks for the detailed explanation, much appreciated. :-)
cron
Sign up to our newsletter for free automation tips, tricks & discounts