Maybe so, with a great deal of work, but JavaScript is not really 
intended for line-by-line file editing, and Greasemonkey is not designed 
for work with files at all.

Your best bet is to find a good scripting language (try Python, 
VBScript, PowerShell, or perhaps Perl -- even a batch file or shell 
script would do the job). Create a script in your language of choice 
that will filter the proper lines out of a file specified on its command 
line and launch it, then tell Firefox to open .ica files with that 
script. (Details available if you need them, or you can ask on one of 
the scripting newsgroups/lists that supports the language you chose; 
that's just the broad outline.)

I assume the .ica file changes frequently (and so you need to redownload 
it each time), but the lines you wish to remove stay more or less the same?

On 2009-10-07 15:11, clemenss wrote:
> Hi,
>
> I have no idea how to achieve this: I log into a certain web server,
> get a link to a launch.ica citrix ica client launcher file. If I start
> it, it opens the citrix application window. If I download the file,
> edit it, remove some lines and then launch it, I have some hotkeys
> enabled.
>
> I wonder if this can be achieved with help of greasemonkey.
>
> thanks for any help,
>
> Clemens
> >
>
> ____________________________________________________________________________________
> Introducing Branchr
> Super Simple Advertising
> http://click.lavabit.com/?pub=78&ad=0023&url=aHR0cDovL2JyYW5jaHIuY29tLw==
> ____________________________________________________________________________________
>    


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to