Search found 70 matches
- Tue Mar 28, 2017 2:01 pm
- Forum: Beginners
- Topic: Declare a Multidimensional Array
- Replies: 2
- Views: 3919
Re: Declare a Multidimensional Array
Hi, You could do something like this: 'define array size let>cols=4 Let>rows=2 Let>r=0 'assingn each array element Repeat>r Add>r,1 Let>c=0 Repeat>c Add>c,1 Let>List_%r%_%c%={""} Until>c=cols Until>r=rows 'assign values Let>List_1_1=%a% Let>List_1_2=%shortText% Let>List_1_3=%quantity% Let>List_1_4=%...
- Sun Mar 19, 2017 12:35 pm
- Forum: Beginners
- Topic: Pre-select Items in a Multi-select Listbox
- Replies: 13
- Views: 16963
Re: Pre-select Items in a Multi-select Listbox
:D Ah what a nice trick. This is exactly what I was looking for. UIClick>%hWndParent%,%tmp% Many thanks for your help. May I ask if you also know a solution if the listbox is defined with "ExtendedSelect=true" ? Klaus Hi Klaus, I've never had to use ExtendedSelect. Judging by its behavior, it looks...
- Sun Mar 19, 2017 11:11 am
- Forum: Technical / Scripting
- Topic: Strange error after compiling
- Replies: 4
- Views: 4735
Re: Strange error after compiling
hi conjure,
can you also check if you have this file called License.dat in the same directory as exe....
can you also check if you have this file called License.dat in the same directory as exe....
- Thu Mar 16, 2017 11:17 am
- Forum: Beginners
- Topic: Pre-select Items in a Multi-select Listbox
- Replies: 13
- Views: 16963
Re: Pre-select Items in a Multi-select Listbox
ok, so the following little hack will preload the list based on random number from list item. Searchstring text box will lookup in the list exact match before it selects it. Click move button to check the correct items were selected //Set IGNORESPACES to 1 to force script interpreter to ignore space...
- Thu Mar 16, 2017 5:32 am
- Forum: Beginners
- Topic: Pre-select Items in a Multi-select Listbox
- Replies: 13
- Views: 16963
Re: Pre-select Items in a Multi-select Listbox
Hi, I'm curious what you are trying to solve here. Only cause you already know what needs to be added from existing variables... Example below does not highlight but will select what you want from a list generated at runtime... //Set IGNORESPACES to 1 to force script interpreter to ignore spaces. //...
- Tue Mar 14, 2017 7:18 am
- Forum: Technical / Scripting
- Topic: Strange error after compiling
- Replies: 4
- Views: 4735
Re: Strange error after compiling
Hi,
Looks like you are calling the functions GetTextInit and GetWindowTextEx
Make sure the following dependencies are in the same directory as your compiled .exe file for Win7
GetWord.dll
GetWord_x64.dll
or if server
GetWordNT.dll
GetWordNT_x64.dll
I've seen a similar error when they are missing
Looks like you are calling the functions GetTextInit and GetWindowTextEx
Make sure the following dependencies are in the same directory as your compiled .exe file for Win7
GetWord.dll
GetWord_x64.dll
or if server
GetWordNT.dll
GetWordNT_x64.dll
I've seen a similar error when they are missing
- Tue Mar 14, 2017 1:44 am
- Forum: Beginners
- Topic: Copyfile and Movefile don't work
- Replies: 4
- Views: 5090
Re: Copyfile and Movefile don't work
Right, I see your issue. You are missing the assignment character for your if's (>) and resulting in true statement every time.. Change your if statement from this: If{length("%dd%")<2} Let>dd=0%dd% Endif If{length("%mm%")<2} Let>mm=0%mm% Endif To this: If>{length("%dd%")<2} Let>dd=0%dd% Endif If>{l...
- Sun Mar 12, 2017 5:08 am
- Forum: Beginners
- Topic: Copyfile and Movefile don't work
- Replies: 4
- Views: 5090
Re: Copyfile and Movefile don't work
Hi, I highly recommend you use the absolute path name and not the mapped path. Judging by the path you are using, looks like you a mapping to a share drive. I'd use \\server\sharename\CWB\WRF\NC\ NOT Y:\CWB\WRF\NC\ Reason? Each user may map their share and use a different drive letter or the mapped ...
- Sun Mar 12, 2017 2:27 am
- Forum: Scripts and Tips
- Topic: Removing Attachment from Email
- Replies: 2
- Views: 7013
Re: Removing Attachment from Email
Hi ADP, You could get away with out VB scripts with example below. NOTE: you will need to create your own error handles and define the folder names to look for. Working for me so far. PS: Am running W7 enterprise with MS outlook 2010 Let>n=0 Let>i=0 Let>dirAtt=C:\Temp\att\ Repeat>i Add>i,1 Let>appTi...
- Sat Mar 11, 2017 1:58 am
- Forum: The Water Cooler
- Topic: 20 Years of Macro Scheduler!
- Replies: 7
- Views: 22565
Re: 20 Years of Macro Scheduler!
Amazing! Well done and congrats!
Great product, great outcomes! Love it!
Great product, great outcomes! Love it!
- Fri Mar 10, 2017 10:54 am
- Forum: Enhancement Suggestions
- Topic: FindObject> return false instead of error msg
- Replies: 2
- Views: 7627
FindObject> return false instead of error msg
I have created an automation that looks for a specific object that may take around 30secs to 3mins to generate and exist. Is it possible for FindObject> function to return false (0) object if not found and true (1) when found? Instead of the error msg which halts the automation process, this would b...
- Fri Mar 10, 2017 6:46 am
- Forum: Technical / Scripting
- Topic: simple way to add results to memobox
- Replies: 2
- Views: 2524
Re: simple way to add results to memobox
Hi...you could do something like this: //Set IGNORESPACES to 1 to force script interpreter to ignore spaces. //If using IGNORESPACES quote strings in {" ... "} //Let>IGNORESPACES=1 Dialog>Dialog1 object Dialog1: TForm Left = 358 Top = 147 HelpContext = 5000 BorderIcons = [biSystemMenu] Caption = 'Cu...
- Fri Mar 10, 2017 5:52 am
- Forum: Technical / Scripting
- Topic: AddDialogHandler>Dialog1,EDIT3,OnEnter = enter key press
- Replies: 4
- Views: 3815
Re: AddDialogHandler>Dialog1,EDIT3,OnEnter = enter key press
I want to this to work when someone presses enter on a keyboard in the dialog: AddDialogHandler>Dialog1,EDIT3,OnEnter,DoClick(1) but what event name do i pick? Thanks Hi Krash, You can try this also....works for text boxes Dialog>Dialog1 object Dialog1: TForm Left = 902 Top = 104 HelpContext = 5000...
- Tue Feb 28, 2017 4:13 am
- Forum: Enhancement Suggestions
- Topic: GetProcessIDs is great, but
- Replies: 5
- Views: 8983
Re: GetProcessIDs is great, but
Not the best solution. But this will find it. Not sure how it will affect any MS scripts running in terms of screens. '**NOTE: Change "Running" in Position>Running,%wText%,1,iPos to Not Responding 'to test leave as Running 'Have Notepad open to test this VBSTART Dim list Dim tmp 'returns the number ...
- Wed Feb 15, 2017 6:03 am
- Forum: Enhancement Suggestions
- Topic: GetProcessIDs is great, but
- Replies: 5
- Views: 8983
Re: GetProcessIDs is great, but
You could use something like this: VBSTART Dim list Dim tmp 'returns the number of copies of ProcessName that are running 'will return 0 if ProcessName is not running Function GenerateProcessList() Set objSWbemServices = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\.\root\cimv2") Set ...