Jump to content

Taking control


pepe
 Share

Recommended Posts

Hi...

I have a program that has a slider and a growing list of (PSRemote)...I want to do remote control that through my script sets the value of the slider and the on / off in list and I want to automatically change it in that program.

This create my list:

$Label_flash = GUICtrlCreateLabel ("Flash", 10, 80, 75, 25)

$Flash = GUICtrlCreateCombo("", 10, 100, 100, 25)

GUICtrlSetData(-1, "Off|On|On + Red-Eye|Auto|Auto + Red-Eye", "Off")

And that i want to send:

$zmienna = GUICtrlRead ($Flash)

ControlSend ("[TITLE:PSRemote (trial version) - Connected to Canon PowerShot S60]", "", "[iD:1017]", GUICtrlSetData($zmienna))

Of course I'm sorry for my bad English!!

Help me...please

Link to comment
Share on other sites

Could you post a screenshot of the interface of the software? It's quite hard to guess without seeing the GUI.

Maybe it should be

ControlSend ("[TITLE:PSRemote (trial version) - Connected to Canon PowerShot S60]", "", "[ID:1017]", $zmienna)
Link to comment
Share on other sites

http://imageshack.us/photo/my-images/266/guisoftware.jpg/

in this link find in screenshot of the interface of the software. The title is different, becouse now I don't have camera.

Red line I pointed control which interents me

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...