Testers/Feedback on iReflector Gadget

Friday, August 3, 2007 by SirSmiley | Discussion: DesktopX

Okay. This was just rejected from upload. So, I'm wondering if some people would be more than kind to test this out. Everyone over at Aqua-soft & elsewhere seem to have it working. Excluding a few initial hiccups.

Here's what the issues are:
  1.  Skins not changing within right click menu
  2. the other issue is with registering the com object
The reason this has been left manually from the right click menu is for users who already have ImageMagick installed with the existing com object. It unregisters that version when you install this version & may cause problems with the command line tools, etc.

Get the Gadget at deviantart-->http://www.deviantart.com/deviation/61284589/


SirSmiley
Reply #1 Friday, August 3, 2007 10:24 PM
Oh, for developers here is the sub I use to register/unregister the com object when selected in the right click menu.

Code: vbscript
  1. '--Adds Install/Uninstall Option to Right Click Menu
  2. Sub comInstall
  3. Set objShell=CreateObject("WScript.Shell")
  4. Set objFSO = CreateObject("Scripting.FileSystemObject")
  5. comPath=DesktopX.ExecutableDirectory&"ImageMagick\ImageMagickObject.dll"
  6. regsvrPath=DesktopX.ExecutableDirectory&"ImageMagick\regsvr32.exe"
  7. r = msgbox("Click YES to register." & vbcrlf & "Click NO to Unregister.", 35, "Register or Unregister?")
  8. If r = 2 Then
  9. Exit Sub
  10. ElseIf r = 6 Then
  11. '-------- this is the only line you need to register: Regsvr path [space] /S [space] DLL path ------------
  12. '-- silent method: sh.Run(sys & "\regsvr32.exe /S " & arg)
  13. strCommand="cmd.exe /C "&regsvrPath&" " & comPath
  14. iReturn = objShell.Run(strCommand, 0, True)
  15. Else
  16. '--silent method: sh.Run(sys & "\regsvr32.exe /S /U " & arg)
  17. strCommand="cmd.exe /C "&regsvrPath&" /U " & comPath
  18. iReturn = objShell.Run(strCommand, 0, True)
  19. End If
  20. 'msgbox "Done."
  21. Set objShell = Nothing
  22. Set objFSO = Nothing
  23. End Sub
Erk.
Reply #2 Saturday, August 4, 2007 4:31 AM

Skins not changing within right click menu

the other issue is with registering the com object

Just in case I neglected to mention it in the email, SirSmiley ...these are the exact issues I was having when testing it myself. Another moderator also had the first problem.

I really hope you do get it sorted out. It looks great.

sViz
Reply #3 Saturday, August 4, 2007 2:46 PM
Yesterday I had problems with getting the Metallic Iron skin to apply. Then anytime I selected an item from the menu the second, default hide/close/about/preferences menu would appear. But when I unregistered the com object, deleted everything, and then started over from the zip it didn't have that problem anymore.

However, today when I load the iReflector up again I can't get the custom r-click menu. All I get is the standard hide/close/about/preferences menu.

Are you using the R-click Replacement script? I was having problems with that on some stuff I was working on so I just opted for the regular r-click menu.
SirSmiley
Reply #4 Saturday, August 4, 2007 4:36 PM
Erk & sViz the issue may have been that I left in an additional Right click option on the top bar that was being used in the object when developing.

And yes I'm using the custom r-click menu. I had those issues only with the option up above enabled.

I think I will switch it to including automatically installing/uninstalling like Skarn did in his object. After all how many people actually do have ImageMagick installed?

Edit: Don't know how to say this without sounding like a kiss @ss but, DesktopX does a great job of packing the dll into the final gadget!

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01