Search found 3455 matches

by JRL
Tue Apr 04, 2006 8:58 pm
Forum: Beginners
Topic: 0 in Edit Dialog Box
Replies: 6
Views: 6583

Now I see what you're talking about... Without the GetDialogAction>s, when you pick on one of your browse buttons all of the previously filled in information disappears. I don't understand that phenomenon. But the GetDialogAction> apparently has some functionallity that doesn't make sense to me. I s...
by JRL
Tue Apr 04, 2006 7:15 pm
Forum: Beginners
Topic: 0 in Edit Dialog Box
Replies: 6
Views: 6583

I'm not seeing a "0" in any of the fields of the edit boxes in dialog1 or dialog3. But I don't have an INI file existing. You are presetting values from an INI so there must be a "0" in there somewhere. However, I see two other things right off. You have set up your dialogs as modal dialogs. This ju...
by JRL
Tue Apr 04, 2006 6:15 pm
Forum: Beginners
Topic: 0 in Edit Dialog Box
Replies: 6
Views: 6583

Does the edit field have a default value?

Edit=msEdit1,16,128,41,value

Or is Dialogname.editboxname getting set somehow?

More info might be helpful.

Later,
Dick
by JRL
Tue Apr 04, 2006 4:56 pm
Forum: Beginners
Topic: save the value of an edit object in a dialog
Replies: 14
Views: 15163

Maybe save you some time and headache. The "solution" I posted earlier will not work with an executable file, it will only work with a script. The reason it can work with a script is that scripts are text files. So, to make this portable each computer would need to be running Macro Scheduler. Later,...
by JRL
Tue Apr 04, 2006 1:05 pm
Forum: Beginners
Topic: need help with ini files
Replies: 2
Views: 4252

I don't know where you read that editIniFile> will create a file for you but I just tested it and it did not create one for me. However, you can easily create a new file using WriteLn>. The following line will create a new file that contains one blank line. WriteLn>C:\Program Files\initest\myini.ini...
by JRL
Mon Apr 03, 2006 9:45 pm
Forum: General Discussion
Topic: Dialog to encrypt a text string
Replies: 3
Views: 6736

Dialog to encrypt a text string

Hello All, I had a need to encrypt passwords going into an .INI file stored on the network and available to everyone. I was doing 120 of them so I wrote this to make the task less tedious. It is not commented but I thought I'd put it out here for anyone else who might be able to use it. It also cons...
by JRL
Mon Apr 03, 2006 3:53 pm
Forum: Technical / Scripting
Topic: Retrieving quires and reusing the results
Replies: 3
Views: 4966

I wish I had time to take on some consulting. I enjoy doing this but my problem is that I have full time employment that constrains my time. I would not be reliable.

Toward the bottom of the forum page is a list of consultants.

Later,
Dick
by JRL
Mon Apr 03, 2006 3:40 pm
Forum: Beginners
Topic: save the value of an edit object in a dialog
Replies: 14
Views: 15163

There is always ouroboros. You could have a script that deletes then rewrites itself with the new information embedded within. Something like this: ///Text that is saved Let>savetest=Text to test ///Path to Macro Scheduler ///My scripts and msched.exe happen to all be in the same folder ///Your setu...
by JRL
Fri Mar 31, 2006 10:57 pm
Forum: Technical / Scripting
Topic: Retrieving quires and reusing the results
Replies: 3
Views: 4966

Probably... Definitely can run a query and use the results generated by the query. When I do this I usually use a macro to run the query reults to a .CSV file. But I've heard there are methods to retreive directly from an access table. After you have the data you can nearly always pop it into any fi...
by JRL
Fri Mar 31, 2006 2:29 pm
Forum: General Discussion
Topic: Local Users Group
Replies: 12
Views: 14411

Its been nearly a year but this topic has popped up again. As I stated last year, travel ( $$ ) might be difficult, but not impossible. Last year I said that I would be willing to host something local to my home. I think I've changed my mind. Based on the level of apparent interest, it would seem th...
by JRL
Thu Mar 30, 2006 10:57 pm
Forum: Technical / Scripting
Topic: posting HTML Code in a script
Replies: 3
Views: 5186

Create a test macro, paste this into it and see if it meets your needs. Notice the %CRLF% inserted into the line just ahead of Let>FieldValue=In a world one man, a lone rebel, a %CRLF%cop has to take on... Let>MSG_WIDTH=400 mdl>%FieldValue% When you pull the text from excel, it will already have the...
by JRL
Thu Mar 30, 2006 6:33 pm
Forum: Technical / Scripting
Topic: posting HTML Code in a script
Replies: 3
Views: 5186

Perhaps you're making this more difficult than it really is. Your line: Let>FieldValue={"This is my regular text"} Can be shortened to Let>FieldValue=This is my regular text Any HTML text can be assigned to a variable in the same way. One thing you need to understand is that all of the text assigned...
by JRL
Thu Mar 30, 2006 4:45 pm
Forum: Technical / Scripting
Topic: GetWindowPos> returns negative coords?
Replies: 2
Views: 4796

Quick test on my computer shows the same results if using Firefox as the browser. I get 1,1 if I use Explorer.

Must simply be where they put the window when its maximised. Technically not the same as full screen.

Later,
Dick
by JRL
Thu Mar 30, 2006 3:58 pm
Forum: Technical / Scripting
Topic: activate macro with mouse click on the screen
Replies: 7
Views: 16401

Another thought. Create a bitmap with the appropriate colors and borders and use it as a Windows wallpaper. this could be turned on and off through the registry using Macro Scheduler. Then use OnEvent>VK1 to capture any mouse click that occurs anywhere on the screen. The subroutine called by the OnE...
by JRL
Thu Mar 30, 2006 3:27 pm
Forum: Technical / Scripting
Topic: activate macro with mouse click on the screen
Replies: 7
Views: 16401

I'm not sure I undestand this discussion. But.... Very definitely, A macro can be written that places a dialogbox on the screen with buttons of any size desired. The dialog can have a bitmap as its background. Those buttons can have bitmaps as their background. The buttons, when selected, can perfor...
Sign up to our newsletter for free automation tips, tricks & discounts