AutoHotkey Community

It is currently May 27th, 2012, 11:15 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 33 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: January 23rd, 2012, 4:42 pm 
Offline

Joined: December 2nd, 2010, 12:25 am
Posts: 73
Location: Ontario, Canada
What I posted above here works Fine for Chrome, Evernote and other Html Editors but not for Firefox

mparsons wrote:
anybody had any luck getting this to work with putting formatted HTML on the clipboard?

Any help on getting this to work would be really appreciated


Code:
OutputText := "This Will Work on <a href='http://google.com'>Google</a> Chrome But not in <a href='http://www.mozilla.org/'>Firefox</a>."

Html := pushHTML(OutputText)
   SetClipBoardData("HTML Format", Html, 0, false) ; This currently Works
   SetClipBoardData("text/html", Html, 0, true) ; This currently will not, seems to be needed by Firefox


Report this post
Top
 Profile  
Reply with quote  
PostPosted: January 23rd, 2012, 4:49 pm 
Offline

Joined: December 2nd, 2010, 12:25 am
Posts: 73
Location: Ontario, Canada
Anonymous wrote:
@AmourSpirit: see first page where Firefox is mentioned, it uses a different format.


Yes, I Know Firefox seems to use a different fromat

PhiLho wrote:
The HTML format seems to be "HTML Format" (Firefox put also a Unicode "text/html" format) which seems to have a quite precise format:


As I posted previously
AmourSpirit wrote:
Chrome or Dreamweaver the "Html Format" works fine but Firefox will not paste anything. It say in this post that firefox needs "text/html" format on the clipboard.
Code:
Html := pushHTML(OutputText)
   SetClipBoardData("HTML Format", Html, 0, false)
   SetClipBoardData("text/html", Html, 0, true)


This is What gets pasted into Firefox ( gmail or online html editor such as tinyMCE )

敖獲潩㩮⸰ਹ瑓牡䡴䵔㩌〰〰〰㔹䔊摮呈䱍〺〰〰㌵ਲ਼瑓牡䙴慲浧湥㩴〰〰㄰㜲䔊摮牆条敭瑮〺〰〰〵㰱呈䱍㰾佂奄㰾ⴡ匭慴瑲牆条敭瑮ⴭ匾敥䔠敶湲瑯㩥䠠汥潬圠牯摬‬愼栠敲㵦攢敶湲瑯㩥⼯瘯敩⽷ㄱ㐷㤸㜶猯〱⼹昲晤㈱㤷愭捣ⵦ㌴㘰㠭ㄹⴳ㈵戰㉤㤰㍦㘰㈯摦ㅦ㜲ⴹ捡晣㐭〳ⴶ㤸㌱㔭〲摢〲昹〳⼶㸢猼慰瑳汹㵥挧汯牯›杲⡢ⰰㄠ㠲‬⤰✻䐾獥瑫灯⼼灳湡㰾愯ⰾ㰠⁡牨晥✽瑨灴㩳⼯睷⹷癥牥潮整挮浯瘯敩⽷昲晤㈱㤷愭捣ⵦ㌴㘰㠭ㄹⴳ㈵戰㉤㤰㍦㘰氿捯污㵥湥渣㈽摦ㅦ㜲ⴹ捡晣㐭〳ⴶ㤸㌱㔭〲摢〲昹〳✶琠牡敧㵴弧汢湡❫圾扥⼼㹡映牯映牵桴牥椠普牯慭楴湯㰮ⴡ䔭摮牆条敭瑮ⴭ㰾䈯䑏㹙⼼呈䱍>

In Chrome ( gmail ) or Dreamweaver the html paste fine.
For Example:
See Evernote: Hello World, Desktop, Web for further information.

I am using AutoHotkey_L Unicode on Window 7 x64


The Issues Is how to get this work for "text/html" format for firefox? Do I need to Convert Text to Unicode or something. What am I missing?
Thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 26th, 2012, 4:27 am 
Offline
User avatar

Joined: July 6th, 2005, 2:57 am
Posts: 67
Hi AmourSpirit,

I like your script so much! But it does not work with Outlook. Could you please get it fixed?

Thank you.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 33 posts ]  Go to page Previous  1, 2, 3

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], nomissenrojb, Rajat and 54 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group