Looking for localize names of script folders

Hi, i'm trying to get a list of all the scriptfolder names.
This will solve path issues with other language versions of illustrator.
My script for now:
scriptfolder = {
en: "Scripts",
nl: "Scripts",
de: "Skripten"
var imageiconprinter = File(app.path+'/Presets.localized/' + app.locale + '/'+localize(scriptfolder)+'/idatabase/Images/Infopanel_heinerich/heinerichinfopanelprint er.png');
I've defined a country like de: which is german and put the correct foldername behind it.
I would love to have a list of all countrys.
if you don't have a list just fill in the foldername and countryname of your country.
Thanks
Daniel

Perhaps this helps a little bit. It is language-independent and shows the path (or the name) to the corresponding scripts folder completly.
#target Illustrator
// at first save this script and than run
var fo = File($.fileName).parent.fsName; //path to scripts folder
//var fo = File($.fileName).parent.name; // the name of scripts folder
alert (fo)
The result should always display the folder where the script is stored.

Similar Messages

  • Looking for a name of the application that allows you to browse files

    Looking for a name of the application that allows you to browse files in Linux shell! Here's someones screenshot
    http://s8.postimg.org/ksexr9nbp/image.jpg
    that app in the middle - browsing home directory!
    Thanks all in advance!

    bohoomil wrote:Check the Wiki, File managers, and generally always check the Wiki before asking, after asking, and instead of asking...
    An apple can be an effective contraceptive. Not before. Not after. Instead.

  • The hard drive on my MacBook died and I had it replaced. I can't locate my website files and every time I try to open my idisk it looks for a name and password (even reset my apple id as prompted) I keep being told that it's the wrong name or password?

    The hard drive on my MacBook died and I had it replaced. Now I can't locate my website files and every time I try to open my finder/idisk it looks for a name and password (even reset my apple id as prompted) I keep being told that it's the wrong name or password? Any suggestions out there

    Arty ~ Welcome to the Support Communities. iWeb can't import/open published HTML/media files on your iDisk. iWeb can only open its key Domain file which contains your site data — it's usually located here:
    ...If you don't have a backup of your Domain file (e.g. via Time Machine), paragraph 2.3 of this FAQ page gives some tips on how to use published files, graphics, photos, etc., to help rebuild the site from scratch:
    http://iwebfaq.org/site/iWeb_Backup_retrieve.html
    Also this thread may help:
    Hard Drive replacement causes new/unknown user password?

  • Invalid tag found: unexpected input while looking for attr name or '/ '

    Hi All,
    I am using apach myfaces version 1.1.5 and tomahawk version 1.1.5 in my project with tomcat 6.
    On one of my jsp page i am having a text box with value like D:\myfolder\subfolder\ .
    When this page is rendering i am getting following warning at console
    WARN  [http-8080-2] 10-07 16:26:46 Invalid tag found: unexpected input while looking for attr name or '/>' at line 212  (ReducedHTMLParser.java:566)Is there any way i can get rid of this problem?
    Thanks and Regards,
    Khush.

    panky_p wrote:
    One more thing have modifying the value for D:\myfolder\subfolder\ . As it has invalid escape sequence and string value will not be returned
    you will have to manipulate your string.
    Edited by: panky_p on Oct 7, 2009 11:38 AM
    you have to manipulate and add escape sequences somethin like "D:\\myfolder\\subfolder\\" or "D:/myfolder/subfolder/"Hi Panky,
    I have just downloaded myfaces blank war file with myfaces-api-1.1.6.jar , myfaces-impl-1.1.6.jar and tomahawk-1.1.7-SNAPSHOT.jar for testing purpose and then in helloword.jsp i write the code like followings:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <html>
        <head>
            <title>Hello World</title>
        </head>
        <body>
            <f:view>
                <h:form id="form">
                  <h:panelGrid id="grid" columns="2">
                    <h:outputText id="output1" value="Please enter your name"/>
                    <h:inputText id="input1" value="D:\\spool\\test_receiver_11\\" required="true"/>
                    <h:message id="message1" for="input1"/>
                  </h:panelGrid>
                </h:form>
            </f:view>
        </body>
    </html>And in the console i again got the following err :
    WARNING: Invalid tag found: unexpected input while looking for attr name or '/>' at line 10. Surroundings: '" name="form_SUBMIT" value="1"'.
    Can you check again?

  • IPhone Wi-Fi sync stuck at "Looking for [computer name]"...

    Hello,
    For the longest time my iPhone 6 has not been able to sync with iTunes wirelessly, despite the fact that the phone clearly knows if iTunes is running or not. I'm running iOS 8.1 on my iPhone and iTunes 12.0.1 on OSX Yosemite 10.10.
    I have confirmed that the phone does know when iTunes is running on my Mac. When iTunes is running and I go to Settings > General > iTunes Wi-Fi Sync on my phone, the "Sync Now" button is enabled, but when iTunes is not running the button is disabled out with a message saying "Sync will resume when "[computer name]" is available."
    When iTunes is running and I tap "Sync Now" from my phone, the button changes to "Cancel Sync", and a message below says "Looking for [computer name]...". That lasts for about a minute, and then the screen reverts back to its previous state (with the "Sync Now" button). The actual syncing never occurs.
    I've checked the firewall settings on my Mac to make sure iTunes is set to allow incoming connections, and it looks like everything's configured properly.
    Has anyone run into this issue before? I'd greatly appreciate any help!
    Thanks!
    Ryan

    Well, it happens often and, as to me, I don't think it's an issue of Apple, OS or whatever else, rather than a Wi-Fi nowadays technology itself: let's be hones — even though it is popular it is not that good. But, getting back to your question — my solution (the one which works for me) is easy and quite — no hassle with password, nothing...
    All you need is to renew lease of your device over the wi-fi network. Go to the Wi-Fi settings, click the blue arrow to get to the settings of the current network and click the renew lease button; launch iTunes — it's there your iDevice.
    Personally, I've got two of them — and from time to time I'm renewing the lease — that solves mentioned issue.
    With the Kindest Regard,
    Yours Aunt Deena
    PS
    Will you excuse my English, which is not my native language, and thus has more misstypes and mistakes than it really should.

  • - Looking for Drop Down menu script w/ semi-transparent backgrounds...

    Looking for a dropdown menu script that will allow
    semi-transparent
    backgrounds (so we can partly see what the list is displaying
    over).
    I've Googled this to death using all the obvious keywords,
    but have yet to
    find what I'm looking for.
    Thanks.

    Yes. I understand and agree. Good point.
    Thanks.
    Al Sparber - PVII
    http://www.projectseven.com
    Extending Dreamweaver - Nav Systems | Galleries | Widgets
    Authors: "42nd Street: Mastering the Art of CSS Design"
    "T.Pastrana - 4Level" <[email protected]> wrote in message
    news:[email protected]...
    >I posted mainly for the benefit of Reese, I know you know
    this.
    >
    >
    > --
    > Best Regards,
    > ..Trent Pastrana
    > www.fourlevel.com
    >
    >
    >
    >
    >
    >
    > "Al Sparber- PVII" <[email protected]>
    wrote in message
    > news:[email protected]...
    >> Actually, it's not an error. But we do happen to
    have it in a CC on
    >> that page because the last time I posted that page
    on this forum it
    >> was criticized for "failing" the W3C CSS validator.
    >>
    >>
    http://www.projectseven.com/foxy.gif
    >>
    >> The Firefox console simply would report it as a
    warning - not an
    >> error. It would have no affect on the page. But
    thanks for pointing
    >> that out.
    >>
    >> --
    >> Al Sparber - PVII
    >>
    http://www.projectseven.com
    >> Extending Dreamweaver - Nav Systems | Galleries |
    Widgets
    >> Authors: "42nd Street: Mastering the Art of CSS
    Design"
    >>
    >>
    >>
    >>
    >> "T.Pastrana - 4Level" <[email protected]> wrote in
    message
    >> news:[email protected]...
    >>> If you want your page to validate you might want
    to separate the
    >>> properties. Some modern browsers like Firefox
    will throw an error
    >>> with the filter property.
    >>>
    >>> #menu li {
    >>> opacity: 0.85;
    >>> }
    >>>
    >>> <!--[if IE]><style
    type="text/css">#menu li {filter:
    >>>
    alpha(opacity=85);}</style><![endif]-->
    >>>
    >>>
    >>> --
    >>> Best Regards,
    >>> ..Trent Pastrana
    >>> www.fourlevel.com
    >>>
    >>>
    >>>
    >>>
    >>> "Al Sparber- PVII"
    <[email protected]> wrote in message
    >>> news:[email protected]...
    >>>> If, for example, you are using an unordered
    list for your menu, set
    >>>> opacity on the LI, like so:
    >>>>
    >>>> #menu li {
    >>>> opacity: 0.85;
    >>>> filter: alpha(opacity=85);
    >>>> }
    >>>>
    >>>> As far as I know, there are no
    "off-the-shelf" menu tools of worth
    >>>> that offer this as an automatic option. You
    should pick yourself a
    >>>> good menu system then set opacity on the
    relevant element. The
    >>>> menu "script" or "system" really has nothing
    to do with it.
    >>>>
    >>>> If you need a good base menu system, you can
    find free ones and
    >>>> commercial ones on our site. Here is an
    example of one with
    >>>> transparency:
    >>>>
    >>>>
    http://www.projectseven.com/products/menusystems/pmm/css_tweaks/opacity/
    >>>>
    >>>>
    >>>>
    >>>> --
    >>>> Al Sparber - PVII
    >>>>
    http://www.projectseven.com
    >>>> Extending Dreamweaver - Nav Systems |
    Galleries | Widgets
    >>>> Authors: "42nd Street: Mastering the Art of
    CSS Design"
    >>>>
    >>>>
    >>>>
    >>>>
    >>>> "Reese" <[email protected]> wrote in message
    >>>> news:[email protected]...
    >>>>> Looking for a dropdown menu script that
    will allow
    >>>>> semi-transparent backgrounds (so we can
    partly see what the list
    >>>>> is displaying over).
    >>>>>
    >>>>> I've Googled this to death using all the
    obvious keywords, but
    >>>>> have yet to find what I'm looking for.
    >>>>>
    >>>>> Thanks.
    >>>>>
    >>>>
    >>>
    >>>
    >>
    >
    >

  • IPhone 4s will not wi-fi synch.  Keeps "Looking for (my name's) iMac.

    Currently have an iPhone 4S which will not wi-fi synch to iTunes on my iMac.
    My situation is as follows:
    -  iMac running OS 10.7.2 connected to a Time Capsule
    -  iTunes 10.5
    -  I have enabled/applied wi-fi synch in iTunes
    -  The iphone will synch via USB
    -  When I disconnect the iPhone from the computer and connect it to a power source, the device disappears from iTunes
    -  When I select "Synch Now" on my iPhone, I get the spinning wheel as my iPhone is "Looking for (My Name's) iMac".  The device never shows up in iTunes.  This occurs for several seconds and then stops.
    -  End result, is that my iPhone never wi-fi synchs.
    What am I missing?  Any help would be much appreciated.
    Thank you,
    Bruce

    Came home from work, woke computer from sleep and started iTune.  iPhone "Sync Now" button went from grey to black.  When I pressed the "Sync Now" button, the same symptoms as I described above occurred.
    I then tried to sync by going to iTunes>File>Sync (my name's) iPhone.  iTunes found my phone, my phone showed up under "Devices" and the wi-fi sync was successful.
    Everything appeared to be working, so I turned off iTunes and allowed my computer to go to sleep.
    After a period of time, I woke my computer from sleep and restarted iTunes to see if wi-fi synch still worked. NOPE, not at first.  The "Sync Now" button immediately went from grey to black as before, but, my iPhone was no longer listed under "Devices" and my iPhone would not sync when the "Sync Now" button was pressed.  However, after iTunes was open about a minute or so, my iPhone showed up and wi-fi sync worked again.
    Sooooooooo......basically wi-fi sync appears to be a waste of time.  I fail to see the functionality of it unless you never allow your computer to sleep and you keep iTunes running all the time. It just takes way too long for iTunes to finally find my phone after waking my computer from sleep and starting iTunes. It was much faster by hooking up the old way!  All this just to perform a manual sync!
    Auto syncing is a not even an option if you allow your computer to sleep and iTunes is off.
    Is this how it is supposed to work?  Anyone else?  Am I wrong?

  • Complaint regarding service  I'm looking for the name of a complaint department manager  Apple Customer Care

    complaint regarding service
    I'm looking for the name of a complaint department manager
    Apple Customer Care

    Welcome to the Apple Community.
    This is a user to user community, Apple are unlikely to read your comments, if you need support then you will need to contact them through Express Lane (select your country, navigate to iiTunes help and enter the serial number of one of your devices)

  • Looking for a more universal scripting language than AppleScript or Automator

    I want to learn a cross-platform/web scripting language to automate tasks, write scripts and with the potential to create programs and web apps.
    I am looking for something that:
    - is not a program with a GUI like Automator, iKey, Quickeys, Maestro... 
    - is more "universal" than Applescript, cross-platform
    - can be used to automate simple tasks in a simple way
    - can also be used to create more complex scripts, web apps and maybe, eventually, programs (with GUI)
    I've read about Javascript, Python, Ruby, PHP, Perl, C+, C++, Java and others, but I really don't know.
    - Java sounds pretty cool, Python too.
    - I'm not crazy about PHP or Perl, with Javascript, but some people swear by it
    - I don't know anything about C+, C++
    Does anyone have any suggestion(s)?  Please let me know if you need any more details.  Thank you.

    C, C++, Objective-C are nor scripting languages and will not help you do web pages. (Don;t know what C+ is).
    Forget Java it has lots of security problems and more and more users are disabling Java in their web browsers because of this. Developing in Java would be, in my opinion, a mistake.
    If you are doing any web works at all you will need to know some Javascript, no way around that.  But Javascript is actually not a bad language
    Note Java and Javascript are two totally separate languages that have nothing in common  but the first 4 letters of their names.
    So you are left with PHP, Perl, Python and Ruby.
    Dismissing PHP and Perl out of hand is a big mistake, They are both major players and you will run into them just about everywhere. If you are looking to do this for possible employment you will need to be familiar with them at least.
    Python and Ruby are both strong languages as well. I don't have a lot of experience with either so I can;t speak to their strengths  but  learnign either would not be a mistake.
    Knowing what your reasons are for asking this, personal use or for employment, might help refine the list some.
    regards
    Message was edited by: Frank Caggiano - Perl is also included in OS X by default. Not sure about PHP but I believe it also is. I agree TextWrangler would be a good editor for this type of work.

  • Changing Sort Order in Smart Album when Looking for Roll Name=Corruption

    We've confirmed via testing and from new posters that changing the sort order in a Smart Album who's criteria is to look for a roll name will cause iPhoto to crash and then crash upon launch after that.
    So to avoid corrupting your library do not change the sort order of a Smart Album designed to locate rolls.
    The thread discussing this is:
    IPhoto keeps on crashing, cannot use it
    Rebuilding the library with iPhoto Library Manager recovered the library. However, I don't know if a rebuild via the Control+Option key will do the same.
    G5 Dual Core 2GHz, 2G RAM, 22 Display, 250G HD, 200G FW HD, QT 7.0.4P   Mac OS X (10.4.6)   Canon S400, i850 & LIDE 50, Epson R200, 2G Nano

    Ha! I upgraded to iPhoto 6.0.3 and opened the dummy library I had created. (This was the library where the crash on launch kept happening because I had a smart folder looking for rolls and sorted by title or something else other than the default.)
    Guess what, it opened just fine! 6.0.3 fixes the crash. Not sure how much it helps people who started new libraries, but at least others won't run into this.

  • Looking for OD only binding script

    Hello everyone,
    after several weeks of trying different solutions we are stuck with trusted binding / OD binding in Deploy Studio.
    We've added several workstations to our computers and they are renamed by a script this works fine.
    The problem is that we have to add those workstations to our Open Directory and then add those workstations via OD to several groups.
    The workstation is binded but it doesn't bind correctly.
    We can see the OD server in the "Users and Groups" as "connected". But it's only bound locally (can only be seen on the workstation)
    But it's not binded as we want it to be.
    Our goal is that the workstation needs access to the directory (System Preferences -> Accounts -> Login Options -> Network Account Server -> Open Directory Access… --> LDAPv3 ...)
    And then we have to use "Edit..."-> "bind" .After that the workstation is added to our OD and we can see it in our workgroup manager and add this workstation to the group.
    Is it possible to solve this issue with Deploy Studio?
    We've already tried to use "Enable trusted binding" but after imaging a workstation there is only the ouput "An error occured while trying to establish a trusted binding with the server "xxxxx",new attempt in 10 seconds..." and "Invalid credentials supplied for binding to the server"  in the finalize script and the workstation has to be bound to the OD manually.
    But the credentials are 100% correct.We are using the login of your OD-administrator account for the trusted binding.
    We've also tried to activate trusted binding without any login information in the fields for "Directory Admin", after that there is no error but the workstation has to be bound manually again.
    It would be great if there is anybody who has the same issue and maybe solved it or has any idea what to do here.
    Sorry if the english description for several "buttons" aren't exactly,we are using a german version of MAC OS X (10.8.2). I hope everything is easy to understand.
    Just tell me if you need any additional information about things.
    DPS Version: 1.0 RC 135 (121112)
    Kind regards
    This is my post in the official DPS forums but there wasn't any reply except one that we could use an own OD binding script.
    Is there anybody who has a working script?I found one but it has AD inside and I don't know if it's that easy to delete the AD parts from this script.
    It would be great if there is someone who could help with this issue.
    Kind regards

    We're still looking for a solution for this issue as it still doesn't work.
    We also tried to solve it with this script but it didn't work either:
    #!/bin/bash
    computerid=`scutil –get ComputerName`
    dsconfigldap -v -f -a OD_SERVER -n OD_SERVER -c $computerid -u ADMIN_USERNAME -p ‘ADMIN_PASSWORD’
    sleep 10
    dscl /Search -create / SearchPolicy CSPSearchPath
    dscl /Search -append / CSPSearchPath /LDAPv3/OD_SERVER
    sleep 10
    dscl /Search/Contacts -create / SearchPolicy CSPSearchPath
    dscl /Search/Contacts -append / CSPSearchPath /LDAPv3/OD_SERVEROD_SERVER= FQDN of our OpenDirectory
    ADMIN_USERNAME= account used for binding computers manually
    ADMIN_PASSWORD= password for ADMIN_USERNAME
    It would be great if there is somebody who could help us with this issue.
    Kind regards

  • Security audit: Looking for a tool or script that lists al of the users in AD that have access to a folder on a computer

    Thank you,

    You should be able to find a third party auditing tool for this.  But if you are looking for free one, you may need to update the logic, combine multiple scripts etc to achieve this.
    1. Get the ACL of the folder using a tool
    2. Translate the SID to an object in AD
    3. If it is a group. Get the group members
    3a.  if it a nested group, get all members from all nested groups.
    Santhosh Sivarajan | Houston, TX | www.sivarajan.com
    ITIL,MCITP,MCTS,MCSE (W2K3/W2K/NT4),MCSA(W2K3/W2K/MSG),Network+,CCNA
    Windows Server 2012 Book - Migrating from 2008 to Windows Server 2012
    Blogs: Blogs
    Twitter: Twitter
    LinkedIn: LinkedIn
    Facebook: Facebook
    Microsoft Virtual Academy:
    Microsoft Virtual Academy
    This posting is provided AS IS with no warranties, and confers no rights.

  • Looking for a Mail utility/script to remove older newsletters

    I subscribe to several newsletters from various companies (airlines, hotels, etc) and I'm looking for a utility/script that looks at incoming mail and zaps/displays older mailings since the new message supersedes the older ones. For instance, weekly discount offers come in and I want the previous ones from the same company to be automatically deleted. A confirmation window displaying the candidate messages to be deleted would be a nice feature.
    Does anybody know of such a utility?
    TIA

    well, to catch an email you have to add the email address from the sender or distinctive text, so for simplification purposes you may have to create a rule for each newletter, rather than one rule with lots of text in that field. plus if you create one rule for each, then it is easier to troubleshoot if one newsletter does not get deleted in the way you have specified it.
    glad i could help

  • Looking for professionals with Illustrator scripting experience near Nürnberg Germany

    I work for a large consumer products company with a large in-house design team working on Illustrator as a main platform. I'm looking for advice on where to find individuals with a lot of Illustrator scripting experience to help our team for a limited time duration. Any thoughts on other forums, job posting sites etc. where I could search for this would be greatly appreciated. Our company is located near the Nürnberg metro area in Germany and ideally are looking for on-site help. Thanks!

    I know at times it doesn't look like it but I do have a day job ( just about ) Carlos… Language would a problem too ( I just about do english as we brits do, pig ignorant bunch ) I've been to Hamburg and the beer was great thou…
    I don't know why but I have think Chris Gebab may be from that way…

  • Looking for a free expression script

    Hi guys,
    So recently i bought Adobe CC and was eager to start with it. I forgot only one thing and that was to save my old scripts that i used in AE CS6.
    It was a free expression script wich looks similar to this one: http://aescripts.com/ease-and-wizz/
    It had things like "glue, bounce, expo in, wiggle" and more stuff. I tried my best Googling skills but i can't seem to find it.
    Does anyone know wich one i mean? If i remember correctly, it was a free script.
    Thanks in advance!
    Bye bye!
    Leroy

    I finally found it. The script/tool i was looking for was this one:
    http://aescripts.com/animationpatterns/
    Thanks!

Maybe you are looking for

  • How to write a simple DB2 client?

    hello, I'm going to write a simple DB2 client in my new project,which can issue some simple db2 commands and get the result,for example,the "list tables" command. Can JDBC finish this job? any help appreciated.

  • Change Reconciliation account to normal account

    Dear Friends, We have a requriement of Changing the reconciliation account to Normal account, This Business requirement is due to Miscelleneous advance booking made for Employees earlier and now the same are booking now individually with different Sp

  • Can you sync different iPhones with the same iTunes library on your computer?

    I have two I phones an old 3G and 4S. I use the 4S in the US and I planned to unlock the 3G in order to use it in France. I have itune on my computer and I would like to know if I can sync my two iphones on the same itune ? Thank you for helping me V

  • Problem in displaying title in smartform

    hi all, I m developing a smartform in dev server. While i m directly checking the output by executing smarform i  able to see the main title ( hard coded in title window, with no condition, font size 16, bold, arial) . While i test the same in testin

  • TS3367 how can you edit a phone number in Facetime?

    How can I edit a phone number that was entered during setup of Facetime on an iPad?