I think keyboard commands are coming in the next version(hopefully soon). For now you might only be able to switch between Spaces and control iGuidance
Hi guys,
I'm posting a New thread about the ICE3 commands.
I was wondering if you guys or creator would like to share the commands it uses to change screens (cube like). The point is, I hacked up a PS3 alike USB controller with some OEM buttons in my car.
I now need to link each buttons to a ICE3 command but I can't seems to find what the creator used.
Here's an example:
MAP/GUIDE = switch to space 3 (where Fusion run iGuidance in full screen) OK
MENU = switch to the ICE3 HOME (need the command)
SETUP-INFO = Setup would switch to the settings page; Info don't know yet lol
ZOOM = I will probably use this into iGuidance...will have to check if possible to reroute command to VMFUSION
CANCEL = back to previous screen; if possible
AUDIO = switch to audio ICE3 screen
CENTER = will be right,left,up & down (act like arrows or mouse)
I hope to get some help on this even the forum seems empty even if the creator as showed up some life sign couple weeks ago![]()
FYI I'm using Controller Mate to customize the commands from the USB controller. Really easy to use and pretty useful.
I think keyboard commands are coming in the next version(hopefully soon). For now you might only be able to switch between Spaces and control iGuidance
Hmmm....isn't there a way you can call the software buttons onscreen if you only know their name? I thought you could use gui scripting and there was an inspector tool you could run that would tell you the name of the object (button) on the screen.
Using applescript, you could issue a command to that button.
It might be better to wait for keyboard commands but that is one way to do it.
Want to:
-Find out about the new iBug iPad install?
-Find out about carPC's in just 5 minutes? View the Car PC 101 video
Sounds interesting. That would work for me too since my TS glass is broken. Is that something in Xcode bugbyte?
Here is a nice tutorial on how to UI script. And here is where you can get the UI element inspector tool.
Also, you can probably poke around inside the ICE3 app using XCODE and the interface builder to determine the names of some of the buttons.
Want to:
-Find out about the new iBug iPad install?
-Find out about carPC's in just 5 minutes? View the Car PC 101 video
^^WOW thanks BugByte, as usual always have some great answers/solution for US. I'll work my way arround with this. It's really simple to use I may have to WRITE on this forum about this, it will simply revolutionate the MacCar frontEndlol
FYI: I did poke inside ICE3 and I got all commands I needed in 2 minutes lol...this tool is simply AWESOME. Now I need to script this and assign some commands to those codes...and finally assign that command to my hackedup USB controller![]()
This post made my daythanks again! will keep u guys updated!
OK! I was so Happy that I took some time to analyse this. I have some good knowledge into scripting and this is the most basic scriptin I did to this date (except GUI VB lol)
Here's how I did:
1) Get the command needed; AUDIO CoverFlow
- Use UI Element Inspector and point your mouse over the button
- Freeze the UI Element Inspector to copy and paste the description into a file
- Analyse the description
AUDIO (coverflow)
<AXApplication: “ICE³”>
<AXWindow: “”>
<AXGroup>
<AXButton: “Coverflow View”>
Attributes:
AXRole: “AXButton”
AXRoleDescription: “button”
AXHelp: “(null)”
AXEnabled: “1”
AXFocused (W): “0”
AXParent: “<AXGroup>”
AXWindow: “<AXWindow: “”>”
AXTopLevelUIElement: “<AXWindow: “”>”
AXPosition: “x=-3 y=478”
AXSize: “w=170 h=250”
AXTitle: “Coverflow View”
Actions:
AXPress - press
- Use the usefull information from that command to create a script...
- Open script EDITOR and type this
I pasted all useufull info in BOLD so that you guys understand well where does the command come from...Coming from that, you just need to adjust the button and where the button is located. I'll create a simple file that will state all buttons script so that everybody could use this easily without having to use UI Element Inspector!!!Code:tell application "System Events" tell process "ICE³" click button "CoverFlow View" of group 1 of window 1 end tell end tell
Hope this will help other people![]()
THANKS AGAIN BugByte, ur a king!!
I always had problems figuring out the group 1 window 1 thing. How did you know that was what they were?
Also, I suppose I can use these scripts to trigger key sequences on my powermate? That would be pretty choice!
Want to:
-Find out about the new iBug iPad install?
-Find out about carPC's in just 5 minutes? View the Car PC 101 video
^^I simply looked at the code the button was giving me..
If you take a look at the exemple I posted
This is all You need or this is the most important part!!Code:<AXApplication: “ICE³”> <AXWindow: “”> <AXGroup> <AXButton: “Coverflow View”>
If I show you the same code that way...
Code:<AXApplication: “ICE³”> <AXWindow: “”> (Window 1) <AXGroup> (Group 1) <AXButton: “Coverflow View”>SYNTAXCode:click button "CoverFlow View" of group 1 of window 1
click button is the action
CoverFlow View is the name of the AXButton
of window 1 - <AXWindow: “”>
of group 1 - <AXGroup>
I'm creating the database of all commands of the program and will post it soon.
For instance the HOME command isnt the same at every screen..
I saw
In the end it's pretty simple. You save the script and it gets called buy whatever you wan't; a button or a USB Remote like the PowerMate that I always wanted to use but never find a good place so I can keep the car lookin OEMCode:<AXWindow: “”> (Window 1) <AXGroup> (Group 1) <AXSheet> (Group 1)
I'll keep you guys updated![]()
Bookmarks