Search found 44 matches

by wolfkillshepard
Fri Aug 03, 2012 1:09 am
Forum: iOS Deployment
Topic: Copy and Pasting Text via clipboard, but keeping formating
Replies: 16
Views: 12122

Re: Copy and Pasting Text via clipboard, but keeping formati

I looks like the livecode pdf print function wont print the contents of the UIwebview, so that method is out the window.
by wolfkillshepard
Thu Aug 02, 2012 9:34 pm
Forum: iOS Deployment
Topic: Copy and Pasting Text via clipboard, but keeping formating
Replies: 16
Views: 12122

Re: Copy and Pasting Text via clipboard, but keeping formati

This is very upsetting news =/ I really appreciate the help thought and thanks for looking into it more. The idea of the application is to copy text from an email attachment like a .doc or .rtf, just a text field with rtf. Unfortunately I don't know objective C but if there is a work around using th...
by wolfkillshepard
Thu Aug 02, 2012 8:00 pm
Forum: iOS Deployment
Topic: Copy and Pasting Text via clipboard, but keeping formating
Replies: 16
Views: 12122

Re: Copy and Pasting Text via clipboard, but keeping formati

Also when I run the same stack in the simulator, no matter what text I copy it doesn't paste. Could it because iOS doesn't reference clipboardData for what data is copied on the phone?
by wolfkillshepard
Thu Aug 02, 2012 7:57 pm
Forum: iOS Deployment
Topic: Copy and Pasting Text via clipboard, but keeping formating
Replies: 16
Views: 12122

Re: Copy and Pasting Text via clipboard, but keeping formati

Yeah, I'm just using livecode scrolling fields to paste the text in and I couldn't get rtf test code to work but I'll try again and see if I can get a positive result in livecode but a negative one in iOS. I'm using a test stack that a built which basically just consists of 2 buttons and a field. Th...
by wolfkillshepard
Thu Aug 02, 2012 1:46 am
Forum: iOS Deployment
Topic: Copy and Pasting Text via clipboard, but keeping formating
Replies: 16
Views: 12122

Re: Copy and Pasting Text via clipboard, but keeping formati

I feel like setting the rtftext of a field to the clipboarddata["rtf"] may not work within iOS but I'm not sure. Why else would it work in livecode but not in the simulator right?
by wolfkillshepard
Thu Aug 02, 2012 1:25 am
Forum: iOS Deployment
Topic: Copy and Pasting Text via clipboard, but keeping formating
Replies: 16
Views: 12122

Re: Copy and Pasting Text via clipboard, but keeping formati

This method doesn't work so swimmingly for me in the iOS simulator.... I probably should have thought to test it in the app before I got so excited.

I created a sample stack that works exactly how I want it to in livecode but when I bring it into the simulator it does nothing.

Any ideas?
by wolfkillshepard
Wed Aug 01, 2012 12:52 am
Forum: iOS Deployment
Topic: Paginating in livecode using rich text
Replies: 0
Views: 1467

Paginating in livecode using rich text

Hey livecoders, My application allows users to copy richtext and paste it in the app to later be built into a pdf. In the app I'm storing the rich text in a variable using clipboardData["rtf"] and later calling that variable and placing it into a scrolling field. Right now the way I paginate is pret...
by wolfkillshepard
Wed Aug 01, 2012 12:26 am
Forum: iOS Deployment
Topic: Copy and Pasting Text via clipboard, but keeping formating
Replies: 16
Views: 12122

Re: Copy and Pasting Text via clipboard, but keeping formati

This method works perfectly for me! I cannot express how grateful I am for you saving my ass there B-)
by wolfkillshepard
Wed Aug 01, 2012 12:14 am
Forum: iOS Deployment
Topic: Copy and Pasting Text via clipboard, but keeping formating
Replies: 16
Views: 12122

Re: Copy and Pasting Text via clipboard, but keeping formati

Thanks so much for the response! I'm going to play around with this and respond with the results.
by wolfkillshepard
Tue Jul 31, 2012 10:47 pm
Forum: iOS Deployment
Topic: Copy and Pasting Text via clipboard, but keeping formating
Replies: 16
Views: 12122

Re: Copy and Pasting Text via clipboard, but keeping formati

I'm having trouble trying to work with my new potential solution- So what I am trying to do is generate a uiwebview, within that uiwebview I want to populate it with rich text. This rich text is ideally copied from an email or attachment using clipboard data pasted. Hopefully the uiwebview can displ...
by wolfkillshepard
Tue Jul 31, 2012 8:03 pm
Forum: iOS Deployment
Topic: Copy and Pasting Text via clipboard, but keeping formating
Replies: 16
Views: 12122

Re: Copy and Pasting Text via clipboard, but keeping formati

This is what I think I'll do, Using clipboardData["rtf"] I'll try a put the rtf data into a html ui webview where it hopefully can be displayed. Assuming that I can somehow use a ui webview to display rtf correctly, I have a PDFprint function that I use to build a pdf, hopefully of the contents of t...
by wolfkillshepard
Mon Jul 30, 2012 6:47 pm
Forum: iOS Deployment
Topic: Copy and Pasting Text via clipboard, but keeping formating
Replies: 16
Views: 12122

Re: Copy and Pasting Text via clipboard, but keeping formati

Here is the code that I am using for my clipboard functionality on openCard doreadcasting if environment() <> "mobile" then exit openCard iphoneControlCreate "input" put the result into inputID iphoneControlSet inputID, "rect", the rect of grc 2 iphoneControlSet inputID, "visible", "true" iphoneCont...
by wolfkillshepard
Mon Jul 30, 2012 6:37 pm
Forum: iOS Deployment
Topic: Copy and Pasting Text via clipboard, but keeping formating
Replies: 16
Views: 12122

Copy and Pasting Text via clipboard, but keeping formating

Hey fellow livecoders, In my application a user has the ability to copy text out of an attachment from their email and paste it into the application. There the user uses this text to build out a pdf and send it out as an attachment via email. My issue here is that the method I am using strips the te...
by wolfkillshepard
Fri Jul 20, 2012 6:35 pm
Forum: iOS Deployment
Topic: Unable to download application
Replies: 13
Views: 11454

Re: Unable to download application

Hey Livecode community, its been a while since I've posted here! When I try to install my application I am getting this error: "Unable to download application 'My app' could not be installed at this time." I can't install a build thru either xcode or testflight. The issue isn't that I'm not using a...
by wolfkillshepard
Wed Jul 18, 2012 5:10 pm
Forum: iOS Deployment
Topic: Unable to download application
Replies: 13
Views: 11454

Re: Unable to download application

Hi, So, you're saying that when you drag your app onto the iPhone icon of XCode's Organizer window, the app installs successfully, but when you start the app on the iPhone, it says it can't be downloaded? Mark Hi Mark, It crashes prior to to being installed on the phone. As of this morning we were ...