Jump to content
Sign in to follow this  

Getting autoit to launch a .ica file

Recommended Posts


I am looking for I believe is something pretty simple and just can't find an example posted anywhere. We have the older Program Neighborhood which allowed a person to drag the .ica icon to their desktop to be used later. We want to change the .ica to be an executible instead or at least to be able to click on a .exe and it launches the ica (assuming they have Citrix Receiver or something older that understands the .ica extension). Does anyone have an example of this to start with.


New Autoit User

Share this post

Link to post
Share on other sites


Sorry, no, I think you want to right click it, open with, select the program, tick always open with this.

Probably a registry key too, but I don't know if this really is an autoit question

Edited by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post

Link to post
Share on other sites


Welcome to the AutoIt forum. :bye:

I am confused by what you want to do. You say you have an .ica icon dragged onto your desktop - I assume this is a shortcut to a data file. And then when you click on it you say you want some other app to run it. JohnOne's suggestion to associate the file extension with an executable seem to be the solution - so where does Autoit come into this? :oops:

If you are looking for an AutoIt script to set the association then there are some around on the forum if you search. But you would still have to define the executable to run the file. If you knew the likely candidates you could search the registry to see if they were installed - again there are scripts around to do this. :doh:

Any help? If not then can you explain a bit more what exactly you are trying to do and how you believe AutoIt can help. ;)


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:


ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area


Share this post

Link to post
Share on other sites

I was having the same issue, if i understand correctly you are trying to launch a .ica file from an autoit script. the solution i came up with is to use the ShellExecuteWait command, it would go something like this: 

ShellExecuteWait("filename.ica","","working directory,"open")

make sure to add the double quotes between the filename and directory, it is a space to put parameters I wouldn't imagine that you would need to set any because you are using an .ica file.


Hope this works for you! 

Share this post

Link to post
Share on other sites

raymwolfe, did you notice this post is over 2 years old, and the OP has not been active pretty much since the day he started the thread? Please don't necro old posts :)

√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post

Link to post
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
Sign in to follow this