Houdah Software Forum Archive

AppleScript Support

Member #739
AppleScript support would make this application PERFECT!  It works great as it is, but if I could create applescripts to simply send keystrokes to my iPhone through Type2Phone I could completely automate several tasks.
Houdah Software
Hi!

Thank you for the feedback.

That is an interesting idea.

Best,

Pierre Bernard

Houdah Software s.à r.l.

Member #739 original poster
Thank you for adding AppleScript!  Now I just have one more small request.  The reconnect feature is great, but what really needs to go with it is a way to detect the current connection state.  Without that, I am forced to simply reconnect constantly, even though it's already connected.
Houdah Software
Hi!

Thank you for the feedback.

I will see what I can do.

Best,

Pierre Bernard

Houdah Software s.à r.l.

Member #739 original poster
Any progress with this feature?
Houdah Software
Hi!

My idea is to add a way for AppleScript to query the name of the currently connected device. If no device is connected, no name is returned.

I don't yet have a time frame for the next update.

Best,

Pierre Bernard

Houdah Software s.à r.l.

Member #814
This is the killer feature here. I work in QA and adding automation to any mundane task is an absolute must for sanity and data validation's sake. 
Is there a way to send the tabkey from Applescript? I tried a few things with no success so far.

Thanks...
Houdah Software
Hi!

Type2Phone 2.0 is making good progress.
This will be a free upgrade for all registered users.

Please send me an email if you'd like to join the beta testing program.

Best,
Pierre Bernard
Member #849
Hi,

I'm new to this software, and to AppleScript. However, I'm really keen to get something to work to save me a lot of time!

I want to navigate the Settings app via a script. I can do this using the VoiceOver commands in the app, but I can't see how to script this. Am I missing something, or is this unsupported? If it is, is there a workaround using "sendKeyCode" and a raw hex value? Any advice would be very much appreciated! Thanks.
Houdah Software
Hi!

Yes, indeed you could use sendKeyCode to send VoiceOver key combinations.

You may look inside the Type2Phone.app package. In Contents/Resources/SpecialMenuItems.plist you will see the key combinations send for VocieOver commands.

Alternatively you could use AppleScript UI scripting to select the existing menu items.

Best,

Pierre Bernard

Houdah Software s.à r.l.