Sure, thanks for that clarification. Yes, that's indeed the way command line 
strings
do need to be built, if the path or filename has spaces and would therefore 
need to be
quoted.

 

To be clear, for those who may not have read the entry he refers to, the example
command line I offered does work (as is) as long as it's executed within the 
directory
where the exe lives. I didn't think to go further and show building it with the
complete path (and those quotes if needed), but the complete would of course be 
needed
to create a real shortcut, so thanks for adding that clarification. My focus 
was on
the more significant challenge of specifying the perspectiveid, and finding 
those. :-)


Anyway, I appreciate that you added info also as a comment on the blog for 
future
readers there. Speaking of that, if you would want to also add the info from 
your next
message here on the list, about using the -data argument, I'd certainly welcome 
that. 

 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of 
Steve
Onnis
Sent: Friday, June 18, 2010 10:14 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Start eclipse with a particular perspective

 

Thanks for this Charlie

 

I will add though that the -perspective switch needs to be outside of the 
quotes when
you create the shortcut.

 

For example my install shortcut is "D:\Adobe\Adobe Flash Builder 
4\FlashBuilder.exe"
so doing it like   "D:\Adobe\Adobe Flash Builder 4\FlashBuilder.exe -perspective
com.adobe.ide.coldfusion.perspective.CFML" does not work. 

 

It needs to be "D:\Adobe\Adobe Flash Builder 4\FlashBuilder.exe" -perspective
com.adobe.ide.coldfusion.perspective.CFML

 

  _____  

From: charlie arehart [mailto:charlie_li...@carehart.org] 
Sent: Saturday, 19 June 2010 3:14 AM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Start eclipse with a particular perspective

Good news. You can use the same arguments to pass to the .exe (whether 
eclipse.exe,
cfbuilder.exe, or flashbuilder.exe, whichever it is you've installed).  

The trick is knowing the value to pass in for the -perspective switch. It's NOT 
just
the perspective name.

Rather than annoy some with a long email here, I have created a blog entry on 
this:

http://www.carehart.org/blog/client/index.cfm/2010/6/18/cfbuilder_flashbuilder_command
_line_perspective_specification

I'll welcome comments (there or here). HTH

/charlie

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to