Re: Write on Mac, preview as iPad?
Are you using MAMP? [www.mamp.info] [free version available] MAMP will let you view your files through apache/php on a local web server, and you can connect to that wirelessly over a local wifi network very easily and preview your files on an iPhone/iPad. One gotcha I found is to make sure you configure server names correctly (especially if using WordPress). I can visit my site on my MacPro at 3 addresses: http://localhost:/iso200/wordpress/ http://192.168.0.11:/iso200/wordpress/ and at http://monkey.local:/iso200/wordpress/ however http://monkey.local:/iso200/wordpress/ is the only one that can be consistently seen across the network by all devices - hardwiring the IP address causes all sorts of problems when/if it changes (especially in WordPress). Dave -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
Re: Write on Mac, preview as iPad?
Am I missing a crucial point? ... or else I am surprised that no one suggested using the iOS simulator that comes bundled with xcode. https://discussions.apple.com/thread/3429285?start=0tstart=0 I check my pages on the iOS devices using the simulator, on my desktop. I can check the page as it (presumably) looks on iphone or ipad. Works great. -Govinda -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
Re: Automating HTML in BBedit with AppleScript
rather than script this, here's what i would do... old school, but quick and dirty: 1. drag the folder of original images onto an open/empty bbedit window. this will give you a list of all the images, no matter how many there are. 2. select all (command + a) 3. slam everything to the left (command + [ as many times as it takes) 4. run this saved grep pattern: FIND: ^Photo(.+)orig\.jpg/string\\r REPLACE: lt;a href=images_big/Photo\1orig.jpggt;lt;img src=images_thumbs/Photo\1prev.jpggt;lt;/agt;\\r 5. sorry that took so long! i have a collection of saved grep patterns i use all the time... big time saver. bruce On Wednesday, March 28, 2012 2:21:59 AM UTC-7, blue-orange wrote: Hello, I have the following task of creating a page with 1000 thumbnails linked to larger files. I want to automate the task and the automation part is an unfamiliar territory for me. I have two txt files containing 1000 thumbnail and original image filenames that look like this: original.txt: Photo_19001_2010-11-18_13.45.59_orig.jpg Photo_19002_2010-11-18_21.07.04_orig.jpg Photo_19003_2010-11-19_10.48.19_orig.jpg Photo_19004_2010-11-19_14.05.01_orig.jpg Photo_19005_2010-11-19_14.05.05_orig.jpg ... preview.txt: Photo_19001_2010-11-18_13.45.59_prev.jpg Photo_19002_2010-11-18_21.07.04_prev.jpg Photo_19003_2010-11-19_10.48.19_prev.jpg Photo_19004_2010-11-19_14.05.01_prev.jpg Photo_19005_2010-11-19_14.05.05_prev.jpg ... I have a HTML template: a href=urlOriginalimg src=urlPreview/a I want to replace the urlOriginal and urlPreview with the proper info from the txt files. Repeat 999 times. I understand this is not possible with BBEdit. AppleScript to the rescue? Where do I start? -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
Re: Automating HTML in BBedit with AppleScript
sorry - the replace string should be: a href=images_big/Photo\1orig.jpgimg src=images_thumbs/Photo \1prev.jpg/a\r no html entities, and a line return at the end not sure how html shows up in these posts... we'll see in a minute! On Mar 31, 6:13 pm, blinde bruce.li...@gmail.com wrote: rather than script this, here's what i would do... old school, but quick and dirty: 1. drag the folder of original images onto an open/empty bbedit window. this will give you a list of all the images, no matter how many there are. 2. select all (command + a) 3. slam everything to the left (command + [ as many times as it takes) 4. run this saved grep pattern: FIND: ^Photo(.+)orig\.jpg/string\\r REPLACE: lt;a href=images_big/Photo\1orig.jpggt;lt;img src=images_thumbs/Photo\1prev.jpggt;lt;/agt;\\r 5. sorry that took so long! i have a collection of saved grep patterns i use all the time... big time saver. bruce On Wednesday, March 28, 2012 2:21:59 AM UTC-7, blue-orange wrote: Hello, I have the following task of creating a page with 1000 thumbnails linked to larger files. I want to automate the task and the automation part is an unfamiliar territory for me. I have two txt files containing 1000 thumbnail and original image filenames that look like this: original.txt: Photo_19001_2010-11-18_13.45.59_orig.jpg Photo_19002_2010-11-18_21.07.04_orig.jpg Photo_19003_2010-11-19_10.48.19_orig.jpg Photo_19004_2010-11-19_14.05.01_orig.jpg Photo_19005_2010-11-19_14.05.05_orig.jpg ... preview.txt: Photo_19001_2010-11-18_13.45.59_prev.jpg Photo_19002_2010-11-18_21.07.04_prev.jpg Photo_19003_2010-11-19_10.48.19_prev.jpg Photo_19004_2010-11-19_14.05.01_prev.jpg Photo_19005_2010-11-19_14.05.05_prev.jpg ... I have a HTML template: a href=urlOriginalimg src=urlPreview/a I want to replace the urlOriginal and urlPreview with the proper info from the txt files. Repeat 999 times. I understand this is not possible with BBEdit. AppleScript to the rescue? Where do I start? -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
Re: Write on Mac, preview as iPad?
There's also Adobe Shadow. Still in the Labs phase, but looks really handy: http://labs.adobe.com/technologies/shadow/ -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
Re: Write on Mac, preview as iPad?
On 01 Apr 2012, at 02:38 , Dave Fitch wrote: however http://monkey.local:/iso200/wordpress/ is the only one that can be consistently seen across the network by all devices - hardwiring the IP address causes all sorts of problems when/if it changes (especially in WordPress). Don't let the IP address change. My main machine's IP address has been 10.0.0.13 on the LAN for a decade. When I bought a router that would only allow 192.168.0.0 style addresses I returned it. -- 'It must have been Fate that brought you here,' said Twoflower. 'Yes, it's the sort of thing he likes to do,' said Rincewind. -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
Re: Document Manager for individual settings of document items
Why can't they just have complete formatting profiles (tabs, margins, character set, colors, etc.) for any user-entered file type suffix (.c, .p, .html, etc.)? This has long been standard with Textpad, is enormously flexible and helpful, and does not seem to contribute to software overhead. On Monday, December 5, 2011 6:10:48 AM UTC-8, Gribnif wrote: While I'm glad they made this a per-language setting, what I really need is per-document. I like to use Strip Whitepsace on all my own code, but I frequently deal with code from external sources that is not so pristine. If, for debugging, I make a temporary change to an external file, I have to remember to turn Strip Whitespace off. Otherwise, once I Undo the change I made for debugging, the file can still be flagged by subversion as changed, due to whitespace differences. -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
Re: Document Manager for individual settings of document items
Good morning, On 1/04/12 at 3:00 PM -0700, dwrh dwr...@gmail.com wrote: Why can't they just have complete formatting profiles (tabs, margins, character set, colors, etc.) for any user-entered file type suffix (.c, .p, .html, etc.)? This has long been standard with Textpad, is enormously flexible and helpful, and does not seem to contribute to software overhead. They do, it's implemented via AppleScript. I've got a script which does exactly that; I choose the language (profile) I want from a list, and the current document is changed. Charlie -- Ꮚ Charlie Garrison ♊ garri...@zeta.org.au O ascii ribbon campaign - stop html mail - www.asciiribbon.org 〠 http://www.ietf.org/rfc/rfc1855.txt -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit