Could anyone help me to get this script working?

I've got this CS2 script that worked in CS3 after putting in the Version 4.0 Scripts folder (never mind the Dutch dialog). But this trick doesn't do it in CS4. I wonder if anyone could rewrite it for CS4...? I know absolutely nothing about scripts, so er... I don't need directions on how to solve this problem: I just need a working script. Thanks in advance!
tell application "Adobe InDesign CS3"
set «class pFnd» to nothing
set «class pChg» to nothing
set mySel to selection
if (length of mySel) = 0 then
display dialog "Fout! Selecteer één (of meerdere) tekstkader(s)" & return & ¬
"met één van de twee pijltjes!"
else if class of item 1 of mySel is not text frame then
display dialog "Fout! Selecteer één (of meerdere) tekstkader(s)" & return & ¬
"met één van de twee pijltjes!"
else
try
if class of item 1 of mySel is text then
set mySearch to «class pTxF» of selection
else if class of item 1 of mySel is text frame then
set mySearch to mySel
end if
«event K2  Find» mySearch given «class for »:",,", «class FRpT»:"<0022>"
«event K2  Find» mySearch given «class for »:"‘‘", «class FRpT»:"<0022>"
«event K2  Find» mySearch given «class for »:"’’", «class FRpT»:"<0022>"
«event K2  Find» mySearch given «class for »:"“", «class FRpT»:"<0022>"
«event K2  Find» mySearch given «class for »:"”", «class FRpT»:"<0022>"
«event K2  Find» mySearch given «class for »:"„", «class FRpT»:"<0022>"
«event K2  Find» mySearch given «class for »:"‘", «class FRpT»:"<0027>"
«event K2  Find» mySearch given «class for »:"’", «class FRpT»:"<0027>"
«event K2  Find» mySearch given «class for »:"´", «class FRpT»:"<0027>"
«event K2  Find» mySearch given «class for »:"<0020><0020>", «class FRpT»:"<0020>"
«event K2  Find» mySearch given «class for »:"^t^t", «class FRpT»:"^t"
«event K2  Find» mySearch given «class for »:"^p^p^p", «class FRpT»:"^p^p"
«event K2  Find» mySearch given «class for »:"^p<0020>", «class FRpT»:"^p"
on error
display dialog "Fout! Selecteer één (of meerdere) tekstkader(s)" & return & ¬
"met één van de twee pijltjes!"
end try
end if
end tell

To give us some background, can you run EtreCheck:
     http://www.etresoft.com/etrecheck
and post the results, please?
C.

Similar Messages

  • Facebook like button is not working, I have used the muse widget and created code from facebook. Does anyone know how to get this to work?

    Facebook like button is not working, I have used the muse widget and created code from facebook. Does anyone know how to get this to work?

    Hi connally25,
    Below is a link to a video tutorial on how to add a Facebook Log button, please check if you have followed the same steps to add the video.
    http://tv.adobe.com/watch/learn-adobe-muse-cc/adding-a-facebook-like-button/
    If you have followed the steps correctly and the button still does not work; here is a link to a forum thread which might help solving the issue:
    Facebook Follow Widget not working
    Regards
    Sonam

  • Could anyone help me out with this please?

    Hi all,
    I have always had a little problem messing with gradients, when creating images using them I tend to try and make things to perfect and then get very frustrated. This is the case again today
    I have attached two images, one light and one darker. Could anyone help me out recreating these using FW please?
    I am not after the letters in the center, I am just trying to create the background and the floor of the image with all its gradients and shadows.
    Any help greatly appreciated

    No I don't, never heard of that

  • Hi I need VLC player for my touch ipod , tried a lot but not getting on net for download can anyone help me in getting this. THanks

    Can some one help me in getting VLC player for my touch ipod.

    It's not possible, because VLC is not in apple market
    You can use AcePlayer to view different types of film
    Best Regards

  • HT1386 Can anyone help, I am getting this message "An unknown error occured (-42110)"?

    When I try to sync my iphone 4S with the latest version of itunes I get the message "An unknown error occured (-42110)"

    "Error 3001,"  "-42110," or "5103"
    This alert is related to iTunes Store movie rentals and authorization issues.
    Make sure you are using the most recent version of iTunes and QuickTime. They both can be downloaded free of charge.
    If your iTunes is up to date, remove the SC Info folder.
    The above is from
    iTunes Store: Error message 3001, -42110, or 5103 when downloading movie rental

  • How to make this script work

    Help me to make this script work, please!
    function(){
    app.findGrepPreferences.firstLineIndent  = "8 mm";
    app.findGrepPreferences.leftIndent  = "8 mm";
    app.changeGrepPreferences.firstLineIndent  = "8 mm";
    app.changeGrepPreferences.leftIndent  = "16 mm";
    app.selection[0].changeGrep();
    app.findGrepPreferences.leftIndent  = "16 mm";
    app.changeGrepPreferences.leftIndent  = "24 mm";
    app.selection[0].changeGrep();

    Hi,
    Its already replied, see below code:
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.firstLineIndent  = "8 mm";
    app.findGrepPreferences.leftIndent  = "8 mm";
    app.changeGrepPreferences.firstLineIndent  = "8 mm";
    app.changeGrepPreferences.leftIndent  = "16 mm";
    app.changeGrep();
    app.findGrepPreferences = app.changeGrepPreferences = null;
    First run the above code, again you want to change leftIndent from '16 mm' to '24 mm' run below code:
    app.findGrepPreferences = app.changeGrepPreferences = null;
    app.findGrepPreferences.leftIndent  = "16 mm";
    app.changeGrepPreferences.leftIndent  = "24 mm";
    app.changeGrep();
    app.findGrepPreferences = app.changeGrepPreferences = null;
    by
    hasvi

  • HT4967 "In the ICLOUD section of iCal" - I don't have this on my Mac iCal. How would I get it? I currently have an empty iCal on iCloud. I urgently need to back up my iCal, Could anyone help please? This is SO frustrating.

    Sorry. This is where my question should be....
    "In the ICLOUD section of iCal" - I don't have this on my Mac iCal. How would I get it? I currently have an empty iCal on iCloud. I urgently need to back up my iCal, Could anyone help please? This is SO frustrating.

    Have you enabled iCloud syncing for calendars on your mac, which requires OS X Lion (10.7.2)? See http://www.apple.com/icloud/setup/mac.html.

  • While updating iphone software to 5.0.1, I am getting error message that Iphone cound not be updated because the firmware file is not compatible. Can anyone help me to resolve this issue.

    While updating iphone software to 5.0.1, I am getting error that Iphone could not be updated because the firmware file not compatible.
    Can anyone help me to resolve this issue.

    Using iTunes 10.5.2.11 on a PC running 64 bit Windows 7
    First did a full back up of  iphone using iTunes
    Put iphone into Recovery Mode ( http://support.apple.com/kb/ht1808 ). Erases all user data and settings!
    Disconnected USB cable from iphone
    Powered off iphone by holding down Sleep/Off button until slider appeared, slid to off, waited until screen dark
    Pressed and kept holding Home button while plugging cable back into phone
    I still saw the graphic on the iphone that said to plug into iTunes, so I unplugged and re-plugged cable. (I may have released the Home button too soon)
    Recovery Mode alert came up in iTunes.
    Followed all iTunes prompts to restore phone - it downloaded and sucessfully installed iOS 5.0.1
    iphone did not appear in iTunes due to missing pairing file (that made me nervous)
    iphone was now at factory settings. I followed prompts on iphone screen to start reactivation process
    Eventually the iphone asked if I wanted to restore from a back-up (whew!)
    A window opened in iTunes and I was able to select my previous back-up file for the restore
    A full restore from back-up then occured
    I also allowed a carrier settings update to occur when prompted (not sure that happens in all cases)
    When the restore was done I had to re-enter some passwords, but everything was there
    iOS is now 5.0.1 (9A406). The whole process took about an hour.

  • I can sync icloud calender with pc based outlook calender.  But contacts do not sync.  Could anyone help me with this?

    I can sync icloud calender with pc based outlook calender.  Photos also sync.  But can not sync contacts.  Already checked contact boxes in icloud and and on my PC.  Also tried to reset Document & Data on icloud.  Could anyone help me on that?

    That's what I did... switching on iCloud calender in the panel leads to the following: The existing local Outlook calendar gets mved to an new iCloud calendar.Thus the local calendar is empty.
    Given that iTunes dows not allow my whife's phone to be synced with that iCloud calendar (only the local acalendar appears in the list of available calendars in iTunes; syncing all dioes not include the iCloud one) this leads to an empty alendar on my whife's phone.
    Hence the question how to
    a) get iTunes to include the iCloud calendar to sync with the iPhone 2g (preferred) or
    b) enable a local MS Outlook internal sync between the two calendars.  

  • HT4927 all my pictures in iPhoto got deleted and i don't know how to get them back so could anyone help me with that ??

    all my pictures in iPhoto got deleted and i don't know how to get them back so could anyone help me with that ??

    We do need more information to help. Are the images gone from your iPhoto library, or is the iPhoto Library missing? How and when did this happen?
    If images are missing from the library: Did you check for hidden photos? Did you check the iPhoto Trash?
    If the pictures are still in the iPhoto Trash, open the Trash, select the images and and press the liitle arrow in the lower right corner - select "Put back".
    If the pictures are still in an "iPhoto" folder in the system Trash (with sub folders named by date), import these folders to your iPhoto library.
    Have you checked, if you have opened the correct iPhoto Library? Launch iPhoto with the options key held down, to select another Library.
    If the entire Library is missing, have you searched for ".photolibrary" with spotlight?
    Do have a backup?
    If none of these easy measures helps, report back with more details - your iPhoto version, and anything else that might be helpful to find out, what the problem is. Don't do anything that changes the contents of your hard drive for now.
    Reagards
    Léonie

  • I have just tried to connect my Mac book pro to an LG Plasma TV via an iWires Mini DisplayPort to HDMI cable. All I get on my TV is the Mac wallpaper and nothing else. I am missing something really silly, could anyone help please.

    I have just tried to connect my Mac book pro to an LG Plasma TV via an iWires Mini DisplayPort to HDMI cable. All I get on my TV is the Mac wallpaper and nothing else. I am missing something really silly, could anyone help please.

    Hi there. I also bought an iWires mini Display port to HDMI cable and have an LG LED/LCD TV. I plugged it in to my MB Pro and followed the very small writing that came in the package and got both audio and video going. You need to change the audio settings from within System Preferences on your Mac to select your TV as the audio output.
    My concern is the data latency - do you experience a delay between moving your mouse on the MBPro and the TV displaying the movement? It is only a fraction of a second, but certainly enough to be annoying, especially in a cable as expensive as the iWire.

  • Hi, i get the error -49 when trying to Export a Movie edited in iMovie and recorded with Elgato Video Capture anyone know why i get this Error and can help me?

    Hi, i get the error -49 when trying to Export a Movie edited in iMovie and recorded with Elgato Video Capture anyone know why i get this Error and can help me?

    Read this
    http://support.apple.com/kb/ts1583

  • HT1338 Hello, i currently acquired a Mac Book Pro and running Mac Os X 10.8.3, but i have failed to get the driver for my canon inkjet printer. could anyone help me out please? Thank you

    Hello, i currently acquired a Mac Book Pro and running Mac Os X 10.8.3, but i have failed to get the driver for my canon inkjet printer. could anyone help me out please? Thank you

    You may be able to download it fom here:
    Printer and Scanner software available for download:
    http://support.apple.com/kb/HT3669?viewlocale=en_US

  • HT4623 Hello! So I have a iPod 5th generation, and I just had a recent update, it was for iOS 6.1.3, and now for some reason, I can't get the iOS 7 update. Could anyone help me?

    Hello! So I have a iPod 5th generation, and I just had a recent update, it was for iOS 6.1.3, and now for some reason, I can't get the iOS 7 update. Could anyone help me?

    Apple's servers are slammed right now with iOS 7 downloads AND activation requests.
    Be patient and try again later.

  • There is no rt.jar in java lib could anyone help me downloading it ,or tell me where is this rt.jar, there is no rt.jar in java lib could anyone help me downloading it ,or tell me where is this rt.jar

    there is no rt.jar in java lib could anyone help me downloading it ,or tell me where is this rt.jar, there is no rt.jar in java lib could anyone help me downloading it ,or tell me where is this rt.jar

    thx for your suggestion ..but i did try to skip my code..but i am sure if u guy understand what i am trying to ask ..so i try to show my all program for u guy better undrstand my problem ...the first three paragraph of code i hope u guy could focus on it ....i try ask the user to input the cd`s title to our insert list by using a function call readString( ) and i use this method to ask the user what cd they want to be delete from the list ...but it doesn`t work when i try to perform the delete cd funtion. At first, i think it should be my deleteCd( ) problem ..but i do some testing on it..it works fine if i pass a String directly to my function instead of using readString() function to perform ...therefore, i am sure my delete function working fine....i am thinking if it is my readString() problem make my deletion does not perform well...thx for u guy help

Maybe you are looking for

  • How do I get the latest iOS on my iPod touch?

    I am currently trying to update my twitter app, but it says that it requires iOS 5.  I have updated to the latest version of iTunes and it didn't help.  If anyone can help me that would be just wonderful! Thank you! -K

  • Error in bdc uploading for transaction F-02

    Hi all,        Iam uploading transactional data for the transaction F-02 using BDC call transaction. I  have recorded all the screens of F-02 and internal table with fields also declared. While running the program, it is showing the error saying -- "

  • Technical problem with starting a PLM workflow!

    Hey! I am trying to start a workflow with a document, but get this message with a red light. Doc:10000000438-PDC-00-000,Table SWWWIHEAD cannot be written Anyone how now what can be wrong? I am quit sure that this is a technical problem. Thanks

  • FLOOR PLAN MANAGER WITH WEBDYNPRO ABAP

    Hi All, How to learn FPM , please help me....and please send some doc's... Regards. Sunil B

  • ITunes 10 won't play movie audio thru remote speakers

    I just downloaded a movie and wanted to play the audio through my remote speakers. No sound. iTunes will play music files on the remote speakers, just not movies. Could anyone help me? I'd like to show clips of the movie to my students tomorrow!! Tha