Search found 695 matches

by kpassaur
Thu May 04, 2017 1:11 pm
Forum: Technical / Scripting
Topic: Registry Values not Deleting
Replies: 8
Views: 5573

Re: Registry Values not Deleting

That is not the case. It extends a trial of software that I sell. Since this code has stopped working and I have gotten no response I have had to rewrite the software so the settings are no longer stored in the registry. This is a bug in Macro Scheduler as the code above has worked for years. I'm su...
by kpassaur
Mon Apr 10, 2017 4:11 pm
Forum: Technical / Scripting
Topic: Registry Values not Deleting
Replies: 8
Views: 5573

Registry Values not Deleting

I have used the code below for years with no issues and now it does not work. I am using a Windows 10 machine and I am logged in as an administrator. I have tried various things such as using the whole path with WOW6432NODE in it etc. It always reads it, it just doesn't delete it. Any ideas? Oh, yes...
by kpassaur
Wed Mar 01, 2017 4:39 pm
Forum: The Water Cooler
Topic: Script for Focus/Image Stacking with Canon EOS Camera
Replies: 19
Views: 39193

Re: Script for Focus/Image Stacking with Canon EOS Camera

When you step through the code in the editor the left side of the screen should be on the watch list tab. It shows what is happening on each line of code. You can also search it.
by kpassaur
Mon Feb 27, 2017 9:48 pm
Forum: The Water Cooler
Topic: Script for Focus/Image Stacking with Canon EOS Camera
Replies: 19
Views: 39193

Re: Script for Focus/Image Stacking with Canon EOS Camera

You put the code in the script editor and click on run. If it gives you the same issue insert a line above the error line and insert a breakpoint from the drop down menu. Then it will stop before it gets to the error and when you press f8 it will go to the next line (the line causing the error) and ...
by kpassaur
Mon Feb 27, 2017 9:28 pm
Forum: The Water Cooler
Topic: Script for Focus/Image Stacking with Canon EOS Camera
Replies: 19
Views: 39193

Re: Script for Focus/Image Stacking with Canon EOS Camera

Try this - the code above didn't contain that line this one does. I also have a couple of other scripts for photography that I may post. One renames photos and organizes them by the time and date taken. Actually a little more to it than that as it will also rename the corresponding xmp files for Lig...
by kpassaur
Mon Feb 27, 2017 8:52 pm
Forum: The Water Cooler
Topic: Script for Focus/Image Stacking with Canon EOS Camera
Replies: 19
Views: 39193

Re: Script for Focus/Image Stacking with Canon EOS Camera

If you find the error feel free to correct it and post it. As mentioned you can now do this with Magic Lantern which is a better choice as it is in the camera not on a PC so it is every where you go.
by kpassaur
Mon Feb 27, 2017 7:52 pm
Forum: The Water Cooler
Topic: Script for Focus/Image Stacking with Canon EOS Camera
Replies: 19
Views: 39193

Re: Script for Focus/Image Stacking with Canon EOS Camera

Mel, I just copied the code from above and opened it in the script editor and it does not give an error like that on line 130. For what it is worth line 130 is part of the dialog box. All this program does is move a cursor, press a left mouse button and keep track of it. I don't use it any more as I...
by kpassaur
Tue Dec 06, 2016 5:13 pm
Forum: Technical / Scripting
Topic: Spaces in ini file
Replies: 5
Views: 12092

Re: Spaces in ini file

Thanks, I put in use a # sign and then when it was read I replaced it with a space. The issue was that eventually I will press the button to remove trailing spaces and then it would be broken. Thanks for the proper fix.

Regards
by kpassaur
Tue Dec 06, 2016 5:05 pm
Forum: Technical / Scripting
Topic: Double Entry in Dialog Entry
Replies: 3
Views: 4028

Re: Double Entry in Dialog Entry

It is not an issue, I just thought I was losing it. Thanks for the follow up
by kpassaur
Tue Dec 06, 2016 12:36 pm
Forum: Technical / Scripting
Topic: Double Entry in Dialog Entry
Replies: 3
Views: 4028

Double Entry in Dialog Entry

I was manually setting the properties of some text boxes and drop down lists in the Dialog Editor. Under the Properties for a text box the Width shows up twice, it does not on ComboBoxes. I figured it was me so I closed everything and there it was again. I deleted the box and tried again and it was ...
by kpassaur
Tue Dec 06, 2016 10:36 am
Forum: Technical / Scripting
Topic: Spaces in ini file
Replies: 5
Views: 12092

Re: Spaces in ini file

That is not what I am talking about I am talking about this: SEP1= After this there is a space in the ini file. You can't see it, as it is a space. It is there when you open the ini file and put your cursor there so it is being written to. However, it is not being read. It's easy enough to have a # ...
by kpassaur
Tue Dec 06, 2016 10:26 am
Forum: Technical / Scripting
Topic: Control Names in Dialogs Disapearing
Replies: 2
Views: 2853

Re: Control Names in Dialogs Disapearing

Marcus,
If it happens again will get you a screen shot. It flipped me out as I clicked on the Combobox in the designer and everything was there but the name.
by kpassaur
Mon Dec 05, 2016 11:08 pm
Forum: Technical / Scripting
Topic: Spaces in ini file
Replies: 5
Views: 12092

Spaces in ini file

I am looking to create a little setup program for naming files. In it there are separate sections where a user could specify a file name separator, you know a dash, underscore or a space. So, they want a space, I write a space to the ini file. I open the ini file and the space is there. No problem, ...
by kpassaur
Mon Dec 05, 2016 2:10 pm
Forum: Technical / Scripting
Topic: Control Names in Dialogs Disapearing
Replies: 2
Views: 2853

Control Names in Dialogs Disapearing

This has happened to me a couple of times in the last week (since I updated to 14.03.07. I am writing a script and everything seems to be fine. Then in debugging control names in a Dialog disappear. So they work, then they don't and when you open the Dialog the control has no name - the control is s...
by kpassaur
Wed Nov 30, 2016 6:29 pm
Forum: Technical / Scripting
Topic: Images in Dialog trunicated.
Replies: 2
Views: 5624

Re: Images in Dialog trunicated.

Thanks for looking - I figured it out. There is an option called "Proportional" and it needs to be set to True. An easy fix was to unhide everything, scroll down quickly (it is easy to figure out what is an image in a dialog) paste at the bottom of the image before end "Proportional = True" I think ...
cron
Sign up to our newsletter for free automation tips, tricks & discounts