Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Help with Input Box Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
cruelkix
Groupie
Groupie
Avatar

Joined: October 08 2008
Location: United States
Online Status: Offline
Posts: 47
Posted: May 02 2009 at 08:51 | IP Logged Quote cruelkix

I cant seem to find what the sytax is for an input box?

Im in a macro and I change the "Command" drop down to input box and then I place the "ID" drop down to No TTS, but what in the world do I put in the "Send Keys/TTS/Dim/Formula" box? I've gottent he input box to come up but I can seem to change the text nor pull the inputted value into a variable.

Thanks for the help!
Back to Top View cruelkix's Profile Search for other posts by cruelkix
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: May 02 2009 at 11:43 | IP Logged Quote grif091

Part of the answer. The Send Keys is a quoted string ie. "INPUT BOX TEXT" that displays below the Input Box window title. If you select TTS, PH will speak those words when the Input Box is displayed. Have not figured out where the inputed data goes yet. It is not in any of the tempx variables. The typed data appears the next time the Input Box is displayed so the data must be stored across a macro execution.

__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
cruelkix
Groupie
Groupie
Avatar

Joined: October 08 2008
Location: United States
Online Status: Offline
Posts: 47
Posted: May 02 2009 at 11:47 | IP Logged Quote cruelkix

grif091 wrote:
Part of the answer. The Send Keys is a quoted string ie. "INPUT BOX TEXT" that displays below the Input Box window title. If you select TTS, PH will speak those words when the Input Box is displayed. Have not figured out where the inputed data goes yet. It is not in any of the tempx variables. The typed data appears the next time the Input Box is displayed so the data must be stored across a macro execution.


Interesting. I'm happy to know it wasn't an obvious answer at least! So when you click OK it must be running some code to store the Value inputted into a variable somewhere. The question is where. Does it dump it into a [LOCAL#] by chance?
Back to Top View cruelkix's Profile Search for other posts by cruelkix
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: May 02 2009 at 13:29 | IP Logged Quote grif091

The entered data is in [INPUTRET].

__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
cruelkix
Groupie
Groupie
Avatar

Joined: October 08 2008
Location: United States
Online Status: Offline
Posts: 47
Posted: May 02 2009 at 19:46 | IP Logged Quote cruelkix

grif091 wrote:
The entered data is in [INPUTRET].


Sweet. So how did you figure that one out?

Is that a global or a local variable?

Edited by cruelkix - May 02 2009 at 19:47
Back to Top View cruelkix's Profile Search for other posts by cruelkix
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: May 02 2009 at 20:29 | IP Logged Quote grif091

I would like to say I have great intuitive insight. But, I searched the forum for "Input Box" and about the fifth or sixth hit had a macro example that used the Input Box and showed where to access the keyed data.

[INPUTRET] is a system variable like [DUSK], [DAWN], [SUNRISE], [SUNSET] (not sure all of those are real) that PH has predefined.


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 
cruelkix
Groupie
Groupie
Avatar

Joined: October 08 2008
Location: United States
Online Status: Offline
Posts: 47
Posted: May 02 2009 at 20:38 | IP Logged Quote cruelkix

grif091 wrote:
I would like to say I have great intuitive insight. But, I searched the forum for "Input Box" and about the fifth or sixth hit had a macro example that used the Input Box and showed where to access the keyed data.

[INPUTRET] is a system variable like [DUSK], [DAWN], [SUNRISE], [SUNSET] (not sure all of those are real) that PH has predefined.


I did the same search and had 0 luck after reading through a few of them..... If it was found by searching I feel bad for making you look.

System Variable.... good stuff, thanks for the info.
Back to Top View cruelkix's Profile Search for other posts by cruelkix
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum