Search found 3455 matches
- Tue Jul 12, 2005 11:11 pm
- Forum: Technical / Scripting
- Topic: help with notepad's save as
- Replies: 3
- Views: 6296
Brian, Have you tried searching the forum for answers to your problems? There is a fair amount of discussion on this type of subject. You may be having syntax problems which is a learning issue. Even if your code is correct you may also be having problems with application windows not opening at the ...
- Tue Jul 12, 2005 8:02 pm
- Forum: Technical / Scripting
- Topic: calculating values from a text file
- Replies: 6
- Views: 7348
Try something like this: Readfile>c:\test.txt,file separate>file,%CRLF%,num Let>k=1 repeat>k Let>k=k+1 add>num_1,num_%k% until>k,num_count MDL>Total=%num_1% This assumes each number is on a line of its own, I didn't test to see what would happen if there are blank lines though I think it will pass o...
- Tue Jul 12, 2005 7:42 pm
- Forum: Technical / Scripting
- Topic: how can I change color and size of the words on a dialog?
- Replies: 2
- Views: 5198
Something you can do to make dialogs more interesting is to use the image object within the dialog function. First create the dialog normally so that everything is laid out the way you want it. When you're happy that you won't be making any more changes, run the script. When the dialog pops up use A...
- Tue Jul 12, 2005 5:33 pm
- Forum: Technical / Scripting
- Topic: GetFileList returns backslash
- Replies: 4
- Views: 6103
Tony, Try using the stringreplace function to remove the backslashes before you do your seperate. Something like this: Cha>U:\EData\SIL_FTP\Dunn\VMI\NEW_OUT\ GetFileList>*.csv,files Let>bslash=\ Let>null= StringReplace>files,%bslash%,%null%,newfiles Separate>newfiles,;,file_names Note that there is ...
- Tue Jul 12, 2005 4:11 am
- Forum: Technical / Scripting
- Topic: help with notepad's replace
- Replies: 11
- Views: 12489
Brian, This doesn't answer your original question but: Would you be willing to try modifying your text file outside of notepad? Macro Scheduler does a dandy job with text file editing all by itself. It is very fast and accurate. You can easily make changes using the readfile function to import the t...
- Fri Jul 08, 2005 6:32 pm
- Forum: Technical / Scripting
- Topic: %%k%%
- Replies: 4
- Views: 6203
- Thu Jul 07, 2005 9:33 pm
- Forum: General Discussion
- Topic: Bombs in London
- Replies: 4
- Views: 6960
- Thu Jun 30, 2005 8:53 pm
- Forum: Beginners
- Topic: Schedule not running when logged off
- Replies: 3
- Views: 6433
jking, Your problem is that the moment you log onto your server using remote desktop the server's desktop goes to a windows logon screen. When you exit from the remote desktop, the server remains at the logon screen. The problem with this is that Macro Scheduler can't do any "windows" stuff when the...
- Thu Jun 30, 2005 2:23 pm
- Forum: Technical / Scripting
- Topic: how to show a message according to some conditons?
- Replies: 6
- Views: 7685
If I understand you correctly, you want one message at the end to reflect the choices made in your dialog box regarding one to all of the options selected. Note, using subroutines rather than labels for install1 thru 4. Try something like this: Let>MsgString= If>Dialog.MycheckBox1=True Concat>MsgStr...
- Tue Jun 28, 2005 5:54 pm
- Forum: Technical / Scripting
- Topic: how to show a message according to some conditons?
- Replies: 6
- Views: 7685
Judging by your next post, you may have already figured this out but since you posed the question, it deserves an answer. I will also incorporate Luciano's solution to your next post. There are so many possibilities, but as long as you have version 7.3 or higher installed you can use complex "If" st...
- Sun Jun 26, 2005 3:36 am
- Forum: Technical / Scripting
- Topic: how to make a new folder?
- Replies: 1
- Views: 3683
Try something like this: run>cmd /c md c:\path\newfoldername If you are using an older version of windows you'll have to replace the "cmd" with command.com. I don't really know which version was the first to use "cmd.exe" rather than the old command.com but a previous post has a reply from support w...
- Thu Jun 23, 2005 7:05 pm
- Forum: Beginners
- Topic: How can I detect mouse clicks and keyboard presses?
- Replies: 1
- Views: 4130
I think what you're looking for is WaitKeyDown. Read the documentation its fairly straightforward. I have never been able to get the virtual keys to work for mouse clicks. I have circumvented this by leaving a message to the user to position the mouse as needed and then press a key (usually the spac...
- Tue Jun 21, 2005 4:39 am
- Forum: Technical / Scripting
- Topic: Assembling a .jpg image for lots of individual cells
- Replies: 18
- Views: 20328
Prospero, I am by no means an expert in image processing but I would like to know what your expectations are for the amount of time this should take. Using the panorama function of IrFanView I did some experimenting. I created a 250 x 250 pixel jpg and saved it to an 18K file size. I then copied it ...
- Tue Jun 14, 2005 10:30 pm
- Forum: Technical / Scripting
- Topic: Using two FileBrowse Buttons with the same name in a Dialog
- Replies: 11
- Views: 12850
kpassaur, I believe your first question can be solved by creating a .bmp file with the word "Browse" in it. then specifying that .bmp file in the button function of the dialog. Dialog>Dialog1 Caption=Browse Button Test Top=150 Width=270 Left=200 Height=200 Edit=msEdit1,104,8,121, Edit=msEdit2,104,56...
- Mon Jun 13, 2005 5:30 pm
- Forum: Enhancement Suggestions
- Topic: WaitKeyDown timeout
- Replies: 1
- Views: 7137
WaitKeyDown timeout
It would be convenient to have a timeout for WaitKeyDown similar to the timeout for the WaitWindow functions. It would also be nice to be be able perform one action if a timeout occurs and a different action if the process continues before the timeout occurs, again, similar to the WaitWindow functio...